You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Exerc...

394 lines
1.1 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[292],{87169:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(72308),pe=re(59301),we={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"},Ae=we,_e=re(7657),Ue=function(Le,ke){return pe.createElement(_e.Z,(0,b.Z)({},Le,{ref:ke,icon:Ae}))},De=pe.forwardRef(Ue),tt=De},12893:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(72308),pe=re(59301),we={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"},Ae=we,_e=re(7657),Ue=function(Le,ke){return pe.createElement(_e.Z,(0,b.Z)({},Le,{ref:ke,icon:Ae}))},De=pe.forwardRef(Ue),tt=De},32134:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(72308),pe=re(59301),we={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"},Ae=we,_e=re(7657),Ue=function(Le,ke){return pe.createElement(_e.Z,(0,b.Z)({},Le,{ref:ke,icon:Ae}))},De=pe.forwardRef(Ue),tt=De},25346:function(Et,Mt){"use strict";Mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},59489:function(Et,Mt){"use strict";Mt.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"}},62775:function(Et,Mt){"use strict";Mt.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"}},12099:function(Et,Mt,re){"use strict";var b=re(59301),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(Oe,Le,ke)=>Le in Oe?pe(Oe,Le,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Oe[Le]=ke,De=(Oe,Le)=>{for(var ke in Le||(Le={}))Ae.call(Le,ke)&&Ue(Oe,ke,Le[ke]);if(we)for(var ke of we(Le))_e.call(Le,ke)&&Ue(Oe,ke,Le[ke]);return Oe};const tt=Oe=>React.createElement("svg",De({width:14,height:13,xmlns:"http://www.w3.org/2000/svg"},Oe),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"}));Mt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUuMTkgMS40ODhhMi4xMzMgMi4xMzMgMCAwIDEgMy42MiAwbC45NiAxLjU0YS4yNS4yNSAwIDAgMCAuMTUyLjExbDEuNzYuNDM3YTIuMTMzIDIuMTMzIDAgMCAxIDEuMTIgMy40NDNsLTEuMjM0IDEuNDY1LjEzNiAxLjkxMmEyLjEzMyAyLjEzMyAwIDAgMS0xLjgyMyAyLjI2M2wtLjE1Mi4wMTZhMi4xMzMgMi4xMzMgMCAwIDEtLjk1NC0uMTVsLTEuNjgxLS42ODNhLjI1LjI1IDAgMCAwLS4xODggMGwtMS42ODEuNjgyYTIuMTMzIDIuMTMzIDAgMCAxLTIuOTMtMi4xMjhsLjEzLTEuODFhLjI1LjI1IDAgMCAwLS4wNTgtLjE3OEwxLjE5OCA3LjAxOGEyLjEzMyAyLjEzMyAwIDAgMSAxLjEyLTMuNDQzbDEuNzYtLjQzNmEuMjUuMjUgMCAwIDAgLjE1Mi0uMTFabTIuMDUzLjU0M2EuNjMzLjYzMyAwIDAgMC0uNzguMjVsLS45NiAxLjU0YTEuNzUgMS43NSAwIDAgMS0xLjA2NC43NzRsLTEuNzYxLjQzNmEuNjMzLjYzMyAwIDAgMC0uMzMyIDEuMDIyTDMuNTE0IDcuNDRjLjI5NC4zNDguNDQuNzk3LjQwNyAxLjI1MWwtLjEzIDEuODFhLjYzMy42MzMgMCAwIDAgLjg3LjYzMWwxLjY4MS0uNjgyYTEuNzUgMS43NSAwIDAgMSAxLjMxNiAwbDEuNjgxLjY4MmEuNjMzLjYzMyAwIDAgMCAuODctLjYzMWwtLjE4LTIuNTE4IDEuNjI1LTEuOTMxYS42MzMuNjMzIDAgMCAwLS4zMzItMS4wMjJsLTEuNzYxLS40MzZhMS43NSAxLjc1IDAgMCAxLTEuMDY1LS43NzRsLS45NTktMS41NGEuNjMzLjYzMyAwIDAgMC0uMjAzLS4yMDNabTEuNTQ0IDUuMjNhLjc1Ljc1IDAgMCAxIC4xMDIgMS40OTNsLS4xMDIuMDA3SDUuMzYyYS43NS43NSAwIDAgMS0uMTAyLTEuNDk0bC4xMDItLjAwNmgzLjQyNVoiIGZpbGw9IiMzMDYxRDAiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},79751:function(Et,Mt,re){"use strict";var b=re(59301),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(Oe,Le,ke)=>Le in Oe?pe(Oe,Le,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Oe[Le]=ke,De=(Oe,Le)=>{for(var ke in Le||(Le={}))Ae.call(Le,ke)&&Ue(Oe,ke,Le[ke]);if(we)for(var ke of we(Le))_e.call(Le,ke)&&Ue(Oe,ke,Le[ke]);return Oe};const tt=Oe=>React.createElement("svg",De({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Oe),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"}));Mt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},94890:function(Et,Mt,re){"use strict";var b=re(59301),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(Oe,Le,ke)=>Le in Oe?pe(Oe,Le,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Oe[Le]=ke,De=(Oe,Le)=>{for(var ke in Le||(Le={}))Ae.call(Le,ke)&&Ue(Oe,ke,Le[ke]);if(we)for(var ke of we(Le))_e.call(Le,ke)&&Ue(Oe,ke,Le[ke]);return Oe};const tt=Oe=>React.createElement("svg",De({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Oe),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"}));Mt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74042:function(){"use strict";function Et(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Et.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(Et.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(Et.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(Et.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof Et))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[le];x||(x=[],go.Shape._FigureParameters[le]=x),x[E]=a};var Mt=[];function re(le,E){var a=Mt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function b(){var le=Mt.pop();return le===void 0?new go.Point:le}function pe(le){Mt.push(le)}function we(le,E,a,x,y,z,te,ae,se){se||(se=new go.Point);var ie=le-a,he=y-te,be=NaN,He=NaN;if(ie===0)if(he===0)le===a&&(be=le,He=E);else{var Ne=(z-ae)/he,dt=z-Ne*y;be=le,He=Ne*be+dt}else if(he===0){var Re=(E-x)/ie,Ke=E-Re*le;be=y,He=Re*be+Ke}else{var Re=(E-x)/ie,Ne=(z-ae)/he,Ke=E-Re*le,dt=z-Ne*y;be=(dt-Ke)/(Re-Ne),He=Re*be+Ke}return se.x=be,se.y=He,se}function Ae(le,E,a,x,y,z,te,ae,se,ie,he,be,He,Ne){var dt=1-se,Re=se,Ke=le*dt+a*Re,We=E*dt+x*Re,$e=a*dt+y*Re,xe=x*dt+z*Re,gt=y*dt+te*Re,lt=z*dt+ae*Re,At=Ke*dt+$e*Re,mt=We*dt+xe*Re,En=$e*dt+gt*Re,sn=xe*dt+lt*Re,Gt=At*dt+En*Re,_t=mt*dt+sn*Re;ie.x=Ke,ie.y=We,he.x=At,he.y=mt,be.x=Gt,be.y=_t,He.x=En,He.y=sn,Ne.x=gt,Ne.y=lt}var _e=new go.Spot(.156,.156),Ue=new go.Spot(.844,.844),De=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Et("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*De,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-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,E,a){var x=E/2,y=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 y.spot1=_e,y.spot2=Ue,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(le,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(le,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(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,De*E,0,E,(1-De)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,De*a,(1-De)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,De*a,De*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-De)*E,0,0,(1-De)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,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(le,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(le,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(le,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 Et("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=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(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,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-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E:x>E&&(x=E);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=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,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-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new Et("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var y=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(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,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-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Et("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=20:x<-E?x=-E/2:x>E&&(x=E/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=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,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-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E/2:x>E&&(x=E/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=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-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}});var tt=[];function Oe(){var le=tt.pop();return le===void 0?[]:le}function Le(le){le.length=0,tt.push(le)}function ke(le){for(var E=Oe(),a=.5,x=.5,y=Math.PI*1.5,z=0,te=0;te<le;te++)z=2*Math.PI/le*te+y,E[te]=new go.Point(x+a*Math.cos(z),x+a*Math.sin(z));return E.push(E[0]),E}function Ge(le){var E=Je(le),a=Oe();a[0]=E[0];for(var x=1,y=1;x<E.length;x+=2,y+=3)a[y]=E[x],a[y+1]=E[x],a[y+2]=E[x+1];return Le(E),a}function Je(le){for(var E=ke(le),a=Oe(),x=Math.floor(E.length/2),y=E.length-1,z=le%2===0?2:1,te=0;te<y;te++){var ae=E[te],se=E[te+1],ie=E[(x+te-1)%y],he=E[(x+te+z)%y];a[te*2]=ae,a[te*2+1]=we(ae.x,ae.y,ie.x,ie.y,se.x,se.y,he.x,he.y,new go.Point)}return a[a.length]=a[0],Le(E),a}go.Shape.defineFigureGenerator("Pentagon",function(le,E,a){var x=ke(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<5;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(le,E,a){var x=ke(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<6;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(le,E,a){var x=ke(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<7;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(le,E,a){var x=ke(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<8;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(le,E,a){var x=ke(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<9;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(le,E,a){var x=ke(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(le,E,a){var x=ke(12),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(le,E,a){var x=Je(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(le,E,a){var x=Je(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(le,E,a){var x=Je(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<14;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(le,E,a){var x=Je(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<16;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(le,E,a){var x=Je(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<18;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(le,E,a){var x=Je(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<20;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Le(x),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(le,E,a){var x=Ge(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(le,E,a){var x=Ge(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(le,E,a){var x=Ge(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(le,E,a){var x=Ge(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(le,E,a){var x=Ge(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(le,E,a){var x=Ge(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Le(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new Et("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Et("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=8),isNaN(y)&&(y=8);var z=new go.Geometry,te=new go.PathFigure(0,0,!0);return z.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()),x<E/2&&y<a/2&&(te.add(new go.PathSegment(go.PathSegment.Move,x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,a-y)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,a-y)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,y).close())),z.setSpots(0,0,1,1,x,y,-x,-y),z}),go.Shape.setFigureParameter("Ring",0,new Et("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var y=E/2,z=new go.Geometry,te=new go.PathFigure(E,E/2,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var ae=Math.max(y-x,0);return ae>0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+ae,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ae,ae).close())),z.spot1=_e,z.spot2=Ue,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,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(le,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 Et("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Et("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,y=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var te=y%360,ae=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,z,te,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=De/Math.SQRT2*.5,y=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,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,te=a/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,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,te=a/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,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,te=a/2,ae=Math.atan2(a,E),se=x-Math.min(Math.cos(ae)*x/2,z),ie=x-Math.min(Math.sin(ae)*x/2,te),y=new go.Geometry,he=new go.PathFigure(se,0,!0);return y.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),he.add(new go.PathSegment(go.PathSegment.Line,E-se,0)),he.add(new go.PathSegment(go.PathSegment.Line,E,ie)),he.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),he.add(new go.PathSegment(go.PathSegment.Line,E-se,a)),he.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),he.add(new go.PathSegment(go.PathSegment.Line,se,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.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()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new Et("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.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,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()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new Et("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.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,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()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,De*E,0,E,(.5-De/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+De/2)*a,De*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,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(le,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(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,ae=0,se=z*De;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te+.05)*E,(.5-se+ae-.02)*a)),z=.2,te=0,ae=-.3,se=z*De,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+ae)*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te)*E,(.5-se+ae)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),z=.2,te=-.3,ae=0,se=z*De,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+ae)*a,(1-.5+z+te-.05)*E,(.5-se+ae-.02)*a,(.5+se+te)*E,(.5-z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+ae)*a,(.5-se+te)*E,(.5-z+ae)*a,(.5-z+te)*E,(.5-se+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+ae)*a,(.5-z+te)*E,(.5+se+ae)*a,(.5-se+te)*E,(.5+z+ae)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+se+te)*E,(.5+z+ae)*a,(.5+z+te)*E,(.5+se+ae)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,ae=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,ae*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*ae,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),ae=.75,y=new go.PathFigure((te+z)*E,ae*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*ae,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;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,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,y=De*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure(te*E,(ae-z)*a);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),z=.4,y=De*.4;var ie=b(),he=b(),be=b(),He=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.42,ie,he,be,He,He);var Ne=b(),dt=b(),Re=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.58,He,He,Re,Ne,dt);var Ke=b(),We=b(),$e=b();Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.42,Ke,We,$e,He,He);var xe=b(),gt=b(),lt=b();return Ae(te,ae+z,te-y,ae+z,te-z,ae+y,te-z,ae,.58,He,He,lt,xe,gt),se.add(new go.PathSegment(go.PathSegment.Move,lt.x*E,lt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,xe.x*E,xe.y*a,gt.x*E,gt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,ie.x*E,ie.y*a,he.x*E,he.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,lt.x*E,lt.y*a).close()),se.add(new go.PathSegment(go.PathSegment.Move,$e.x*E,$e.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,Re.x*E,Re.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,Ne.x*E,Ne.y*a,dt.x*E,dt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,$e.x*E,$e.y*a,Ke.x*E,Ke.y*a,We.x*E,We.y*a).close()),pe(ie),pe(he),pe(be),pe(He),pe(Ne),pe(dt),pe(Re),pe(Ke),pe(We),pe($e),pe(xe),pe(gt),pe(lt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,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 Et("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+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,y,.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(le,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(le,E,a){var x=new go.Geometry,y=De*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),he=b(),be=b(),He=new go.PathFigure((te-z)*E,ae*a,!1);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.44,he,be,ie,se,se),He.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,he.x*E,he.y*a,be.x*E,be.y*a));var Ne=re(ie.x,ie.y);Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.56,se,se,ie,he,be);var dt=re(ie.x,ie.y);He.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.95*.9)*E,Ne.y*.1*a)),He.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ne.y*.1*a)),He.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),He.add(new go.PathSegment(go.PathSegment.Line,E,0)),He.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),He.add(new go.PathSegment(go.PathSegment.Line,(dt.x*.1+.9)*E,.15*a)),He.add(new go.PathSegment(go.PathSegment.Line,(dt.x*.1+.9)*E,(dt.y*.1+.05*.9)*a)),He.add(new go.PathSegment(go.PathSegment.Line,dt.x*E,dt.y*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,he.x*E,he.y*a,be.x*E,be.y*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),z=.35,y=De*.35;var Re=new go.PathFigure(te*E,(ae-z)*a,!1);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Re.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a));var Ke=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(Ke),pe(se),pe(ie),pe(he),pe(be),pe(Ne),pe(dt),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(le,E,a){var x=new go.Geometry,y=.375,z=0,te=-.125,ae=y*De,se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a,(.5+ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,te=-.125,ae=y*De;var se=new go.PathFigure((1-.5+y+z)*E,(.5+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+ae+te)*a,(.5+ae+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a,(.5-ae+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+ae+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-ae+te)*a));var se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);return x.add(se),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(le,E,a){var x=le?le.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(le,E,a){var x=le?le.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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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(le,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 Et("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Et("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=le?le.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,te=(.5-y/2)*a,ae=(.5+y/2)*a,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var he=we(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(he.x,he.y),pe(he),se}),go.Shape.setFigureParameter("Arrow2",0,new Et("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Et("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=le?le.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,te=(a-y)/2,ae=te+y,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,ae)),ie.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),se.spot1=new go.Spot(0,te/a);var he=we(0,ae/a,1,ae/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(he.x,he.y),pe(he),se}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){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*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){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*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Et("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var se=we(0,.5,.3,0,0,y/a,.1,y/a,b());return te.spot1=new go.Spot(se.x,se.y),se=we(.7,1,1,.5,0,z/a,1,z/a,se),te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Et("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Et("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,he=new go.PathFigure(E,.5*a,!0);ie.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,ae)),he.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close());var be=we(0,.5,.3,ae/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(be.x,be.y),be=we(.7,se/a,1,.5,0,te/a,1,te/a,be),ie.spot2=new go.Spot(be.x,be.y),pe(be),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new Et("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,y/a);var se=we(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Et("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Et("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var y=le?le.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,ae=(a-y)/2,se=ae+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,ae=0,se=a):(z=0,te=a,ae=0,se=a));var ie=new go.Geometry,he=new go.PathFigure(E,.5*a,!0);ie.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,se)),he.add(new go.PathSegment(go.PathSegment.Line,0,se)),he.add(new go.PathSegment(go.PathSegment.Line,0,ae)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,ae)),he.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),he.add(new go.PathSegment(go.PathSegment.Line,.7*E,ae).close()),ie.spot1=new go.Spot(0,z/a);var be=we(.7,se/a,1,.5,0,te/a,1,te/a,b());return ie.spot2=new go.Spot(be.x,be.y),pe(be),ie}),go.Shape.setFigureParameter("Pointer",0,new Et("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.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()),y.spot1=new go.Spot(x,.35);var te=we(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),pe(te),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Et("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.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()),y.spot1=new go.Spot(x,.35);var te=we(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),pe(te),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Et("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var se=we(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Et("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var te=new go.Geometry,ae=new go.PathFigure(E,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,0,z)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,y/a);var se=we(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),pe(se),te}),go.Shape.setFigureParameter("SquareArrow",0,new Et("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.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()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,y=De*.5,z=De*.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+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.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(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=De*.5,te=new go.PathFigure(0,x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,De*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,De*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-De*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-De*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ae=new go.PathFigure(E,x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-De*x,(.5+z)*E,2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-De*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=De*.5,te=new go.PathFigure(0,a-x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,De*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,De*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-De*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-De*x));var ae=new go.PathFigure(0,a-x,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-De*x,(.5-z)*E,a-2*x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-De*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=De*.5,te=new go.PathFigure(x,0,!0);y.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-De*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-De*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,De*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,De*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*a,x+De*x,0,2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+De*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=De*.5,te=new go.PathFigure(E-x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-De*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-De*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,De*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,De*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var ae=new go.PathFigure(E-x,0,!1);return y.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-De*x,0,E-2*x,(.5-z)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-De*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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(le,E,a){var x=new go.Geometry,y=.2,z=.1,te=De*y,ae=De*z,se=.5,ie=.1,he=new go.PathFigure(se*E,(ie+z)*a,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-y)*E,ie*a,(se-te)*E,(ie+z)*a,(se-y)*E,(ie+ae)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-z)*a,(se-y)*E,(ie-ae)*a,(se-te)*E,(ie-z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se+y)*E,ie*a,(se+te)*E,(ie-z)*a,(se+y)*E,(ie-ae)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+z)*a,(se+y)*E,(ie+ae)*a,(se+te)*E,(ie+z)*a));var be=.05,He=De*be;se=.05,ie=.25;var Ne=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),se=.95,ie=.25,Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se+be)*E,ie*a,(se+He)*E,(ie-be)*a,(se+be)*E,(ie-He)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,He=De*be,se=.825,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-He)*a,(se+He)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-He)*E,(ie-be)*a,(se-be)*E,(ie-He)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,He=De*be,se=.5,ie=.7,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-He)*a,(se+He)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-He)*E,(ie-be)*a,(se-be)*E,(ie-He)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,He=De*be,se=.175,ie=.35,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se+be)*E,(ie-He)*a,(se+He)*E,(ie-be)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-be)*E,ie*a,(se-He)*E,(ie-be)*a,(se-be)*E,(ie-He)*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,He=De*be,se=.05,ie=.25,Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-be)*a,(se-be)*E,(ie-He)*a,(se-He)*E,(ie-be)*a)),Ne.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 Et("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.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()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.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(le,E,a){var x=new go.Geometry,y=le?le.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,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,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,y=De*.5,z=De*.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+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*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-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*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(le,E,a){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*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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(le,E,a){var x=new go.Geometry,y=De*.5,z=De*.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+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*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-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var ae=new go.PathFigure(E,.1*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.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(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=De*.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 ae=new go.PathFigure(0,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,y=le?le.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,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,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.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(le,E,a){var x=new go.Geometry,y=le?le.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,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(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.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(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.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 ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=De*.5,ae=.5,se=new go.PathFigure(E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,a,E,(ae+te)*a,(ae+te)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-te)*E,a,0,(ae+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,0,0,(ae-te)*a,(ae-te)*E,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,E,ae*a,(ae+te)*E,0,E,(ae-te)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.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(le,E,a){var x=new go.Geometry,y=De*.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-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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(le,E,a){var x=new go.Geometry,y=le?le.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,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*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(le,E,a){var x=new go.Geometry,y=le?le.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*E,y*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-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){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*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.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(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,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 ae=new go.PathFigure(.5*y*E,y*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){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*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.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(le,E,a){var x=new go.Geometry,y=De*.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+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.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(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.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(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(y)&&(y=.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(le,E,a){var x=new go.Geometry,y=le?le.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,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-y)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,y=le?le.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,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(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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(le,E,a){var x=new go.Geometry,y=le?le.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*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(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.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(le,E,a){var x=new go.Geometry,y=le?le.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,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,y=De*.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+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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(le,E,a){var x=new go.Geometry,y=De*.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+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var ae=new go.PathFigure(E,z*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var se=new go.PathFigure(.8*E,.75*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,y=De*.1,z=.1,te=.9,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((te+z)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,y=De*.5,z=De*.4,te=De*.1,ae=.1,se=.9,ie=.5,he=new go.PathFigure(.8*E,.5*a,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((se+ae)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a,(se+te)*E,(ie+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E,ie*a,(se-te)*E,(ie+ae)*a,(se-ae)*E,(ie+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a,(se-te)*E,(ie-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E,ie*a,(se+te)*E,(ie-ae)*a,(se+ae)*E,(ie-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=De*y,te=0,ae=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=De*.1,te=.9,ae=.5;var ie=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,y=.5,z=De*y,te=0,ae=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(ae-y)*a,.8*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(ae+z)*a,(te+z+z)*E,(ae+y)*a)),se.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(le,E,a){var x=new go.Geometry,y=.5,z=De*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(ae-y)*a,.7*E,(ae-z)*a)),y=.1,z=De*.1,te=.9,ae=.5;var he=new go.PathFigure((te-y)*E,ae*a,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,y=.5,z=De*y,te=.2,ae=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(ae-y)*a,.9*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.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(le,E,a){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,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,y=De*.1,z=.1,te=.1,ae=.5,se=new go.PathFigure((te-y*.5)*E,a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y*.5)*E,a,(te+z)*E,0,(te+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,y=De*.5,z=.5,te=.5,ae=.5,se=new go.PathFigure((te-z)*E,ae*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-z)*a,(te-z)*E,(ae-y)*a,(te-y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae-z)*a,(te+z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,ae*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,ae*a,te*E,(ae-z)*a,te*E,(ae+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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(le,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var te=De*.8,ae=.8,se=0,ie=.5,he=(y-E)/2,be=(z-a)/2,He=new go.PathFigure(se*E+he,(ie+ae)*a+be,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+he,ie*a+be,(se-te)*E+he,(ie+ae)*a+be,(se-ae)*E+he,(ie+te)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se-ae)*E+he,(ie-te)*a+be,(se-te)*E+he,(ie-ae)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+he,ie*a+be,se*E+he,(ie-ae)*a+be,(se-ae+te*.5)*E+he,(ie-te)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se-ae+te*.5)*E+he,(ie+te)*a+be,se*E+he,(ie+ae)*a+be).close()),te=De*.4,ae=.4,se=.2,ie=.5;var Ne=new go.PathFigure(se*E+he,(ie+ae)*a+be,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+he,ie*a+be,(se-te)*E+he,(ie+ae)*a+be,(se-ae)*E+he,(ie+te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se-ae)*E+he,(ie-te)*a+be,(se-te)*E+he,(ie-ae)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae+te*.5)*E+he,ie*a+be,se*E+he,(ie-ae)*a+be,(se-ae+te*.5)*E+he,(ie-te)*a+be)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se-ae+te*.5)*E+he,(ie+te)*a+be,se*E+he,(ie+ae)*a+be).close()),te=De*.2,ae=.2,se=.5,ie=.5;var dt=new go.PathFigure((se-ae)*E+he,ie*a+be,!0);x.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se-ae)*E+he,(ie-te)*a+be,(se-te)*E+he,(ie-ae)*a+be)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+he,ie*a+be,(se+te)*E+he,(ie-ae)*a+be,(se+ae)*E+he,(ie-te)*a+be)),dt.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se+ae)*E+he,(ie+te)*a+be,(se+te)*E+he,(ie+ae)*a+be)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(se-ae)*E+he,ie*a+be,(se-te)*E+he,(ie+ae)*a+be,(se-ae)*E+he,(ie+te)*a+be)),te=De*.4,ae=.4,se=.8,ie=.5;var Re=new go.PathFigure(se*E+he,(ie-ae)*a+be,!0);x.add(Re),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+he,ie*a+be,(se+te)*E+he,(ie-ae)*a+be,(se+ae)*E+he,(ie-te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se+ae)*E+he,(ie+te)*a+be,(se+te)*E+he,(ie+ae)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+he,ie*a+be,se*E+he,(ie+ae)*a+be,(se+ae-te*.5)*E+he,(ie+te)*a+be)),Re.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se+ae-te*.5)*E+he,(ie-te)*a+be,se*E+he,(ie-ae)*a+be).close()),te=De*.8,ae=.8,se=1,ie=.5;var Ke=new go.PathFigure(se*E+he,(ie-ae)*a+be,!0);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae)*E+he,ie*a+be,(se+te)*E+he,(ie-ae)*a+be,(se+ae)*E+he,(ie-te)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie+ae)*a+be,(se+ae)*E+he,(ie+te)*a+be,(se+te)*E+he,(ie+ae)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(se+ae-te*.5)*E+he,ie*a+be,se*E+he,(ie+ae)*a+be,(se+ae-te*.5)*E+he,(ie+te)*a+be)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,se*E+he,(ie-ae)*a+be,(se+ae-te*.5)*E+he,(ie-te)*a+be,se*E+he,(ie-ae)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),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*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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.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 ae=new go.PathFigure(0,.5*a,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(le,E,a){var x=new go.Geometry,y=De*.4,z=.4,te=.5,ae=.5,se=b(),ie=b(),he=b(),be=b();Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,he,be);var He=re(ie.x,ie.y),Ne=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,he.x*E,he.y*a,be.x*E,be.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te+z)*E,(ae+y)*a,(te+y)*E,(ae+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,(te-y)*E,(ae+z)*a,(te-z)*E,(ae+y)*a)),Ae(te-z,ae,te-z,ae-y,te-y,ae-z,te,ae-z,.5,he,be,ie,se,se),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,he.x*E,he.y*a,be.x*E,be.y*a)),y=De*.3,z=.3,Ae(te-z,ae,te-z,ae-y,te-y,ae-z,te,ae-z,.5,he,be,ie,se,se),Ne.add(new go.PathSegment(go.PathSegment.Line,ie.x*E,ie.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,ae*a,be.x*E,be.y*a,he.x*E,he.y*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+z)*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,ae*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),Ae(te,ae-z,te+y,ae-z,te+z,ae-y,te+z,ae,.5,se,se,ie,he,be),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,be.x*E,be.y*a,he.x*E,he.y*a).close());var Ne=new go.PathFigure(.45*E,0,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),pe(se),pe(ie),pe(he),pe(be),pe(He),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,ae,se){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*E,(.8+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*E,(.8+se)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.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(le,E,a){var x=new go.Geometry,y=.5,z=0,te=0,ae=y*De,se=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,he=1,be=.5,He=.5,Ne=0,dt=new go.PathFigure(se*E,(1-ie)*a,!1);return x.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,he*E,be*a,he*E,.7*a,he*E,be*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(He+z)*E,(Ne+z)*a,(.5+y+z)*E,(.5-ae+z)*a,(.5+ae+z)*E,(.5-y+z)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-ae+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-ae+te)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+ae+te)*a,(.5-ae+z)*E,.9*a)),dt.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),dt.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),dt.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){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,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);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,ae=.5,se=te,ie=Math.PI/4,he=4*(1-Math.cos(ie))/(3*Math.sin(ie)),be=he*.5,He=te,Ne=te,dt=he*He,Re=he*Ne;z.add(new go.PathSegment(go.PathSegment.Bezier,(ae-He)*E,se*a,(ae-(dt+He)/2)*E,(se+(Ne+Re)/2)*a,(ae-He)*E,(se+Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,ae*E,(se-Ne)*a,(ae-He)*E,(se-Re)*a,(ae-dt)*E,(se-Ne)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ae+He)*E,se*a,(ae+dt)*E,(se-Ne)*a,(ae+He)*E,(se-Re)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(ae+He)*E,(se+Re)*a,(ae+(dt+He)/2)*E,(se+(Ne+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 We=new go.PathFigure(.8*E,a,!1);return x.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.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(le,E,a){var x=new go.Geometry,y=.5,z=De*.5,te=new go.PathFigure(E,y*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var ae=new go.PathFigure(y*E,0,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.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,ae=De*.1,se=.2,ie=.9,he=new go.PathFigure((se-te)*E,ie*a,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-ae)*E,(ie+te)*a,(se-te)*E,(ie+ae)*a).close()),te=.1,ae=De*.1,se=.8,ie=.9;var be=new go.PathFigure((se-te)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-ae)*a,(se-ae)*E,(ie-te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+ae)*E,(ie-te)*a,(se+te)*E,(ie-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+ae)*a,(se+ae)*E,(ie+te)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-ae)*E,(ie+te)*a,(se-te)*E,(ie+ae)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(le,E,a){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*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.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 ae=new go.PathFigure(.5*E,.7*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var se=.1,ie=De*.1,he=.1,be=.9,He=new go.PathFigure((he-se)*E,be*a,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be-se)*a,(he-se)*E,(be-ie)*a,(he-ie)*E,(be-se)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(he+se)*E,be*a,(he+ie)*E,(be-se)*a,(he+se)*E,(be-ie)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be+se)*a,(he+se)*E,(be+ie)*a,(he+ie)*E,(be+se)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(he-se)*E,be*a,(he-ie)*E,(be+se)*a,(he-se)*E,(be+ie)*a)),se=.1,ie=De*.1,he=.4,be=.9;var Ne=new go.PathFigure((he-se)*E,be*a,!0);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be-se)*a,(he-se)*E,(be-ie)*a,(he-ie)*E,(be-se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(he+se)*E,be*a,(he+ie)*E,(be-se)*a,(he+se)*E,(be-ie)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,he*E,(be+se)*a,(he+se)*E,(be+ie)*a,(he+ie)*E,(be+se)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(he-se)*E,be*a,(he-ie)*E,(be+se)*a,(he-se)*E,(be+ie)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.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 he=.05,be=De*.05,He=.175,Ne=.95,ae=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*a));var he=.05,be=De*.05,He=.375,Ne=.95,se=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*a));var he=.05,be=De*.05,He=.625,Ne=.95,ie=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*a));var he=.05,be=De*.05,He=.825,Ne=.95,dt=new go.PathFigure((He-he)*E,Ne*a,!0);x.add(dt),dt.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne-he)*a,(He-he)*E,(Ne-be)*a,(He-be)*E,(Ne-he)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(He+he)*E,Ne*a,(He+be)*E,(Ne-he)*a,(He+he)*E,(Ne-be)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,He*E,(Ne+he)*a,(He+he)*E,(Ne+be)*a,(He+be)*E,(Ne+he)*a)),dt.add(new go.PathSegment(go.PathSegment.Bezier,(He-he)*E,Ne*a,(He-be)*E,(Ne+he)*a,(He-he)*E,(Ne+be)*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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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 ae=.05,se=De*.05,ie=.35,he=.775,be=new go.PathFigure((ie-ae)*E,he*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(he-ae)*a,(ie-ae)*E,(he-se)*a,(ie-se)*E,(he-ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*E,he*a,(ie+se)*E,(he-ae)*a,(ie+ae)*E,(he-se)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(he+ae)*a,(ie+ae)*E,(he+se)*a,(ie+se)*E,(he+ae)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*E,he*a,(ie-se)*E,(he+ae)*a,(ie-ae)*E,(he+se)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){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,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){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,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,y=.3,z=De*.3,te=.5,ae=.7,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.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(le,E,a){var x=new go.Geometry,y=.5,z=De*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.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(le,E,a){var x=new go.Geometry,y=.5,z=De*.5,te=.5,ae=.5,se=new go.PathFigure((te-y)*E,ae*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),y=.05,z=De*.05,te=.5,ae=.8;var ie=new go.PathFigure((te-y)*E,ae*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae-y)*a,(te-y)*E,(ae-z)*a,(te-z)*E,(ae-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,ae*a,(te+z)*E,(ae-y)*a,(te+y)*E,(ae-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(ae+y)*a,(te+y)*E,(ae+z)*a,(te+z)*E,(ae+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,ae*a,(te-z)*E,(ae+y)*a,(te-y)*E,(ae+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.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(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.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(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.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 ae=new go.PathFigure(.678*E,.85*a,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var se=new go.PathFigure(.5*E,.1*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.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 ae=new go.PathFigure(E*.612,a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var se=new go.PathFigure(E*.816,a,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.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 ae=new go.PathFigure(E*.055,.18*a,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var se=new go.PathFigure(E*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){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,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.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 ae=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var se=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,y=8,z=y*De,te=new go.PathFigure(y,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-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var ae=new go.PathFigure(E*.83,0,!1);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var se=new go.PathFigure(E*.83,a*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*De,z=a*.8,te=new go.Geometry,ae=new go.PathFigure(x,0,!0);return te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*.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?(te.spot1=new go.Spot(0,0,y,y),te.spot2=new go.Spot(1,.8,-y,-y)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.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(le,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.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(le,E,a){var x=new go.Geometry,y=15,z=y*De,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.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(le,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.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")},84072:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Et={},Mt="5.0",re={},b=null,pe=!1,we=!1,Ae=null,_e=!1,Ue=null,De=null,tt=0;tt<arguments.length;tt++){var Oe=arguments[tt];if(Oe!==null)switch(typeof Oe){case"number":Mt=Oe.toFixed(1);break;case"string":Oe.match(new RegExp("^[0-9]\\.[0-9]+$"))?Mt=Oe:Ae=Oe;break;case"object":typeof Oe.is3D!="undefined"?b=Oe:re=Oe;break;case"boolean":pe=Oe,we=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},re.material_id!==void 0&&!we&&(pe=!0)),Ae!==null&&re.id===void 0&&(re.id=Ae);var Le="",ke="",Ge=!1,Je=null,le=null,E=null,a=!1,x=null,y=null,z=null,te=null,ae=null;re.height!==void 0&&(re.height=Math.round(re.height)),re.width!==void 0&&(re.width=Math.round(re.width));var se=function(Te){return parseFloat(Te)>4?parseFloat(Te):5};Et.setHTML5Codebase=function(Te,ot){De=Te,sn(Te,ot)},Et.setJavaCodebase=Et.setJavaCodebaseVersion=Et.isCompiledInstalled=Et.setPreCompiledScriptPath=Et.setPreCompiledResourcePath=function(){},Et.setHTML5CodebaseVersion=function(Te,ot){var Rt=parseFloat(Te);if(Rt!==NaN&&Rt<5){console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead.");return}Ue=Te,En(Te,ot)},Et.getHTML5CodebaseVersion=function(){return le},Et.getParameters=function(){return re},Et.setFontsCSSURL=function(Te){te=Te},Et.setGiacJSURL=function(Te){},Et.setJNLPFile=function(Te){Le=Te},Et.setJNLPBaseDir=function(Te){},Et.inject=function(){function Te(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ot="auto",Rt=re.id,pn,bt=!1,dn=0;dn<arguments.length;dn++){var Ce=arguments[dn];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ot=Ce:Rt=arguments[dn]):typeof Ce=="boolean"?bt=Ce:Ce instanceof HTMLElement&&(pn=Ce)}it();function it(){if(!_e){setTimeout(it,200);return}ot=At(ot);var Qt=pn||document.getElementById(Rt);if(!Qt){console.log("possibly bug on ajax loading? ");return}if(Et.removeExistingApplet(Qt,!1),re.width===void 0&&Qt.clientWidth&&(re.width=Qt.clientWidth),re.height===void 0&&Qt.clientHeight&&(re.height=Qt.clientHeight),!(re.width&&re.height)&&ot==="html5"&&(delete re.width,delete re.height),Je=ot,ot==="screenshot")We(Qt,re);else{var nt=!1;re.hasOwnProperty("playButton")&&re.playButton||re.hasOwnProperty("clickToLoad")&&re.clickToLoad?nt=!0:re.hasOwnProperty("playButtonAutoDecide")&&re.playButtonAutoDecide&&(nt=(!ie()||Te())&&he()),nt?(Je="screenshot",xe(Qt,re,bt,ot)):Ke(Qt,re,bt)}}};function ie(){try{return window.self!==window.top}catch(Te){return!0}}function he(){return re.hasOwnProperty("screenshotGenerator")&&re.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Et.getViews=function(){return b},Et.isJavaInstalled=function(){return!1};var be=function(Te){var ot=function(dn){var Ce=JSON.parse(dn),it=function(ht){return ht.type=="G"||ht.type=="E"},Qt=Ce.elements?Ce.elements.filter(it)[0]:Ce;if(!Qt||!Qt.url){Rt();return}re.fileName=Qt.url,He(Qt.settings||{}),b.is3D=!0;var nt="https://www.geogebra.org/images/";Et.setPreviewImage(x||Qt.previewUrl,nt+"GeoGebra_loading.png",nt+"applet_play.png"),Te()},Rt=function(){re.onError&&re.onError(),Gt("Error: Fetching material (id "+re.material_id+") failed.",re)},pn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",bt="/materials/"+re.material_id+"?scope=basic";Ne("https://"+pn+"/api/proxy.php?path="+encodeURIComponent(bt),ot,Rt)};function He(Te){var ot=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Rt){Te[Rt]=!!Te[Rt]}),ot.forEach(function(Rt){re[Rt]===void 0&&Te[Rt]!==void 0&&(re[Rt]=Te[Rt])}),re.showToolBarHelp===void 0&&(re.showToolBarHelp=re.showToolBar)}function Ne(Te,ot,Rt){var pn=new XMLHttpRequest;pn.open("GET",Te),pn.onload=function(){ot(pn.responseText)},pn.onerror=Rt,pn.send()}Et.isHTML5Installed=function(){return!0},Et.getLoadedAppletType=function(){return Je},Et.setPreviewImage=function(Te,ot,Rt){x=Te,y=ot,z=Rt},Et.removeExistingApplet=function(Te,ot){var Rt;typeof Te=="string"&&(Te=document.getElementById(Te)),Je=null;var pn=null;for(Rt=0;Rt<Te.childNodes.length;Rt++){var bt=Te.childNodes[Rt],dn=bt.className;dn==="applet_screenshot"?ot?(bt.style.display="block",Je="screenshot"):bt.style.display="none":dn!=="applet_scaler prerender"&&(Te.removeChild(bt),pn=dn&&dn.indexOf("appletParameters")!=-1?bt.id:null,Rt--)}var Ce=re.id!==void 0?re.id:pn,it=window[Ce];it&&typeof it.getBase64=="function"&&(it.remove(),window[Ce]=null)},Et.refreshHitPoints=function(){if(se(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Te=Et.getAppletObject();return Te&&typeof Te.recalculateEnvironments=="function"?(Te.recalculateEnvironments(),!0):!1},Et.startAnimation=function(){var Te=Et.getAppletObject();return Te&&typeof Te.startAnimation=="function"?(Te.startAnimation(),!0):!1},Et.stopAnimation=function(){var Te=Et.getAppletObject();return Te&&typeof Te.stopAnimation=="function"?(Te.stopAnimation(),!0):!1},Et.getAppletObject=function(){var Te=re.id!==void 0?re.id:"ggbApplet";return window[Te]},Et.resize=function(){};var dt=function(Te,ot,Rt){var pn=document.createElement("param");pn.setAttribute("name",ot),pn.setAttribute("value",Rt),Te.appendChild(pn)},Re=function(Te){return Te&&Te!=="false"},Ke=function(Te,ot,Rt){se(le)<=4.2&&(Rt=!0);var pn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(pn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var bt=document.createElement("div");bt.classList.add("appletParameters","notranslate");var dn=ot.width,Ce=ot.height;if(ot.disableAutoScale=ot.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ot.disableAutoScale,ot.width!==void 0)if(se(le)<=4.4)Re(ot.showToolBar)&&(ot.height-=7),Re(ot.showAlgebraInput)&&(ot.height-=37),ot.width<605&&Re(ot.showToolBar)&&(ot.width=605,dn=605);else{var it=100;(Re(ot.showToolBar)||Re(ot.showMenuBar))&&(ot.hasOwnProperty("customToolBar")&&(ot.customToolbar=ot.customToolBar),it=Re(ot.showMenuBar)?245:155),dn<it&&(ot.width=it,dn=it)}bt.style.border="none",bt.style.display="inline-block";for(var Qt in ot)ot.hasOwnProperty(Qt)&&Qt!=="appletOnLoad"&&bt.setAttribute("data-param-"+Qt,ot[Qt]);te&&bt.setAttribute("data-param-fontscssurl",te),Et.resize=function(){GGBAppletUtils.responsiveResize(Te,ot)},window.addEventListener("resize",function(Nn){Et.resize()});var nt=typeof ot.appletOnLoad=="function"?ot.appletOnLoad:function(){};if(!Rt&&ot.width!==void 0){ot.hasOwnProperty("showSplash")||bt.setAttribute("data-param-showSplash","false");var ht=Te.querySelector(".applet_scaler.prerender"),Tn=ht!==null;if(Tn)var kt=ht.querySelector(".ggb_preview");else{var kt=lt(dn,Ce,ot.borderColor,!1);ht=document.createElement("div"),ht.className="applet_scaler",ht.style.position="relative",ht.style.display="block",ht.style.width=dn+"px",ht.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ht,"66%"),se(le)>=5?(ot.appletOnLoad=function(Nn){var ha=Te.querySelector(".ggb_preview");ha&&ha.parentNode.removeChild(ha),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ht),window.GGBT_wsf_view&&$(window).trigger("resize"),nt(Nn)},Tn||ht.appendChild(kt)):bt.appendChild(kt),ht.appendChild(bt),Tn||Te.appendChild(ht),setTimeout(function(){Et.resize()},1)}else{var yt=document.createElement("div");yt.className="applet_scaler",yt.style.position="relative",yt.style.display="block",yt.appendChild(bt),Te.appendChild(yt),ot.appletOnLoad=function(Nn){Et.resize(),nt(Nn)}}function Pt(Nn,ha){ha&&typeof ha.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Nn,ha.appletOnLoad):renderGGBElement(Nn),Gt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ha)}function Gn(Nn,ha){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Nn,params:ha}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Oa){Pt(Oa.article,Oa.params)}),html5AppletsToProcess=null)},se(le)<5&&(Nn.className+=" geogebraweb")):Pt(Nn,ha)}if(pn){scriptLoadStarted=!0;for(var Vn=0;Vn<bt.childNodes.length;Vn++){var rn=bt.childNodes[Vn].tagName;rn==="TABLE"&&(bt.removeChild(bt.childNodes[Vn]),Vn--)}if(ggbHTML5LoadedScript!==null){var ta=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ta!=null&&ta.parentNode.removeChild(ta)}var Sa=document.createElement("script"),Kn=function(){Gn(bt,ot)};Sa.src=ke+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=le,ggbHTML5LoadedScript=Sa.src,Gt("GeoGebra HTML5 codebase loaded: '"+ke+"'.",ot),!De&&(!Ue||Ue=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Kn()):ke.requirejs?__webpack_require__.e(822).then(function(){var Nn=[__webpack_require__(20822)];Kn.apply(null,Nn)}.bind(this)).catch(__webpack_require__.oe):(Sa.onload=Kn,Te.appendChild(Sa))}else Gn(bt,ot);ot.height=Ce,ot.width=dn},We=function(Te,ot,Rt){var pn=lt(ot.width,ot.height,ot.borderColor,Rt),bt=document.createElement("div");bt.style.position="relative",bt.style.display="block",bt.style.width=ot.width+"px",bt.style.height=ot.height+"px",bt.className="applet_screenshot applet_scaler"+(Rt?" applet_screenshot_play":""),bt.appendChild(pn);var dn=GGBAppletUtils.getScale(ot,Te,Rt);Rt?(Te.appendChild(gt()),window.GGBT_wsf_view||(Te.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(bt,"66%"),Te.appendChild(bt),dn!==1&&!isNaN(dn)&&(GGBAppletUtils.scaleElement(bt,dn),bt.style.width=ot.width+"px",bt.style.height=ot.height+"px",bt.parentNode.style.width=ot.width*dn+"px",bt.parentNode.style.height=ot.height*dn+"px"),Et.resize=function(){$e(Te,pn,bt,Rt)},window.addEventListener("resize",function(Ce){Et.resize()}),Et.resize()};function $e(Te,ot,Rt,pn){if(Te.contains(ot)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Te)}var bt=GGBAppletUtils.getScale(re,Te,pn);Rt.parentNode!==null&&(!isNaN(bt)&&bt!==1?(GGBAppletUtils.scaleElement(Rt,bt),Rt.parentNode.style.width=re.width*bt+"px",Rt.parentNode.style.height=re.height*bt+"px"):(GGBAppletUtils.scaleElement(Rt,1),Rt.parentNode.style.width=re.width+"px",Rt.parentNode.style.height=re.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Te),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Et.onExitFullscreen=function(Te,ot){ot.appendChild(Te)};var xe=function(Te,ot,Rt,pn){We(Te,ot,!0);for(var bt=function(){var it=[];for(Ce=0;Ce<Te.childNodes.length;Ce++)it.push(Te.childNodes[Ce]);if(window.GGBT_wsf_view){var Qt=window.GGBT_wsf_view.renderFullScreen(Te,ot.id),nt=document.getElementById("fullscreencontainer"),ht=jQuery(Te).find(".fullscreencontent");ht.length>0?(Qt.remove(),ht.attr("id","fullscreencontent").show(),jQuery(nt).append(ht),window.dispatchEvent(new Event("resize"))):Ke(Qt,ot,!1),window.GGBT_wsf_view.launchFullScreen(nt)}else Je=pn,Ke(Te,ot,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<it.length;Ce++)Te.removeChild(it[Ce])},dn=Te.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<dn.length;Ce++)dn[Ce].addEventListener("click",bt,!1),dn[Ce].addEventListener("ontouchstart",bt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Te),he()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},gt=function(){var Te=document.createElement("div");if(Te.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ot='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Rt=document.createElement("style");Rt.styleSheet?Rt.styleSheet.cssText=ot:Rt.appendChild(document.createTextNode(ot)),document.getElementsByTagName("head")[0].appendChild(Rt)}return Te},lt=function(Te,ot,Rt,pn){var bt=document.createElement("div");bt.className="ggb_preview",bt.style.position="absolute",bt.style.zIndex="90",bt.style.width=Te-2+"px",bt.style.height=ot-2+"px",bt.style.top="0px",bt.style.left="0px",bt.style.overflow="hidden",bt.style.backgroundColor="white";var dn="lightgrey";Rt!==void 0&&(Rt==="none"?dn="transparent":dn=Rt),bt.style.border="1px solid "+dn;var Ce=document.createElement("img");if(Ce.style.position="relative",Ce.style.zIndex="1000",Ce.style.top="-1px",Ce.style.left="-1px",x!==null&&Ce.setAttribute("src",x),Ce.style.opacity=.7,y!==null){var it,Qt,nt;if(!pn){it=document.createElement("img"),it.style.position="absolute",it.style.zIndex="1001",it.style.opacity=1,Ce.style.opacity=.3,Qt=360,Qt>Te/4*3&&(Qt=Te/4*3),nt=Qt/5.8,it.setAttribute("src",y),it.setAttribute("width",Qt),it.setAttribute("height",nt);var ht=(Te-Qt)/2,Tn=(ot-nt)/2;it.style.left=ht+"px",it.style.top=Tn+"px",bt.appendChild(it)}}return bt.appendChild(Ce),bt},At=function(Te){return Te=Te.toLowerCase(),Te==="html5"||Te==="screenshot"?Te:"html5"},mt=["web","webSimple","web3d","tablet","tablet3d","phone"],En=function(Te,ot){if(le=Te,ot){sn(le,!0);return}var Rt=!pe;if(Rt){var pn=se(le);!isNaN(pn)&&pn<4.4&&(Rt=!1)}var bt,dn;window.location.protocol.substr(0,4)==="http"?bt=window.location.protocol:bt="http:";var Ce=le.indexOf("//");Ce>0?dn=le:Ce===0?dn=bt+le:dn="https://www.geogebra.org/apps/5.2.814.0/";for(var it in mt)if(le.slice(mt[it].length*-1)===mt[it]||le.slice((mt[it].length+1)*-1)===mt[it]+"/"){sn(dn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Rt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Re(re.showToolBar)&&!Re(re.showMenuBar)&&!Re(re.showAlgebraInput)&&!Re(re.enableRightClick)&&(!re.appName||re.appName=="classic")?dn+="webSimple/":dn+="web3d/",sn(dn,!1)},sn=function(Te,ot){if(Te.requirejs){ke=Te;return}Te.slice(-1)!=="/"&&(Te+="/"),ke=Te,ot===null&&(ot=Te.indexOf("http")===-1),Ge=ot,E="web.nocache.js",a=!1;var Rt=ke.split("/");Rt.length>1&&(!ot&&Rt[Rt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):mt.indexOf(Rt[Rt.length-2])>=0&&(E=Rt[Rt.length-2]+".nocache.js")),Rt=Te.split("/"),le=Rt[Rt.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var pn=parseFloat(le);pn!==NaN&&pn<5&&Te.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+pn+" is deprecated. Using version latest instead."),En("5.0",ot))},Gt=function(Te,ot){window.console&&window.console.log&&(!ot||typeof ot.showLogging=="undefined"||ot.showLogging&&ot.showLogging!=="false")&&console.log(Te)};re.material_id!==void 0?be(_t):_t();function _t(){var Te=Mt;Ue!==null?Te=Ue:parseFloat(Te)<5&&(Te="5.0"),En(Te,!1),De!==null&&sn(De,Ge),_e=!0}return Et},GGBAppletUtils=function(){"use strict";function Et(){return window.GGBT_wsf_edit!==void 0}function Mt(_e,Ue){Ue!=1?(_e.style.transformOrigin="0% 0% 0px",_e.style.webkitTransformOrigin="0% 0% 0px",_e.style.transform="scale("+Ue+","+Ue+")",_e.style.webkitTransform="scale("+Ue+","+Ue+")",_e.style.maxWidth="initial",_e.querySelector(".ggb_preview")!==null&&(_e.querySelector(".ggb_preview").style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[0]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[1]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(_e.style.transform="none",_e.style.webkitTransform="none")}function re(_e,Ue,De,tt,Oe,Le){var ke=null;if(Le!=null&&Le!="")for(var Ge=_e.parentNode;Ge!=null;)if((" "+Ge.className+" ").indexOf(" "+Le+" ")>-1){ke=Ge;break}else Ge=Ge.parentNode;var Je=0,le=0,E=0,a=0,x=0,y=0,z=0;if(ke)Je=ke.offsetWidth,le=Math.max(tt?ke.offsetWidth:0,ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Je=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Je):(Je=window.innerWidth,le=window.innerHeight,E=window.innerWidth),_e){var te=_e.getBoundingClientRect();te.left>0&&te.left<=Je&&(Oe===void 0||!Oe)&&(document.dir==="rtl"?(x=Je-te.width-te.left,y=E<=480?10:30):(y=te.left,x=E<=480?10:30),a=y+x)}if(_e&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=_e.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return _e&&((De===void 0||!De)&&Ue>0&&Ue+a<Je?Je=Ue:Je-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(De===void 0||!De)&&(le-=z)),{width:Je,height:le}}function b(_e,Ue,De,tt,Oe){if(_e.isScreenshoGenerator)return 1;var Le=tt!==void 0&&tt,ke=_e.noScaleMargin!=null&&_e.noScaleMargin,Ge=function(ae){return ae&&ae!=="false"},Je=Ge(_e.autoHeight),le=re(Ue,_e.width,De,Je,Le&&window.GGBT_wsf_view||ke,Oe),E=parseInt(le.width),a=_e.width,x=_e.height;if(a===void 0){var y=Ue.querySelector(".appletParameters");y&&(a=y.offsetWidth,x=y.offsetHeight)}var z=E/a,te=Le?1:le.height/x;return De!==void 0&&!De&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function pe(_e,Ue,De){var tt=1,Oe,Le=!1;if(_e.hasOwnProperty("allowUpscale")&&(Le=_e.allowUpscale),_e.hasOwnProperty("scale")&&(tt=parseFloat(_e.scale),(isNaN(tt)||tt===null||tt===0)&&(tt=1),tt>1&&(Le=!0)),Ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Le=!0),!(_e.hasOwnProperty("disableAutoScale")&&_e.disableAutoScale))Oe=b(_e,Ue,Le,De,_e.scaleContainerClass);else return tt;return Le&&(!_e.hasOwnProperty("scale")||tt===1)?Oe:Math.min(tt,Oe)}function we(_e){var Ue=Math.min(window.innerWidth,document.documentElement.clientWidth),De=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=_e.getBoundingClientRect(),Oe=(Ue-tt.width)/2,Le=(De-tt.height)/2;Le<0&&(Le=0),_e.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Oe<40?_e.style.left="40px":_e.style.left=Oe+"px",_e.style.top=Le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Le<40?_e.style.top="40px":_e.style.top=Le+"px",_e.style.left=Oe+"px")}function Ae(_e,Ue){var De=_e.querySelector(".appletParameters");if(De){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!==De.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(_e)}if(De.parentElement&&/fullscreen/.test(De.parentElement.className))return;var tt=pe(Ue,_e);Et()&&De.setAttribute("data-param-scale",tt);for(var Oe=null,Le=0;Le<_e.childNodes.length;Le++)if(_e.childNodes[Le].className!==void 0&&_e.childNodes[Le].className.match(/^applet_scaler/)){Oe=_e.childNodes[Le];break}if(Oe!==null&&Oe.querySelector(".noscale")!==null)return;var ke=Ue.id!==void 0?Ue.id:"ggbApplet",Ge=window[ke];(Ge==null||!Ge.recalculateEnvironments)&&Oe!==null&&!Oe.className.match(/fullscreen/)&&(Oe.parentNode.style.transform="",!isNaN(tt)&&tt!==1?(Oe.parentNode.style.width=Ue.width*tt+"px",Oe.parentNode.style.height=Ue.height*tt+"px",Mt(Oe,tt)):(Mt(Oe,1),Oe.parentNode.style.width=Ue.width+"px",Oe.parentNode.style.height=Ue.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&we(_e),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(De).parents(".content-added-content"))}}return{responsiveResize:Ae,isFlexibleWorksheetEditor:Et,positionCenter:we,getScale:pe,scaleElement:Mt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Et=n.location.search;return Et.indexOf(J)!=-1||Et.indexOf(K)!=-1}function q(Et,Mt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Et){var Mt=s[L].bindings;s[L].bindings=function(){for(var re=Mt?Mt():{},b=Et[webModule.__softPermutationId],pe=O;pe<b.length;pe++){var we=b[pe];re[we[O]]=we[P]}return re}};var t;function u(){return v(),t}function v(){if(!t){var Et=o.createElement(Q);if(Et.id=L,Et.style.cssText=R+S,Et.tabIndex=-1,o.body.appendChild(Et),t=Et.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Mt=document.compatMode==U?V:W;t.write(Mt+X),t.close()}}}function w(Et){function Mt(b){function pe(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var we=pe();if(we){b();return}function Ae(){if(!we){if(!pe())return;we=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ae,!1),_e&&clearInterval(_e)}}o.addEventListener&&o.addEventListener(Z,Ae,!1);var _e=setInterval(function(){Ae()},$)}function re(b){var pe=u(),we=pe.body,Ae=pe.createElement(_);Ae.language=ab,Ae.crossOrigin=W,Ae.src=b,webModule.__errFn&&(Ae.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),we.appendChild(Ae)}Mt(function(){re(Et)})}webModule.__startLoadingFragment=function(Et){return C(Et)},webModule.__installRunAsyncCode=function(Et){var Mt=u(),re=Mt.body,b=Mt.createElement(_);b.language=ab,b.text=Et,re.appendChild(b),re.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Et){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Et){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Et){var Mt=c[Et];return Mt==null?null:Mt},r=d,webModule.__errFn=e}function B(){function Et(_e){var Ue=_e.lastIndexOf(rb);Ue==-1&&(Ue=_e.length);var De=_e.indexOf(sb);De==-1&&(De=_e.length);var tt=_e.lastIndexOf(tb,Math.min(De,Ue));return tt>=O?_e.substring(O,tt+P):W}function Mt(_e){if(!_e.match(/^\w+:\/\//)){var Ue=o.createElement(ub);Ue.src=_e+vb,_e=Et(Ue.src)}return _e}function re(){var _e=__gwt_getMetaProperty(wb);return _e!=null?_e:W}function b(){for(var _e=o.getElementsByTagName(_),Ue=O;Ue<_e.length;++Ue)if(_e[Ue].src.indexOf(xb)!=-1)return Et(_e[Ue].src);return W}function pe(){var _e=o.getElementsByTagName(yb);return _e.length>O?_e[_e.length-P].href:W}function we(){var _e=o.location;return _e.href==_e.protocol+zb+_e.host+_e.pathname+_e.search+_e.hash}var Ae=re();return Ae==W&&(Ae=b()),Ae==W&&(Ae=pe()),Ae==W&&we()&&(Ae=Et(o.location.href)),Ae=Mt(Ae),Ae}function C(Et){return Et.match(/^\//)||Et.match(/^[a-zA-Z]+:\/\//)?Et:webModule.__moduleBase+Et}function D(){var Et=[],Mt=O,re=[],b=[];function pe(_e){var Ue=b[_e](),De=re[_e];if(Ue in De)return Ue;var tt=[];for(var Oe in De)tt[De[Oe]]=Oe;throw r&&r(_e,tt,Ue),null}if(__gwt_isKnownPropertyValue=function(_e,Ue){return Ue in re[_e]},webModule.__getPropMap=function(){var _e={};for(var Ue in re)re.hasOwnProperty(Ue)&&(_e[Ue]=pe(Ue));return _e},webModule.__computePropValue=pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var we;try{we=Cb;var Ae=we.indexOf(Db);Ae!=-1&&(Mt=parseInt(we.substring(Ae+P),$),we=we.substring(O,Ae))}catch(_e){}return webModule.__softPermutationId=Mt,C(we+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})()},77665:function(Et,Mt,re){"use strict";re.d(Mt,{Ax:function(){return Ae},Ds:function(){return _e},KI:function(){return De},SI:function(){return we},f1:function(){return pe}});var b=re(13952);function pe(tt){let Oe=!0;if(tt.length>0){for(let Le=0;Le<tt.length;Le++)if(tt[Le].compile_success==0||!tt[Le].compile_success){Oe=!1;break}}else Oe=!1;return Oe}function we(tt,Oe=""){let Le=[];for(let ke=0;ke<tt.length;ke++){let Ge=tt[ke],Je=Oe?`${Oe}/${Ge.name}`:`${Ge.name}`;Le.push({title:Ge.name,type:Ge.type,isLeaf:Ge.type!=="tree",key:Je})}return Le}function Ae(tt,Oe,Le){for(let ke=0;ke<tt.length;ke++){let Ge=tt[ke];if(Ge.key===Oe){Ge.children=Le;break}Ge.children&&Ae(Ge.children,Oe,Le)}return tt}function _e(tt,Oe,Le){let ke;return function(){let Ge=this,Je=arguments,le=function(){ke=null,Le||tt.apply(Ge,Je)},E=Le&&!ke;clearTimeout(ke),ke=setTimeout(le,Oe),E&&tt.apply(Ge,Je)}}const Ue=!0,De=b.Z.API_SERVER},27051:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return le}});var b=re(3113),pe=re(59301),we=Object.defineProperty,Ae=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Oe=(E,a,x)=>a in E?we(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,Le=(E,a)=>{for(var x in a||(a={}))De.call(a,x)&&Oe(E,x,a[x]);if(Ue)for(var x of Ue(a))tt.call(a,x)&&Oe(E,x,a[x]);return E},ke=(E,a)=>Ae(E,_e(a)),Ge=(E,a)=>{var x={};for(var y in E)De.call(E,y)&&a.indexOf(y)<0&&(x[y]=E[y]);if(E!=null&&Ue)for(var y of Ue(E))a.indexOf(y)<0&&tt.call(E,y)&&(x[y]=E[y]);return x},Je=(E,a,x)=>new Promise((y,z)=>{var te=ie=>{try{se(x.next(ie))}catch(he){z(he)}},ae=ie=>{try{se(x.throw(ie))}catch(he){z(he)}},se=ie=>ie.done?y(ie.value):Promise.resolve(ie.value).then(te,ae);se((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,y=Ge(a,["children"]);const[z,te]=(0,pe.useState)(!1);return pe.createElement(b.ZP,ke(Le({},y),{loading:z,onClick:ae=>Je(void 0,null,function*(){try{te(!0),yield y.onClick(ae),te(!1)}catch(se){console.error(se),te(!1)}})}),x)}},48102:function(Et,Mt,re){"use strict";var b=re(86204),pe=re.n(b),we=Object.defineProperty,Ae=(tt,Oe,Le)=>Oe in tt?we(tt,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Le}):tt[Oe]=Le,_e=(tt,Oe,Le)=>Ae(tt,typeof Oe!="symbol"?Oe+"":Oe,Le),Ue=(tt,Oe,Le)=>new Promise((ke,Ge)=>{var Je=a=>{try{E(Le.next(a))}catch(x){Ge(x)}},le=a=>{try{E(Le.throw(a))}catch(x){Ge(x)}},E=a=>a.done?ke(a.value):Promise.resolve(a.value).then(Je,le);E((Le=Le.apply(tt,Oe)).next())});class De extends b.EventEmitter{constructor(Oe,Le){super(),_e(this,"url"),_e(this,"body"),_e(this,"fullContent",""),_e(this,"controller",null),_e(this,"buffer",""),this.url=Oe,this.body=Le}startStream(){return Ue(this,null,function*(){this.controller=new AbortController;const{signal:Oe}=this.controller;try{const Le=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Oe});if(!Le.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Le.status}`);const ke=Le.headers.get("content-type");if(!ke)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ke.includes("application/json")){const le=yield Le.json();this.emit("error",le);return}if(!ke.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ge=Le.body.getReader(),Je=new TextDecoder("utf-8");for(;;){const{done:le,value:E}=yield Ge.read();if(le)break;const a=Je.decode(E,{stream:!0});this.buffer+=a;const x=this.buffer.split(`
`);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const z=y.slice(5).trim();if(z==="[DONE]")break;try{const te=JSON.parse(z);te.data&&this.handleData(te.data)}catch(te){this.buffer=y+`
`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",te)}}}this.emit("done",this.fullContent)}catch(Le){Le.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Le.message)}})}handleData(Oe){Oe.content&&(this.fullContent+=Oe.content,this.emit("data",{chunk:Oe,full:this.fullContent}))}cancelRequest(){var Oe;(Oe=this.controller)==null||Oe.abort()}}Mt.Z=De},7299:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return mt}});var b=re(59301),pe=re(96536),we=re(77596),Ae=re(3310),_e=re(14179),Ue=re(56102),De={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},tt=re(8591),Oe=re(11611),Le=re(13058),ke=re(30084),Ge=re(10787),Je=re(14752),le=re(43428),E=re(95237),a=re(43604),x={smartWrp:"smartWrp___NjRcB"},y=re(58531),z=re(36433),te=re(27051),ae=re(59301),se=(En,sn,Gt)=>new Promise((_t,Te)=>{var ot=bt=>{try{pn(Gt.next(bt))}catch(dn){Te(dn)}},Rt=bt=>{try{pn(Gt.throw(bt))}catch(dn){Te(dn)}},pn=bt=>bt.done?_t(bt.value):Promise.resolve(bt.value).then(ot,Rt);pn((Gt=Gt.apply(En,sn)).next())});const ie=`<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>\u5FEB\u901F\u6392\u5E8F\u6F14\u793A</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 20px;
}
.array-container {
display: flex;
justify-content: center;
align-items: flex-end;
height: 300px;
margin-top: 20px;
}
.bar {
width: 30px;
margin: 0 2px;
background-color: #4caf50;
color: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
transition: all 0.3s ease;
}
.bar.sorted {
background-color: #ff9800;
}
.bar.pivot {
background-color: #f44336;
}
</style>
</head>
<body>
<h1>\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A</h1>
<button id="start-sort">\u5F00\u59CB\u6392\u5E8F</button>
<div class="array-container" id="array-container"></div>
<script>
const array = [34, 7, 23, 32, 5, 62]; // \u56FA\u5B9A\u6570\u7EC4
let bars = [];
// \u521D\u59CB\u5316\u6570\u7EC4\u663E\u793A
function initArrayDisplay() {
const container = document.getElementById('array-container');
container.innerHTML = '';
bars = array.map(value => {
const bar = document.createElement('div');
bar.className = 'bar';
bar.style.height = \`\${value * 5}px\`;
bar.textContent = value;
container.appendChild(bar);
return bar;
});
}
// \u9AD8\u4EAE\u67D0\u4E2A\u8303\u56F4\u5185\u7684\u67F1\u5B50
function highlightBars(indices, className) {
indices.forEach(index => bars[index].classList.add(className));
}
// \u79FB\u9664\u9AD8\u4EAE
function removeHighlightBars(indices, className) {
indices.forEach(index => bars[index].classList.remove(className));
}
// \u5FEB\u901F\u6392\u5E8F\u4E3B\u51FD\u6570
async function quickSort(arr, left = 0, right = arr.length - 1) {
if (left >= right) return;
const pivotIndex = await partition(arr, left, right);
await quickSort(arr, left, pivotIndex - 1);
await quickSort(arr, pivotIndex + 1, right);
}
// \u5206\u533A\u51FD\u6570
async function partition(arr, left, right) {
const pivot = arr[right];
let i = left - 1;
highlightBars([right], 'pivot'); // \u9AD8\u4EAE\u57FA\u51C6\u503C
for (let j = left; j < right; j++) {
highlightBars([j], 'sorted'); // \u9AD8\u4EAE\u5F53\u524D\u6BD4\u8F83\u5143\u7D20
await sleep(500);
if (arr[j] <= pivot) {
i++;
[arr[i], arr[j]] = [arr[j], arr[i]];
// \u66F4\u65B0\u67F1\u5B50\u9AD8\u5EA6
bars[i].style.height = \`\${arr[i] * 5}px\`;
bars[i].textContent = arr[i];
bars[j].style.height = \`\${arr[j] * 5}px\`;
bars[j].textContent = arr[j];
await sleep(500);
}
removeHighlightBars([j], 'sorted'); // \u79FB\u9664\u9AD8\u4EAE
}
// \u5C06\u57FA\u51C6\u503C\u653E\u5230\u6B63\u786E\u4F4D\u7F6E
[arr[i + 1], arr[right]] = [arr[right], arr[i + 1]];
bars[i + 1].style.height = \`\${arr[i + 1] * 5}px\`;
bars[i + 1].textContent = arr[i + 1];
bars[right].style.height = \`\${arr[right] * 5}px\`;
bars[right].textContent = arr[right];
removeHighlightBars([right], 'pivot'); // \u79FB\u9664\u57FA\u51C6\u503C\u9AD8\u4EAE
highlightBars([i + 1], 'sorted'); // \u9AD8\u4EAE\u6700\u7EC8\u4F4D\u7F6E
await sleep(500);
removeHighlightBars([i + 1], 'sorted');
return i + 1;
}
// \u5EF6\u8FDF\u51FD\u6570
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
// \u5F00\u59CB\u6392\u5E8F\u6309\u94AE\u70B9\u51FB\u4E8B\u4EF6
document.getElementById('start-sort').addEventListener('click', () => {
quickSort(array);
});
// \u521D\u59CB\u5316\u9875\u9762
initArrayDisplay();
<\/script>
</body>
</html>`;function he({open:En=!0,onChange:sn,defaultValue:Gt,placement:_t,width:Te,height:ot,extra:Rt,onDynamic:pn,showExtra:bt=!0}){const dn=(0,b.useRef)(null),Ce=(0,b.useRef)(null),[it,Qt]=(0,b.useState)(Gt||""),[nt,ht]=(0,b.useState)(Gt||""),[Tn,kt]=(0,b.useState)(!!En),[yt,Pt]=(0,b.useState)(1),Gn={selectOnLineNumbers:!0};(0,b.useEffect)(()=>{En&&(Qt(Gt),ht(Gt),kt(!0))},[En,Gt]),(0,b.useEffect)(()=>{it!==""&&(clearTimeout(Ce.current),Ce.current=setTimeout(()=>{const rn=document.createElement("iframe");if(rn.style.width="100%",rn.style.height="100%",rn.style.border="0",dn.current){dn.current.innerHTML="",dn.current.appendChild(rn);const ta=rn.contentDocument||rn.contentWindow.document;ta.open(),ta.write(it),ta.close()}},1e3))},[En,it]);const Vn=rn=>{Qt(rn),sn==null||sn(rn,nt)};return ae.createElement(le.Z,{title:"\u667A\u80FD\u52A8\u6548",placement:"right",open:Tn,width:bt?700:"100%",height:ot||"100vh",rootClassName:x.smartWrp,destroyOnClose:!0,onClose:()=>kt(!1),extra:bt&&ae.createElement("div",null,ae.createElement(z.tp,{dataSource:[{name:"\u9884\u89C8",id:1},{name:"\u4EE3\u7801",id:2}],value:yt,onChange:rn=>Pt(rn)}),ae.createElement(te.Z,{type:"primary",className:"ml20",onClick:()=>se(this,null,function*(){yield pn(it,()=>{kt(!1)})})},"\u4FDD\u5B58\u81F3\u8BFE\u4EF6"))},ae.createElement(E.Z,{className:"h100"},ae.createElement(a.Z,{flex:"1",style:{background:"#f6f7fb",borderRight:"#e8eaf1 1px solid",display:yt===1?"block":"none"}},ae.createElement("div",{className:"h100",ref:dn})),ae.createElement(a.Z,{flex:"1",style:{display:yt===2?"block":"none"}},ae.createElement(y.ZP,{height:"90vh",value:Gt,language:"html",theme:"vs",showMiniMap:!1,options:Gn,onChange:Vn}))))}var be=he,He=Object.defineProperty,Ne=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,$e=(En,sn,Gt)=>sn in En?He(En,sn,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):En[sn]=Gt,xe=(En,sn)=>{for(var Gt in sn||(sn={}))Ke.call(sn,Gt)&&$e(En,Gt,sn[Gt]);if(Re)for(var Gt of Re(sn))We.call(sn,Gt)&&$e(En,Gt,sn[Gt]);return En},gt=(En,sn)=>Ne(En,dt(sn)),lt=(En,sn)=>{var Gt={};for(var _t in En)Ke.call(En,_t)&&sn.indexOf(_t)<0&&(Gt[_t]=En[_t]);if(En!=null&&Re)for(var _t of Re(En))sn.indexOf(_t)<0&&We.call(En,_t)&&(Gt[_t]=En[_t]);return Gt},mt=({onFinish:En,value:sn,streamingStatus:Gt,cancelIndex:_t,loadImage:Te,onDynamic:ot})=>{const[Rt,pn]=(0,b.useState)(""),[bt,dn]=(0,b.useState)({defaultValue:"",open:0,language:"",placement:"right",height:"100vh"}),[Ce,it]=(0,b.useState)(0),[Qt,nt]=(0,b.useState)(!1),ht=yt=>yt.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Pt,Gn)=>`<mathx data-text="${Gn.trim()}">$$${Gn.trim()}$$</mathx>`).replace(/\\\(([\s\S]*?)\\\)/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/\\\[([\s\S]*?)\\\]/g,'<mathx data-text="$1">$$$$$1$$$$</mathx>').replace(/_{2,}/g,"`$&`"),Tn=()=>{nt(!0),En==null||En()};(0,b.useEffect)(()=>{const yt=Te?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
${sn}`:sn,Pt=ht(yt);if(!Qt)if(Te||!Gt||_t>0){pn(Pt),it(Pt.length),(!Gt||_t>0)&&!Te&&Tn();return}else if((Pt==null?void 0:Pt.length)<4)pn(Pt),it(Pt.length);else if(Ce<Pt.length){const Gn=Pt.length-Ce,Vn=setInterval(()=>{pn(Pt.slice(0,Ce+2)),it(rn=>rn+2)},Gn>10?Math.max(500/(Gn/2),20):50);return()=>clearInterval(Vn)}else Gt||Tn()},[sn,Gt,_t,Te,Ce]);const kt=(0,b.useMemo)(()=>b.createElement("section",{className:`${De.answer} fadeIn animated edu_md`},b.createElement(pe.UG,{remarkPlugins:[ke.Z,Ge.Z],rehypePlugins:[Le.Z,Ae.Z],components:{code(yt){var Pt=yt,{node:Gn,inline:Vn,className:rn,children:ta}=Pt,Sa=lt(Pt,["node","inline","className","children"]);const Kn=/language-(\w+)/.exec(rn||""),Nn=String(ta).trim();return Vn||!Kn?b.createElement("code",xe({className:rn},Sa),ta):b.createElement("code",{className:De.codeCopy,"data-text":`\`\`\`${Kn?Kn[1]:""}
${ta}
\`\`\``},b.createElement(Ue.CopyToClipboard,{text:Nn,onCopy:()=>tt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),Kn[1]==="html"&&Qt&&b.createElement("button",{className:De.runCode,onClick:()=>{dn(xe({},gt(xe({},bt),{open:++bt.open,defaultValue:Nn,language:Kn[1]})))}},"\u8FD0\u884CHTML"),b.createElement(we.Z,xe({wrapLongLines:!0,style:_e.Z,language:Kn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Sa),Nn))},img({node:yt}){var Pt;const Gn=(Pt=yt.properties)==null?void 0:Pt.src;return b.createElement(Oe.Z,{src:Gn,width:320,"data-text":Gn,onLoad:()=>Te&&setTimeout(()=>Tn(),500)})}}},Qt?Rt:`${Rt}__`)),[Rt]);return b.createElement(b.Fragment,null,b.createElement(be,{defaultValue:bt.defaultValue,open:bt.open,language:bt.language,height:bt.height,onChange:(yt,Pt)=>{pn(Rt.replaceAll(Pt,yt))},onDynamic:ot}),kt)}},28639:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return be}});var b=re(59301),pe=re(8591),we=re(43428),Ae=re(95237),_e=re(43418),Ue=re(92832),De=re(54580),tt=re(6848),Oe=re(43604),Le=re(5871),ke={wrap:"wrap___Yz6fc",left:"left___F0axg",tip:"tip___nCmqI",bottomBtn:"bottomBtn___x70Gq",disabled:"disabled___CWzre"},Ge=re(36433),Je=re(13952),le=re(32454),E=re(52430),a=re(55385),x=re(89299),y=re(57833),z=re(85133),te=re(88441),ae=re(53412),se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/rsvi073GBEsdrIN8214WOfbCyLHnSks0SSGqFCCFlSOS/VLKNhXJbULKTVYgXwhKwWZevNX/d5ya+Ff+6OzZx9WGycRbhZs+JbKdYyPbmqZsR5Qsi7xrIS2LSAgQFuh7fdHIVQRSmZsVhsqSciARyifswL/LsuX9w8/fOfyvOs9/CeB5845bEuJ9WljidOm6tZHtEjkOkWPjuw4l2yZMJAk1UKsMVh9ZCVAqBhxJiEJzE2GEE0Z4ocSOwmEnCm9VxfDy7M77tvyzwP8pwAfMPG6JtOyLI0e8M7SEi2UTuB7SdlGOi+85+K5NyfEIXBdcrwy4YmENVsVgZQhBBKEPUYQVBNhBSDKMEGGAG8nAlvJuEfoX9+986B8G/g8Bnlt3yBQvk/m6tKxPKWElIhvjrhpk6HjmPkh4+K5L0XUpWTaJVIJpDfU01VVTP6Uaz3OMsXL5En3ZEfZkcwwNZZFBYMCLIDSgnSAkEfiIKMSNFLYMS1akflokuiTb9sjI32vxvxvwouY3HIdrXQtirvZI6XhISyFtB8qAQ8+jaFuQTvGGlQdy5klHcvji+TT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wAAAABJRU5ErkJggg==",ie=(He,Ne,dt)=>new Promise((Re,Ke)=>{var We=gt=>{try{xe(dt.next(gt))}catch(lt){Ke(lt)}},$e=gt=>{try{xe(dt.throw(gt))}catch(lt){Ke(lt)}},xe=gt=>gt.done?Re(gt.value):Promise.resolve(gt.value).then(We,$e);xe((dt=dt.apply(He,Ne)).next())}),be=(0,b.forwardRef)(({onUpdateNum:He,onSave:Ne},dt)=>{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%`,[We,$e]=(0,b.useState)(!1),[xe,gt]=(0,b.useState)([]),[lt,At]=(0,b.useState)(null),[mt,En]=(0,b.useState)([]),[sn,Gt]=(0,b.useState)(0),[_t,Te]=(0,b.useState)(0),[ot,Rt]=(0,b.useState)(!1),[pn,bt]=(0,b.useState)(""),[dn,Ce]=(0,b.useState)(0),[it,Qt]=(0,b.useState)(0),[nt,ht]=(0,b.useState)(0),[Tn,kt]=(0,b.useState)(0),[yt,Pt]=(0,b.useState)(0),[Gn,Vn]=(0,b.useState)(0),[rn,ta]=(0,b.useState)(0),[Sa,Kn]=(0,b.useState)(0),[Nn,ha]=(0,b.useState)(ae.Q),{contentRef:Oa,value:ka,status:va,open:Ua,close:Za}=Nn,ga=(0,z.Z)({contentRef:Oa,status:va}),{openProgress:Ra,closeProgress:qa,CreateProgressModal:_n,progressOpen:Pn}=(0,y.Z)();(0,b.useEffect)(()=>{lt&&xa(),lt===!1&&(Za(),He==null||He(),gt([]),bt(""),Ce(0),Qt(0),ht(0),kt(0),Pt(0),Vn(0),ta(0),Kn(0))},[lt]);const jt=()=>{At(!0)};(0,b.useImperativeHandle)(dt,()=>({onClick:jt}));const on=oa=>{Rt(!0),Gt(oa),Te(0)},Ca=oa=>ie(void 0,null,function*(){const Mr=oa.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Mr)==-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}),xa=()=>ie(void 0,null,function*(){const oa=yield(0,E.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});oa.status===0&&(Gt(oa.total_number),Te(oa.remaining_number))}),Ta=oa=>(oa=oa||"",oa=String(oa),oa=oa.replace(/\s+/g,""),oa),La=(oa=!0)=>ie(void 0,null,function*(){var Mr,Nt;const Bn=[{name:"\u5355\u9009\u9898",num:dn||0},{name:"\u591A\u9009\u9898",num:it||0},{name:"\u5224\u65AD\u9898",num:nt||0},{name:"\u586B\u7A7A\u9898",num:Tn||0},{name:"\u7B80\u7B54\u9898",num:yt||0},{name:"\u7EC4\u5408\u9898",num:Sa||0},{name:"\u7F16\u7A0B\u9898",num:Gn||0},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",num:rn||0}];if(oa){if(Ta(pn)){if(pn.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(!Ta(pn)&&!(xe!=null&&xe.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 Be=Bn.reduce((at,ct)=>at+ct.num,0);if(Be===0){pe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}if(Be>50){pe.ZP.warning("\u51FA\u9898\u6570\u91CF\u8FBE\u5230\u9650\u5236");return}if(sn!==-1){Rt(!0);return}}Rt(!1);const pa={scene_type:6,request_identifier:Math.random(),file_id:(Nt=(Mr=xe[0])==null?void 0:Mr.response)==null?void 0:Nt.id,content:pn,count_arr:Bn.map(Be=>Be.num).join(",")};yield Ua(pa),xa()}),za=()=>ie(void 0,null,function*(){const oa=ga();if(Ne){At(!1),Ne(oa);return}Ra(),$e(!0),En([]);const Mr=new FormData;Mr.append("html",oa);const Nt=yield(0,E.ZP)("/api/intelligent_imports/import.json",{method:"post",body:Mr},!0);if((Nt==null?void 0:Nt.status)===0)if(Nt!=null&&Nt.data){qa(100),En(Nt==null?void 0:Nt.data);return}else pe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");$e(!1),qa()}),sr=()=>ie(void 0,null,function*(){const oa=ga();(0,x.RG)(oa)}),$a=["uploading","error"].includes((Re=xe==null?void 0:xe[0])==null?void 0:Re.status);return b.createElement(b.Fragment,null,b.createElement(te.Z,{visible:ot,totalCount:sn,usedCount:_t,onCancel:()=>Rt(!1),onOk:()=>La(!1)}),b.createElement(we.Z,{title:"\u667A\u80FD\u51FA\u9898",extra:b.createElement("div",{className:ke.extraHeader},b.createElement(Ae.Z,{align:"middle"},!va&&!!ka&&b.createElement(b.Fragment,null,b.createElement(Ge.op,{onClick:za,className:"mr15",shape:"default"},"\u4FDD\u5B58\u8BD5\u9898"),b.createElement(Ge.op,{onClick:sr,shape:"default",type:"text"},b.createElement("i",{className:"iconfont icon-fuzhi8 mr5 font14"}),"\u590D\u5236")),b.createElement("i",{onClick:()=>{const oa=Mr=>{_e.default.confirm({centered:!0,icon:null,width:500,zIndex:1101,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Mr,onOk:()=>{At(!1)}})};if(va){oa("\u6B63\u5728\u751F\u6210\u8BD5\u9898\u4E2D\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F");return}else ka?oa("\u8BD5\u9898\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F"):At(!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:lt},b.createElement("div",{className:ke.wrap},b.createElement("div",{className:ke.left},b.createElement("div",{className:ke.tip},b.createElement("img",{src:se}),b.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")),b.createElement("div",{className:"mb10 mt20 c-black"},b.createElement("b",null,"\u51FA\u9898\u8981\u6C42")),b.createElement(Ue.default.TextArea,{style:{height:160},className:"mb20",value:pn,placeholder:Ke,onChange:oa=>{bt(oa.target.value)}}),b.createElement(De.default,{accept:".doc,.docx,.pdf,.png,.jpg",action:`${Je.Z.API_SERVER}/api/attachments.json`,maxCount:1,fileList:xe,withCredentials:!0,data:{upload_type:1},beforeUpload:Ca,onChange:({file:oa})=>{var Mr,Nt;oa.status!=="removed"&&(oa.status==="done"&&((Mr=oa==null?void 0:oa.response)==null?void 0:Mr.status)!==0&&(oa.status="error",oa.response=(Nt=oa==null?void 0:oa.response)==null?void 0:Nt.message),gt([oa]))},onRemove:()=>gt([])},b.createElement(tt.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"},b.createElement(Ge.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{className:"c-black mt20"},b.createElement("div",{className:"mb10 c-black"},b.createElement("b",null,"\u51FA\u9898\u6570\u91CF"),b.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",b.createElement("span",{style:{padding:"0 6px",color:"#FB901F"}},"50"),"\u9053\uFF09")),b.createElement(Ae.Z,{style:{gap:16}},b.createElement(Oe.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(Le.Z,{min:0,max:10,value:dn,onChange:Ce,style:{marginLeft:"8px"}})),b.createElement(Oe.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(Le.Z,{min:0,max:10,value:it,onChange:Qt,style:{marginLeft:"8px"}})),b.createElement(Oe.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(Le.Z,{min:0,max:10,value:nt,onChange:ht,style:{marginLeft:"8px"}})),b.createElement(Oe.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(Le.Z,{min:0,max:10,value:Tn,onChange:kt,style:{marginLeft:"8px"}})),b.createElement(Oe.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(Le.Z,{min:0,max:10,value:yt,onChange:Pt,style:{marginLeft:"8px"}})),b.createElement(Oe.Z,null,b.createElement("label",null,"\u7EC4\u5408\u9898"),b.createElement(Le.Z,{min:0,max:10,value:Sa,onChange:Kn,style:{marginLeft:"8px"}})),b.createElement(Oe.Z,null,b.createElement("label",null,"\u7F16\u7A0B\u9898"),b.createElement(Le.Z,{min:0,max:10,value:Gn,onChange:Vn,style:{marginLeft:"8px"}})),b.createElement(Oe.Z,null,b.createElement("label",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898"),b.createElement(Le.Z,{min:0,max:10,value:rn,onChange:ta,style:{marginLeft:"8px"}})))),va?b.createElement("div",{onClick:Za,className:ke.bottomBtn},b.createElement("i",{className:"iconfont icon-tingzhihuida"}),"\u505C\u6B62\u51FA\u9898"):$a?b.createElement("div",{className:`${ke.bottomBtn} ${ke.disabled}`},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898"):b.createElement("div",{onClick:()=>{La()},className:ke.bottomBtn},b.createElement("i",{className:"iconfont icon-kaishichuti font14"}),"\u5F00\u59CB\u51FA\u9898")),b.createElement(ae.Z,{onStatusChange:ha,loadingText:"\u8BD5\u9898\u751F\u6210\u4E2D",fetchUrl:"/api/stream/intelligent_imports/stream.json",showEditableToolbar:!Pn,noRestrictModal:on,stringTransformer:a.o,onError:oa=>{Object.prototype.toString.call(oa)==="[object Object]"&&oa.status===-9&&on(oa.data)}}))),b.createElement(we.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:We},b.createElement(Ae.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},b.createElement("img",{src:re(36413),alt:"\u667A\u80FD\u51FA\u9898"}),b.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),b.createElement(le.Z,{stickyTop:-24,hideWordFeatures:!0,dataSource:mt,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>$e(!1),onSuccess:()=>{$e(!1),At(!1)}}),b.createElement("div",{style:{height:70}})),_n("\u5904\u7406\u4E2D"))})},18678:function(Et,Mt,re){"use strict";var b=re(59301);const pe=({scrollBoxRef:we,bottomInspectRef:Ae,contentRef:_e,status:Ue,rootMargin:De="70px",bottomOffset:tt=110})=>{const[Oe,Le]=(0,b.useState)(!0),ke=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!we.current||!Ae.current)return;const Ge=new IntersectionObserver(([Je])=>{var le,E,a,x;if(!document.contains(Je.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((le=Je.rootBounds)==null?void 0:le.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}Le(Je.isIntersecting)},{root:we.current,rootMargin:De,threshold:0});return Ge.observe(Ae.current),()=>{Ge.disconnect()}},[we.current,Ae.current,De]),(0,b.useEffect)(()=>{if(!Ue)return;const Ge=we.current,Je=_e.current;ke.current=!1;let le=Ge.scrollTop;const E=()=>{const{scrollTop:x,scrollHeight:y,clientHeight:z}=Ge;x>le?x+z>=y-tt&&(Ge.scrollTop=Ge.scrollHeight,ke.current=!1):x<le&&(ke.current=!0),le=x};Ge.addEventListener("scroll",E);const a=new ResizeObserver(()=>{ke.current||(Ge.scrollTop=Ge.scrollHeight)});return a.observe(Je),()=>{setTimeout(()=>{a.unobserve(Je)},250),Ge.removeEventListener("scroll",E)}},[Ue]),Oe};Mt.Z=pe},85133:function(Et,Mt,re){"use strict";var b=re(59301);const pe=({contentRef:we,status:Ae})=>((0,b.useEffect)(()=>{!Ae&&(we!=null&&we.current)&&we.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(De=>{De.tagName.toLowerCase()==="code"?De.parentElement&&(De.parentElement.contentEditable="false"):De.tagName.toLowerCase()==="mathx"&&(De.contentEditable="false")})},[Ae]),(Ue=!1)=>{const De=ke=>{const Ge={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&nbsp;":" ","&copy;":"\xA9","&reg;":"\xAE","&euro;":"\u20AC"};return ke.replace(/&[^;]+;/g,Je=>Ge[Je]||Je)};if(!we.current)return"";const tt=we.current.cloneNode(!0);tt.querySelectorAll("code[data-text], mathx[data-text]").forEach(ke=>{let Ge=ke.getAttribute("data-text");ke.tagName.toLowerCase()==="code"?Ge=Ge.replace(/```.*\n|\n```/g,""):ke.tagName.toLowerCase()==="mathx"&&(Ge=`$$${Ge}$$`);const Je=document.createTextNode(Ge);ke.parentNode.replaceChild(Je,ke)}),Ue&&tt.querySelectorAll('[data-select="disabled"]').forEach(Ge=>{var Je;const le=Ge.textContent||"",E=document.createTextNode(le+`
`);(Je=Ge.parentNode)==null||Je.replaceChild(E,Ge)});let Le=tt.innerHTML;return Ue||(Le=Le.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),Le=Le.replace(/<p>/g,""),Le=Le.replace(/<\/p>/g,`
`),Le=Le.replace(/<br>/g,`
`),Le=Le.replace(/\r\n/g,`
`),Le=Le.replace(/<[^>]*>/g,""),Le=De(Le),Le});Mt.Z=pe},57833:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ge}});var b=re(59301),pe=re(43418),we=re(95237),Ae=re(93948),_e="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/wUrEjqqNhhkIiEBIgtGXAFrapDgiXVFdDlSWcqQ5Q9YBfCEAHMhlgH8s6kWV5jhXnlPW43Ie45wz7nINjJGOJyIxXWdM12gD0zTx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pW+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=",tt={dotLoading:"dotLoading___s6Sh4",showHide:"showHide___Dfprh",progress:"progress___QUpqo"},Oe=re(59301);const Le=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Ge=()=>{const[Je,le]=(0,b.useState)(0),[E,a]=(0,b.useState)(!1),[x,y]=(0,b.useState)(!0),z=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(x)return;const be=()=>{le(He=>He>=99?(clearInterval(z.current),99):He+1)};return z.current=setInterval(be,5e4/99),()=>clearInterval(z.current)},[x]);const te=()=>{le(0),a(!0),y(!1)},ae=(be=0)=>{y(!0),le(be),a(!1)},se=be=>{const He=be/1048576;let Ne;return He<=.3?Ne=3:He<=.5?Ne=5:He<=1?Ne=10:He<=2?Ne=20:He<=3?Ne=30:He<=10?Ne=He*10:Ne=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${Ne}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},ie=()=>Oe.createElement("span",{className:tt.dotLoading},Oe.createElement("span",null,"."),Oe.createElement("span",null,"."),Oe.createElement("span",null,"."));return{progress:Je,progressOpen:E,openProgress:te,closeProgress:ae,toggleLock:()=>y(be=>!be),CreateProgressModal:(be=Le,He)=>(typeof be=="string"&&(be=[be,be,be]),Oe.createElement(pe.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:E,title:null,footer:null,width:500,afterClose:()=>le(0)},Oe.createElement(we.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},Je<=30&&Oe.createElement(Oe.Fragment,null,Oe.createElement("img",{src:_e,alt:"Step 1"}),Oe.createElement("div",{className:"mt20 c-light-primary"},be[0],ie())),Je>30&&Je<60&&Oe.createElement(Oe.Fragment,null,Oe.createElement("img",{src:Ue,alt:"Step 2"}),Oe.createElement("div",{className:"mt20 c-light-primary"},be[1],ie())),Je>=60&&Oe.createElement(Oe.Fragment,null,Oe.createElement("img",{src:De,alt:"Step 3"}),Oe.createElement("div",{className:"mt20 c-light-primary"},be[2],ie())),Oe.createElement(Ae.Z,{className:tt.progress,status:"active",style:{width:"auto"},size:[300,8],percent:Je}),!!He&&Oe.createElement("div",{className:"c-grey-999"},se(He)))))}}},3738:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return sn}});var b=re(59301),pe=re(38854),we=re(8591),Ae=re(6848),_e=re(92832),Ue=re(3113),De=re(7299),tt={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"},Le=({position:Gt,children:_t})=>{const{left:Te=0,top:ot=0}=Gt||{},[Rt,pn]=(0,b.useState)(Te),[bt,dn]=(0,b.useState)(ot),Ce=(0,b.useRef)(null),it=()=>{if(Ce.current){const Qt=Ce.current.offsetWidth,nt=Ce.current.offsetHeight,ht=window.innerWidth,Tn=window.innerHeight;let kt=Te,yt=ot;Te+Qt>ht&&(kt=ht-Qt),kt<0&&(kt=0),ot+nt>Tn&&(yt=Tn-nt),yt<0&&(yt=0),pn(kt),dn(yt)}};return(0,b.useEffect)(()=>{if(!Ce.current||!Gt)return;const Qt=new ResizeObserver(()=>{it()});return Qt.observe(Ce.current),()=>{Qt.disconnect()}},[Te,ot,Gt]),(0,b.useEffect)(()=>{Gt&&it()},[Te,ot,Gt]),Gt?b.createElement("div",{ref:Ce,style:{position:"fixed",left:`${Rt}px`,top:`${bt}px`,zIndex:1050}},_t):null},ke=re(13952),Ge=re(56102),Je=re(48102),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Gt,_t,Te)=>_t in Gt?le(Gt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Gt[_t]=Te,ae=(Gt,_t)=>{for(var Te in _t||(_t={}))y.call(_t,Te)&&te(Gt,Te,_t[Te]);if(x)for(var Te of x(_t))z.call(_t,Te)&&te(Gt,Te,_t[Te]);return Gt},se=(Gt,_t)=>E(Gt,a(_t)),ie=(Gt,_t,Te)=>new Promise((ot,Rt)=>{var pn=Ce=>{try{dn(Te.next(Ce))}catch(it){Rt(it)}},bt=Ce=>{try{dn(Te.throw(Ce))}catch(it){Rt(it)}},dn=Ce=>Ce.done?ot(Ce.value):Promise.resolve(Ce.value).then(pn,bt);dn((Te=Te.apply(Gt,_t)).next())}),be=({visible:Gt,position:_t,selectText:Te,applyRefinedText:ot,fetchUrl:Rt,noRestrictModal:pn})=>{var bt;const[dn,Ce]=(0,b.useState)(!1),[it,Qt]=(0,b.useState)([]),[nt,ht]=(0,b.useState)(""),[Tn,kt]=(0,b.useState)(1),[yt,Pt]=(0,b.useState)(""),[Gn,Vn]=(0,b.useState)(!1),rn=(0,b.useRef)(null),[ta,Sa]=(0,b.useState)(!1),[Kn,Nn]=(0,b.useState)(0),ha=(0,b.useRef)(!1),Oa=((bt=it==null?void 0:it[(it==null?void 0:it.length)-1])==null?void 0:bt.loading)===!0;(0,b.useEffect)(()=>{if(Gt){kt(1);return}Sa(!1),Ce(!1),ka(),Nn(0),Qt([]),kt(0)},[Gt]);const ka=()=>{var La,za;ht(""),Pt(""),(za=(La=rn.current)==null?void 0:La.cancelRequest)==null||za.call(La)},va=(...La)=>ie(void 0,[...La],function*(za="",sr=it){const $a=Date.now(),oa=[...sr,{text:za,key:$a,sender:"user",show:!0},{loading:!0,key:$a,sender:"AI",show:!0}];kt(2),Qt(oa);const Mr=Za(sr),Nt={no_record_times:!0,prompt:za,history:Mr};rn.current=new Je.Z(ke.Z.API_SERVER+Rt,Nt),yield new Promise(Bn=>{rn.current.on("data",na=>{const{chunk:{msg:pa},full:Be}=na,at=pa==="error";Sa(!0),Pt(Pn(Be)),Qt(ct=>ct.map((Ct,St)=>St===ct.length-1?se(ae({},Ct),{text:Be,loading:!1,error:at}):Ct))}),rn.current.on("done",()=>Bn()),rn.current.on("error",na=>{const pa="\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(na)==="[object Object]"&&na.status===-9&&(kt(1),pn(na.data)),Qt(Be=>Be.map((at,ct)=>ct===Be.length-1?se(ae({},at),{text:pa,loading:!1,error:!0}):at)),Bn()}),rn.current.on("cancelled",()=>Bn()),rn.current.startStream()}),Ce(!1)}),Ua=La=>{ht(La.target.value)},Za=La=>La.reduce((sr,$a)=>{if($a.sender==="user"){const oa=La.find(Mr=>Mr.key===$a.key&&Mr.sender==="AI");oa&&(oa!=null&&oa.text)&&!(oa!=null&&oa.error)&&sr.push({question:$a.text,answer:oa.text})}return sr},[]),ga=()=>{if(Ta)return;const La=jt("\u6539\u5199");ka(),Ce(!0),va(La)},Ra=La=>{if(La.key==="Enter"&&!La.shiftKey){if(La.preventDefault(),ha.current||xa)return;ga()}},qa=()=>{var La,za;Nn(sr=>sr+1),(za=(La=rn.current)==null?void 0:La.cancelRequest)==null||za.call(La),Ce(!1),Sa(!1)},_n=[{key:"1",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:b.createElement("span",null,b.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],Pn=(La="")=>{const za=["\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((sr,$a)=>{za.push(`\u7B54\u6848${$a+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${$a+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${$a+1})\u8F93\u51FA\uFF1A`)}),za.forEach(sr=>{const $a=new RegExp(sr,"g");La=La.replace($a,`**${sr}** `)}),La},jt=La=>La==="\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${La}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u53BB\u6389\u63D0\u793A\u8BED`,on=La=>{let za="";La.key==="1"&&(za=jt("\u6DA6\u8272")),La.key==="2"&&(za=jt("\u6269\u5199")),La.key==="3"&&(za=jt("\u7F29\u5199")),ka(),Ce(!0),va(za)},Ca=()=>{const La=it.splice(it.length-2),{text:za}=(La==null?void 0:La[0])||{};ka(),Ce(!0),va(za,it)},xa=dn||ta,Ta=(nt==null?void 0:nt.trim())==="";return Gt?b.createElement(pe.Z,{open:Ta&&!xa&&(Gn||!yt),overlayStyle:{minWidth:200},menu:{items:_n,onClick:on}},b.createElement(Le,{position:_t},b.createElement("div",{className:tt.wrap},Tn===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:tt.chatContainer},Oa&&b.createElement("div",{className:tt.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),yt&&b.createElement(De.Z,{cancelIndex:Kn,streamingStatus:dn,loadImage:!1,onFinish:()=>ie(void 0,null,function*(){Nn(0),setTimeout(()=>Sa(!1),0)}),value:yt})),b.createElement("div",{className:tt.btnContainer},b.createElement("div",{onClick:()=>ot(!0,yt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>ot(!1,yt),className:tt.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(Ge.CopyToClipboard,{text:yt,onCopy:()=>we.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(Ae.Z,{title:"\u590D\u5236"},b.createElement("div",{className:tt.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(Ae.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Ca,className:tt.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(Ae.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{kt(1),ka(),Qt([])},className:tt.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:tt.inputContainer},b.createElement(_e.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:nt,bordered:!1,onFocus:()=>Vn(!0),onBlur:()=>setTimeout(()=>Vn(!1),300),onChange:Ua,onPressEnter:Ra,onCompositionStart:()=>ha.current=!0,onCompositionEnd:()=>ha.current=!1}),ta?b.createElement("div",{className:`iconfont icon-tingzhihuida ${tt.cancelBtn}`,onClick:qa}):b.createElement(Ue.ZP,{className:Ta?tt.sendBtnDisabled:tt.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:xa,onClick:ga}))))):b.createElement(b.Fragment,null)},He={"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"},Ne=Object.defineProperty,dt=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,We=(Gt,_t,Te)=>_t in Gt?Ne(Gt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Gt[_t]=Te,$e=(Gt,_t)=>{for(var Te in _t||(_t={}))Re.call(_t,Te)&&We(Gt,Te,_t[Te]);if(dt)for(var Te of dt(_t))Ke.call(_t,Te)&&We(Gt,Te,_t[Te]);return Gt};const xe=Gt=>React.createElement("svg",$e({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Gt),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==",At=(0,b.forwardRef)(({initialContent:Gt,onButtonClick:_t},Te)=>{const[ot,Rt]=(0,b.useState)(null),[pn,bt]=(0,b.useState)(null),[dn,Ce]=(0,b.useState)(""),[it,Qt]=(0,b.useState)(null),nt=Te,ht=rn=>{const ta=document.elementFromPoint(10,rn),Sa=document.createRange();let Kn=null;const Nn=document.createTreeWalker(nt.current,NodeFilter.SHOW_TEXT,{acceptNode:ga=>{const Ra=document.createRange();Ra.selectNodeContents(ga);const qa=Ra.getBoundingClientRect();return qa.top<=rn&&qa.bottom>=rn?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let ha="",Oa,ka,va=null,Ua=null,Za=null;for(;Oa=Nn.nextNode();){Oa.parentNode.getAttribute("data-select")==="disabled"&&(ka=!0),ha+=Oa.textContent,Ua||(Ua=Oa),Za=Oa;const ga=document.createRange();ga.selectNodeContents(Oa);const Ra=ga.getBoundingClientRect();va===null&&(va=Ra.top)}if(Ua&&Za&&!ka){const ga=document.createRange();ga.setStart(Ua,0),ga.setEnd(Za,Za.textContent.length),Qt(ga)}else Qt(null);return bt(va-1),ka?"":ha.trim()};function Tn(rn){for(;rn.parentElement&&rn.parentElement.tagName.toLowerCase()!=="section";){var ta=window.getComputedStyle(rn.parentElement);if(ta.pointerEvents==="none")return!0;rn=rn.parentElement}return!1}const kt=rn=>{var ta,Sa;if(Tn(rn.target)){bt(-1e6);return}if(((Sa=(ta=document.getSelection())==null?void 0:ta.toString)==null?void 0:Sa.call(ta))!==""){bt(-1e6);return}const Kn=ht(rn.clientY);if((Kn==null?void 0:Kn.trim())===""){bt(-1e6);return}const Nn=nt.current.getBoundingClientRect();Rt(Nn.left-30),Ce(Kn)},yt=()=>{},Pt=rn=>{_t&&dn&&_t(dn,rn.clientX,rn.clientY,it)},Gn=()=>{if(it){const rn=window.getSelection();rn.removeAllRanges(),rn.addRange(it)}},Vn=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const rn=nt.current;return rn.addEventListener("mousemove",kt),rn.addEventListener("mouseleave",yt),()=>{rn.removeEventListener("mousemove",kt),rn.removeEventListener("mouseleave",yt),Vn()}},[Gt]),b.createElement("div",{className:He["hover-line-container2"]},pn!==null&&b.createElement("div",{className:He["line-button-container"],style:{top:pn,left:ot},onMouseEnter:()=>{Gn()},onMouseLeave:()=>{Vn(),bt(null),Ce(""),Qt(null)}},b.createElement("div",{className:He.button,onClick:Pt},b.createElement("img",{src:gt}),b.createElement("span",null,"AI\u6539\u5199"))))}),mt={toolbar:"toolbar___qYQBF","chat-dialog":"chat-dialog___AUJYU",button:"button___VhNes"},sn=({nodeRef:Gt,noRestrictModal:_t})=>{const[Te,ot]=(0,b.useState)(null),[Rt,pn]=(0,b.useState)(null),[bt,dn]=(0,b.useState)(!1),[Ce,it]=(0,b.useState)(null),[Qt,nt]=(0,b.useState)(!1),[ht,Tn]=(0,b.useState)(!1),kt=Gt,yt=(0,b.useRef)(null),Pt=(0,b.useRef)(null),[Gn,Vn]=(0,b.useState)("");(0,b.useEffect)(()=>{Te!=null&&Te.toString()&&Vn(Te==null?void 0:Te.toString())},[Te==null?void 0:Te.toString()]);const rn=()=>{const Nn=window.getSelection(),ha=kt.current.scrollTop,Oa=kt.current.getBoundingClientRect();if(Nn.rangeCount>0&&Nn.toString().length>0){const ka=Nn.getRangeAt(0);ot(ka.cloneRange());const va=ka.getBoundingClientRect(),Ua=40;let Za=va.top+ha-5+Ua;Za<ha&&(Za=va.bottom-Oa.top+ha+5);const ga=kt.current.scrollHeight-Ua;Za=Math.min(Math.max(Za,ha),ga),pn({top:Za+6,left:va.left})}else ot(null),pn(null),dn(!1);ta(Nn)},ta=Nn=>{if(!Nn||Nn.rangeCount===0){nt(!1);return}const Oa=Nn.getRangeAt(0).getBoundingClientRect(),ka=window.getComputedStyle(kt.current),va=parseInt(ka.lineHeight),Ua=parseInt(ka.paddingTop),Za=kt.current.scrollTop,ga=kt.current.getBoundingClientRect(),Ra=Oa.top-ga.top+Za,qa=Math.floor((Ra-Ua)/va),_n=Ua+qa*va-Za;it(_n),nt(!0)},Sa=Nn=>{kt.current&&!kt.current.contains(Nn.target)&&Tn(!1)};(0,b.useEffect)(()=>{const Nn=kt.current;return Nn.addEventListener("scroll",rn),Nn.addEventListener("input",rn),Nn.addEventListener("click",rn),Nn.addEventListener("mouseup",rn),Nn.addEventListener("keyup",rn),Nn.addEventListener("click",rn),document.addEventListener("mousedown",Sa),()=>{Nn.removeEventListener("scroll",rn),Nn.removeEventListener("input",rn),Nn.removeEventListener("click",rn),Nn.removeEventListener("mouseup",rn),Nn.removeEventListener("keyup",rn),Nn.removeEventListener("click",rn),document.removeEventListener("mousedown",Sa)}},[]);const Kn=(Nn=!0,ha)=>{if(!Te)return;const Oa=Pt.current.querySelector("section.edu_md").innerHTML.replace(/<p[^>]*>([\s\S]*?)<\/p>/g,"$1"),ka=Te.cloneRange(),va=window.getSelection();if(va.removeAllRanges(),va.addRange(ka),Nn){ka.deleteContents();const Ua=document.createElement("div");Ua.innerHTML=Oa;const Za=Array.from(Ua.childNodes);for(;Za.length>0;)ka.insertNode(Za.pop())}else{ka.collapse(!1);const Ua=document.createElement("div");Ua.innerHTML=" "+Oa;const Za=Array.from(Ua.childNodes);for(;Za.length>0;)ka.insertNode(Za.pop())}va.removeAllRanges(),ot(null),dn(!1),pn(null)};return b.createElement("section",{ref:Pt},Rt&&b.createElement("div",{ref:yt,className:mt.toolbar,style:{top:Rt==null?void 0:Rt.top,left:Rt==null?void 0:Rt.left}},b.createElement("div",{className:mt.button,onClick:()=>dn(!0)},b.createElement("img",{src:gt}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(be,{key:JSON.stringify(Rt),noRestrictModal:_t,visible:bt,position:Rt,selectText:Gn,applyRefinedText:Kn,fetchUrl:"/api/stream/intelligent_imports/stream.json"}),kt.current&&b.createElement(At,{ref:kt,onButtonClick:(Nn,ha,Oa,ka)=>{ot(ka),dn(!0),Vn(Nn),pn({left:ha,top:Oa+20})}}))}},88441:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return _e}});var b=re(59301),pe=re(43418),we={num:"num___VQiqB"},_e=({visible:Ue,usedCount:De,totalCount:tt,onOk:Oe,onCancel:Le})=>{const ke=()=>De>0?b.createElement("div",null,"\u672C\u6B21\u5C06\u6D88\u80171\u6B21\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:we.num},De),"\u6B21\uFF09\uFF0C\u786E\u5B9A\u64CD\u4F5C\u5417\uFF1F"):b.createElement("div",{className:"mb20"},"\u4ECA\u65E5\u5927\u6A21\u578B\u4F7F\u7528\u673A\u4F1A\u5DF2\u7528\u5B8C\uFF08\u6BCF\u65E5",tt,"\u6B21\u673A\u4F1A\uFF0C\u4ECA\u65E5\u5269\u4F59",b.createElement("span",{className:we.num},De),"\u6B21\uFF09\u3002");return b.createElement(pe.default,{centered:!0,open:Ue,title:"\u63D0\u793A",width:620,zIndex:1100,onCancel:Le,onOk:Oe,footer:De>0?void 0:null},ke())}},53412:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return a},Q:function(){return le}});var b=re(59301),pe={container:"container___DAVRd",katex:"katex___oS9Qs",liWrap:"liWrap___pAkIe",backBottom:"backBottom___kT237",imgBox:"imgBox___O8q6M"},we=re(48102),Ae=re(13952),_e=re(7299),Ue=re(3738),De=re(18678),tt=re(89118),Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gV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wGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",Le=re(92310),ke=re.n(Le),Ge=re(8591),Je=(x,y,z)=>new Promise((te,ae)=>{var se=be=>{try{he(z.next(be))}catch(He){ae(He)}},ie=be=>{try{he(z.throw(be))}catch(He){ae(He)}},he=be=>be.done?te(be.value):Promise.resolve(be.value).then(se,ie);he((z=z.apply(x,y)).next())});const le={contentRef:{current:null},value:null,status:!1,open:()=>Je(void 0,null,function*(){}),close:()=>{}};var a=({className:x,style:y,onChange:z,onSuccess:te,onCancel:ae,onError:se,fetchUrl:ie,noRestrictModal:he=()=>{},showEditableToolbar:be,bottomOffset:He=110,loadingText:Ne,showEmptyData:dt=!0,onStatusChange:Re,stringTransformer:Ke,bottomContainerNode:We})=>{const[$e,xe]=(0,b.useState)(!1),[gt,lt]=(0,b.useState)(""),[At,mt]=(0,b.useState)(0),[En,sn]=(0,b.useState)(!1),Gt=(0,b.useRef)(null),_t=(0,b.useRef)(null),Te=(0,b.useRef)(null),ot=(0,b.useRef)(null),Rt=(0,De.Z)({scrollBoxRef:ot,bottomInspectRef:Te,contentRef:_t,status:En,bottomOffset:He}),pn=$e||En;(0,b.useEffect)(()=>{z==null||z(gt)},[gt]),(0,b.useEffect)(()=>{Re==null||Re({contentRef:_t,status:pn,value:gt,open:bt,close:dn})},[pn,gt]);const bt=it=>Je(void 0,null,function*(){xe(!0),lt(""),mt(0);const Qt=ie;it!=null&&it.fetchUrl&&delete it.fetchUrl,Gt.current=new we.Z(`${Ae.Z.API_SERVER}${Qt}`,it),yield new Promise((nt,ht)=>{Gt.current.on("data",Tn=>{let{chunk:{content:kt,type:yt}}=Tn;sn(!0),yt==="text"&&lt(Pt=>Ke?Ke(Pt+kt):Pt+kt)}),Gt.current.on("done",()=>{nt()}),Gt.current.on("error",Tn=>{Object.prototype.toString.call(Tn)==="[object Object]"&&Tn.status===-1&&Ge.ZP.warning((Tn==null?void 0:Tn.message)||""),nt(),se==null||se(Tn)}),Gt.current.on("cancelled",()=>{nt(),ae==null||ae()}),Gt.current.startStream()}),xe(!1)}),dn=()=>{var it,Qt;mt(1),(Qt=(it=Gt.current)==null?void 0:it.cancelRequest)==null||Qt.call(it),xe(!1),sn(!1)},Ce=(0,b.useMemo)(()=>_t.current?b.createElement(Ue.Z,{noRestrictModal:he,nodeRef:_t}):b.createElement(b.Fragment,null),[_t.current]);return b.createElement(b.Fragment,null,b.createElement("div",{className:ke()(pe.container,x),style:y,ref:ot},b.createElement("div",{ref:_t,className:pe.liWrap,contentEditable:!pn},gt&&b.createElement(_e.Z,{cancelIndex:At,streamingStatus:$e,loadImage:!1,onFinish:()=>Je(void 0,null,function*(){mt(0),setTimeout(()=>sn(!1),0),te==null||te(gt)}),value:gt})),!gt&&!pn&&b.createElement("div",{className:pe.imgBox},b.createElement("img",{width:56,src:Oe}),b.createElement("span",null,"\u9884\u89C8\u533A")),dt&&pn&&b.createElement(tt.Z,{text:Ne}),!Rt&&b.createElement("div",{className:pe.backBottom,onClick:()=>{ot.current.scrollTop=ot.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:Te}),We),!pn&&be&&Ce)}},89118:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ae}});var b=re(59301),pe={loading:"loading___SifAS",dot:"dot___J5R0d","dot-fade":"dot-fade___BPUGC"},Ae=({text:_e})=>b.createElement("div",null,b.createElement("div",{className:pe.loading},b.createElement("div",{className:pe.dot}),b.createElement("div",{className:pe.dot}),b.createElement("div",{className:pe.dot})),!!_e&&b.createElement("div",{className:"mt5"},_e))},55385:function(Et,Mt,re){"use strict";re.d(Mt,{o:function(){return b}});const b=pe=>(pe=pe.replace(new RegExp("(?<!\\*)\\*\\*\\*\\*([^\\n*]+?)\\*\\*\\*\\*(?!\\*)","g"),'<h2 data-select="disabled" data-type="title" contenteditable="false" class="c-black">$1</h2>'),pe=pe.replace(new RegExp("(?<!\\*)\\*\\*\\*([^\\n*]+?)\\*\\*\\*(?!\\*)","g"),`
<h3 data-select="disabled" contenteditable="false" class="c-black font18">$1</h3>
`),pe)},92578:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return x}});var b=re(59301),pe=re(17574),we=re(88387),Ae={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"},_e=Object.defineProperty,Ue=Object.defineProperties,De=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,ke=(y,z,te)=>z in y?_e(y,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):y[z]=te,Ge=(y,z)=>{for(var te in z||(z={}))Oe.call(z,te)&&ke(y,te,z[te]);if(tt)for(var te of tt(z))Le.call(z,te)&&ke(y,te,z[te]);return y},Je=(y,z)=>Ue(y,De(z)),le=(y,z)=>{var te={};for(var ae in y)Oe.call(y,ae)&&z.indexOf(ae)<0&&(te[ae]=y[ae]);if(y!=null&&tt)for(var ae of tt(y))z.indexOf(ae)<0&&Le.call(y,ae)&&(te[ae]=y[ae]);return te},E=(y,z,te)=>new Promise((ae,se)=>{var ie=He=>{try{be(te.next(He))}catch(Ne){se(Ne)}},he=He=>{try{be(te.throw(He))}catch(Ne){se(Ne)}},be=He=>He.done?ae(He.value):Promise.resolve(He.value).then(ie,he);be((te=te.apply(y,z)).next())}),x=y=>{var z=y,{value:te,onChange:ae,defaultValue:se,disabled:ie}=z,he=le(z,["value","onChange","defaultValue","disabled"]);const[be,He]=(0,b.useState)([]),[Ne,dt]=(0,b.useState)("1");(0,b.useEffect)(()=>{Re()},[]);const Re=()=>E(void 0,null,function*(){const $e=yield(0,we.NZ)({});if($e!=null&&$e.data){const xe=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ae.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Ke($e.data||[])}];He(xe),dt("2")}}),Ke=$e=>{function xe(gt){const lt=gt.children,At=Array.isArray(lt)&&lt.length>0,mt=gt==null?void 0:gt.group_id;return{title:b.createElement("div",{title:gt==null?void 0:gt.name,className:Ae.name},gt==null?void 0:gt.name),value:mt,key:mt,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:At?lt==null?void 0:lt.map(En=>xe(En)):[]}}return $e==null?void 0:$e.map(gt=>xe(gt))},We=se?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return b.createElement("div",{className:Ae.customTree},b.createElement(pe.default,Ge(Je(Ge({key:Ne},We),{showIcon:!0,treeData:be,onSelect:ae,disabled:ie}),he)))}},99871:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ae}});var b=re(59301),pe={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ae=({number:_e,active:Ue,className:De})=>b.createElement("div",{className:`${pe.digitalLabel} ${Ue?pe.active:""} ${De}`},_e)},26615:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return y}});var b=re(59301),pe=re(17574),we={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ae=re(73631),_e=re(5623),Ue=re(88387),De=Object.defineProperty,tt=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Je=(z,te,ae)=>te in z?De(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,le=(z,te)=>{for(var ae in te||(te={}))ke.call(te,ae)&&Je(z,ae,te[ae]);if(Le)for(var ae of Le(te))Ge.call(te,ae)&&Je(z,ae,te[ae]);return z},E=(z,te)=>tt(z,Oe(te)),a=(z,te,ae)=>new Promise((se,ie)=>{var he=Ne=>{try{He(ae.next(Ne))}catch(dt){ie(dt)}},be=Ne=>{try{He(ae.throw(Ne))}catch(dt){ie(dt)}},He=Ne=>Ne.done?se(Ne.value):Promise.resolve(Ne.value).then(he,be);He((ae=ae.apply(z,te)).next())}),y=({value:z,onChange:te,scrollId:ae})=>{const[se,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{he()},[]);const he=()=>a(void 0,null,function*(){const Ke=yield(0,Ue.NZ)({});if(Ke!=null&&Ke.data){const We=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ae,className:we.folderIcon}),isLeaf:!1,children:be(Ke.data||[])}];ie(We)}}),be=Ke=>Ke.map(We=>({title:We.name,key:We.group_id,icon:b.createElement("img",{src:Ae,className:we.folderIcon}),isLeaf:We.children.length===0,children:be(We.children)})),He=(Ke,We,$e)=>Ke.map(xe=>xe.key===We?le(le({},xe),$e):xe.children?E(le({},xe),{children:He(xe.children,We,$e)}):xe),Ne=(Ke,We,$e)=>Ke.map(xe=>{if(xe.key===We)return E(le({},xe),{icon:$e?b.createElement("img",{src:_e,className:we.folderIcon}):b.createElement("img",{src:Ae,className:we.folderIcon})});if(xe.children)return E(le({},xe),{children:Ne(xe.children,We,$e)})}),dt=(Ke,We)=>{ie($e=>Ne($e,We.node.key,We.expanded))},Re=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return se.length>0&&b.createElement("div",{id:ae||""},b.createElement(pe.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:se,className:we.folderWrapper,onSelect:te,onExpand:dt},Re)))}},50838:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ue}});var b=re(60324),pe={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},we=re(32637),Ae=re(59301),Ue=({type:De,style:tt})=>{const Oe=Ae.createElement("div",{className:pe.wrap,onClick:Le=>{Le.preventDefault(),Le.stopPropagation()}},Ae.createElement("p",null,De==="shixun"||De==="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",Ae.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",De==="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"),Ae.createElement("div",{className:pe.contact},Ae.createElement("div",{className:pe.img},Ae.createElement("img",{src:we,width:"124px",height:"124px"})),Ae.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ae.createElement(b.Z,{content:Oe},Ae.createElement("span",{className:pe.text,style:tt},"\u9AD8\u6D88\u8017"))}},89837:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return ke}});var b=re(59301),pe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},we=re(92310),Ae=re.n(we),_e=re(71418),Ue=re(2859),De=re(52430),tt=re(89299),Oe=(Ge,Je,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(Ge,Je)).next())}),ke=({data:Ge,className:Je,fullWidth:le,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const te=(0,b.useRef)(null),ae=(0,b.useRef)(null),se=(0,b.useRef)(null),ie=(0,b.useRef)(null),[he,be]=(0,b.useState)(!1),[He,Ne]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),Ge!=null&&Ge.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",Ge!=null&&Ge.src&&dt()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[Ge==null?void 0:Ge.visible]);const dt=()=>Oe(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u52A0\u8F7D\u4E2D");const xe=yield(0,tt.ZJ)(Ge==null?void 0:Ge.src);te.current.src="",te.current.src=xe,te.current.onload=function(){$e()},be(!1),Ne("")}),Re=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",a()},Ke=xe=>Oe(void 0,null,function*(){be(!0),Ne("\u6B63\u5728\u4FDD\u5B58\u4E2D");const gt=yield(0,De.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ge.title,file:xe.dataUrl}});gt!=null&&gt.id&&!z?(yield(0,De.ZP)(`/api/attachments/${Ge.id}/add_subitem.json`,{method:"post",body:{subitem_id:gt==null?void 0:gt.id,settings:JSON.stringify(xe.state)}})).status===0&&x():gt!=null&&gt.id&&x(gt),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",be(!1),Ne("")}),We=()=>{const xe=document.querySelector('a[href="https://markerjs.com/"]');xe&&xe.parentNode&&(xe.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(lt=>{const At=document.querySelector(lt.name);At&&At.setAttribute("title",lt.title)})},$e=()=>{ae.current=new Ue.hP(te.current),ae.current.targetRoot=ie.current,ae.current.addEventListener("render",Ke),ae.current.addEventListener("beforeclose",Re),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(),Ge!=null&&Ge.snapshotData&&ae.current.restoreState(Ge.snapshotData),setTimeout(()=>{window.scrollTo(0,0),We()},300)};return b.createElement(b.Fragment,null,(Ge==null?void 0:Ge.visible)&&b.createElement(_e.Z,{spinning:he,tip:He,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ae()(pe.imageDimensions,Je,le?pe.fullWidth:""),style:E},b.createElement("img",{className:pe.img,ref:te}))))}},32454:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Tn},$:function(){return ht}});var b=re(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"},we=re(92310),Ae=re.n(we),_e=re(78241),Ue=re(8591),De=re(43418),tt=re(5871),Oe=re(95237),Le=re(24905),ke=re(38854),Ge=re(54580),Je=re(3113),le=re(93948),E=re(19842),a=re(92832),x=re(36433),y=re(13952),z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEI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vZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",ie=re(52430),he=re(26615),be=re(5623),He=re(14752),Ne=re(24302),dt=re(35944),Re=re(15342),Ke=re.n(Re),We=(kt,yt,Pt)=>new Promise((Gn,Vn)=>{var rn=Kn=>{try{Sa(Pt.next(Kn))}catch(Nn){Vn(Nn)}},ta=Kn=>{try{Sa(Pt.throw(Kn))}catch(Nn){Vn(Nn)}},Sa=Kn=>Kn.done?Gn(Kn.value):Promise.resolve(Kn.value).then(rn,ta);Sa((Pt=Pt.apply(kt,yt)).next())}),xe=b.memo(({tagName:kt="div",value:yt="",className:Pt,style:Gn={},onBlur:Vn,id:rn})=>{const ta=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!ta.current)return;We(void 0,null,function*(){const Nn=ta.current;Nn.innerHTML="";const ha=yt==null?void 0:yt.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Oa of ha)if(Oa.startsWith("$$")&&Oa.endsWith("$$")||Oa.startsWith("`$$")&&Oa.endsWith("$$`")){const ka=Oa.startsWith("`$$")?Oa.slice(3,-3):Oa.slice(2,-2),va=document.createElement("span");va.setAttribute("contentEditable","false"),va.setAttribute("title",Oa),va.className="edu_latex",Nn.appendChild(va),Ke().render(ka,va,{throwOnError:!1})}else{const ka=Oa==null?void 0:Oa.replace(/<[^>]*>/g,va=>va.startsWith("<img")?va:va.replace(/</g,"&lt;"));Nn.insertAdjacentHTML("beforeend",ka)}})},[rn]);const Sa=()=>{var Kn,Nn;if(Vn&&ta.current){const Oa=ta.current.cloneNode(!0),ka=Oa.querySelectorAll("span.edu_latex");for(let va of ka){const Ua=va.getAttribute("title"),Za=document.createTextNode(Ua||""),ga=va;(Nn=(Kn=ga.parentNode)==null?void 0:Kn.replaceChild)==null||Nn.call(Kn,Za,ga)}Vn(Oa.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(kt,{ref:ta,contentEditable:!0,className:Pt,style:Gn,onBlur:Sa}))}),gt=re(64681),lt=re(41312),At=re(28639),mt=Object.defineProperty,En=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,ot=(kt,yt,Pt)=>yt in kt?mt(kt,yt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):kt[yt]=Pt,Rt=(kt,yt)=>{for(var Pt in yt||(yt={}))_t.call(yt,Pt)&&ot(kt,Pt,yt[Pt]);if(Gt)for(var Pt of Gt(yt))Te.call(yt,Pt)&&ot(kt,Pt,yt[Pt]);return kt},pn=(kt,yt)=>En(kt,sn(yt)),bt=(kt,yt,Pt)=>new Promise((Gn,Vn)=>{var rn=Kn=>{try{Sa(Pt.next(Kn))}catch(Nn){Vn(Nn)}},ta=Kn=>{try{Sa(Pt.throw(Kn))}catch(Nn){Vn(Nn)}},Sa=Kn=>Kn.done?Gn(Kn.value):Promise.resolve(Kn.value).then(rn,ta);Sa((Pt=Pt.apply(kt,yt)).next())});const dn=kt=>{kt.preventDefault();let Pt=(kt.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Pt)},Ce=kt=>{kt.key==="Enter"&&kt.preventDefault()},it=({children:kt,style:yt})=>b.createElement("div",{className:pe.leftBox,style:yt,onPaste:dn},kt),Qt=({children:kt,style:yt,className:Pt})=>b.createElement("div",{className:Ae()(pe.rightBox,Pt),style:yt,onPaste:dn},kt),nt=({className:kt,style:yt={},width:Pt=1200,onCancel:Gn=()=>{},onSuccess:Vn=()=>{},gather:rn={},mode:ta=1,stickyTop:Sa=0,subDisciplineId:Kn=[],hideWordFeatures:Nn,dataSource:ha=[],customLeftHeadNode:Oa,customRightHeadNode:ka,customLeftContent:va,hideRecognition:Ua=!1,onExchange:Za,isSingleSelection:ga=!1,underpinBackgroundStyle:Ra={},headExtraNode:qa,isRefreshItemBank:_n=!1,okText:Pn="\u786E\u5B9A\u5BFC\u5165",onSave:jt})=>{var on;const[Ca,xa]=(0,b.useState)(1),[Ta,La]=(0,b.useState)(0),[za,sr]=(0,b.useState)(""),[$a,oa]=(0,b.useState)(!1),[Mr,Nt]=(0,b.useState)([]),[Bn,na]=(0,b.useState)([]),[pa,Be]=(0,b.useState)(!1),[at,ct]=(0,b.useState)(!1),[Ct,St]=(0,b.useState)(!1),[vn,qt]=(0,b.useState)(!1),[ze,qe]=(0,b.useState)([]),[Qe,Tt]=(0,b.useState)(1),[gn,Sn]=(0,b.useState)(!1),[ua,Jn]=(0,b.useState)(!0),[In,$n]=(0,b.useState)(0),[Un,Ut]=(0,b.useState)(!1),[Na]=_e.default.useForm(),[nr]=_e.default.useForm(),uo=(0,b.useRef)(null),Wa=(0,b.useRef)(null),Vt=(0,b.useRef)(),zr=(0,b.useRef)(null),Aa=["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"],dr=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{ha!=null&&ha.length&&zo(ha)},[ha]),(0,b.useEffect)(()=>{Ca===2&&uo.current.focus()},[Ca]),(0,b.useEffect)(()=>{Ct&&Jr()},[Ct]);const or=()=>{if(Ca===1){Ue.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}De.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:()=>bt(void 0,null,function*(){xa(1)})})},Jr=()=>bt(void 0,null,function*(){const Se=yield(0,ie.ZP)("/api/disciplines.json",{method:"get",params:{source:ta===1?"new_question":"subject"}});qe(Se.disciplines||[])}),Br=Se=>{const xt=[],Jt=(yn,Bt)=>{yn.length>=2&&xt.push(yn.join(""));for(let zn=Bt;zn<Se.length;zn++)yn.push(Se[zn]),Jt(yn,zn+1),yn.pop()};return Jt([],0),xt},ar=Se=>(Se=Se||"",Se=String(Se),Se=Se.replace(/\s+/g,""),Se),cr=Se=>(Se=Se||"",Se=String(Se),Se=Se.replace(/<div>/g,""),Se=Se.replace(/<br>/g,`
`),Se=Se.replace(/<\/div>/g,`
`),Se=an(Se),Se),ma=Se=>Se.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),an=Se=>Se.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),ir=Se=>{var xt;const Jt=Se.clipboardData;if(Jt){const yn=Jt.types.toString(),Bt=Jt.items;if(yn==="Files"||Jt.types.indexOf("Files")>-1){Se.preventDefault();try{let zn=Bt[1];((xt=Bt[0])==null?void 0:xt.kind)==="file"&&(zn=Bt[0]);const Xn=zn.getAsFile();(0,dt.I)(Xn,hn=>{var xn;if(hn.id){if(((xn=Xn==null?void 0:Xn.type)==null?void 0:xn.indexOf("image"))>-1){const Ga=`<img src='${y.Z.API_SERVER}${hn.url}'>`;document.execCommand("insertText",!1,Ga)}}else(hn==null?void 0:hn.status)===401&&(document.location.href="/user/login")})}catch(zn){Ue.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function Er(Se,xt){return bt(this,null,function*(){if(typeof Se=="string")return yield xt(Se);if(typeof Se!="object"||Se===null)return Se;if(Array.isArray(Se))return yield Promise.all(Se.map(Bt=>bt(this,null,function*(){return yield Er(Bt,xt)})));const Jt={};for(const yn in Se)if(Object.prototype.hasOwnProperty.call(Se,yn)){const Bt=Se[yn];typeof Bt=="string"?Jt[yn]=yield xt(Bt):typeof Bt=="object"?Jt[yn]=yield Er(Bt,xt):Jt[yn]=Bt}return Jt})}const Ar=()=>bt(void 0,null,function*(){var Se;oa(!0),sr("\u5904\u7406\u4E2D"),yield new Promise(yn=>setTimeout(yn,1e3));let xt=(Se=Wa.current)==null?void 0:Se.querySelectorAll('[data-text="edit"]'),Jt="";try{xt.forEach(function(yn){var Bt,zn,Xn,hn;const xn=yn.cloneNode(!0),Ga=xn.querySelectorAll("span.edu_latex");for(let nn of Ga){const Yt=nn.getAttribute("title"),bn=document.createTextNode(Yt),Ba=nn;(zn=(Bt=Ba.parentNode)==null?void 0:Bt.replaceChild)==null||zn.call(Bt,bn,Ba)}const Zn=xn.querySelectorAll("span[style]");for(let nn of Zn)if(nn.style.fontFamily){const Yt=nn.innerHTML,bn=document.createTextNode(Yt),Ba=nn;(hn=(Xn=Ba.parentNode)==null?void 0:Xn.replaceChild)==null||hn.call(Xn,bn,Ba)}xn==null||xn.childNodes.forEach(function(nn){nn.nodeType===Node.ELEMENT_NODE&&nn.localName!=="h5"&&nn.localName!=="h4"?Jt+=`<p>${nn.innerHTML}</p>`:nn.nodeType===Node.TEXT_NODE&&(Jt+=`<p>${nn.textContent}</p>`)})}),Qo("/api/intelligent_imports/import.json",{html:an(Jt)})}catch(yn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",yn)}}),Ka=Se=>{let xt=Se.filter(Jt=>!!(Jt!=null&&Jt.type));return xt=xt.map(Jt=>{var yn;const Bt=(yn=_r.find(Xn=>Xn.id===(Jt==null?void 0:Jt.type)))==null?void 0:yn.deal,zn=pn(Rt({},Jt),{id:String(Math.random()).slice(-6),knowledgePoint:ar(Jt==null?void 0:Jt.knowledgePoint)});return Bt?Bt(zn):zn}),xt},An=()=>{if(Ca===1){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}De.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:Ar})},ia=()=>b.createElement("div",{className:pe.row},b.createElement("div",{className:pe.leftLayout},b.createElement(it,{style:{height:675}},Ca===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>xa(2)},b.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",b.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",b.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",b.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",b.createElement("br",null)),b.createElement("div",{className:pe.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:te}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Ca===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{uo.current.innerHTML||xa(1)},ref:uo,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:pe.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:pe.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ae}),b.createElement("span",null,"\u9884\u89C8\u533A")))),Qn=(Se,xt,Jt,yn)=>{var Bt;console.log(Se,xt,Jt,yn,"onDataChange\u4FEE\u6539\u6570\u503C");const zn=JSON.parse(JSON.stringify(Bn));yn===void 0?zn[xt][Se]=Jt:zn[xt].questions[yn][Se]=Jt;const Xn=Rt({},zn[xt]),hn=(Bt=_r.find(xn=>xn.id===(Xn==null?void 0:Xn.type)))==null?void 0:Bt.deal;zn[xt]=hn(Xn),na(zn)},Hn=(Se,xt,Jt)=>{var yn;const Bt=Jt!==void 0,zn=(yn=_r.find(xn=>xn.id===(Se==null?void 0:Se.type)))==null?void 0:yn.type,Xn=`${xt+1}.${Jt===void 0?"":Jt+1+"."}`,hn=`${(Se==null?void 0:Se.type)==="7"?"{{":""}${Xn}\u3010${zn}\u3011${(Se==null?void 0:Se.question)||""}`;return b.createElement(b.Fragment,null,Bt&&b.createElement("h4",{contentEditable:!0}),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",value:hn}))},er=(Se,xt)=>bt(void 0,null,function*(){var Jt;const yn=yield Za(Se,xt),Bt=(Jt=yn==null?void 0:yn.data)==null?void 0:Jt.content;if(Bt!=null&&Bt.length){const zn=Ka(Bt)[0];Mr.splice(xt,1,zn),Bn.splice(xt,1,zn),Nt([...Mr]),na([...Bn])}}),Pr=(Se,xt,Jt)=>{var yn;const Bt=Jt!==void 0,zn=(yn=_r.find(hn=>hn.id===(Se==null?void 0:Se.type)))==null?void 0:yn.type,Xn=`${xt+1}.${Jt===void 0?"":Jt+1+"."}`;return Bt?b.createElement("div",{style:{padding:"10px 18px"}},`${Xn}\u3010${zn}\u3011`,b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"span",className:pe.edit,onBlur:hn=>Qn("question",xt,hn,Jt),value:(Se==null?void 0:Se.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:pe.actionHead},b.createElement("div",{className:"c-light-primary"},`${Xn}\u3010${zn}\u3011`),ta!==1&&b.createElement(tt.Z,{disabled:(Se==null?void 0:Se.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:hn=>Qn("score",xt,hn,Jt),value:Se==null?void 0:Se.score}),b.createElement(Oe.Z,{align:"middle",style:{marginLeft:"auto"}},!!Za&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>er(Se,xt)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Le.default,{onChange:hn=>Qn("checked",xt,hn.target.checked,Jt),checked:!!(Se!=null&&Se.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",style:{padding:"10px 18px"},className:pe.edit,onBlur:hn=>Qn("question",xt,hn,Jt),value:Se==null?void 0:Se.question}))},hr=(Se,xt,Jt)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(Se==null?void 0:Se.type)&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u7B54\u6848\uFF1A${xt||""}`,tagName:"p"}),!Jt&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u96BE\u5EA6\uFF1A${(Se==null?void 0:Se.difficulty)||""}`,tagName:"p"}),(Se==null?void 0:Se.type)!=="7"&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u89E3\u6790\uFF1A${(Se==null?void 0:Se.analyze)||""}`,tagName:"p"}),!Jt&&b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(Se==null?void 0:Se.knowledgePoint)||""}`,tagName:"p"})),mr=(Se,xt,Jt,yn)=>{const Bt=yn!==void 0,zn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Xn=Bt&&!Se.last&&!Se.errorMsg?{marginBottom:10}:{},hn=zn.map(xn=>({key:xn,label:xn,onClick:()=>Qn("difficulty",Jt,xn,yn)}));return b.createElement("div",{className:pe.liWrap,style:Xn},["4"].includes(Se==null?void 0:Se.type)&&b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",className:`${pe.edit} c-black`,onBlur:xn=>Qn("answer",Jt,[xn],yn),value:xt})),!Bt&&b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(ke.Z,{menu:{items:hn}},b.createElement("span",{className:"c-light-primary"},Se==null?void 0:Se.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(Se==null?void 0:Se.type)!=="7"&&b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",className:`${pe.edit} c-grey-333`,onBlur:xn=>Qn("analyze",Jt,xn,yn),value:Se==null?void 0:Se.analyze})),!Bt&&b.createElement("div",{onKeyDown:Ce,className:pe.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(xe,{id:Se==null?void 0:Se.id,tagName:"div",value:(Se==null?void 0:Se.knowledgePoint)||"",className:`${pe.edit} c-grey-333`,onBlur:xn=>Qn("knowledgePoint",Jt,ar(cr(xn)),yn)})))},ja=Se=>b.createElement(b.Fragment,null,typeof(Se==null?void 0:Se.errorMsg)=="string"&&!!(Se!=null&&Se.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Se==null?void 0:Se.errorMsg))),ho=Se=>b.createElement(b.Fragment,null,typeof(Se==null?void 0:Se.errorMsg)=="string"&&!!(Se!=null&&Se.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Se==null?void 0:Se.errorMsg))),Po=(Se,xt,Jt,yn)=>{let Bt="flex";return(ga&&In!==yn||pa&&!(Jt!=null&&Jt.errorMsg))&&(Bt="none"),b.createElement("div",{className:pe.row,style:{display:Bt}},b.createElement("div",{className:pe.leftLayout},va||b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Se))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Jt!=null&&Jt.errorMsg?pe.error:""},xt)))},_r=[{id:"0",type:"\u5355\u9009\u9898",element:(Se,xt,Jt)=>{var yn,Bt;const zn=Jt!==void 0;let Xn=(yn=Se==null?void 0:Se.answer)==null?void 0:yn[0];const hn=b.createElement(b.Fragment,null,Hn(Se,xt,Jt),(Bt=Se==null?void 0:Se.options)==null?void 0:Bt.map((nn,Yt)=>b.createElement(xe,{id:Se==null?void 0:Se.id,key:Yt,value:`${Aa[Yt]}.${nn}`,tagName:"p"})),hr(Se,Xn,zn),ja(Se));let xn=zn?Se:Bn[xt];const Ga=xn==null?void 0:xn.options,Zn=b.createElement(b.Fragment,null,Pr(xn,xt,Jt),Ga==null?void 0:Ga.map((nn,Yt)=>{var bn;return b.createElement("div",{key:Yt,className:pe.option},b.createElement("aside",{className:((bn=xn==null?void 0:xn.answer)==null?void 0:bn[0])===Aa[Yt]?pe.active:"",onClick:()=>Qn("answer",xt,[Aa[Yt]],Jt)},Aa[Yt]),b.createElement(xe,{id:xn==null?void 0:xn.id,tagName:"div",className:`${pe.text}`,onBlur:Ba=>{Ga[Yt]=Ba,Qn("options",xt,Ga,Jt)},value:nn}))}),mr(xn,"",xt,Jt),ho(xn));return zn?[hn,Zn]:Po(hn,Zn,xn,xt)},deal:Se=>{var xt,Jt,yn;Se.score=Se.score===void 0?2:Se.score;let Bt=ar((xt=Se==null?void 0:Se.answer)==null?void 0:xt[0]).toUpperCase();Se.answer=Bt?[Bt]:[];let zn=[];if(!(Se!=null&&Se.options))zn.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{Se.options=(Jt=Se.options)==null?void 0:Jt.slice(0,8);const Xn=Se.options.map(xn=>xn==null?void 0:xn.trim().replace(/^\s+|\s+$/g,""));new Set(Xn).size!==Xn.length&&zn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Bt||zn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Bt&&(Aa.slice(0,((yn=Se==null?void 0:Se.options)==null?void 0:yn.length)||8).includes(Bt)||zn.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")),ar(Se==null?void 0:Se.question)||zn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=zn.join(`
`),Se}},{id:"1",type:"\u591A\u9009\u9898",element:(Se,xt,Jt)=>{var yn,Bt;const zn=Jt!==void 0;let Xn=(yn=Se==null?void 0:Se.answer)==null?void 0:yn[0];const hn=b.createElement(b.Fragment,null,Hn(Se,xt,Jt),(Bt=Se==null?void 0:Se.options)==null?void 0:Bt.map((nn,Yt)=>b.createElement(xe,{id:Se==null?void 0:Se.id,key:Yt,value:`${Aa[Yt]}.${nn}`,tagName:"p"})),hr(Se,Xn,zn),ja(Se));let xn=zn?Se:Bn[xt];const Ga=xn==null?void 0:xn.options,Zn=b.createElement(b.Fragment,null,Pr(xn,xt,Jt),Ga==null?void 0:Ga.map((nn,Yt)=>{var bn,Ba;return b.createElement("div",{key:Yt,className:pe.option},b.createElement("aside",{className:(Ba=(bn=xn==null?void 0:xn.answer)==null?void 0:bn[0])!=null&&Ba.includes(Aa[Yt])?pe.active:"",onClick:()=>{var vr;let to=((vr=xn==null?void 0:xn.answer)==null?void 0:vr[0])||"";const vo=Aa[Yt];to.includes(vo)?to=to.replace(new RegExp(vo,"g"),""):to+=vo,to=to.split("").sort().join(""),Qn("answer",xt,[to],Jt)}},Aa[Yt]),b.createElement(xe,{id:xn==null?void 0:xn.id,tagName:"div",className:`${pe.text}`,onBlur:vr=>{Ga[Yt]=vr,Qn("options",xt,Ga,Jt)},value:nn}))}),mr(xn,"",xt,Jt),ho(xn));return zn?[hn,Zn]:Po(hn,Zn,xn,xt)},deal:Se=>{var xt,Jt,yn;Se.score=Se.score===void 0?2:Se.score;let Bt=ar((xt=Se==null?void 0:Se.answer)==null?void 0:xt[0]).toUpperCase().split("").sort().join("");Se.answer=Bt?[Bt]:[];let zn=[];if(!(Se!=null&&Se.options))zn.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{Se.options=(Jt=Se.options)==null?void 0:Jt.slice(0,8);const Xn=Se.options.map(xn=>xn==null?void 0:xn.trim().replace(/^\s+|\s+$/g,""));new Set(Xn).size!==Xn.length&&zn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Bt||zn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Bt){const Xn=Aa.slice(0,((yn=Se==null?void 0:Se.options)==null?void 0:yn.length)||8);Br(Xn).includes(Bt)||zn.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 ar(Se==null?void 0:Se.question)||zn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=zn.join(`
`),Se}},{id:"2",type:"\u5224\u65AD\u9898",element:(Se,xt,Jt)=>{var yn,Bt;const zn=Jt!==void 0;let Xn=(yn=Se==null?void 0:Se.answer)==null?void 0:yn[0];const hn=b.createElement(b.Fragment,null,Hn(Se,xt,Jt),hr(Se,Xn,zn),ja(Se));let xn=zn?Se:Bn[xt];const Ga=["\u6B63\u786E","\u9519\u8BEF"];let Zn=((Bt=xn==null?void 0:xn.answer)==null?void 0:Bt[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Zn)?Zn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Zn)&&(Zn="\u9519\u8BEF");const nn=b.createElement(b.Fragment,null,Pr(xn,xt,Jt),Ga==null?void 0:Ga.map((Yt,bn)=>b.createElement("div",{key:bn,className:pe.option},b.createElement("aside",{style:{borderRadius:2},className:Zn===Yt?pe.active:"",onClick:()=>Qn("answer",xt,[Yt],Jt)},Yt==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${pe.text}`},Yt))),mr(xn,"",xt,Jt),ho(xn));return zn?[hn,nn]:Po(hn,nn,xn,xt)},deal:Se=>{var xt;Se.score=Se.score===void 0?2:Se.score;let Jt=ar((xt=Se==null?void 0:Se.answer)==null?void 0:xt[0]);Se.answer=Jt?[Jt]:[];let yn=[];return Jt||yn.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)&&yn.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"),ar(Se==null?void 0:Se.question)||yn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=yn.join(`
`),Se}},{id:"3",type:"\u586B\u7A7A\u9898",element:(Se,xt,Jt)=>{var yn,Bt;const zn=Jt!==void 0,Xn=b.createElement(b.Fragment,null,Hn(Se,xt,Jt),(yn=Se==null?void 0:Se.answer)==null?void 0:yn.map((Ga,Zn)=>b.createElement(xe,{id:Se==null?void 0:Se.id,key:Zn,tagName:"p",value:`\u7B54\u6848${Zn+1}\uFF1A${Ga.text||""}`})),hr(Se,"",zn),ja(Se));let hn=zn?Se:Bn[xt];const xn=b.createElement(b.Fragment,null,Pr(hn,xt,Jt),(Bt=hn==null?void 0:hn.answer)==null?void 0:Bt.map((Ga,Zn)=>b.createElement("div",{key:Zn,className:pe.option},b.createElement("aside",{className:pe.fill},"\u586B\u7A7A\u9879",Zn+1),Ga.model===1&&b.createElement(xe,{id:hn==null?void 0:hn.id,tagName:"div",onBlur:nn=>{hn.answer[Zn].latex=cr(nn),Qn("answer",xt,hn.answer,Jt)},className:`${pe.text}`,value:Ga.latex}),Ga.model===2&&b.createElement(Ne.Z,{value:Ga.latex,onChange:nn=>{hn.answer[Zn].latex=nn,Qn("answer",xt,hn.answer,Jt)}}))),mr(hn,"",xt,Jt),ho(hn));return zn?[Xn,xn]:Po(Xn,xn,hn,xt)},deal:Se=>{var xt,Jt,yn,Bt;Se.score=Se.score===void 0?2:Se.score,Se.question=(xt=Se.question)==null?void 0:xt.replaceAll("\u2581","_");const zn=(Jt=Se.answer)==null?void 0:Jt.map(hn=>{if(Object.prototype.toString.call(hn)==="[object Object]")return hn;hn=hn==null?void 0:hn.trim();const xn={model:1,text:hn,latex:hn};return hn.startsWith("$$")&&hn.endsWith("$$")||hn.startsWith("`$$")&&hn.endsWith("$$`")?(xn.model=2,xn.latex=hn.slice(2,-2)):xn.latex=cr(hn),xn});Se.answer=zn;let Xn=[];return zn||Xn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),ar(Se==null?void 0:Se.question)?Se!=null&&Se.question.includes("_")?(yn=Se==null?void 0:Se.answer)!=null&&yn.length&&((Se==null?void 0:Se.question.match(/_+/g))||[]).length!==((Bt=Se==null?void 0:Se.answer)==null?void 0:Bt.length)&&Xn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Xn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Xn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=Xn.join(`
`),Se}},{id:"4",type:"\u7B80\u7B54\u9898",element:(Se,xt,Jt)=>{var yn,Bt;const zn=Jt!==void 0;let Xn=(yn=Se==null?void 0:Se.answer)==null?void 0:yn[0];const hn=b.createElement(b.Fragment,null,Hn(Se,xt,Jt),hr(Se,Xn,zn),ja(Se));let xn=zn?Se:Bn[xt];const Ga=b.createElement(b.Fragment,null,Pr(xn,xt,Jt),mr(xn,(Bt=xn==null?void 0:xn.answer)==null?void 0:Bt[0],xt,Jt),ho(xn));return zn?[hn,Ga]:Po(hn,Ga,xn,xt)},deal:Se=>{Se.score=Se.score===void 0?5:Se.score;let xt=[];return ar(Se==null?void 0:Se.question)||xt.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Se.errorMsg=xt.join(`
`),Se}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(Se,xt)=>{var Jt,yn;const Bt=Bn[xt],zn=dr.slice(0,4).map(Xn=>({key:Xn,label:Xn,onClick:()=>Qn("platform",xt,Xn)}));return b.createElement("div",{className:pe.row,style:{display:pa?Bt!=null&&Bt.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:pe.leftLayout},b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Hn(Se,xt),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(Se==null?void 0:Se.description)||""}`,tagName:"p"}),hr(Se),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Se==null?void 0:Se.timeLimit}`,tagName:"p"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Se==null?void 0:Se.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:(Se==null?void 0:Se.code)||"",tagName:"div"}),(Jt=Se==null?void 0:Se.inputs)==null?void 0:Jt.map((Xn,hn)=>{var xn;return b.createElement(b.Fragment,{key:hn},b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${hn+1})\u8F93\u5165\uFF1A${Xn||""}`,tagName:"div"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${hn+1})\u8F93\u51FA\uFF1A${((xn=Se==null?void 0:Se.outputs)==null?void 0:xn[hn])||""}`,tagName:"div"}))}),ja(Se)))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Bt!=null&&Bt.errorMsg?pe.error:""},Pr(Bt,xt),b.createElement("div",{className:pe.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(xe,{className:pe.edit,id:Bt==null?void 0:Bt.id,value:Bt==null?void 0:Bt.description,tagName:"div",onBlur:Xn=>Qn("description",xt,Xn)}))),mr(Bt,"",xt),b.createElement("div",{className:pe.liWrap},b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(xe,{className:pe.edit,id:Bt==null?void 0:Bt.id,value:Bt==null?void 0:Bt.timeLimit,tagName:"div",onBlur:Xn=>Qn("timeLimit",xt,cr(Xn))})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(ke.Z,{menu:{items:zn}},b.createElement("span",{className:"c-light-primary"},Bt==null?void 0:Bt.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(xe,{className:pe.edit,id:Bt==null?void 0:Bt.id,value:(Bt==null?void 0:Bt.code)||"",onBlur:Xn=>Qn("code",xt,cr(Xn)),tagName:"div"}))),(yn=Bt==null?void 0:Bt.inputs)==null?void 0:yn.map((Xn,hn)=>{var xn;return b.createElement("div",{className:pe.liWrap,key:hn},b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",hn+1,")\u8F93\u5165\uFF1A"),b.createElement(xe,{id:Bt==null?void 0:Bt.id,value:Xn||"",className:pe.edit,onBlur:Ga=>{const Zn=[...(Bt==null?void 0:Bt.inputs)||[]];Zn[hn]=cr(Ga),Qn("inputs",xt,Zn)},tagName:"div"})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",hn+1,")\u8F93\u51FA\uFF1A"),b.createElement(xe,{id:Bt==null?void 0:Bt.id,value:((xn=Bt==null?void 0:Bt.outputs)==null?void 0:xn[hn])||"",className:pe.edit,onBlur:Ga=>{const Zn=[...(Bt==null?void 0:Bt.outputs)||[]];Zn[hn]=cr(Ga),Qn("outputs",xt,Zn)},tagName:"div"})))}),ho(Bt))))},deal:Se=>{var xt,Jt,yn;Se.score=Se.score===void 0?10:Se.score,Se.code=(xt=Se.code)==null?void 0:xt.trim();let Bt=[];ar(Se==null?void 0:Se.question)?((Jt=Se==null?void 0:Se.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"),ar(Se==null?void 0:Se.description)||Bt.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const zn=ar(String((Se==null?void 0:Se.timeLimit)||""));if(Se.timeLimit=zn,(!zn||zn&&!["3","4","5","6","7","8","9","10"].includes(zn))&&Bt.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Se.platform=ar(Se==null?void 0:Se.platform),Se!=null&&Se.platform){const Xn=["c","c++","java","python"],hn=(yn=Se==null?void 0:Se.platform)==null?void 0:yn.toLowerCase(),xn=Xn.findIndex(Ga=>Ga===hn);xn>-1?Se.platform=dr[xn]: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(!(Se!=null&&Se.inputs)||!(Se!=null&&Se.outputs))Se.inputs=[],Se.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 Xn=Math.min(Se.inputs.length,Se.outputs.length);Se.inputs=Se.inputs.slice(0,Xn),Se.outputs=Se.outputs.slice(0,Xn),Se.outputs.some(hn=>!ar(hn))&&Bt.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return Se.errorMsg=Bt.join(`
`),Se}},{id:"7",type:"\u7EC4\u5408\u9898",element:(Se,xt)=>{var Jt,yn;const Bt=Bn[xt];return b.createElement("div",{className:pe.row,style:{display:pa?Bt!=null&&Bt.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:pe.leftLayout},b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Hn(Se,xt),hr(Se),(Jt=Se==null?void 0:Se.questions)==null?void 0:Jt.map((zn,Xn)=>{var hn;const xn=(hn=_r.find(Ga=>Ga.id===(zn==null?void 0:zn.type)))==null?void 0:hn.element;return b.createElement(b.Fragment,{key:`left-${Se.id}-${Xn}`},xn(zn,xt,Xn)[0])}),ja(Se),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Bt!=null&&Bt.errorMsg?pe.error:""},Pr(Bt,xt),mr(Bt,"",xt),(yn=Bt==null?void 0:Bt.questions)==null?void 0:yn.map((zn,Xn)=>{var hn;const xn=(hn=_r.find(Ga=>Ga.id===(zn==null?void 0:zn.type)))==null?void 0:hn.element;return b.createElement(b.Fragment,{key:`right-${Bt.id}-${Xn}`},xn(zn,xt,Xn)[1])}),ho(Bt))))},deal:Se=>{var xt,Jt,yn,Bt,zn;const Xn=Ka,hn=[..._r],xn=hn.findIndex(Yt=>Yt.id==="0"),Ga=hn.findIndex(Yt=>Yt.id==="1");if(xn!==-1){const Yt=hn[xn].deal;hn[xn].deal=bn=>{const Ba=Yt(bn);return Ba.errorMsg&&(Ba.errorMsg=Ba.errorMsg.split(`
`).filter(vr=>vr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Ba}}if(Ga!==-1){const Yt=hn[Ga].deal;hn[Ga].deal=bn=>{const Ba=Yt(bn);return Ba.errorMsg&&(Ba.errorMsg=Ba.errorMsg.split(`
`).filter(vr=>vr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Ba}}Se.questions=(xt=Se.questions)!=null&&xt.length?Ka(Se.questions.slice(0,20)):[],Se.questions=(Jt=Se.questions)==null?void 0:Jt.map((Yt,bn)=>{var Ba;if(Yt.type==="0"||Yt.type==="1"){const vr=(Ba=Yt.options)==null?void 0:Ba.map(to=>to==null?void 0:to.trim().replace(/^\s+|\s+$/g,""));vr&&new Set(vr).size!==vr.length&&(Yt.errorMsg=(Yt.errorMsg?Yt.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return pn(Rt({},Yt),{last:bn===Se.questions.length-1})});const Zn=(yn=Se.questions)==null?void 0:yn.reduce((Yt,bn)=>{const Ba=parseFloat(bn.score);return isNaN(Ba)?Yt:Yt+Ba},0);Se.score=Zn;let nn=[];return(Bt=Se.questions)!=null&&Bt.length?Se.errorMsg=((zn=Se.questions)==null?void 0:zn.findIndex(Yt=>!!Yt.errorMsg))>-1:nn.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),ar(Se==null?void 0:Se.question)||nn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),nn.length&&(Se.errorMsg=nn.join(`
`)),Se}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(Se,xt)=>{var Jt,yn;const Bt=Bn[xt],zn=dr.map(Xn=>({key:Xn,label:Xn,onClick:()=>Qn("platform",xt,Xn)}));return b.createElement("div",{className:pe.row,style:{display:pa?Bt!=null&&Bt.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:pe.leftLayout},b.createElement(it,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:pe.question},Hn(Se,xt),hr(Se),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Se==null?void 0:Se.timeLimit}`,tagName:"p"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Se==null?void 0:Se.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:(Se==null?void 0:Se.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(Se==null?void 0:Se.input)||""}`,tagName:"p"}),b.createElement(xe,{id:Se==null?void 0:Se.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(Se==null?void 0:Se.output)||""}`,tagName:"p"}),(Jt=Se==null?void 0:Se.answer)==null?void 0:Jt.map((Xn,hn)=>b.createElement(xe,{key:hn,id:Se==null?void 0:Se.id,value:`\u7B54\u6848${hn+1}\uFF1A${Xn||""}`,tagName:"p"})),ja(Se)))),b.createElement("div",{className:pe.rightLayout},b.createElement(Qt,{className:Bt!=null&&Bt.errorMsg?pe.error:""},Pr(Bt,xt),mr(Bt,"",xt),b.createElement("div",{className:pe.liWrap},b.createElement("div",{className:pe.li,onKeyDown:Ce},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(xe,{className:pe.edit,id:Bt==null?void 0:Bt.id,value:Bt==null?void 0:Bt.timeLimit,tagName:"div",onBlur:Xn=>Qn("timeLimit",xt,cr(Xn))})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(ke.Z,{menu:{items:zn}},b.createElement("span",{className:"c-light-primary"},Bt==null?void 0:Bt.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:pe.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(xe,{className:pe.edit,id:Bt==null?void 0:Bt.id,value:(Bt==null?void 0:Bt.code)||"",onBlur:Xn=>Qn("code",xt,cr(Xn)),tagName:"div"})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(xe,{className:pe.edit,id:Bt==null?void 0:Bt.id,value:(Bt==null?void 0:Bt.input)||"",onBlur:Xn=>Qn("input",xt,cr(Xn)),tagName:"div"})),b.createElement("div",{className:pe.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(xe,{className:pe.edit,id:Bt==null?void 0:Bt.id,value:(Bt==null?void 0:Bt.output)||"",onBlur:Xn=>Qn("output",xt,cr(Xn)),tagName:"div"}))),b.createElement("div",{className:pe.liWrap},(yn=Bt==null?void 0:Bt.answer)==null?void 0:yn.map((Xn,hn)=>b.createElement("div",{className:pe.li,key:hn},b.createElement("aside",null,"\u7B54\u6848",hn+1,"\uFF1A"),b.createElement(xe,{id:Bt==null?void 0:Bt.id,value:Xn||"",className:pe.edit,onBlur:xn=>{const Ga=[...(Bt==null?void 0:Bt.answer)||[]];Ga[hn]=cr(xn),Qn("output",xt,Ga)},tagName:"div"})))),ho(Bt))))},deal:Se=>{var xt,Jt,yn,Bt,zn,Xn,hn,xn;Se.score=Se.score===void 0?10:Se.score,Se.code=(yn=(Jt=(xt=Se.code)==null?void 0:xt.trim())==null?void 0:Jt.replace(/@_@/g,"@\u2581@"))==null?void 0:yn.replace(/@__@/g,"@\u2581\u2581@");let Ga=[];if(ar(Se==null?void 0:Se.question)||Ga.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ar(Se==null?void 0:Se.code)?/@▁@|@▁▁@/.test(Se==null?void 0:Se.code)?(Bt=Se==null?void 0:Se.answer)!=null&&Bt.length&&((zn=Se==null?void 0:Se.code.match(/@▁@|@▁▁@/g))==null?void 0:zn.length)!==((Xn=Se==null?void 0:Se.answer)==null?void 0:Xn.length)&&Ga.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Ga.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"):Ga.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),Se!=null&&Se.answer?(hn=Se.answer)!=null&&hn.some(nn=>!ar(nn))&&Ga.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Ga.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),Se.platform=ar(Se==null?void 0:Se.platform),Se!=null&&Se.platform){const nn=["c","c++","java","python","javascript","ruby"],Yt=(xn=Se==null?void 0:Se.platform)==null?void 0:xn.toLowerCase(),bn=nn.findIndex(Ba=>Ba===Yt);bn>-1?Se.platform=dr[bn]:Ga.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Ga.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");ar(Se==null?void 0:Se.output)||Ga.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Zn=ar(String((Se==null?void 0:Se.timeLimit)||""));return Se.timeLimit=Zn,(!Zn||Zn&&!["3","4","5","6","7","8","9","10"].includes(Zn))&&Ga.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Se.errorMsg=Ga.join(`
`),Se}}],Go=()=>b.createElement(b.Fragment,null,Mr.filter(Se=>{var xt;return!!((xt=_r.find(yn=>yn.id===(Se==null?void 0:Se.type)))==null?void 0:xt.element)}).map((Se,xt)=>{var Jt;const yn=(Jt=_r.find(Bt=>Bt.id===(Se==null?void 0:Se.type)))==null?void 0:Jt.element;return b.createElement(b.Fragment,{key:Se.id},yn(Se,xt))})),So=()=>bt(void 0,null,function*(){const Se=Bn.filter(xt=>!xt.checked);if(Ca!==3||!Se.length){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}if(jt){Ut(!0),yield jt(Bn),Ut(!1);return}Na.setFieldsValue({sub_discipline_id:Kn}),St(!0)}),Qa=(Se,xt=[])=>{if(typeof Se=="string")return Se.trim();if(Array.isArray(Se))return Se.map(Jt=>Qa(Jt,xt));if(typeof Se=="object"&&Se!==null){const Jt={};for(const yn in Se)Se.hasOwnProperty(yn)&&(xt.includes(yn)?Jt[yn]=Se[yn]:Jt[yn]=Qa(Se[yn],xt));return Jt}return Se},zo=Se=>bt(void 0,null,function*(){const xt=Ka(Qa(Se));Nt(xt),na(JSON.parse(JSON.stringify(xt))),xa(3),oa(!1),Be(!1)});(0,b.useEffect)(()=>{if(ua)return;const Se=()=>{La(xt=>xt>=90?(clearInterval(Vt.current),90):xt+1)};return Vt.current=setInterval(Se,5e4/90),()=>clearInterval(Vt.current)},[ua]);const Qo=(Se,xt)=>{Jn(!1);const Jt=new FormData;Object.keys(xt).forEach(Bt=>{Jt.append(Bt,xt[Bt])});const yn=new window.XMLHttpRequest;yn.withCredentials=!0,yn.addEventListener("load",function(Bt){return bt(this,null,function*(){var zn,Xn;try{const hn=JSON.parse((zn=Bt==null?void 0:Bt.target)==null?void 0:zn.response);if(Jn(!0),La(100),yield new Promise(xn=>setTimeout(()=>xn(),780)),hn.status===0){if(!((Xn=hn==null?void 0:hn.data)!=null&&Xn.length)){Ue.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),oa(!1);return}zo((hn==null?void 0:hn.data)||[])}else oa(!1),Ue.ZP.warning(hn==null?void 0:hn.message)}catch(hn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",hn)}})}),yn.addEventListener("error",()=>{oa(!1)}),yn.open("POST",`${y.Z.API_SERVER}${Se}`),yn.send(Jt)},oi=Se=>bt(void 0,null,function*(){const xt=Se.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(xt)==-1?(Ue.ZP.error(`${Se.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),sr("\u5904\u7406\u4E2D"),Qo("/api/intelligent_imports/import.json",{file:Se}),Promise.reject())});let Lr=[{key:1,label:b.createElement(Ge.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:oi},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,gt.Ny)()||(0,gt.$O)())&&Lr.push({key:2,label:b.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{zr.current.onClick()}});const ti=[Bn.length,(on=Bn.filter(Se=>!!(Se!=null&&Se.errorMsg)))==null?void 0:on.length];return b.createElement("div",{className:Ae()(pe.intelligentBox,"intelligent-body-curb",kt),style:pn(Rt({},yt),{width:Pt}),ref:Wa},b.createElement("div",{className:pe.underpin},b.createElement("b",{style:Ra}),b.createElement("b",{style:Ra})),b.createElement("div",{className:pe.head,style:{top:Sa}},b.createElement("div",{className:pe.leftLayout},Oa||b.createElement(b.Fragment,null,b.createElement(Oe.Z,{align:"middle"},b.createElement("div",{className:pe.title},"\u8BD5\u9898\u7F16\u8F91"),!Nn&&b.createElement(x.op,{href:`${y.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(x.op,{onClick:or,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!Nn&&b.createElement(ke.Z,{overlayClassName:pe.menu,menu:{items:Lr}},b.createElement(x.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!qa&&qa),b.createElement("div",{className:pe.tip},b.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"))),b.createElement(Oe.Z,{className:pe.rightLayout,style:{alignItems:"start"}},ka||b.createElement(b.Fragment,null,b.createElement("div",{className:pe.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ca)&&b.createElement(Le.default,{className:"ml20",checked:pa,onChange:Se=>Be(Se.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Ca)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},ti[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},ti[1]),"\u9898")),ga&&b.createElement("div",{className:pe.tabs},Mr==null?void 0:Mr.map((Se,xt)=>b.createElement("div",{onClick:()=>{$n(xt)},className:In===xt&&pe.active,key:xt},"\u65B0\u9898",xt+1)))),b.createElement("div",{className:pe.centerBox},b.createElement("img",{className:"mb10",src:se,width:56}),!Ua&&b.createElement(x.op,{onClick:An},"\u8BC6\u522B"))),[1,2].includes(Ca)&&ia(),[3].includes(Ca)&&Go(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:pe.buttonFixed},b.createElement("div",{className:pe.buttonWrap},b.createElement(Je.ZP,{size:"middle",className:`${pe.button} mr20`,onClick:Gn},"\u53D6\u6D88"),b.createElement(Je.ZP,{size:"middle",type:"primary",loading:Un,className:`${pe.button}`,onClick:So},Pn))),b.createElement(De.default,{centered:!0,closable:!1,destroyOnClose:!0,open:$a,title:null,footer:null,width:320,afterClose:()=>La(0)},b.createElement(Oe.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},za,b.createElement("span",{className:pe.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(le.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:Ta}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},Ta,"%")))),b.createElement(De.default,{centered:!0,open:Ct,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:at,width:480,onCancel:()=>St(!1),onOk:()=>Na.submit(),afterClose:()=>{Na.resetFields()}},b.createElement(_e.default,{style:{maxHeight:550},form:Na,layout:"horizontal",colon:!1,size:"large",onFinish:Se=>bt(void 0,null,function*(){var xt,Jt,yn,Bt,zn;const Xn=Bn.filter(Ga=>!Ga.checked&&!Ga.errorMsg);ct(!0);const hn=()=>bt(void 0,null,function*(){var Ga,Zn;const nn=yield(0,ie.ZP)("/api/intelligent_imports/save.json",{method:"post",body:pn(Rt(Rt({},rn),Se),{list:Xn,mode:ta})});nn.status===0&&(_n&&((Ga=nn==null?void 0:nn.data)!=null&&Ga.success)&&window.location.pathname==="/problemset"&&(lt.Z.publish("refresh-item-bank",Se.group_id),yield new Promise(Yt=>setTimeout(()=>Yt(),1500))),Ue.ZP.success(`\u6210\u529F\u5BFC\u5165${(Zn=nn==null?void 0:nn.data)==null?void 0:Zn.success}\u9053\u8BD5\u9898`,3),Vn(nn),St(!1)),ct(!1)});if(ta!==1){yield hn();return}const xn=yield(0,ie.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Bn,mode:ta}});if(xn.status===0){if(!((xt=xn==null?void 0:xn.data)!=null&&xt.error_size)){yield hn();return}De.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{ct(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Jt=xn==null?void 0:xn.data)==null?void 0:Jt.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(yn=xn==null?void 0:xn.data)==null?void 0:yn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(zn=(Bt=xn==null?void 0:xn.data)==null?void 0:Bt.index)==null?void 0:zn.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:hn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(_e.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"}]},b.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:ze})),ta===1&&b.createElement(_e.default.Item,{label:b.createElement(Oe.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>qt(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.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}},b.createElement(he.Z,{key:Qe})))),b.createElement(De.default,{centered:!0,open:vn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:gn,onCancel:()=>qt(!1),onOk:()=>nr.submit(),afterClose:()=>{nr.resetFields()}},b.createElement(_e.default,{style:{maxHeight:550},form:nr,layout:"horizontal",colon:!1,size:"large",onFinish:Se=>bt(void 0,null,function*(){var xt;Sn(!0),(yield(0,ie.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:Se.name,parent_id:(xt=Se==null?void 0:Se.parent_id)==null?void 0:xt[0]}})).status===0?(Tt(Qe+1),setTimeout(()=>{Ue.ZP.success("\u64CD\u4F5C\u6210\u529F"),qt(!1),Sn(!1)},1e3)):Sn(!1)})},b.createElement(_e.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"}]},b.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(_e.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(he.Z,null)))),b.createElement(At.Z,{onSave:Se=>{oa(!0),sr("\u5904\u7406\u4E2D"),Qo("/api/intelligent_imports/import.json",{html:Se})},ref:zr}))},ht=z;var Tn=nt},24302:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(25346),we=re(48136),Ae=re(53267),_e=re(43418),Ue=re(59301);const De=(0,b.forwardRef)(({callback:tt,width:Oe,onChange:Le,disabled:ke,readOnly:Ge,type:Je="",value:le="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,te]=(0,b.useState)(0),[ae,se]=(0,b.useState)(0),[ie,he]=(0,b.useState)(!1),be=()=>{var Re=document.createElement("div");Re.innerHTML=x.current.getValue();var Ke=Re.innerText;return tt&&tt(Ke),Ke};(0,b.useImperativeHandle)(a,()=>({getData:be}));const He=Re=>{Re.preventDefault();const Ke=Re.clientX-z,We=Re.clientY-ae;document.body.onmousemove=$e=>{let xe=$e.clientX-Ke,gt=$e.clientY-We;const lt=document.getElementsByClassName("markdown-popup-form")[0],At=window.innerWidth-lt.offsetWidth,mt=window.innerHeight-lt.offsetHeight;xe=Math.max(0,Math.min(xe,At)),gt=Math.max(0,Math.min(gt,mt)),Ne($e.clientX,$e.clientY,Ke,We)&&(te(xe),se(gt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ne=(Re,Ke,We,$e)=>{const xe=document.body.clientHeight,gt=document.body.clientWidth;return Re<20&&We>Re||Re>gt-20&&We<Re||Ke<20&&$e>Ke||Ke>xe-20&&$e<Ke?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{ie&&setTimeout(()=>{const Re=document.getElementsByClassName("markdown-popup-form")[0],Ke=window.innerWidth/2-Re.offsetWidth/2,We=window.innerHeight/2-Re.offsetHeight/2;te(Ke),se(We)},0)},[ie]);const dt=()=>{ke||Ge||he(!0)};return Ue.createElement("div",{style:E},Ue.createElement("div",{style:{width:Oe||"100%",position:"relative"},className:`${pe.Z.mathFillWrap} ${ke||Ge?"cursorDefault":""}`,onClick:()=>dt()},Ue.createElement("math-field",{disabled:ke,locale:"zh_cn",class:`${pe.Z.mathField} ${Je}`,readOnly:Ge,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),Ue.createElement(_e.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:ae},title:Ue.createElement("div",{style:{cursor:"move"},onMouseDown:He},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const Re=y.current.getData();x.current.setValue(Re),Le(Re),he(!1)},onCancel:()=>{he(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Ue.createElement(Ae.Z,{value:le,ref:y,onChange:Le,showSaveButton:!1})))});Mt.Z=De},53267:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(95237),we=re(43604),Ae=re(99313),_e=re(3113),Ue=re(98573),De=re(25346),tt=re(48136),Oe=re(59301);const Le=(0,b.forwardRef)(({callback:ke,showSaveButton:Ge,value:Je=""},le)=>{const E=(0,b.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
\\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=>{E.current.setValue(E.current.getValue()+" "+ae.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Oe.createElement(pe.Z,{className:De.Z.lists,gutter:[10,10]},a.map((ae,se)=>Oe.createElement(we.Z,{flex:"110px",className:De.Z.item},Oe.createElement("div",null,Oe.createElement(Ue.Z,{value:`$$${ae.value}$$`}),ae.name),Oe.createElement("div",{className:De.Z.children},ae.children.map((ie,he)=>Oe.createElement("div",{key:he},Oe.createElement("h1",null,ie.name),Oe.createElement(pe.Z,{gutter:[10,10]},ie.data.map((be,He)=>Oe.createElement(we.Z,{key:He,onClick:()=>y(be),className:De.Z.diamond},Oe.createElement(Ue.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Oe.createElement(pe.Z,{className:De.Z.lists,gutter:[10,10]},x.map((ae,se)=>Oe.createElement(we.Z,{flex:"110px",className:De.Z.item},Oe.createElement("div",null,Oe.createElement(Ue.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Oe.createElement("div",{className:De.Z.children},ae.children.map((ie,he)=>Oe.createElement("div",{key:he},ie.name&&Oe.createElement("h1",null,ie.name),Oe.createElement(pe.Z,{gutter:[10,10]},ie.data.map((be,He)=>Oe.createElement(we.Z,{key:He,onClick:()=>y(be),className:De.Z.diamond},Oe.createElement(Ue.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=E.current.getValue();var se=ae.innerText;return ke&&ke(se),se};return(0,b.useImperativeHandle)(le,()=>({getData:te})),Oe.createElement("div",{className:De.Z.mathWrap},Oe.createElement(Ae.default,{defaultActiveKey:"1",items:z}),Oe.createElement("math-field",{locale:"zh_cn",className:De.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Je||""),Ge&&Oe.createElement("div",{className:De.Z.button},Oe.createElement(_e.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Mt.Z=Le},59592:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ge}});var b=re(59301),pe=re(78241),we=re(43418),Ae=re(92832),_e=re(87169),Ue=re(52430),De={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},tt=re(32793),Oe=re(59301),Le=(Je,le,E)=>new Promise((a,x)=>{var y=ae=>{try{te(E.next(ae))}catch(se){x(se)}},z=ae=>{try{te(E.throw(ae))}catch(se){x(se)}},te=ae=>ae.done?a(ae.value):Promise.resolve(ae.value).then(y,z);te((E=E.apply(Je,le)).next())}),Ge=({type:Je="subject",open:le,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=pe.default.useForm(),[z,te]=(0,b.useState)([]),[ae,se]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Le(void 0,null,function*(){if(Je){const he=yield(0,Ue.ZP)("/api/disciplines.json",{method:"get",params:{source:Je}});te(he.disciplines||[])}});return Oe.createElement(we.default,{title:Oe.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:le,width:558,centered:!0,className:De.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(he=>Le(void 0,null,function*(){const be=yield(0,Ue.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:he==null?void 0:he.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:he==null?void 0:he.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},Oe.createElement("div",{className:De.publicQuestContent},Oe.createElement("div",{className:De.public_tips},Oe.createElement(_e.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"),Oe.createElement(pe.default,{labelAlign:"left",form:y,colon:!1},Oe.createElement(pe.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Oe.createElement(Ae.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Oe.createElement(tt.Z,{open:ae,onCancel:()=>{se(!1)}})))}},33329:function(Et,Mt,re){"use strict";re.d(Mt,{Q:function(){return Oe},Z:function(){return ke}});var b=re(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"},we=re(92310),Ae=re.n(we),_e=re(43418),Ue=re(8591),De=re(24905),tt=(Ge,Je,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(ae){a(ae)}},y=te=>{try{z(le.throw(te))}catch(ae){a(ae)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((le=le.apply(Ge,Je)).next())});const Oe=({title:Ge="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Je=[],visible:le,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[te,ae]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{le&&z(Je)},[le]),b.createElement(_e.default,{centered:!0,open:le,title:Ge,confirmLoading:te,width:564,onOk:()=>tt(void 0,null,function*(){if(!y.length){Ue.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}ae(!0),yield x(y),ae(!1)}),onCancel:()=>E(!1)},!!a&&b.createElement("div",{className:"c-grey-666 font16 mb10"},a),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(De.default.Group,{value:y,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:se=>{z(se)}})))};var ke=({title:Ge="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Je,style:le={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:pe.c},"C"),"C++":b.createElement("div",{className:pe.cpp},"C++"),Java:b.createElement("div",{className:pe.java},"Java"),Python:b.createElement("div",{className:pe.python},"Python")};return b.createElement("div",{className:Ae()(pe.tags,Je),style:le},!!Ge&&b.createElement("div",{className:pe.text},Ge),b.createElement("div",{className:pe.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${pe.edit}`}))}},44931:function(Et,Mt,re){"use strict";re.d(Mt,{t:function(){return Tn}});var b=re(59301),pe=re(92832),we=re(78241),Ae=re(43418),_e=re(95237),Ue=re(43604),De=re(5871),tt=re(57809),Oe=re(5112),Le=re(89314),ke=re(44993),Ge=re(59489),Je=re(8591),le=re(3113),E=re(71418),a=re(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"},y=re(52430),z=re(78837),te=re(4213),ae=re(56102),se=re(7051),ie=re(59301),he=Object.defineProperty,be=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Ke=(kt,yt,Pt)=>yt in kt?he(kt,yt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):kt[yt]=Pt,We=(kt,yt)=>{for(var Pt in yt||(yt={}))dt.call(yt,Pt)&&Ke(kt,Pt,yt[Pt]);if(Ne)for(var Pt of Ne(yt))Re.call(yt,Pt)&&Ke(kt,Pt,yt[Pt]);return kt},$e=(kt,yt)=>be(kt,He(yt)),xe=(kt,yt,Pt)=>new Promise((Gn,Vn)=>{var rn=Kn=>{try{Sa(Pt.next(Kn))}catch(Nn){Vn(Nn)}},ta=Kn=>{try{Sa(Pt.throw(Kn))}catch(Nn){Vn(Nn)}},Sa=Kn=>Kn.done?Gn(Kn.value):Promise.resolve(Kn.value).then(rn,ta);Sa((Pt=Pt.apply(kt,yt)).next())}),lt=({buttonProps:kt,buttonText:yt,form:Pt,hackIdentifier:Gn="",answerKey:Vn,data:rn})=>{const[ta,Sa]=(0,b.useState)(!1),[Kn,Nn]=(0,b.useState)(!1),[ha,Oa]=(0,b.useState)(!1),[ka,va]=(0,b.useState)({}),[Ua,Za]=(0,b.useState)(""),[ga,Ra]=(0,b.useState)(""),qa=(0,b.useRef)(Gn),_n=(0,b.useRef)(""),Pn=(0,b.useRef)(!1);(0,b.useEffect)(()=>{ha&&xa()},[ha]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const jt=()=>new Date().getTime(),on=rn==null?void 0:rn.code,Ca=()=>{var za,sr;let $a=on?rn==null?void 0:rn.code:(za=Pt.getFieldValue("hack_codes"))==null?void 0:za.code,oa=on?rn==null?void 0:rn.answer_content:Pt.getFieldValue(Vn),Mr=on?rn==null?void 0:rn.input:(sr=Pt.getFieldValue("hack_sets"))==null?void 0:sr.input;oa==null||oa.forEach(Nt=>{const Bn=Nt.value||Nt.answer_text||"";$a=$a.replace(/(@▁@|@▁▁@)/,Bn)}),Ra(Mr),Za($a),va({}),Oa(!0)},xa=()=>xe(void 0,null,function*(){var za,sr,$a,oa;const Mr=jt(),Nt=on?rn==null?void 0:rn.time_limit:(za=Pt.getFieldsValue())==null?void 0:za.hack.time_limit,Bn=on?(sr=rn==null?void 0:rn.answer_content)==null?void 0:sr.length:(oa=($a=Pt.getFieldsValue())==null?void 0:$a.standard_answers)==null?void 0:oa.length;Sa(!0),yield(0,z.bM)(_n.current,{test_hack_code:Ua,test_input:ga});function na(){return xe(this,null,function*(){const{status:pa,data:Be}=yield(0,z.rX)(_n.current,"submit"),ct=jt()-Mr>(Nt+3)*1e3*Bn;if(Pn.current){if(ct){Je.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Sa(!1);return}if(pa===0){Sa(!1),va($e(We({},Be),{showText:!0}));return}setTimeout(na,1e3)}})}na()}),Ta=()=>xe(void 0,null,function*(){var za,sr,$a,oa,Mr,Nt,Bn;if(!rn){try{yield Pt.validateFields()}catch(at){($a=(sr=(za=at==null?void 0:at.errorFields)==null?void 0:za[0])==null?void 0:sr.name)!=null&&$a.includes("standard_answers")?Je.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Je.ZP.error(at.errorFields[0].errors[0]),Pt.scrollToField(at.errorFields[0].name,{behavior:"smooth",block:"center"});return}Nn(!0);let pa="";const Be=Pt.getFieldsValue();qa.current?pa=yield(0,y.ZP)(`/api/problems/${qa.current}.json`,{method:"put",body:$e(We({},Be),{hack:$e(We({},Be==null?void 0:Be.hack),{sub_discipline_id:(Bn=(Nt=Be==null?void 0:Be.hack)==null?void 0:Nt.sub_discipline_id)==null?void 0:Bn[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:$e(We({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),update_hack_sets:[We({},Be.hack_sets)],is_blank:!0})}):(pa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:$e(We({},Be),{hack:$e(We({},Be==null?void 0:Be.hack),{sub_discipline_id:(Mr=(oa=Be==null?void 0:Be.hack)==null?void 0:oa.sub_discipline_id)==null?void 0:Mr[1],difficult:Be.difficulty,item_banks_group_id:Be.item_banks_group_id}),hack_codes:$e(We({},Be.hack_codes),{code:a.Base64.encode(Be.hack_codes.code)}),hack_sets:[We({},Be.hack_sets)],is_blank:!0})}),qa.current=pa==null?void 0:pa.identifier,sessionStorage.projectFill=pa==null?void 0:pa.identifier)}const na=yield(0,y.ZP)(`/api/problems/${qa.current}/start.json`,{method:"get"});if((na==null?void 0:na.status)===0){_n.current=na==null?void 0:na.identifier,Pn.current=!0,Nn(!1),Ca();return}Nn(!1)}),La=za=>{const{status:sr,error_msg:$a,execute_time:oa,output:Mr,input:Nt,expected_output:Bn}=za;let na=null;switch(sr){case se.h.OK:na=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",oa/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case se.h.NOMATCH:na=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Nt),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Mr&&a.Base64.decode(Mr)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Bn&&a.Base64.decode(Bn)));break;case se.h.EXECUTEFAILURE:na=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Nt)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case se.h.COMPILEFAILURE:na=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,Nt)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case se.h.PODFAILURE:na=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:na=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",na," ")};return ie.createElement("div",null,ie.createElement(le.ZP,$e(We({loading:Kn},kt),{onClick:Ta}),yt),ie.createElement(Ae.default,{open:ha,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:ta,cancelButtonProps:{style:{display:"none"}},onOk:()=>xa(),onCancel:()=>{Pn.current=!1,Oa(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!rn&&ie.createElement(ae.CopyToClipboard,{text:Ua,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Ua,onChange:za=>Za(za)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(pe.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ga,onChange:za=>Ra(za.target.value),bordered:!1,style:{height:180}}))),ie.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ie.createElement("div",{className:x.box},ie.createElement(E.Z,{spinning:ta,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},La(ka))))))))},At=re(87169),mt=re(59301),En=Object.defineProperty,sn=Object.defineProperties,Gt=Object.getOwnPropertyDescriptors,_t=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Rt=(kt,yt,Pt)=>yt in kt?En(kt,yt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):kt[yt]=Pt,pn=(kt,yt)=>{for(var Pt in yt||(yt={}))Te.call(yt,Pt)&&Rt(kt,Pt,yt[Pt]);if(_t)for(var Pt of _t(yt))ot.call(yt,Pt)&&Rt(kt,Pt,yt[Pt]);return kt},bt=(kt,yt)=>sn(kt,Gt(yt)),dn=(kt,yt)=>{var Pt={};for(var Gn in kt)Te.call(kt,Gn)&&yt.indexOf(Gn)<0&&(Pt[Gn]=kt[Gn]);if(kt!=null&&_t)for(var Gn of _t(kt))yt.indexOf(Gn)<0&&ot.call(kt,Gn)&&(Pt[Gn]=kt[Gn]);return Pt};const{TextArea:Ce}=pe.default,it=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Qt=({value:kt,onChange:yt})=>mt.createElement(Switch,{checked:kt,onChange:Pt=>{yt(Pt)}}),nt="@\u2581@",ht="@\u2581\u2581@",Tn=({questionTitlePlaceholder:kt,form:yt,scoreByBlank:Pt=!1,hackidentifier:Gn,answerKey:Vn})=>{const[rn,ta]=(0,b.useState)(!1),[Sa,Kn]=(0,b.useState)(!1),ha=(0,ke.useParams)().type==="edit",Oa=(_n,Pn)=>{const jt=Pn.line;let on=0;for(let xa=0;xa<jt;xa++)on+=_n.getLine(xa).split(nt).length-1;for(let xa=0;xa<jt;xa++)on+=_n.getLine(xa).split(ht).length-1;const Ca=_n.getLine(jt).substring(0,Pn.ch);return on+=Ca.split(nt).length-1,on+=Ca.split(ht).length-1,on},ka=(_n,Pn,jt,on)=>{const Ca=_n.getRange(Pn.from,Pn.to);let xa=0;if(Pn.text.forEach(Ta=>{xa+=Ta.split(nt).length-1}),Pn.text.forEach(Ta=>{xa+=Ta.split(ht).length-1}),Pn.origin!=="setValue"){if(Ca&&(Ca.indexOf(nt)!==-1||Ca.indexOf(ht)!==-1)){const Ta=Ca.split(nt).length-1+Ca.split(ht).length-1,La=Oa(_n,Pn.from);if(console.log(`\u5220\u9664${Ta}\u4E2A\uFF0C \u524D\u9762\u6709${La}\u4E2A\uFF0C\u65B0\u589E${xa}\u4E2A`),Ta>1){const za=Array.from({length:Ta},(sr,$a)=>La+$a);on(za)}else on(La)}else if(xa>0){const Ta=Oa(_n,Pn.from);console.log(`\u65B0\u589E${xa}\u4E2A\uFF0C\u4E4B\u524D\u6709${Ta}\u4E2A`),jt(xa,Ta)}}},va=()=>{const _n=yt.getFieldValue(Vn);yt.setFieldsValue({[Vn]:_n==null?void 0:_n.map((Pn,jt)=>bt(pn({},Pn),{position:jt+1}))})},Ua=(0,b.useRef)(),Za=(_n,Pn)=>{for(let jt=0;jt<_n;jt++)Ua.current({position:null,answer_text:""},Pn+jt);va()},ga=(0,b.useRef)(),Ra=_n=>{ga.current(_n),va()},qa=we.default.useWatch(Vn,yt);return mt.createElement("div",{className:Ge.Z.wrap},mt.createElement(we.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},mt.createElement(Le.h,{scrollId:"name",watch:!0,height:140})),mt.createElement("div",{className:Ge.Z.questionTitleEditorWrap},mt.createElement(we.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},mt.createElement(Le.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(_n,Pn)=>{const jt=yt.getFieldValue(Vn);console.log("--preAnswerData",jt,Pn),yt.setFieldsValue({[Vn]:jt==null?void 0:jt.map((on,Ca)=>{var xa;return bt(pn({},on),{position:Ca+1,multi_line:(xa=Pn==null?void 0:Pn[Ca])==null?void 0:xa.multiLine})})})},placeholder:kt,onCMBeforeChange:(_n,Pn)=>{ka(_n,Pn,Za,Ra)}}))),mt.createElement(we.default.List,{name:Vn,rules:[{validator(_n,Pn){if(!(Pn!=null&&Pn.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const jt of Pn){const{answer_text:on}=jt||{};if((on==null?void 0:on.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(_n,{add:Pn,remove:jt},{errors:on})=>(Ua.current=Pn,ga.current=jt,mt.createElement(mt.Fragment,null,mt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},mt.createElement(we.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),mt.createElement("div",{onClick:()=>{Ae.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:mt.createElement("div",null,mt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",mt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),mt.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"}},mt.createElement(At.Z,{style:{marginRight:3,color:"#3061D0"}}),mt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),_n.map((Ca,xa)=>{var Ta=Ca,{key:La,name:za}=Ta,sr=dn(Ta,["key","name"]),$a,oa;return mt.createElement(_e.Z,{className:"mb20",key:La,align:"middle",wrap:!1},mt.createElement(Ue.Z,{flex:"0 0 auto",className:`${Ge.Z.blankIndex}`},"\u586B\u7A7A\u9879",xa+1),mt.createElement(Ue.Z,{flex:1},mt.createElement(_e.Z,{align:"top",justify:"space-between",wrap:!1},mt.createElement(Ue.Z,null,mt.createElement(we.default.Item,bt(pn({},sr),{name:[za,"answer_text"],noStyle:!0}),($a=qa==null?void 0:qa[za])!=null&&$a.multi_line||(oa=qa==null?void 0:qa[za])!=null&&oa.multiLine?mt.createElement(Ce,{spellCheck:!1,style:{marginLeft:10,width:550}}):mt.createElement(pe.default,{style:{marginLeft:10,width:550},className:Ge.Z.blankInput,size:"large",maxLength:1e3,onBlur:Mr=>{}}))),Pt&&mt.createElement(Ue.Z,{flex:"224px"},mt.createElement(we.default.Item,bt(pn({},sr),{name:[za,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),mt.createElement(De.Z,{size:"large",className:Ge.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),mt.createElement("div",{onClick:()=>ta(!0)},mt.createElement(we.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},mt.createElement(Le.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:rn}))),mt.createElement(we.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"}]},mt.createElement(tt.default,{size:"large"},it.map(_n=>mt.createElement(tt.default.Option,{key:_n.title,value:_n.key}," ",_n.title)))),mt.createElement(we.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},mt.createElement(we.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},mt.createElement(De.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),mt.createElement("span",{className:"ml10 font14"},"\u79D2")),mt.createElement(we.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"}]},mt.createElement(Oe.ZP.Group,{style:{marginTop:-10}},mt.createElement(Oe.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),mt.createElement(Oe.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),mt.createElement(Oe.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),mt.createElement(we.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),mt.createElement("div",{style:{background:"#F6F7F9",padding:15}},mt.createElement(we.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},mt.createElement(Ce,{rows:4})),mt.createElement(we.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},mt.createElement(Ce,{rows:4}))),mt.createElement(lt,{form:yt,answerKey:Vn,hackIdentifier:Gn,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:mt.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"}}}))}},40260:function(Et,Mt,re){"use strict";re.d(Mt,{u:function(){return ie}});var b=re(59301),pe=re(95237),we=re(43604),Ae=re(6848),_e=re(78241),Ue=re(59489),De=re(32134),tt=re(12893),Oe=re(89314),Le=re(59301),ke=Object.defineProperty,Ge=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(he,be,He)=>be in he?ke(he,be,{enumerable:!0,configurable:!0,writable:!0,value:He}):he[be]=He,y=(he,be)=>{for(var He in be||(be={}))E.call(be,He)&&x(he,He,be[He]);if(le)for(var He of le(be))a.call(be,He)&&x(he,He,be[He]);return he},z=(he,be)=>Ge(he,Je(be)),te=(he,be)=>{var He={};for(var Ne in he)E.call(he,Ne)&&be.indexOf(Ne)<0&&(He[Ne]=he[Ne]);if(he!=null&&le)for(var Ne of le(he))be.indexOf(Ne)<0&&a.call(he,Ne)&&(He[Ne]=he[Ne]);return He};const ae=["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"],se=({value:he,onChange:be,choiceTextKey:He,answerKey:Ne,index:dt,isEdit:Re,setInputActive:Ke,form:We,choiceOptionsPath:$e,allowChangeMode:xe,showAddIcon:gt,addItem:lt,deleteItem:At})=>{console.log(he,"value");const mt=(he==null?void 0:he[Ne])===1,En=()=>{const Gt=We.getFieldValue($e);We.setFieldValue($e,Gt.map(_t=>z(y({},_t),{[Ne]:0})))},sn=()=>{mt?be(z(y({},he),{[Ne]:0})):(xe||En(),be(z(y({},he),{[Ne]:1})))};return Le.createElement(pe.Z,{className:Ue.Z.choiceWrap,align:"middle",wrap:!1},Le.createElement(we.Z,{onClick:sn,className:`${Ue.Z.choiceIndex} ${mt?Ue.Z.activeAnswer:""}`},ae[dt]),Le.createElement(we.Z,{flex:1,className:`${Ue.Z.editorWrap} ml15`,onClick:Ke},Le.createElement(Oe.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Re,value:he==null?void 0:he[He],onChange:Gt=>{be(z(y({},he),{[He]:Gt}))}})),Le.createElement(we.Z,{flex:"0 0 auto",className:"ml15"},Le.createElement("div",{onClick:sn,className:`${Ue.Z.setAnswerBtn} ${mt?Ue.Z.activeAnswer:""}`},mt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Le.createElement(we.Z,{className:Ue.Z.actionWrapper},Le.createElement(Ae.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Le.createElement(De.Z,{className:Ue.Z.addIcon,onClick:lt,style:{visibility:gt?"visible":"hidden"}})),Le.createElement(Ae.Z,{title:"\u5220\u9664"},Le.createElement(tt.Z,{className:Ue.Z.deleteIcon,onClick:At,style:{visibility:dt>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:he,titleKey:be,choiceKey:He,analysisKey:Ne,choiceTextKey:dt,answerKey:Re,choiceOptionsPath:Ke,allowChangeMode:We=!0,form:$e,showAnalysis:xe=!0})=>{const[gt,lt]=(0,b.useState)(),[At,mt]=(0,b.useState)(!1);return Le.createElement("div",{className:Ue.Z.wrap},Le.createElement("div",{className:Ue.Z.questionTitleEditorWrap},Le.createElement(_e.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Le.createElement(Oe.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:he}))),Le.createElement(_e.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Le.createElement(_e.default.List,{name:He,rules:[{validator(En,sn){const Gt=sn.some(Te=>Te[Re]===1),_t=sn.findIndex(Te=>{var ot;return((ot=Te[dt])==null?void 0:ot.length)<=0});return _t!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[_t]}\u9009\u9879\u7684\u5185\u5BB9`)):Gt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(En,{add:sn,remove:Gt})=>Le.createElement("div",{id:Array.isArray(Ke)?Ke.join("_"):`${Ke}`},En.map((_t,Te)=>{var ot=_t,{key:Rt,name:pn}=ot,bt=te(ot,["key","name"]);const dn=gt===Rt,Ce=()=>{lt(Rt)},it=Te<7&&Te===En.length-1,Qt=()=>sn({[dt]:"",[Re]:0}),nt=()=>Gt(pn);return Le.createElement(_e.default.Item,z(y({},bt),{key:Rt,name:pn,className:Ue.Z.choiceListWrap,rules:[{validator(ht,Tn){return Tn!=null&&Tn.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ae[Te]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Le.createElement(se,{choiceTextKey:dt,answerKey:Re,index:Te,isEdit:dn,setInputActive:Ce,form:$e,choiceOptionsPath:Ke,allowChangeMode:We,showAddIcon:it,addItem:Qt,deleteItem:nt}))}),En.length<8&&Le.createElement("div",{className:`${Ue.Z.addBtn} mb30`,onClick:()=>sn({[dt]:"",[Re]:0})},"\u6DFB\u52A0\u9009\u9879"))),xe&&Le.createElement("div",{onClick:()=>mt(!0)},Le.createElement(_e.default.Item,{name:Ne,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Le.createElement(Oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:At}))))}},95062:function(Et,Mt,re){"use strict";re.d(Mt,{u:function(){return We}});var b=re(59301),pe=re(43418),we=re(95237),Ae=re(43604),_e=re(92832),Ue=re(6848),De=re(78673),tt=re(78241),Oe=re(5112),Le=re(5871),ke=re(89314),Ge=re(12893),Je=re(61485),le=re(59489),E=re(24302),a=re(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=($e,xe,gt)=>xe in $e?x($e,xe,{enumerable:!0,configurable:!0,writable:!0,value:gt}):$e[xe]=gt,he=($e,xe)=>{for(var gt in xe||(xe={}))ae.call(xe,gt)&&ie($e,gt,xe[gt]);if(te)for(var gt of te(xe))se.call(xe,gt)&&ie($e,gt,xe[gt]);return $e},be=($e,xe)=>y($e,z(xe)),He=($e,xe)=>{var gt={};for(var lt in $e)ae.call($e,lt)&&xe.indexOf(lt)<0&&(gt[lt]=$e[lt]);if($e!=null&&te)for(var lt of te($e))xe.indexOf(lt)<0&&se.call($e,lt)&&(gt[lt]=$e[lt]);return gt};const Ne=({value:$e,onChange:xe})=>{const gt=At=>{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:le.Z.modal,onOk:()=>{const mt=[...$e];mt.splice(At,1),xe(mt)}})},lt=()=>{const At=[...$e];At.push(""),xe(At)};return a.createElement(we.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},$e==null?void 0:$e.map((At,mt)=>a.createElement(we.Z,{key:`${At}_${mt}`,className:"mb20"},a.createElement(_e.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:At,autoSize:{maxRows:3},maxLength:1e3,onBlur:En=>{const sn=[...$e],Gt=En.target.value.trim();sn[mt]=Gt,xe(sn)}}),a.createElement(Ue.Z,{title:"\u5220\u9664"},a.createElement(Ge.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:mt>0?"visible":"hidden"},onClick:()=>gt(mt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},dt=({value:$e,onChange:xe})=>{const gt=At=>{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:le.Z.modal,onOk:()=>{const mt=[...$e];mt.splice(At,1),xe(mt)}})},lt=()=>{const At=[...$e];At.push(""),xe(At)};return a.createElement(we.Z,{className:"ml20"},a.createElement(Ae.Z,{flex:1},$e==null?void 0:$e.map((At,mt)=>a.createElement(we.Z,{key:`${At}_${mt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:At,style:{flex:1},onChange:En=>{const sn=[...$e];sn[mt]=En,xe(sn)}}),a.createElement(Ue.Z,{title:"\u5220\u9664"},a.createElement(Ge.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:mt>0?"visible":"hidden"},onClick:()=>gt(mt)}))))),a.createElement(Ae.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},Re=({value:$e=!0,onChange:xe})=>a.createElement(De.Z,{checked:!$e,onChange:gt=>{xe(!gt)}}),Ke="\u2581",We=({questionTitlePlaceholder:$e,form:xe,scoreByBlank:gt=!1,answerKey:lt})=>{const[At,mt]=(0,b.useState)(!1),En=(bt,dn)=>{const Ce=dn.line;let it=0;for(let nt=0;nt<Ce;nt++)it+=bt.getLine(nt).split(Ke).length-1;const Qt=bt.getLine(Ce).substring(0,dn.ch);return it+=Qt.split(Ke).length-1,it},sn=(bt,dn,Ce,it)=>{const Qt=bt.getRange(dn.from,dn.to);let nt=0;if(dn.text.forEach(ht=>{nt+=ht.split(Ke).length-1}),dn.origin!=="setValue"){if(Qt&&Qt.indexOf(Ke)!==-1){const ht=Qt.split(Ke).length-1,Tn=En(bt,dn.from);if(console.log(`\u5220\u9664${ht}\u4E2A\uFF0C \u524D\u9762\u6709${Tn}\u4E2A\uFF0C\u65B0\u589E${nt}\u4E2A`),ht>1){const kt=Array.from({length:ht},(yt,Pt)=>Tn+Pt);it(kt)}else it(Tn)}else if(nt>0){const ht=En(bt,dn.from);console.log(`\u65B0\u589E${nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ht}\u4E2A`),Ce(nt,ht)}}},Gt=()=>{const bt=xe.getFieldValue(lt);xe.setFieldsValue({[lt]:bt.map((dn,Ce)=>be(he({},dn),{position:Ce+1}))})},_t=(0,b.useRef)(),Te=(bt,dn)=>{for(let Ce=0;Ce<bt;Ce++)_t.current({position:null,answer_text:[""],model:1},dn+Ce);Gt()},ot=(0,b.useRef)(),Rt=bt=>{ot.current(bt),Gt()},pn=tt.default.useWatch(lt,xe);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(tt.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(ke.h,{scrollId:"name",watch:!0,height:140,placeholder:$e,showNullButton:!0,onCMBeforeChange:(bt,dn)=>{sn(bt,dn,Te,Rt)}}))),a.createElement(tt.default.List,{name:lt,rules:[{validator(bt,dn){if(!(dn!=null&&dn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ce of dn){const{answer_text:it}=Ce||{};if(it!=null&&it.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()}}]},(bt,{add:dn,remove:Ce},{errors:it})=>(_t.current=dn,ot.current=Ce,a.createElement(a.Fragment,null,a.createElement(tt.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(bt!=null&&bt.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}}),bt.map((Qt,nt)=>{var ht=Qt,{key:Tn,name:kt}=ht,yt=He(ht,["key","name"]),Pt,Gn;return a.createElement("div",{style:{marginBottom:10},key:Tn},a.createElement(we.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ae.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",nt+1),a.createElement(tt.default.Item,be(he({},yt),{name:[kt,"model"],noStyle:!0}),a.createElement(Oe.ZP.Group,{onChange:()=>{const Vn=xe.getFieldValue(lt);xe.setFieldsValue({[lt]:Vn.map((rn,ta)=>be(he({},rn),{answer_text:kt===ta?[""]:rn.answer_text}))})}},a.createElement(Oe.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(Je.Z,null))),a.createElement(Oe.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(Je.Z,null)))))),a.createElement(we.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(we.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ae.Z,{flex:1},a.createElement(tt.default.Item,be(he({},yt),{name:[kt,"answer_text"],noStyle:!0}),((Gn=(Pt=xe.getFieldValue(lt))==null?void 0:Pt[kt])==null?void 0:Gn.model)===1?a.createElement(Ne,null):a.createElement(dt,null))),gt&&a.createElement(Ae.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(tt.default.Item,be(he({},yt),{name:[kt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(Le.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(tt.default.Item,be(he({},yt),{name:[kt,"position"],noStyle:!0}),a.createElement(_e.default,{type:"hidden"})))))})))),a.createElement(we.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(De.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(we.Z,{align:"middle"},a.createElement(tt.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(De.Z,null)),a.createElement(Ae.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(pn==null?void 0:pn.length)>1&&a.createElement(we.Z,{align:"middle",className:(pn==null?void 0:pn.length)>1?"mb30":`${le.Z.hide}`},a.createElement(tt.default.Item,{name:"is_ordered"},a.createElement(Re,null)),a.createElement(Ae.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:()=>mt(!0)},a.createElement(tt.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:At}))))}},42784:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return te}});var b=re(59301),pe=re(95237),we=re(43604),Ae=re(78241),_e=re(59489),Ue=re(89314),De=re(59301),tt=Object.defineProperty,Oe=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,le=(ae,se,ie)=>se in ae?tt(ae,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):ae[se]=ie,E=(ae,se)=>{for(var ie in se||(se={}))Ge.call(se,ie)&&le(ae,ie,se[ie]);if(ke)for(var ie of ke(se))Je.call(se,ie)&&le(ae,ie,se[ie]);return ae},a=(ae,se)=>Oe(ae,Le(se)),x=(ae,se)=>{var ie={};for(var he in ae)Ge.call(ae,he)&&se.indexOf(he)<0&&(ie[he]=ae[he]);if(ae!=null&&ke)for(var he of ke(ae))se.indexOf(he)<0&&Je.call(ae,he)&&(ie[he]=ae[he]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:ae,onChange:se,form:ie})=>{const he=(ae==null?void 0:ae.is_answer)===1,be=ae==null?void 0:ae.choice_text,He=()=>{const Ne=ie.getFieldsValue().choices.map(dt=>({choice_text:dt.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ne}),se(a(E({},ae),{is_answer:1}))};return De.createElement(pe.Z,{className:_e.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},De.createElement(we.Z,{onClick:He,className:`${_e.Z.choiceIndex} ${_e.Z.judgementIndex} ${he?_e.Z.activeAnswer:""}`},y[be]),De.createElement(we.Z,{flex:1,className:`${_e.Z.editorWrap} ml15`},De.createElement("div",{className:`${_e.Z.inputBorder} ${_e.Z.placeholder} ${he?_e.Z.activeJudgementAnswer:""}`},be)),De.createElement(we.Z,{flex:"0 0 auto",className:"ml15"},De.createElement("div",{onClick:He,className:`${_e.Z.setAnswerBtn} ${he?_e.Z.activeAnswer:""}`},he?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:ae,choiceKey:se,form:ie})=>{const[he,be]=(0,b.useState)(!1);return De.createElement("div",{className:_e.Z.wrap},De.createElement("div",{className:_e.Z.questionTitleEditorWrap},De.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},De.createElement(Ue.h,{scrollId:"name",watch:!0,height:140,placeholder:ae}))),De.createElement(Ae.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},De.createElement(Ae.default.List,{name:"choices",rules:[{validator(He,Ne){return Ne.some(Re=>(Re==null?void 0:Re.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},He=>De.createElement("div",{id:"choices"},He.map(Ne=>{var dt=Ne,{key:Re,name:Ke}=dt,We=x(dt,["key","name"]);return De.createElement(Ae.default.Item,a(E({},We),{key:Re,name:Ke,noStyle:!0}),De.createElement(z,{form:ie}))})))),De.createElement("div",{onClick:()=>be(!0)},De.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},De.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:he}))))}},89314:function(Et,Mt,re){"use strict";re.d(Mt,{h:function(){return E},x:function(){return a}});var b=re(4213),pe=re(59489),we=re(98573),Ae=re(59301),_e=Object.defineProperty,Ue=Object.defineProperties,De=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,ke=(x,y,z)=>y in x?_e(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,Ge=(x,y)=>{for(var z in y||(y={}))Oe.call(y,z)&&ke(x,z,y[z]);if(tt)for(var z of tt(y))Le.call(y,z)&&ke(x,z,y[z]);return x},Je=(x,y)=>Ue(x,De(y)),le=(x,y)=>{var z={};for(var te in x)Oe.call(x,te)&&y.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&tt)for(var te of tt(x))y.indexOf(te)<0&&Le.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var y=x,{value:z,onChange:te,scrollId:ae}=y,se=le(y,["value","onChange","scrollId"]);return Ae.createElement("div",{id:ae||""},Ae.createElement(b.Z,Je(Ge({},se),{defaultValue:z,onChange:(ie,he)=>{he!=null&&he.length?te(ie,he):te(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:te=140,isEdit:ae,miniToolbar:se,watch:ie=!0})=>ae?Ae.createElement(b.Z,{watch:ie,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:se}):Ae.createElement("div",{style:{cursor:"pointer"}},x?Ae.createElement(we.Z,{className:pe.Z.inputBorder,value:x}):Ae.createElement("div",{className:`${pe.Z.inputBorder} ${pe.Z.placeholder} inputBorderError`},z))},12796:function(Et,Mt,re){"use strict";re.d(Mt,{W:function(){return dt}});var b=re(59301),pe=re(8591),we=re(12563),Ae=re(78241),_e=re(78673),Ue=re(95237),De=re(43604),tt=re(6848),Oe=re(92832),Le=re(5871),ke=re(59489),Ge=re(89314),Je=re(4213),le=re(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ae=(Re,Ke,We)=>Ke in Re?E(Re,Ke,{enumerable:!0,configurable:!0,writable:!0,value:We}):Re[Ke]=We,se=(Re,Ke)=>{for(var We in Ke||(Ke={}))z.call(Ke,We)&&ae(Re,We,Ke[We]);if(y)for(var We of y(Ke))te.call(Ke,We)&&ae(Re,We,Ke[We]);return Re},ie=(Re,Ke)=>a(Re,x(Ke)),he=(Re,Ke)=>{var We={};for(var $e in Re)z.call(Re,$e)&&Ke.indexOf($e)<0&&(We[$e]=Re[$e]);if(Re!=null&&y)for(var $e of y(Re))Ke.indexOf($e)<0&&te.call(Re,$e)&&(We[$e]=Re[$e]);return We};const be=Re=>{var Ke=Re,{value:We,onChange:$e}=Ke,xe=he(Ke,["value","onChange"]);const gt=lt=>{$e([lt])};return b.createElement(Je.Z,ie(se({},xe),{defaultValue:We==null?void 0:We[0],onChange:gt}))},He=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},Ne=({value:Re=[],onClose:Ke})=>b.createElement(we.default,{closable:!0,onClose:Ke,className:ke.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Re.join(" \u6216 "))),dt=({questionTitlePlaceholder:Re,form:Ke,showKeywords:We,isMustKeyWords:$e=We})=>{const[xe,gt]=(0,b.useState)(!1),[lt,At]=(0,b.useState)(""),mt=Ae.default.useWatch("use_keywords",Ke),En=Ae.default.useWatch("question_score",Ke);return b.createElement("div",{className:ke.Z.wrap},b.createElement("div",{className:ke.Z.questionTitleEditorWrap},b.createElement(Ae.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(Ge.h,{scrollId:"name",watch:!0,height:140,placeholder:Re}))),b.createElement(Ae.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),We&&!$e&&b.createElement(Ae.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(_e.Z,{defaultChecked:!0})),We&&$e&&b.createElement(Ue.Z,{align:"middle",className:"mb30"},b.createElement(Ae.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(_e.Z,null)),b.createElement(De.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(De.Z,null,b.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"},b.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(mt||!$e)&&b.createElement(Ae.default.List,{name:"keywords",rules:[{validator(sn,Gt){return $e?Gt!=null&&Gt.length?(Gt==null?void 0:Gt.reduce((Te,ot)=>Te+ot.score,0))>parseFloat(En)?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()}}]},(sn,{add:Gt,remove:_t})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${ke.Z.title} mb10`},$e?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Ue.Z,{align:"middle",className:"font14 mb30"},b.createElement(De.Z,{flex:1},b.createElement(Oe.default,{value:lt,onChange:Te=>{At(Te.target.value)},maxLength:50,allowClear:!0,onPressEnter:Te=>{var ot,Rt,pn,bt;const dn=`${(ot=Te.target)==null?void 0:ot.value}`,Ce=(pn=(Rt=dn==null?void 0:dn.split("|"))==null?void 0:Rt.filter(nt=>!!nt))==null?void 0:pn.map(nt=>nt==null?void 0:nt.trim()),it=Ke.getFieldValue("keywords"),Qt=((bt=it==null?void 0:it.map(nt=>nt==null?void 0:nt.keyword))==null?void 0:bt.flat())||[];for(const nt of Ce)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}He(dn)&&(Gt({keyword:Ce,score:1}),At(""))},className:ke.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"})),b.createElement(De.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),sn.map(Te=>{var ot=Te,{key:Rt,name:pn}=ot,bt=he(ot,["key","name"]);return b.createElement(Ue.Z,{key:Rt,className:"mb20",style:{marginRight:148}},b.createElement(De.Z,{flex:1},b.createElement(Ue.Z,{align:"middle",justify:"space-between"},b.createElement(Ae.default.Item,ie(se({},bt),{name:[pn,"keyword"]}),b.createElement(Ne,{onClose:()=>_t(pn)})),$e&&b.createElement(Ae.default.Item,ie(se({},bt),{name:[pn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ke.Z.blankInputNumberWrapper}),b.createElement(Le.Z,{className:ke.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>gt(!0)},b.createElement(Ae.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Ge.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xe}))))}},20135:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return _e}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},pe=re(78241),we=re(59301),_e=({text:Ue,name:De="question_score"})=>{const tt=({value:Oe})=>we.createElement("div",{className:b.text},we.createElement("span",{className:b.sup},"*"),we.createElement("span",{className:"mr10"},"\u5206\u503C"),we.createElement("span",null,Oe||"--"),we.createElement("span",{className:"c-grey-999"},Ue));return we.createElement(pe.default.Item,{noStyle:!0,name:De},we.createElement(tt,null))}},56636:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return He},P:function(){return ie}});var b=re(59301),pe=re(78241),we=re(43418),Ae=re(5112),_e=re(92832),Ue=re(1710),De={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},tt=re(84698),Oe=Object.defineProperty,Le=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(Ne,dt,Re)=>dt in Ne?Oe(Ne,dt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[dt]=Re,a=(Ne,dt)=>{for(var Re in dt||(dt={}))Je.call(dt,Re)&&E(Ne,Re,dt[Re]);if(Ge)for(var Re of Ge(dt))le.call(dt,Re)&&E(Ne,Re,dt[Re]);return Ne},x=(Ne,dt)=>Le(Ne,ke(dt)),y=(Ne,dt)=>{var Re={};for(var Ke in Ne)Je.call(Ne,Ke)&&dt.indexOf(Ke)<0&&(Re[Ke]=Ne[Ke]);if(Ne!=null&&Ge)for(var Ke of Ge(Ne))dt.indexOf(Ke)<0&&le.call(Ne,Ke)&&(Re[Ke]=Ne[Ke]);return Re},z=(Ne,dt,Re)=>new Promise((Ke,We)=>{var $e=lt=>{try{gt(Re.next(lt))}catch(At){We(At)}},xe=lt=>{try{gt(Re.throw(lt))}catch(At){We(At)}},gt=lt=>lt.done?Ke(lt.value):Promise.resolve(lt.value).then($e,xe);gt((Re=Re.apply(Ne,dt)).next())});const te=({studentNames:Ne,total:dt})=>{const Re=["","\u4E00","\u4E24","\u4E09"];return dt>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:De.orangeColor},Ne==null?void 0:Ne.join("\u3001")),"\u7B49",b.createElement("span",{className:De.orangeColor},dt),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:De.orangeColor},Ne==null?void 0:Ne.join("\u3001")),Re[dt],"\u540D\u5B66\u751F")},ae=({used:Ne,copy:dt,canNotCopy:Re,studentNames:Ke,studentCount:We,inPaper:$e,is_random:xe=!1,position:gt=""})=>{const lt=()=>{if(dt>0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:De.orangeColor},dt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:De.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(dt>0&&Re===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:De.orangeColor},dt),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(dt===0&&Re>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:De.orangeColor},Re),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},At=gt||($e?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(te,{studentNames:Ke,total:We}),"\u5B66\u4E60\u8FC7",At,"\u4E2D\u7684",b.createElement("span",{className:De.orangeColor},Ne),"\u4E2A\u9879\u76EE\uFF0C",lt(),"\u3002\u8BF7\u9009\u62E9",xe?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},se=({onCancel:Ne,onOk:dt,visible:Re,inPaper:Ke,renderData:We,type:$e,isMultipleCourse:xe=!1})=>{const[gt]=pe.default.useForm(),[lt,At]=(0,b.useState)(1),[mt,En]=(0,b.useState)(!1),sn=(0,b.useMemo)(()=>(We==null?void 0:We.total_num)===1&&(We==null?void 0:We.can_copy_num)===1,[We]),Gt=(0,b.useMemo)(()=>{var _t;return(_t=We==null?void 0:We.course_data_list)==null?void 0:_t.filter(Te=>Te.is_show)},[We]);return b.createElement(b.Fragment,null,sn?b.createElement(we.default,{centered:!0,closable:!0,open:Re,destroyOnClose:!0,title:"\u63D0\u793A",className:De.antdModal,width:682,confirmLoading:mt,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;En(!0);let Te=lt;if(xe){const ot=a({},gt.getFieldsValue());Te=(_t=We==null?void 0:We.course_data_list)==null?void 0:_t.map(Rt=>ot[Rt.id]!==void 0?x(a({},Rt),{is_copy:ot[Rt.id]}):Rt)}yield dt(Te),En(!1)})},b.createElement("div",{className:De.content,style:{marginBottom:20}},xe?"\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(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")),xe?b.createElement(pe.default,{form:gt,preserve:!1},Gt==null?void 0:Gt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(pe.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:De.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ae.ZP.Group,{value:lt,onChange:_t=>At(_t.target.value),className:De.content,style:{marginBottom:30}},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ae.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:De.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:De.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:`${De.content} ${De.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(we.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Re,confirmLoading:mt,title:"\u63D0\u793A",width:682,onCancel:Ne,onOk:()=>z(void 0,null,function*(){var _t;En(!0);let Te=0;if(xe){const ot=a({},gt.getFieldsValue());Te=(_t=We==null?void 0:We.course_data_list)==null?void 0:_t.map(Rt=>ot[Rt.id]!==void 0?x(a({},Rt),{is_use:ot[Rt.id]}):Rt)}yield dt(Te),En(!1)})},b.createElement("div",{className:De.content},b.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",xe?b.createElement(pe.default,{form:gt,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"),Gt==null?void 0:Gt.map(_t=>b.createElement(b.Fragment,{key:_t.id},b.createElement("h3",{className:"ml15 mb5"},_t.name),b.createElement(pe.default.Item,{name:_t.id,initialValue:1},b.createElement(Ae.ZP.Group,{className:De.content},b.createElement(Ae.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ae.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:De.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[Ne,dt]=(0,b.useState)(!1),[Re,Ke]=(0,b.useState)();return[Ne,()=>dt(!1),Re,xe=>z(this,null,function*(){var gt;const lt=xe,{isImportMultipleCourse:At=!1}=lt,mt=y(lt,["isImportMultipleCourse"]);console.log(xe);const En=(xe==null?void 0:xe.result)||(yield(0,tt.Tr)(mt));return"status"in En?!1:At?((gt=En==null?void 0:En.course_data_list)==null?void 0:gt.some(Gt=>Gt.is_show))?(Ke(En),dt(!0),!0):En.course_data_list||[]:En.student_count===0?!1:(Ke(En),dt(!0),!0)})]},he=Ne=>{const[dt]=pe.default.useForm(),[Re,Ke]=(0,b.useState)(!1),{onCancel:We,onOk:$e,visible:xe,inPaper:gt=!1,renderData:lt,type:At,isMultipleCourse:mt=!1,position:En}=Ne;let sn=(0,b.useMemo)(()=>gt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:De.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(pe.default.Item,{name:[`${At==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:De.tableCell,render(Te,ot){return b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(pe.default.Item,{name:[`${At==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Te,ot)=>b.createElement(pe.default.Item,{name:[`${At==="subject"?ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],initialValue:1},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426")))}],[gt]),Gt=(0,b.useMemo)(()=>gt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:De.tableCell,align:"center",ellipsis:!0,render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te),b.createElement(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})),b.createElement(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:De.tableCell,ellipsis:!0,align:"center",render:(Te,ot)=>b.createElement("a",{href:`/shixuns/${ot.identifier}/challenges`,target:"_blank"},Te)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Te,ot)=>b.createElement(b.Fragment,null,b.createElement(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_use"],initialValue:0},b.createElement(Ae.ZP.Group,null,b.createElement(Ae.ZP,{value:1},"\u662F"),b.createElement(Ae.ZP,{value:0},"\u5426"))),b.createElement(pe.default.Item,{name:[`${At==="subject"?ot==null?void 0:ot.stage_shixun_id:ot.shixun_course_id||ot.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})))}],[gt]);if(mt){const Te={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:De.tableCell,render:(ot,Rt)=>b.createElement("a",{href:`/classrooms/${Rt.course_id}`},ot)};sn=[Te,...sn],Gt=[Te,...Gt]}const _t=(0,b.useMemo)(()=>ae({used:lt==null?void 0:lt.repeat_shixun_num,copy:lt==null?void 0:lt.can_copy_num,canNotCopy:lt==null?void 0:lt.no_copy_num,studentNames:lt==null?void 0:lt.student_names,studentCount:lt==null?void 0:lt.student_count,is_random:lt==null?void 0:lt.is_random,inPaper:gt,position:En}),[lt,gt,En]);return b.createElement(we.default,{title:"\u63D0\u793A",centered:!0,open:xe,confirmLoading:Re,onOk:()=>z(void 0,null,function*(){Ke(!0);const Te=dt.getFieldsValue(),ot=Object.keys(Te).map(Rt=>({id:parseInt(Rt.split("_")[0]),course_id:parseInt(Rt.split("_")[1]),is_use:Te[Rt].is_use,is_copy:Te[Rt].is_copy}));yield $e(ot),Ke(!1)}),onCancel:We,width:880,okText:"\u786E\u8BA4",className:De.antdModal,destroyOnClose:!0},b.createElement(pe.default,{form:dt,preserve:!1},b.createElement("div",{className:De.brief},_t),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:De.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")),(lt==null?void 0:lt.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:De.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(Ue.default,{columns:sn,className:De.antdTable,dataSource:lt==null?void 0:lt.can_copy_list,rowKey:At==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(lt==null?void 0:lt.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:De.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(Ue.default,{columns:Gt,className:De.antdTable,dataSource:lt==null?void 0:lt.no_copy_list,rowKey:At==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(lt==null?void 0:lt.no_use_list.length)>0&&(lt==null?void 0:lt.no_use_list.map(Te=>b.createElement("div",{key:At==="subject"?Te.stage_shixun_id:Te.shixun_course_id||Te.id},b.createElement(pe.default.Item,{name:[`${At==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})),b.createElement(pe.default.Item,{name:[`${At==="subject"?Te==null?void 0:Te.stage_shixun_id:Te.shixun_course_id||Te.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))))))};var He=Ne=>{const{modalType:dt}=Ne;return dt==="multiple"?b.createElement(he,a({},Ne)):b.createElement(se,a({},Ne))}},67702:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return tt}});var b=re(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"},we=re(43418),Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",_e="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=(Oe,Le,ke)=>new Promise((Ge,Je)=>{var le=x=>{try{a(ke.next(x))}catch(y){Je(y)}},E=x=>{try{a(ke.throw(x))}catch(y){Je(y)}},a=x=>x.done?Ge(x.value):Promise.resolve(x.value).then(le,E);a((ke=ke.apply(Oe,Le)).next())}),tt=({type:Oe,resdata:Le,onok:ke,oktext:Ge,okloading:Je})=>{const[le,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:te,no_copy_num:ae,no_use_list:se,no_use_num:ie,repeat_shixun_num:he,student_count:be,total_num:He,use_num:Ne}=Le;let dt=x>0||Oe==="exercise";(0,b.useEffect)(()=>{(Le==null?void 0:Le.student_count)>0&&E(!0)},[Le]),console.log("---11",Je),(0,b.useEffect)(()=>{Je||E(!1)},[Je]);const Re=()=>{if(Oe==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.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(Oe==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\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:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.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(Oe==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.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",b.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(Oe==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.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(Oe==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:pe.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:pe.orangeColor},Ne)," \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:pe.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Oe==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.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(Oe==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:pe.orangeColor},Ne),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.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(Oe==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:pe.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:pe.orangeColor},Ne),"\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:pe.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ke=()=>{if(Oe==="exercise"||Oe==="subject"||Oe==="exercisepush"||Oe==="shixunpush")return b.createElement("div",{style:{marginTop:20}},ae>0&&b.createElement("div",null,b.createElement("span",{className:pe.flex},b.createElement("img",{src:_e,style:{width:14}}),b.createElement("span",{className:pe.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:pe.statusbody},Oe==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.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"),(Oe==="subject"||Oe==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",dt&&b.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"),Oe==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",dt&&b.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"),b.createElement("div",null,te==null?void 0:te.map((We,$e)=>b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",$e+1!==ae&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:pe.flex},b.createElement("img",{src:Ae,style:{width:14}}),b.createElement("span",{className:pe.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:pe.statusbody},Oe==="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"),(Oe==="subject"||Oe==="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"),Oe==="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,a==null?void 0:a.map((We,$e)=>b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",$e+1!==x&&"\u3001"))))));if(Oe==="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(we.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!dt&&"none"}},zIndex:1003,confirmLoading:Je,okText:dt?Ge:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ue(void 0,null,function*(){dt?yield ke([...a,...se]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Re(),Ke()))}},41539:function(Et,Mt,re){"use strict";re.d(Mt,{h:function(){return ae}});var b=re(59301),pe=re(57809),we=re(78241),Ae=re(3113),_e=re(89780),Ue=re.n(_e),De=re(39060),tt=re(76596),Oe=Object.defineProperty,Le=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(se,ie,he)=>ie in se?Oe(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:he}):se[ie]=he,a=(se,ie)=>{for(var he in ie||(ie={}))Je.call(ie,he)&&E(se,he,ie[he]);if(Ge)for(var he of Ge(ie))le.call(ie,he)&&E(se,he,ie[he]);return se},x=(se,ie)=>Le(se,ke(ie));const y=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"]};Mt.Z=({callback:se,onCancel:ie})=>{const[he,be]=(0,b.useState)("python");function He(dt){be(te[dt][1])}function Ne(dt){se(dt)}return b.createElement(we.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),b.createElement(we.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(pe.default,{getPopupContainer:dt=>dt.parentNode,onChange:He},Object.keys(te).map(dt=>b.createElement(y,{key:dt,value:dt},te[dt][0])))),b.createElement(we.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ae,{mode:he})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ae.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function ae({value:se,onChange:ie,mode:he,options:be={}}){const He=(0,b.useRef)(),[Ne,dt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ne){let Re=function(Ke){const We=Ke.getValue();ie&&ie(We)};return Ne.on("change",Re),()=>{Ne.off("change",Re)}}},[Ne,ie]),(0,b.useEffect)(()=>{Ne&&Ne.setOption("mode",he)},[Ne,he]),(0,b.useEffect)(()=>{Ne&&(se!==Ne.getValue()||se==="")&&setTimeout(()=>{Ne.setValue(se||"")},300)},[Ne,se]),(0,b.useEffect)(()=>{if(He.current&&!Ne){const Re=Ue().fromTextArea(He.current,a({mode:he,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));dt(Re)}},[He.current,Ne]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:He}))}},4213:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return qt}});var b=re(59301),pe=re(89780),we=re.n(pe),Ae=re(76374),_e=re(39060),Ue=re(6313),De=re(25717),tt=re(99498),Oe=re(25419),Le=re(67549),ke=re(98573),Ge=({value:ze="",className:qe,showTextOnly:Qe,showLines:Tt,style:gn={}})=>{const Sn=(0,b.useMemo)(()=>"",[ze]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Sn}}))},Je=re(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(ze,qe,Qe)=>qe in ze?le(ze,qe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ze[qe]=Qe,ae=(ze,qe)=>{for(var Qe in qe||(qe={}))y.call(qe,Qe)&&te(ze,Qe,qe[Qe]);if(x)for(var Qe of x(qe))z.call(qe,Qe)&&te(ze,Qe,qe[Qe]);return ze},se=(ze,qe)=>E(ze,a(qe));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 he({onActionCallback:ze,title:qe,icon:Qe,actionName:Tt,className:gn="",children:Sn}){function ua(){ze(Tt)}return Je.createElement("a",{title:qe,className:gn,onClick:ua},Je.createElement("i",{className:`${Qe}`}),Sn)}var be=({watch:ze,showNullButton:qe,showNullProgramButton:Qe,onActionCallback:Tt,fullScreen:gn,insertTemp:Sn,hidetoolBar:ua,extraUse:Jn})=>{const In=[...ie,{title:`${ze?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ze?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Je.createElement("ul",{className:"markdown-toolbar-container"},!ua&&In.map(($n,Un)=>Je.createElement("li",{key:Un},$n.actionName?Je.createElement(he,se(ae({},$n),{onActionCallback:Tt})):Je.createElement("span",{className:"v-line"}))),qe?Je.createElement("li",null,Je.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Tt},Je.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Qe?Je.createElement(Je.Fragment,null,Je.createElement("li",null,Je.createElement(he,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Tt},Je.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Je.createElement("li",null,Je.createElement(he,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Tt},Je.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Sn&&Je.createElement("li",null,Je.createElement(he,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Sn}`,onActionCallback:Tt},Je.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Jn&&Je.createElement("li",null,Jn),Je.createElement("li",{className:"btn-full-screen"},Je.createElement(he,{icon:`${gn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:gn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Tt})))},He=re(51498),Ne=re(78241),dt=re(92832),Re=re(3113),Ke=Object.defineProperty,We=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,At=(ze,qe,Qe)=>qe in ze?Ke(ze,qe,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ze[qe]=Qe,mt=(ze,qe)=>{for(var Qe in qe||(qe={}))gt.call(qe,Qe)&&At(ze,Qe,qe[Qe]);if(xe)for(var Qe of xe(qe))lt.call(qe,Qe)&&At(ze,Qe,qe[Qe]);return ze},En=(ze,qe)=>We(ze,$e(qe));const sn={labelCol:{span:4},wrapperCol:{span:20}};var Gt=({callback:ze,onCancel:qe})=>{function Qe(Tt){ze(Tt)}return b.createElement(Ne.default,En(mt({},sn),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Qe,style:{width:500}}),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(dt.default,null)),b.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(dt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:qe},"\u53D6\u6D88")))},_t=re(41539),Te=re(35944),ot=re(43418),Rt=re(95237),pn=re(89837),bt=re(59301),dn=({callback:ze,onCancel:qe})=>{const Qe=document.createElement("canvas"),Tt=Qe.getContext("2d");Qe.width=1e3,Qe.height=800,Tt.fillStyle="#ffffff",Tt.fillRect(0,0,Qe.width,Qe.height);const gn=Qe.toDataURL("image/png");return bt.createElement(ot.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},bt.createElement(Rt.Z,{style:{height:"100vh"}},bt.createElement(pn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:gn,visible:!0,title:String(Date.now())},onOk:Sn=>{ze({src:Sn.url})},onClose:qe})))},Ce=re(12378);function it(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(it,go.CommandHandler),it.prototype.canAlignSelection=function(){var ze=this.diagram;return!(ze===null||ze.isReadOnly||ze.isModelReadOnly||ze.selection.count<2)},it.prototype.alignLeft=function(){var ze=this.diagram;ze.startTransaction("aligning left");var qe=1/0;ze.selection.each(function(Qe){Qe instanceof go.Link||(qe=Math.min(Qe.position.x,qe))}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(qe,Qe.position.y))}),ze.commitTransaction("aligning left")},it.prototype.alignRight=function(){var ze=this.diagram;ze.startTransaction("aligning right");var qe=-1/0;ze.selection.each(function(Qe){if(!(Qe instanceof go.Link)){var Tt=Qe.actualBounds.x+Qe.actualBounds.width;qe=Math.max(Tt,qe)}}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(qe-Qe.actualBounds.width,Qe.position.y))}),ze.commitTransaction("aligning right")},it.prototype.alignTop=function(){var ze=this.diagram;ze.startTransaction("alignTop");var qe=1/0;ze.selection.each(function(Qe){Qe instanceof go.Link||(qe=Math.min(Qe.position.y,qe))}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(Qe.position.x,qe))}),ze.commitTransaction("alignTop")},it.prototype.alignBottom=function(){var ze=this.diagram;ze.startTransaction("aligning bottom");var qe=-1/0;ze.selection.each(function(Qe){if(!(Qe instanceof go.Link)){var Tt=Qe.actualBounds.y+Qe.actualBounds.height;qe=Math.max(Tt,qe)}}),ze.selection.each(function(Qe){Qe instanceof go.Link||Qe.move(new go.Point(Qe.actualBounds.x,qe-Qe.actualBounds.height))}),ze.commitTransaction("aligning bottom")},it.prototype.alignCenterX=function(){var ze=this.diagram,qe=ze.selection.first();if(qe){ze.startTransaction("aligning Center X");var Qe=qe.actualBounds.x+qe.actualBounds.width/2;ze.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Qe-Tt.actualBounds.width/2,Tt.actualBounds.y))}),ze.commitTransaction("aligning Center X")}},it.prototype.alignCenterY=function(){var ze=this.diagram,qe=ze.selection.first();if(qe){ze.startTransaction("aligning Center Y");var Qe=qe.actualBounds.y+qe.actualBounds.height/2;ze.selection.each(function(Tt){Tt instanceof go.Link||Tt.move(new go.Point(Tt.actualBounds.x,Qe-Tt.actualBounds.height/2))}),ze.commitTransaction("aligning Center Y")}},it.prototype.alignColumn=function(ze){var qe=this.diagram;qe.startTransaction("align Column"),ze===void 0&&(ze=0),ze=parseFloat(ze);var Qe=new Array;qe.selection.each(function(Jn){Jn instanceof go.Link||Qe.push(Jn)});for(var Tt=0;Tt<Qe.length-1;Tt++){var gn=Qe[Tt],Sn=gn.actualBounds.y+gn.actualBounds.height+ze,ua=Qe[Tt+1];ua.move(new go.Point(gn.actualBounds.x,Sn))}qe.commitTransaction("align Column")},it.prototype.alignRow=function(ze){ze===void 0&&(ze=0),ze=parseFloat(ze);var qe=this.diagram;qe.startTransaction("align Row");var Qe=new Array;qe.selection.each(function(Jn){Jn instanceof go.Link||Qe.push(Jn)});for(var Tt=0;Tt<Qe.length-1;Tt++){var gn=Qe[Tt],Sn=gn.actualBounds.x+gn.actualBounds.width+ze,ua=Qe[Tt+1];ua.move(new go.Point(Sn,gn.actualBounds.y))}qe.commitTransaction("align Row")},it.prototype.canRotate=function(ze){var qe=this.diagram;return!(qe===null||qe.isReadOnly||qe.isModelReadOnly||qe.selection.count<1)},it.prototype.rotate=function(ze){ze===void 0&&(ze=90);var qe=this.diagram;qe.startTransaction("rotate "+ze.toString());var qe=this.diagram;qe.selection.each(function(Qe){Qe instanceof go.Link||Qe instanceof go.Group||(Qe.angle+=ze)}),qe.commitTransaction("rotate "+ze.toString())},it.prototype.pullToFront=function(){var ze=this.diagram;ze.startTransaction("pullToFront");var qe=new go.Map;ze.selection.each(function(Qe){qe.set(Qe.layer,0)}),qe.iteratorKeys.each(function(Qe){var Tt=0;Qe.parts.each(function(gn){if(!gn.isSelected){var Sn=gn.zOrder;isNaN(Sn)?gn.zOrder=0:Tt=Math.max(Tt,Sn)}}),qe.set(Qe,Tt)}),ze.selection.each(function(Qe){it._assignZOrder(Qe,qe.get(Qe.layer)+1)}),ze.commitTransaction("pullToFront")},it.prototype.pushToBack=function(){var ze=this.diagram;ze.startTransaction("pushToBack");var qe=new go.Map;ze.selection.each(function(Qe){qe.set(Qe.layer,0)}),qe.iteratorKeys.each(function(Qe){var Tt=0;Qe.parts.each(function(gn){if(!gn.isSelected){var Sn=gn.zOrder;isNaN(Sn)?gn.zOrder=0:Tt=Math.min(Tt,Sn)}}),qe.set(Qe,Tt)}),ze.selection.each(function(Qe){it._assignZOrder(Qe,qe.get(Qe.layer)-1-it._findGroupDepth(Qe))}),ze.commitTransaction("pushToBack")},it._assignZOrder=function(ze,qe,Qe){Qe===void 0&&(Qe=ze),ze.layer===Qe.layer&&(ze.zOrder=qe),ze instanceof go.Group&&ze.memberParts.each(function(Tt){it._assignZOrder(Tt,qe+1,Qe)})},it._findGroupDepth=function(ze){if(ze instanceof go.Group){var qe=0;return ze.memberParts.each(function(Qe){qe=Math.max(qe,it._findGroupDepth(Qe))}),qe+1}else return 0},it.prototype.doKeyDown=function(){var ze=this.diagram;if(ze!==null){var qe=ze.lastInput;if(qe.key==="Up"||qe.key==="Down"||qe.key==="Left"||qe.key==="Right"){var Qe=this.arrowKeyBehavior;if(Qe==="none")return;if(Qe==="select"){this._arrowKeySelect();return}else if(Qe==="move"){this._arrowKeyMove();return}else if(Qe==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},it.prototype._getAllParts=function(){var ze=new Array;return this.diagram.nodes.each(function(qe){ze.push(qe)}),this.diagram.parts.each(function(qe){ze.push(qe)}),ze},it.prototype._arrowKeyMove=function(){var ze=this.diagram,qe=ze.lastInput,Qe=0,Tt=0;if(qe.control||qe.meta)Qe=1,Tt=1;else if(ze.grid!==null){var gn=ze.grid.gridCellSize;Tt=gn.width,Qe=gn.height}ze.startTransaction("arrowKeyMove"),ze.selection.each(function(Sn){qe.key==="Up"?Sn.move(new go.Point(Sn.actualBounds.x,Sn.actualBounds.y-Qe)):qe.key==="Down"?Sn.move(new go.Point(Sn.actualBounds.x,Sn.actualBounds.y+Qe)):qe.key==="Left"?Sn.move(new go.Point(Sn.actualBounds.x-Tt,Sn.actualBounds.y)):qe.key==="Right"&&Sn.move(new go.Point(Sn.actualBounds.x+Tt,Sn.actualBounds.y))}),ze.commitTransaction("arrowKeyMove")},it.prototype._arrowKeySelect=function(){var ze=this.diagram,qe=ze.lastInput,Qe=null;qe.key==="Up"?Qe=this._findNearestPartTowards(270):qe.key==="Down"?Qe=this._findNearestPartTowards(90):qe.key==="Left"?Qe=this._findNearestPartTowards(180):qe.key==="Right"&&(Qe=this._findNearestPartTowards(0)),Qe!==null&&(qe.shift?Qe.isSelected=!0:qe.control||qe.meta?Qe.isSelected=!Qe.isSelected:ze.select(Qe))},it.prototype._findNearestPartTowards=function(ze){var qe=this.diagram.selection.first();if(qe===null)return null;for(var Qe=qe.actualBounds.center,Tt=this._getAllParts(),gn=1/0,Sn=qe,ua=0;ua<Tt.length;ua++){var Jn=Tt[ua];if(Jn!==qe&&Jn.canSelect()){var In=Jn.actualBounds.center,$n=Qe.directionPoint(In),Un=this._angleCloseness($n,ze);if(Un<=45){var Ut=Qe.distanceSquaredPoint(In);Ut*=1+Math.sin(Un*Math.PI/180),Ut<gn&&(gn=Ut,Sn=Jn)}}}return Sn},it.prototype._angleCloseness=function(ze,qe){return Math.min(Math.abs(qe-ze),Math.min(Math.abs(qe+360-ze),Math.abs(qe-360-ze)))},it.prototype._arrowKeyTree=function(){var ze=this.diagram,qe=ze.selection.first();if(qe instanceof go.Node){var Qe=ze.lastInput;if(Qe.key==="Right"){if(!qe.isTreeLeaf)if(!qe.isTreeExpanded)ze.commandHandler.canExpandTree(qe)&&ze.commandHandler.expandTree(qe);else{var Tt=this._sortTreeChildrenByY(qe).first();Tt!==null&&ze.select(Tt)}}else if(Qe.key==="Left")if(!qe.isTreeLeaf&&qe.isTreeExpanded)ze.commandHandler.canCollapseTree(qe)&&ze.commandHandler.collapseTree(qe);else{var gn=qe.findTreeParentNode();gn!==null&&ze.select(gn)}else if(Qe.key==="Up"){var gn=qe.findTreeParentNode();if(gn!==null){var Sn=this._sortTreeChildrenByY(gn),ua=Sn.indexOf(qe);if(ua>0){for(var Jn=Sn.elt(ua-1);Jn!==null&&Jn.isTreeExpanded&&!Jn.isTreeLeaf;){var In=this._sortTreeChildrenByY(Jn);Jn=In.last()}Jn!==null&&ze.select(Jn)}else ze.select(gn)}}else if(Qe.key==="Down")if(qe.isTreeExpanded&&!qe.isTreeLeaf){var Tt=this._sortTreeChildrenByY(qe).first();Tt!==null&&ze.select(Tt)}else for(;qe!==null;){var gn=qe.findTreeParentNode();if(gn===null)break;var Sn=this._sortTreeChildrenByY(gn),ua=Sn.indexOf(qe);if(ua<Sn.length-1){ze.select(Sn.elt(ua+1));break}else qe=gn}var $n=ze.selection.first();$n!==null&&ze.scrollToRect($n.actualBounds)}},it.prototype._sortTreeChildrenByY=function(ze){var qe=new go.List().addAll(ze.findTreeChildrenNodes());return qe.sort(function(Qe,Tt){var gn=Qe.location,Sn=Tt.location;return gn.y<Sn.y?-1:gn.y>Sn.y?1:gn.x<Sn.x?-1:gn.x>Sn.x?1:0}),qe},it.prototype.copyToClipboard=function(ze){go.CommandHandler.prototype.copyToClipboard.call(this,ze),this._lastPasteOffset.set(this.pasteOffset)},it.prototype.pasteFromClipboard=function(){var ze=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ze,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ze},Object.defineProperty(it.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ze){if(ze!=="move"&&ze!=="select"&&ze!=="scroll"&&ze!=="tree"&&ze!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ze);this._arrowKeyBehavior=ze}}),Object.defineProperty(it.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ze){if(!(ze instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ze);this._pasteOffset.set(ze)}});var Qt=it,nt=re(74042),ht=re(43604),Tn=re(52430),kt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},yt=re(59301),Pt=(ze,qe,Qe)=>new Promise((Tt,gn)=>{var Sn=In=>{try{Jn(Qe.next(In))}catch($n){gn($n)}},ua=In=>{try{Jn(Qe.throw(In))}catch($n){gn($n)}},Jn=In=>In.done?Tt(In.value):Promise.resolve(In.value).then(Sn,ua);Jn((Qe=Qe.apply(ze,qe)).next())});function Gn({onCancel:ze,callback:qe}){let Qe=(0,b.useRef)(),Tt=(0,b.useRef)(),gn=(0,b.useRef)(),Sn=(0,b.useRef)(!1);const ua=(0,b.useRef)(!1),[Jn,In]=(0,b.useState)(0);function $n(){const Ut=Ce.bx.make,Na={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"};Qe.current=new Ce.S0(Tt.current,{padding:20,grid:Ut(Ce.s_,"Grid",Ut(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:An=>{var ia=An.diagram.commandHandler.addTopLevelParts(An.diagram.selection,!0);ia||An.diagram.currentTool.doCancel()},commandHandler:Ut(Qt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:An=>{var ia=An.subject;ia.location=ia.location.copy().snapToGridPoint(An.diagram.grid.gridOrigin,An.diagram.grid.gridCellSize),setTimeout(()=>{An.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:An=>{var ia=An.subject;setTimeout(()=>{An.diagram.commandHandler.editTextBlock()})},LinkRelinked:An=>{var ia=An.parameter.part;ia.invalidateConnectedLinks();var Qn=An.subject;An.diagram.toolManager.linkingTool.isForwards?Qn.toNode.invalidateConnectedLinks():Qn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Qe.current.nodeTemplate=Ut(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),Ut(Ce.bn,{name:"SHAPE",fill:Na.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Ut(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ut(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Qe.current.nodeTemplate.toolTip=Ut("ToolTip",Ut(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},Ut(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),Ut(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function nr(An,ia){var Qn=(Hn,er)=>{Hn.handled=!0,Hn.diagram.model.commit(Pr=>{var hr=er.part.adornedPart,mr=new Ce.E9().setRectSpot(hr.actualBounds,An);mr.subtract(hr.location),mr.scale(2,2),mr.x+=Math.sign(mr.x)*130,mr.y+=Math.sign(mr.y)*130,mr.add(hr.location),mr.snapToGridPoint(Hn.diagram.grid.gridOrigin,Hn.diagram.grid.gridCellSize);var ja=Pr.copyNodeData(hr.data);Pr.setGroupKeyForNodeData(ja,Pr.getGroupKeyForNodeData(hr.data)),Pr.addNodeData(ja);var ho={from:hr.key,to:Pr.getKeyForNodeData(ja)};Pr.addLinkData(ho);var Po=Hn.diagram.findNodeForData(ja);Po.location=mr,Hn.diagram.select(Po),setTimeout(()=>{Hn.diagram.commandHandler.editTextBlock()},20)})};return Ut(Ce.bn,{figure:ia,alignment:An,alignmentFocus:An.opposite(),width:An.equals(Ce.z6.Top)||An.equals(Ce.z6.Bottom)?25:18,height:An.equals(Ce.z6.Top)||An.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:Na.white,strokeWidth:4,mouseEnter:(Hn,er)=>er.fill="dodgerblue",mouseLeave:(Hn,er)=>er.fill="orange",isActionable:!0,click:Qn,contextClick:Qn})}function uo(An){return Ut(Ce.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,Qn)=>Qn.fill="dodgerblue",mouseLeave:(ia,Qn)=>Qn.fill="orange",click:(ia,Qn)=>{ia.diagram.commandHandler.showContextMenu(Qn.part.adornedPart)}},An||{})}Qe.current.nodeTemplate.selectionAdornmentTemplate=Ut(Ce.uz,"Spot",Ut(Ce.Vm,{padding:10}),nr(Ce.z6.Top,"TriangleUp"),nr(Ce.z6.Left,"TriangleLeft"),nr(Ce.z6.Right,"TriangleRight"),nr(Ce.z6.Bottom,"TriangleDown"),uo({alignment:new Ce.z6(.75,0)}));function Wa(An,ia){return(Qn,Hn)=>{Qn.handled=!0,Qn.diagram.model.commit(er=>{er.set(Hn.part.adornedPart.data,An,ia)})}}function Vt(An,ia){return ia||(ia="color"),Ut(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:An,margin:1,background:"transparent",mouseEnter:(Qn,Hn)=>Hn.stroke="dodgerblue",mouseLeave:(Qn,Hn)=>Hn.stroke="lightgray",click:Wa(ia,An),contextClick:Wa(ia,An)})}function zr(){return[Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Vt(Na.white,"fill"),Vt(Na.beige,"fill"),Vt(Na.extralightblue,"fill"),Vt(Na.extralightred,"fill"))),Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Vt(Na.lightgray,"fill"),Vt(Na.lightgreen,"fill"),Vt(Na.lightblue,"fill"),Vt(Na.lightred,"fill")))]}function Aa(){return[Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Vt(Na.black),Vt(Na.green),Vt(Na.blue),Vt(Na.red))),Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Vt(Na.white),Vt(Na.magenta),Vt(Na.purple),Vt(Na.orange)))]}function dr(An,ia){return ia||(ia="thickness"),Ut(Ce.bn,"LineH",{width:16,height:16,strokeWidth:An,margin:1,background:"transparent",mouseEnter:(Qn,Hn)=>Hn.background="dodgerblue",mouseLeave:(Qn,Hn)=>Hn.background="transparent",click:Wa(ia,An),contextClick:Wa(ia,An)})}function or(An,ia){return ia||(ia="dash"),Ut(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:An,margin:1,background:"transparent",mouseEnter:(Qn,Hn)=>Hn.background="dodgerblue",mouseLeave:(Qn,Hn)=>Hn.background="transparent",click:Wa(ia,An),contextClick:Wa(ia,An)})}function Jr(){return[Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",dr(1),dr(2),dr(3),dr(4))),Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",or(null),or([2,4]),or([4,4])))]}function Br(An,ia){return ia||(ia="figure"),Ut(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:An,margin:1,background:"transparent",mouseEnter:(Qn,Hn)=>Hn.fill="dodgerblue",mouseLeave:(Qn,Hn)=>Hn.fill="lightgray",click:Wa(ia,An),contextClick:Wa(ia,An)})}Qe.current.nodeTemplate.contextMenu=Ut("ContextMenu",Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Br("Rectangle"),Br("RoundedRectangle"),Br("Ellipse"),Br("Diamond"))),Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Br("Parallelogram2"),Br("ManualOperation"),Br("Procedure"),Br("Cylinder1"))),Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Br("Terminator"),Br("CreateRequest"),Br("Document"),Br("TriangleDown"))),zr(),Aa(),Jr()),Qe.current.groupTemplate=Ut(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(An,ia)=>{var Qn=ia.addMembers(ia.diagram.selection,!0);Qn||ia.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Ut(Ce.s_,"Auto",{name:"BODY"},Ut(Ce.bn,{parameter1:10,fill:Na.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Ut(Ce.Vm,{background:"transparent",margin:20})),Ut(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),Qe.current.groupTemplate.selectionAdornmentTemplate=Ut(Ce.uz,"Spot",Ut(Ce.s_,"Auto",Ut(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ut(Ce.Vm,{margin:1.5})),uo({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Qe.current.groupTemplate.contextMenu=Ut("ContextMenu",zr(),Aa(),Jr()),Qe.current.linkTemplate=Ut(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",An=>An>=1?10:0),new Ce.KX("toShortLength","dir",An=>An>=1?10:0),new Ce.KX("points").makeTwoWay(),Ut(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Ut(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",An=>An===1)),Ut(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",An=>An>=1),new Ce.KX("width","thickness",An=>7+3*An),new Ce.KX("height","thickness",An=>7+3*An),new Ce.KX("segmentOffset","thickness",An=>new Ce.E9(-15,4+1.5*An))),Ut(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",An=>An===2),new Ce.KX("width","thickness",An=>7+3*An),new Ce.KX("height","thickness",An=>7+3*An),new Ce.KX("segmentOffset","thickness",An=>new Ce.E9(-15,4+1.5*An))),Ut(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Qe.current.linkTemplate.selectionAdornmentTemplate=Ut(Ce.uz,Ut(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ar(2)},new Ce.KX("pathPattern","thickness",ar)),uo({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function ar(An){return Ut(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(An+4).toString()+" H3"})}function cr(An){var ia="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return An===0?ia="M0 0 M16 16 M0 8 L16 8":An===2&&(ia="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ut(Ce.bn,{geometryString:ia,margin:2,background:"transparent",mouseEnter:(Qn,Hn)=>Hn.background="dodgerblue",mouseLeave:(Qn,Hn)=>Hn.background="transparent",click:Wa("dir",An),contextClick:Wa("dir",An)})}function ma(An){var ia=(Qn,Hn)=>{Qn.handled=!0,Qn.diagram.model.commit(er=>{var Pr=Hn.part.adornedPart;er.set(Pr.data,An?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(An?Pr.toNode:Pr.fromNode).invalidateConnectedLinks()})};return Ut(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Qn,Hn)=>Hn.background="dodgerblue",mouseLeave:(Qn,Hn)=>Hn.background="transparent",click:ia,contextClick:ia})}function an(An,ia){var Qn=0,Hn=Ce.z6.RightSide;An.equals(Ce.z6.Top)?(Qn=270,Hn=Ce.z6.TopSide):An.equals(Ce.z6.Left)?(Qn=180,Hn=Ce.z6.LeftSide):An.equals(Ce.z6.Bottom)&&(Qn=90,Hn=Ce.z6.BottomSide),ia||(Qn-=180);var er=(Pr,hr)=>{Pr.handled=!0,Pr.diagram.model.commit(mr=>{var ja=hr.part.adornedPart;mr.set(ja.data,ia?"toSpot":"fromSpot",Ce.z6.stringify(Hn)),(ia?ja.toNode:ja.fromNode).invalidateConnectedLinks()})};return Ut(Ce.bn,{alignment:An,alignmentFocus:An.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Qn,background:"transparent",mouseEnter:(Pr,hr)=>hr.background="dodgerblue",mouseLeave:(Pr,hr)=>hr.background="transparent",click:er,contextClick:er})}Qe.current.linkTemplate.contextMenu=Ut("ContextMenu",Aa(),Jr(),Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",cr(0),cr(1),cr(2))),Ut("ContextMenuButton",Ut(Ce.s_,"Horizontal",Ut(Ce.s_,"Spot",ma(!1),an(Ce.z6.Top,!1),an(Ce.z6.Left,!1),an(Ce.z6.Right,!1),an(Ce.z6.Bottom,!1)),Ut(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},ma(!0),an(Ce.z6.Top,!0),an(Ce.z6.Left,!0),an(Ce.z6.Right,!0),an(Ce.z6.Bottom,!0)))));const ir=`{ "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 Er=["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 Ar(An){return console.log("shapeName:",An),Er.indexOf(An)>=0}var Ka=new Ce.YI(gn.current,{maxSelectionCount:1,linkTemplate:Ut(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:Ut(Ce.uz,"Link",{locationSpot:Ce.z6.Center},Ut(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ut(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),Ut(Ce.bn,{isPanelMain:!0,strokeWidth:2}),Ut(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(An=>({text:"\u672A\u547D\u540D",size:"100 100",figure:An.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Qe.current.addDiagramListener("TextEdited",function(An){var ia;const Qn=An.subject.part;var Hn=(ia=document.activeElement)==null?void 0:ia.value;typeof Hn=="string"&&Hn.trim()===""&&Qe.current.model.commit(function(er){er.set(Qn.data,"text","\u672A\u547D\u540D"),Qe.current.commandHandler.stopCommand()},"increment")}),Ka.nodeTemplate=Ut(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Ut(Ce.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 Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),Ut(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{Qe.current.grid=Ut(Ce.s_,"Grid",Ut(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ut(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Qe.current.grid.visible=!0,Qe.current.grid.gridCellStroke="darkgray",Qe.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Qe.current,Qe.current}const Un=()=>Pt(this,null,function*(){var Ut=Qe.current.makeImage();const Na=yield(0,Tn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Ut.src}});qe({src:Na.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{$n()},500),In(Jn+1),()=>{Qe.current=null}),[]),yt.createElement("div",{ref:ua,className:Sn.current?`${kt.maxH60} body-overflow-initial`:"body-overflow-initial"},yt.createElement(ot.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Jn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:yt.createElement(Rt.Z,null,yt.createElement(ht.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),yt.createElement(ht.Z,{onClick:()=>{var Ut,Na,nr=Qe.current.selection.first();if(Sn.current=!Sn.current,document.activeElement&&nr){let uo=(Na=(Ut=document.activeElement)==null?void 0:Ut.value)==null?void 0:Na.trim();typeof uo=="string"&&Qe.current.model.commit(function(Wa){Wa.set(nr.data,"text",uo||"\u672A\u547D\u540D"),Qe.current.commandHandler.stopCommand()},"increment")}In(Jn+1)}},yt.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ze},yt.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:kt.flowChartWrp},yt.createElement("div",{style:{display:"flex",height:"100%"}},yt.createElement("div",{style:{width:"300px",height:"100%"}},yt.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),yt.createElement("div",{style:{height:"calc(100% - 50px)"},className:kt.myPaletteDiv,ref:gn})),yt.createElement("div",{style:{flex:1,position:"relative"}},yt.createElement("div",{ref:Tt,style:{height:"80vh"}}))),yt.createElement("div",{className:"tr"},yt.createElement(Re.ZP,{size:"large",onClick:Un,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Vn=Gn,rn=re(5112),ta=re(5871);const Sa=rn.ZP.Group,Kn={margin:"0 8px"};var Nn=({callback:ze,onCancel:qe})=>{function Qe(Tt){ze(Tt)}return b.createElement(Ne.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Qe},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:Kn},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:Kn},"\u884C\u6570"),b.createElement(Ne.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(ta.Z,null)),b.createElement("span",{style:Kn},"\u5217\u6570"),b.createElement(Ne.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(ta.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:Kn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ne.default.Item,{name:"align"},b.createElement(Sa,null,b.createElement(rn.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(rn.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(rn.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(rn.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Re.ZP,{type:"ghost",onClick:qe},"\u53D6\u6D88")))},ha=re(78673),Oa=re(84072),ka=re.n(Oa),Ua=(0,b.forwardRef)(({use3d:ze,width:qe,height:Qe,callback:Tt,showSaveButton:gn},Sn)=>{const ua=(0,b.useRef)(),Jn=(0,b.useRef)(),[In,$n]=(0,b.useState)(!1),Un=(0,b.useRef)({id:ua,appName:"graphing",width:qe||1e3,height:Qe||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)(()=>{Jn.current=new(ka())(Un.current,!0),window.onload=function(){Jn.current.inject("applet_container")}},[]);const Ut=()=>{var Na=window.ggbApplet.getPNGBase64(1,!0,72);return Tt&&Tt(Na),Na};return(0,b.useEffect)(()=>{Un.current.appName=In?"3D":"graphing",Jn.current.inject("applet_container")},[In]),(0,b.useEffect)(()=>{$n(ze)},[ze]),(0,b.useImperativeHandle)(Sn,()=>({getImgData:Ut})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ua}),b.createElement(Rt.Z,{align:"middle"},b.createElement(ht.Z,{flex:1},b.createElement(ha.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:In,onChange:Na=>$n(Na)})),b.createElement(ht.Z,null,b.createElement(Re.ZP,{size:"large",onClick:Ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Za=re(53267),ga=re(1012),Ra=re(8591);const qa="link",_n="upload-image",Pn="add-flowchart",jt="draw-image",on="add-flowchart",Ca="code-block",xa="add-table",Ta="------------",La={default:Ta,left:`:${Ta}`,center:`:${Ta}:`,right:`${Ta}:`};var za=re(47458),sr=(ze,qe,Qe)=>new Promise((Tt,gn)=>{var Sn=In=>{try{Jn(Qe.next(In))}catch($n){gn($n)}},ua=In=>{try{Jn(Qe.throw(In))}catch($n){gn($n)}},Jn=In=>In.done?Tt(In.value):Promise.resolve(In.value).then(Sn,ua);Jn((Qe=Qe.apply(ze,qe)).next())});function $a(){}let oa=0;const Mr=1e4,Nt="\u2581",Bn="@\u2581\u2581@",na="@\u2581@",pa=`
**\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`,Be=["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 at(ze){return/^\d+$/.test(ze)?`${ze}px`:ze}const Ct=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",St={[Ct+"-B"]:"bold",[Ct+"-I"]:"italic"},vn={[qa]:"\u6DFB\u52A0\u94FE\u63A5",[Ca]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[_n]:"\u6DFB\u52A0\u56FE\u7247",[jt]:"\u6DFB\u52A0\u753B\u56FE",[Pn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xa]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var qt=({defaultValue:ze="",onChange:qe,width:Qe="100%",height:Tt=400,miniToolbar:gn=!1,isFocus:Sn=!1,watch:ua,insertTemp:Jn,mode:In="markdown",id:$n="markdown-editor-id",showResizeBar:Un=!1,noStorage:Ut=!1,showNullButton:Na=!1,showNullProgramButton:nr=!1,hidetoolBar:uo=!1,fullScreen:Wa=!1,onBlur:Vt,onCMBeforeChange:zr,onFullScreen:Aa,className:dr="",disablePaste:or=!1,disabled:Jr=!1,disabledFill:Br=!1,placeholder:ar="",values:cr="",extraUse:ma})=>{const[an,ir]=(0,b.useState)(null),[Er,Ar]=(0,b.useState)(ze),[Ka,An]=(0,b.useState)(ua),[ia,Qn]=(0,b.useState)(Wa),[Hn,er]=(0,b.useState)(""),[Pr,hr]=(0,b.useState)(0),[mr,ja]=(0,b.useState)(Tt),[ho,Po]=(0,b.useState)(!1),Ci=(0,b.useRef)((0,ga.Z)()),yr=(0,b.useRef)(!1),Fr=(0,b.useRef)(),[mo,Xr]=(0,b.useState)(0),[fo,Vr]=(0,b.useState)(0),fr=(0,b.useRef)(),_r=(0,b.useRef)(),Go=(0,b.useRef)(),So=(0,b.useRef)(),Qa=()=>sr(void 0,null,function*(){var Zn;const nn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ci.current}});(Zn=nn==null?void 0:nn.attachments)!=null&&Zn.length&&(console.log("cm:",an,fr),nn.attachments.map(Yt=>{Yt.content_type.indexOf("image")>-1?an.replaceSelection(`![,](/api/attachments/${Yt.id}?type=${Yt.content_type})`):Yt.content_type.indexOf("video")>-1?an.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Yt.content_type.indexOf("pdf")>-1?an.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Yt.id}?type=${Yt.content_type}&disposition=inline" target="_blank">${Yt.name}</a>`):an.replaceSelection(`[${Yt.name}](${ENV.API_SERVER}/api/attachments/${Yt.id}?type=${Yt.content_type})`)}))});(0,b.useEffect)(()=>{const Zn=window.scrollY||window.pageYOffset;Ar(cr),an==null||an.setValue(cr),window.scrollTo(0,Zn)},[cr]),(0,b.useEffect)(()=>{Aa==null||Aa(ia)},[ia]),(0,b.useEffect)(()=>{if(fr.current){let Zn=function(Yt,bn){var Ba;if(or){bn.preventDefault();return}const vr=bn.clipboardData;if(vr){const to=vr.types.toString(),vo=vr.items;if(to==="Files"||vr.types.indexOf("Files")>-1){if(bn.preventDefault(),In=="stex")return;try{let Xo=vo[1];((Ba=vo[0])==null?void 0:Ba.kind)==="file"&&(Xo=vo[0]);const Co=Xo.getAsFile(),Oi=Co.name.split(".").pop();(0,Te.I)(Co,si=>{var el,ii,Ol;si.id?((el=Co==null?void 0:Co.type)==null?void 0:el.indexOf("image"))>-1?nn.replaceSelection(`<img width="100%" src="/api/attachments/${si.id}?type=${si.content_type})" alt="" />`):((ii=Co==null?void 0:Co.type)==null?void 0:ii.indexOf("video"))>-1?nn.replaceSelection(`<video width="100%" controls src="/api/attachments/${si.id}"></video>`):((Ol=Co==null?void 0:Co.type)==null?void 0:Ol.indexOf("pdf"))>-1?nn.replaceSelection(`<a href="/api/attachments/${si.id}?type=${Co.type}&disposition=inline" target="_blank">${Co.name}</a>`):Be.includes(Oi)?nn.replaceSelection(`<a href="/api/attachments/${si.id}?type=office&disposition=inline" target="_blank">${Co.name}</a>`):nn.replaceSelection(`[${Co.name}](/api/attachments/${si.id}?type=${si.content_type})`):(si==null?void 0:si.status)===401&&(Ra.ZP.warning((si==null?void 0:si.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Xo){Ra.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const nn=we().fromTextArea(fr.current,{mode:In,lineNumbers:!gn,lineWrapping:!0,value:ze,autoCloseTags:!nr,autoCloseBrackets:!0});return nn.on("keyup",function(Yt,bn){bn.keyCode===8&&(Yt.getValue()==""?nn.setOption("placeholder",ar):nn.setOption("placeholder",null))}),nn.on("keydown",function(Yt,bn){if(bn.keyCode===8){var Ba=Qo(Yt);Ba&&bn.preventDefault()}}),Sn&&nn.focus(),nn.on("paste",Zn),nn.on("dragleave",function(Yt,bn){_r.current.classList.remove("mouse-hover-md")}),Jr&&nn.on("beforeChange",function(Yt,bn){(bn.origin==="paste"||bn.origin==="+input")&&bn.cancel()}),ir(nn),()=>{nn.off("paste",Zn)}}},[]);const zo=(0,b.useCallback)(()=>{if(_r.current)try{}catch(Zn){console.log(Zn,"---- to set md editor body height")}},[mr,_r,ia]);(0,b.useEffect)(()=>{function Zn(){let nn=new Ae.Z(Yt=>{for(let bn of Yt)(bn.target.offsetHeight>0||bn.target.offsetWidth>0)&&(zo(),an.setSize("100%","100%"),an.refresh())});return nn.observe(fr.current.parentElement),nn}if(an){const nn=Zn();return()=>{var Yt,bn;(Yt=fr.current)!=null&&Yt.parentElement&&nn.unobserve((bn=fr.current)==null?void 0:bn.parentElement)}}},[an,zo]),(0,b.useEffect)(()=>{if(an){let Zn=[];for(const[nn,Yt]of Object.entries(St)){let bn={[nn]:()=>{oi(Yt)}};Zn.push(bn),an.addKeyMap(bn)}return Fr.current=setInterval(()=>{yr.current&&Qa()},4e3),()=>{clearInterval(Fr.current);for(let nn of Zn)an.removeKeyMap(nn)}}},[an]),(0,b.useEffect)(()=>{Wa!==ia&&Qn(Wa)},[Wa]),(0,za.Z)(()=>{if(!Ut&&Pr>0){let Zn=new Date().getTime(),nn=window.sessionStorage.getItem($n);Zn>=Pr+Mr&&(!nn||nn!==Er)&&(window.sessionStorage.setItem($n,Er),Po(!0))}},Mr),(0,b.useEffect)(()=>{An(ua)},[an,ua]),(0,b.useEffect)(()=>{an&&Sn&&an.focus()},[an,Sn]),(0,b.useEffect)(()=>{if(Ka&&an){let Zn=function(Yt){let bn=Yt.target;if(So.current){let Ba=bn.scrollTop/bn.scrollHeight;So.current.scrollTop=So.current.scrollHeight*Ba}};const nn=an.getScrollerElement();return nn.addEventListener("scroll",Zn),()=>{nn.removeEventListener("scroll",Zn)}}},[an,Ka]),(0,b.useEffect)(()=>{if(an&&zr){let Zn=function(nn,Yt){zr(nn,Yt)};return an.on("beforeChange",Zn),()=>{an.off("beforeChange",Zn)}}},[an,zr]),(0,b.useEffect)(()=>{if(an&&Vt){let Zn=function(){Vt(an.getValue())};return an.on("blur",Zn),()=>{an.off("blur",Zn)}}},[an,Vt]);function Qo(Zn,nn){var Yt=Zn.getDoc(),bn=Yt.getCursor(),Ba=Yt.getLine(bn.line),vr=Ba.charAt(bn.ch-1),to=Ba.lastIndexOf("@\u2581@",bn.ch),vo=Ba.lastIndexOf("@\u2581\u2581@",bn.ch),Xo=to>vo?to:vo,Co=to>vo?3:4;if(Bn.indexOf(vr)===-1)return null;if(console.log("change1:",nn,Zn,Ba,bn,Xo,to,vo,vr),Xo>=0&&bn.ch-Xo<5){var Oi=Xo+Co;return Yt.replaceRange("",{line:bn.line,ch:Xo},{line:bn.line,ch:Oi}),{line:bn.line,ch:Oi}}return null}(0,b.useEffect)(()=>{if(an){let Zn=function(nn,Yt){const bn=nn.getValue();Ar(bn),hr(new Date().getTime()),nn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),qe&&(nr?qe(bn,zn(bn)):qe(bn))};return an.on("change",Zn),()=>{an.off("change",Zn)}}},[an,qe]),(0,b.useEffect)(()=>{if(an)if(ze==null)an.setValue(""),Ar("");else{const Zn=window.scrollY||window.pageYOffset;ze!==an.getValue()&&(an.setValue(ze),Ar(ze),an.setCursor(Jr?1:an.lineCount(),0),window.scrollTo(0,Zn))}},[an,ze]);const oi=(0,b.useCallback)(Zn=>{const nn=an.getCursor(),Yt=an.getSelection();let bn=Yt.split(`
`);switch(Zn){case"bold":return an.replaceSelection("**"+Yt+"**"),Yt===""&&an.setCursor(nn.line,nn.ch+2),an.focus();case"italic":return an.replaceSelection("*"+Yt+"*"),Yt===""&&an.setCursor(nn.line,nn.ch+1),an.focus();case"code":return an.replaceSelection("`"+Yt+"`"),Yt===""&&an.setCursor(nn.line,nn.ch+1),an.focus();case"inline-latex":return er("inline-latex"),an.focus();case"latex":return an.replaceSelection("```latex\n"+Yt+"\n```"),an.setCursor(nn.line+1,Yt.length+1),an.focus();case"line-break":return an.replaceSelection(`<br/>
`),an.focus();case"list-ul":return Yt===""?an.replaceSelection("- "+Yt):an.replaceSelection(bn.map(Ba=>Ba===""?"":`- ${Ba}`).join(`
`)),an.focus();case"list-ol":return Yt===""?an.replaceSelection("1. "+Yt):an.replaceSelection(bn.map((Ba,vr)=>Ba===""?"":`${vr+1}. ${Ba}`).join(`
`)),an.focus();case"add-null-ch":return Yt===""&&an.setCursor(nn.line,nn.ch),an.replaceSelection(Nt),an.focus();case"add-signal":return Yt===""&&an.setCursor(nn.line,nn.ch),an.replaceSelection(na),an.focus();case"add-multiple":return Yt===""&&an.setCursor(nn.line,nn.ch),an.replaceSelection(Bn),an.focus();case"inster-template-1":return Yt===""&&an.setCursor(nn.line,nn.ch),an.replaceSelection(pa),an.focus();case"eraser":return an.setValue(""),an.focus();case"trigger-watch":return An(!Ka),an.focus();case"trigger-full-screen":return Qn(!ia),an.focus();case qa:er(qa);return;case Ca:er(Ca);return;case _n:er(_n);return;case jt:er(jt);return;case"maths-latex":er("maths-latex");return;case Pn:er(Pn);return;case xa:er(xa);return;default:throw new Error}},[an,Ka,ia]),Lr=(0,b.useCallback)((Zn,nn)=>{var Yt,bn,Ba,vr,to,vo;switch(er(""),Hn){case qa:const{title:el,link:ii}=Zn;return an.replaceSelection(`[${el}](${ii})`),an.focus();case Ca:const{language:Ol,content:ao}=Zn;return an.replaceSelection(["```"+Ol,ao,"```"].join(`
`)),an.focus();case"maths-latex":for(var Xo=atob(Zn),Co=new Uint8Array(Xo.length),Oi=0;Oi<Xo.length;Oi++)Co[Oi]=Xo.charCodeAt(Oi);var si=new Blob([Co],{type:"image/png"});(0,Te.I)(si,gi=>{gi.id?an.replaceSelection(`![,](/api/attachments/${gi.id}?type=${gi.content_type})`):(gi==null?void 0:gi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":an.replaceSelection("`$$"+Zn+"$$`");break;case _n:case jt:case on:const{src:Ha,alt:bo}=Zn,Nr=nn,Mi=(Ba=(bn=(Yt=Nr==null?void 0:Nr.name)==null?void 0:Yt.split("."))==null?void 0:bn.pop)==null?void 0:Ba.call(bn);return((vr=Nr==null?void 0:Nr.type)==null?void 0:vr.indexOf("image"))>-1||!(Nr!=null&&Nr.type)?Nr.align||Nr.width?an.replaceSelection(`<p style="text-align:${Nr.align||"initial"}"><img width="${Nr.width?Nr.width+"%":"initial"}" src="${Ha}" alt="${bo||""}" /></p>`):an.replaceSelection(`<img width="100%" src="${Ha}" alt="${bo||""}" />`):((to=Nr==null?void 0:Nr.type)==null?void 0:to.indexOf("video"))>-1?an.replaceSelection(`<video width="100%" controls src="${Ha}"></video>`):((vo=Nr==null?void 0:Nr.type)==null?void 0:vo.indexOf("pdf"))>-1?an.replaceSelection(`<a href="${Ha}?type=${Nr.type}&disposition=inline" target="_blank">${Nr.name}</a>`):Be.includes(Mi)?an.replaceSelection(`<a href="${Ha}?type=office&disposition=inline" target="_blank">${Nr.name}</a>`):an.replaceSelection(`[${Nr.name}](${Ha})`),an.focus();case xa:const{row:ci,col:Oo,align:Yo}=Zn;let li=`
`;for(let gi=0;gi<ci;gi++){let Fl=[],tl=[];for(let nl=0;nl<Oo;nl++)gi===1&&tl.push(La[Yo]),Fl.push(" ");gi===1&&(li+=`| ${tl.join(" | ")} |
`),li+=`| ${Fl.join(Oo===1?"":" | ")} |
`}return an.replaceSelection(li+`
`),an.focus();default:throw new Error}},[an,Hn]),ti=(0,b.useMemo)(()=>{switch(Hn){case qa:return b.createElement(Gt,{callback:Lr,onCancel:Se});case Ca:return b.createElement(_t.Z,{callback:Lr,onCancel:Se});case _n:return b.createElement(Te.Z,{callback:Lr,onCancel:Se});case Pn:return b.createElement(Vn,{callback:Lr,onCancel:Se});case xa:return b.createElement(Nn,{callback:Lr,onCancel:Se});case"maths-latex":return b.createElement(Ua,{showSaveButton:!0,callback:Lr});case"inline-latex":return b.createElement(Za.Z,{showSaveButton:!0,callback:Lr});default:return null}},[Hn]);function Se(){er("")}(0,b.useEffect)(()=>{if(Go.current){let Zn=function(to){Ba=!0,vr=to.pageY},nn=function(){Ba=!1},Yt=function(to){if(Ba){let vo=to.pageY-vr;vo<0&&(vo=0),vo>300&&(vo=300);let Xo=Tt+vo+"px";ja(Xo)}},bn=Go.current,Ba=!1,vr=0;return bn.addEventListener("mousedown",Zn),document.addEventListener("mousemove",Yt),document.addEventListener("mouseup",nn),()=>{bn.removeEventListener("mousedown",Zn),document.removeEventListener("mousemove",Yt),document.removeEventListener("mouseup",nn)}}},[an,Go]),(0,b.useEffect)(()=>{ja(Tt)},[Tt]);const xt=at(Qe),Jt=at(mr),yn={width:xt,height:Jt},Bt=(0,b.useMemo)(()=>{if(Pr){let Zn=new Date(Pr),nn=Zn.getHours(),Yt=Zn.getMinutes(),bn=Zn.getSeconds();return nn=nn<10?"0"+nn:nn,Yt=Yt<10?"0"+Yt:Yt,bn=bn<10?"0"+bn:bn,`${nn}:${Yt}:${bn}`}return 0},[Pr]),zn=Zn=>{const nn=[];if(nr){let Yt=-1;Zn=Zn.replace(/(@▁▁@|@▁@)/g,function(bn,Ba,vr){nn.push({multiLine:bn!==na})})}return nn};function Xn(){window.sessionStorage.removeItem($n),Po(!1),hr(0)}function hn(){Po(!1),hr(0),an.setValue(window.sessionStorage.getItem($n))}(0,b.useEffect)(()=>{vn[Hn]&&Hn!==jt&&Hn!==Pn&&setTimeout(()=>{const Zn=document.getElementsByClassName("markdown-popup-form")[0],nn=window.innerWidth/2-Zn.offsetWidth/2,Yt=window.innerHeight/2-Zn.offsetHeight/2;Xr(nn),Vr(Yt)},0)},[Hn]);const xn=Zn=>{Zn.preventDefault();const nn=Zn.clientX-mo,Yt=Zn.clientY-fo;document.body.onmousemove=bn=>{let Ba=bn.clientX-nn,vr=bn.clientY-Yt;const to=document.getElementsByClassName("markdown-popup-form")[0],vo=window.innerWidth-to.offsetWidth,Xo=window.innerHeight-to.offsetHeight;Ba=Math.max(0,Math.min(Ba,vo)),vr=Math.max(0,Math.min(vr,Xo)),Ga(bn.clientX,bn.clientY,nn,Yt)&&(Xr(Ba),Vr(vr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ga=(Zn,nn,Yt,bn)=>{const Ba=document.body.clientHeight,vr=document.body.clientWidth;return Zn<20&&Yt>Zn||Zn>vr-20&&Yt<Zn||nn<20&&bn>nn||nn>Ba-20&&bn<nn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:_r},b.createElement("div",{className:`markdown-editor-container ${dr} ${Ka?"on-preview":""} ${gn?"mini":""} ${ia?"full-screen":""}`,style:yn},b.createElement(be,{insertTemp:Jn,watch:Ka,fullScreen:ia,showNullButton:Na,showNullProgramButton:nr,onActionCallback:oi,hidetoolBar:uo,extraUse:ma}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:fr,placeholder:ar})),Ka?b.createElement("div",{ref:So,className:"preview-container"},In==="stex"&&b.createElement(Ge,{value:Er}),In!=="stex"&&b.createElement(ke.Z,{disabledFill:Br,showProgramFill:nr,value:Er})):null))),Un?b.createElement("a",{ref:Go,className:"editor-resize"}):null,Hn===jt&&b.createElement(dn,{callback:Lr,onCancel:Se}),Hn===Pn&&b.createElement(Vn,{callback:Lr,onCancel:Se}),b.createElement(He.Z,null,vn[Hn]&&Hn!==jt&&Hn!==Pn?b.createElement(ot.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:mo,top:fo},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:xn},vn[Hn]),open:!0,onCancel:Se,footer:null,destroyOnClose:!0,width:Hn===Pn?"1200px":null,height:Hn===Pn?"80vh":null,className:"markdown-popup-form"},ti):null))}},35944:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return he},I:function(){return He}});var b=re(78241),pe=re(8591),we=re(92832),Ae=re(81327),_e=re(5871),Ue=re(5112),De=re(3113),tt=re(77665),Oe=re(59301),Le=re(64681),ke=re(59301),Ge=Object.defineProperty,Je=Object.defineProperties,le=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(Ne,dt,Re)=>dt in Ne?Ge(Ne,dt,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Ne[dt]=Re,z=(Ne,dt)=>{for(var Re in dt||(dt={}))a.call(dt,Re)&&y(Ne,Re,dt[Re]);if(E)for(var Re of E(dt))x.call(dt,Re)&&y(Ne,Re,dt[Re]);return Ne},te=(Ne,dt)=>Je(Ne,le(dt));const{useForm:ae}=b.default,se={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var he=({callback:Ne,onCancel:dt})=>{const[Re]=ae();let Ke=(0,Oe.useRef)();function We(gt){Ke.current.width=Re.getFieldValue("width"),Ke.current.align=Re.getFieldValue("align"),Ne(gt,Ke.current)}function $e(gt,lt){if(gt.status===-1){pe.ZP.error(gt.message);return}Re.setFieldsValue({src:`/api/attachments/${gt.id}`,type:lt.type})}function xe(gt){let lt=gt.target.files[0];Ke.current=lt,He(lt,$e)}return ke.createElement(b.default,te(z({form:Re},ie),{className:"upload-image-panel",onFinish:We,style:{width:470,overflow:"hidden"}}),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ke.createElement("div",{className:"flex-container"},ke.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ke.createElement(we.default,{style:se})),ke.createElement(be,{onFileChange:xe}))),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ke.createElement(we.default,{style:{width:264}})),ke.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ke.createElement(Ae.Z,null,ke.createElement(b.default.Item,{name:"width",style:{margin:0}},ke.createElement(_e.Z,{style:{width:264}})),ke.createElement("span",{className:"ml8"},"%"))),ke.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ke.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"}]})),ke.createElement("aside",null,ke.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ke.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ke.createElement(De.ZP,{type:"default",onClick:dt},"\u53D6\u6D88"))))};function be({onFileChange:Ne}){return ke.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ke.createElement("input",{type:"file",onChange:Ne}))}function He(Ne,dt){if(!Ne)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Le.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",Ne),Re.append("file_param_name","editormd-image-file"),Re.append("byxhr","true");var Ke=new window.XMLHttpRequest;Ke.withCredentials=!0,Ke.addEventListener("load",function(We){dt(JSON.parse(We.target.responseText),Ne)},!1),Ke.addEventListener("error",function(We){console.error(We)},!1),Ke.open("POST",`${tt.KI}/api/attachments.json`),Ke.send(Re)}},51498:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return we}});var b=re(59301),pe=re(4676);class we extends b.Component{constructor(_e){super(_e);const Ue=window.document;this.node=Ue.createElement("div"),Ue.body.appendChild(this.node)}render(){const{children:_e}=this.props;return(0,pe.createPortal)(_e,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},36867:function(Et,Mt,re){"use strict";re.d(Mt,{i:function(){return se},Z:function(){return he}});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"},pe=re(71418),we=re(6848),Ae=re(92310),_e=re.n(Ae),Ue=re(89299),De=re(63604),tt=re(64681),Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXx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x64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",ae=re(59301);const se=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Oe,swimg:Le},{name:"101\u8BA1\u5212",ptimg:ke,swimg:Ge},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Je,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:te}];var he=({className:be,dataSource:He=[],col:Ne=4,right:dt,bottom:Re=23,precision:Ke=0,wrapWidth:We=1200,trackEventItems:$e,loading:xe,onRemove:gt=()=>{},isCurrent:lt=!0,showAlias:At=!1})=>{const mt=Math.floor((We-(Ne-1)*dt)/Ne),En=[{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(sn=>(window.ENV==="build"&&(sn.ptimg=`/react/build${sn.ptimg}`,sn.swimg=`/react/build${sn.swimg}`),sn));return ae.createElement(pe.Z,{spinning:xe},ae.createElement("div",{className:_e()(b.list,be)},!!(He!=null&&He.length)&&(He==null?void 0:He.map((sn,Gt)=>{var _t;const{name:Te,id:ot,identifier:Rt,featured:pn,school_name:bt,image_url:dn,excellent:Ce,is_plan:it}=sn;return ae.createElement("div",{key:ot,className:b.wrap,style:{width:mt,marginRight:(1+Gt)%Ne===0?0:dt+Ke,marginBottom:Re}},ae.createElement("a",{className:b.li,onClick:Qt=>{Qt.preventDefault(),Qt.stopPropagation(),$e&&(0,Ue.L9)([$e]),(0,Ue.xg)(`/paths/${Rt}`)}},ae.createElement("div",{className:b.img},ae.createElement("img",{className:b.cover,src:`${dn}`}),lt&&(0,tt.bg)()&&(sn==null?void 0:sn.studying)&&ae.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Qt=>{Qt.stopPropagation(),gt(sn)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_t=sn==null?void 0:sn.subject_tags)==null?void 0:_t.map((Qt,nt)=>{var ht,Tn;if(nt===0){const yt=(ht=En.find(Pt=>Pt.name==Qt))==null?void 0:ht.swimg;return ae.createElement("img",{className:b.sign,src:yt,style:{left:"-4px"}})}const kt=(Tn=En.find(yt=>yt.name==Qt))==null?void 0:Tn.ptimg;return ae.createElement("img",{className:b.sign,src:kt,style:{left:`${48+52*(nt-1)+2*nt}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(sn==null?void 0:sn.excellent)&&ae.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:b.name},ae.createElement(we.Z,{title:At&&(sn!=null&&sn.excellent_alias_name)?ae.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Te}`,ae.createElement("br",null),ae.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${sn==null?void 0:sn.excellent_alias_name}`)):Te},ae.createElement("span",{className:b.e},At&&(sn==null?void 0:sn.excellent_alias_name)||Te))),ae.createElement("div",{className:b.tags},ae.createElement("div",null,ae.createElement(we.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,sn.stages_count))),ae.createElement(we.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ae.createElement("span",null,sn.members_count)))))))})),!He.length&&ae.createElement(De.Z,null)))}},36433:function(Et,Mt,re){"use strict";re.d(Mt,{jL:function(){return _e},w9:function(){return sn},QD:function(){return Za},cQ:function(){return gt.Z},op:function(){return Nn},O5:function(){return pa},_b:function(){return jt},t7:function(){return y},Gi:function(){return pn},YG:function(){return ot},qp:function(){return ke},vr:function(){return qa},qE:function(){return ka},Je:function(){return ae},wb:function(){return xe},cq:function(){return nt},tp:function(){return le}});var b=re(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"},we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR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TDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",_e=({dataSource:Be=[],img:at,imgWidth:ct=346,title:Ct,sunTitle:St,bannerExtraContent:vn})=>b.createElement("div",{className:pe.banner},b.createElement("div",{className:pe.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Ct),b.createElement("span",null,St)),Be.length>0&&b.createElement("div",{className:pe.btns},Be.map((qt,ze)=>b.createElement("div",{key:ze,onClick:qt.click},qt.name,qt.sign?b.createElement("img",{src:we,width:39}):null))),vn),at&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:at,width:ct}))),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"},De=re(92310),tt=re.n(De),Oe=re(89392),ke=({dataSource:Be=[],value:at,onChange:ct,onTitleChange:Ct,className:St,title:vn,titleWidth:qt=41,style:ze={},fontColor:qe="#6A7283",showCount:Qe})=>{const[Tt,gn]=(0,b.useState)(0),[Sn,ua]=(0,b.useState)(!1),Jn=(0,b.useRef)(null),In=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var $n;Be.length!==0&&((($n=Jn==null?void 0:Jn.current)==null?void 0:$n.clientHeight)>97?gn(1):gn(0)),Be.length===0&&gn(0),ua(!1)},[Be]),b.createElement("div",{className:tt()(Ue.row,St),style:ze},b.createElement("div",{onClick:(0,Oe.throttle)(()=>Ct==null?void 0:Ct(),2e3),style:{width:qt,marginTop:Sn?12:4},className:`${Ue.title} ${Ct?"current":""}`},vn),b.createElement("div",{className:Sn?`${Ue.tagsWrap} ${Ue.tagsBorderWrap}`:Ue.tagsWrap},b.createElement("div",{className:Ue.bar,ref:In,style:Tt>0?{height:Tt===1?97:"auto",overflow:Tt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Ue.tag,ref:Jn},Be==null?void 0:Be.map($n=>b.createElement("span",{onClick:()=>ct($n.id),key:$n.id,style:{color:qe},className:at===$n.id?Ue.active:""},b.createElement("span",{title:$n.name,className:Ue.name},$n.name),!!Qe&&b.createElement("span",{className:Ue.num},$n.count))))),!!Tt&&b.createElement(b.Fragment,null,Tt===1?b.createElement("div",{onClick:()=>{var $n;gn(2),(($n=Jn==null?void 0:Jn.current)==null?void 0:$n.clientHeight)>245?ua(!0):ua(!1)},className:Ue.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{In.current.scrollTop=0,gn(1),ua(!1)},className:Ue.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},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"},le=({dataSource:Be=[],value:at,onChange:ct,className:Ct,style:St={}})=>b.createElement("div",{style:St,className:tt()(Ge.tabs,Ct)},Be.map(vn=>b.createElement("span",{onClick:()=>ct(vn.id),className:at===vn.id?Ge.active:"",key:vn.id},vn.name))),E={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"},a=re(92832),y=({dataSource:Be=[],value:at="",onChange:ct,onInputChange:Ct=()=>{},className:St,style:vn={},placeholder:qt,allowClear:ze=!1})=>{var qe;const[Qe,Tt]=(0,b.useState)(""),[gn,Sn]=(0,b.useState)("");(0,b.useEffect)(()=>{var In;let $n=at;(In=JSON.stringify(at))!=null&&In.includes("{")&&(Tt(at.id),$n=at.value||"");try{Sn(decodeURIComponent($n||""))}catch(Un){Sn(decodeURIComponent($n||""))}},[at]);const ua=()=>{ct(encodeURIComponent(gn),Qe||null)},Jn=In=>{In!==Qe&&(Tt(In),ct(encodeURIComponent(gn),In))};return b.createElement("div",{className:tt()(E.input,St),style:vn},!!Be.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(qe=Be.find(In=>In.id===Qe))==null?void 0:qe.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},Be.map((In,$n)=>b.createElement("div",{key:$n,onClick:()=>Jn(In.id)},In.name)))),b.createElement(a.default,{onPressEnter:ua,value:gn,onChange:In=>{Sn(In.target.value),Ct(encodeURIComponent(In.target.value),Qe||null)},bordered:!1,placeholder:qt}),b.createElement("i",{onClick:ua,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={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"},ae=({value:Be,onChange:at,className:ct,total:Ct,pageSize:St,style:vn={}})=>{const qt=Be<2,ze=Be>=Math.ceil(Ct/St);return Ct<=St?b.createElement(b.Fragment,null):b.createElement("div",{className:tt()(z.quickPager,ct),style:vn},b.createElement("div",{onClick:()=>{qt||at(Be-1,"prev")},className:qt?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{ze||at(Be+1,"next")},className:ze?z.disabled:""},"\u4E0B\u4E00\u9875"))},se={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"},ie=re(71418),he=re(6848),be=re(13570),He=re(13952),Ne=re(89299),dt=re(96908),Re=re(57177),Ke=re(81378),We=re(63604),xe=({className:Be,dataSource:at=[],col:ct=4,right:Ct,bottom:St=23,precision:vn=0,wrapWidth:qt=1200,trackEventItems:ze,loading:qe})=>{const Qe=Math.floor((qt-(ct-1)*Ct)/ct);return b.createElement(ie.Z,{spinning:qe},b.createElement("div",{className:tt()(se.list,Be)},!!at.length&&at.map((Tt,gn)=>{const{name:Sn,id:ua,identifier:Jn,power:In,cover_image_id:$n,pic:Un}=Tt;return b.createElement("div",{className:se.wrap,key:ua,style:{width:Qe,marginRight:(1+gn)%ct===0?0:Ct+vn,marginBottom:St}},b.createElement("a",{target:"_blank",href:`/shixuns/${Jn}/challenges`,className:se.li,onClick:Ut=>{Ut.preventDefault(),ze&&(0,Ne.L9)([ze]),In&&(0,Ne.xg)(`/shixuns/${Jn}/challenges`)}},b.createElement("div",{className:se.img},b.createElement("img",{className:se.cover,src:`${Un}`}),Tt.is_jupyter&&b.createElement("img",{className:se.sign,src:dt}),Tt.is_jupyter_lab&&b.createElement("img",{className:se.sign,src:Re}),Tt.is_unity_3d&&b.createElement("img",{className:se.sign,src:Ke})),b.createElement("div",{className:se.name},b.createElement(he.Z,{title:Sn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:se.e},Sn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:se.tags},b.createElement(he.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Tt.challenges_count))),!!Tt.myshixuns_count&&b.createElement(he.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,Tt.myshixuns_count))),b.createElement(he.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Tt.level))),b.createElement("div",{className:se.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Tt.score_info}),b.createElement("span",null,"\xA0",Tt.score_info?`${Tt.score_info}\u5206`:"5\u5206")))),!In&&b.createElement("div",{className:se.lockWrap},b.createElement("img",{src:`${He.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")))}),!at.length&&b.createElement(We.Z,null)))},gt=re(36867),lt={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"},At="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwpl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z23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mt=re(59301),sn=({className:Be,dataSource:at=[],col:ct=4,right:Ct,bottom:St=23,precision:vn=0,wrapWidth:qt=1200,trackEventItems:ze,loading:qe})=>{const Qe=Math.floor((qt-(ct-1)*Ct)/ct);return mt.createElement(ie.Z,{spinning:qe},mt.createElement("div",{className:tt()(lt.list,Be)},!!at.length&&at.map((Tt,gn)=>{const{subject_identifier:Sn,id:ua,identifier:Jn,power:In}=Tt,$n=Tt.is_public!=0&&Tt.is_public;return mt.createElement("div",{className:lt.wrap,key:ua,style:{width:Qe,marginRight:(1+gn)%ct===0?0:Ct+vn,marginBottom:St}},mt.createElement("a",{className:lt.li,onClick:Un=>{Un.preventDefault(),ze&&(0,Ne.L9)([ze]),(0,Ne.xg)(Tt.first_category_url)}},mt.createElement("div",{className:lt.top},mt.createElement(he.Z,{title:Tt.name},mt.createElement("div",{className:lt.name},Tt.name)),mt.createElement("img",{className:lt.img,src:He.Z.IMG_SERVER+"/images/"+Tt.avatar_url}),mt.createElement("div",{className:lt.text,title:Tt.creator},Tt.creator),Sn&&mt.createElement("div",{className:lt.btns},mt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),mt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),$n&&mt.createElement("div",{className:lt.sign},"\u516C\u5F00")),mt.createElement("div",{className:lt.bottom},Tt.visits>0&&mt.createElement(he.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-liulanyan"}),mt.createElement("span",null,Tt.visits))),Tt.course_members_count>0&&mt.createElement(he.Z,{title:"\u6210\u5458",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-chengyuan"}),Tt.course_members_count)),Tt.tasks_count>0&&mt.createElement(he.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-zuoye"}),Tt.tasks_count)),Tt.is_end?mt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):mt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Tt.is_accessible&&mt.createElement("div",{className:lt.lockWrap},mt.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),mt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&&mt.createElement(We.Z,null)))},Gt={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"},_t=re(44993),ot=({dataSource:Be=[],value:at,onChange:ct,className:Ct,style:St={},tabBarExtraContent:vn})=>b.createElement("div",{className:tt()(Gt.tabs,Ct),style:St},b.createElement("div",{className:Gt.tabsWrap},Be.map((qt,ze)=>b.createElement("aside",{className:Gt.tab,onClick:()=>{ct(qt.id),qt.link&&_t.history.push(qt.link)},key:ze},b.createElement("div",{className:at===qt.id?Gt.active:""},qt.name),(qt==null?void 0:qt.resetCount)==null&&(qt==null?void 0:qt.total)!==void 0&&b.createElement("span",null,"\uFF08",qt==null?void 0:qt.total,"\uFF09"),(qt==null?void 0:qt.resetCount)!==void 0&&(qt==null?void 0:qt.total)!==void 0&&b.createElement(he.Z,{title:(qt==null?void 0:qt.tip)!=null?qt==null?void 0:qt.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},qt==null?void 0:qt.resetCount),"/",b.createElement("span",null,qt==null?void 0:qt.total),"\uFF09"))))),b.createElement("div",{className:Gt.tabBar},vn)),pn=({className:Be,style:at={},children:ct})=>b.createElement("div",{className:tt()(Be),style:at},ct),bt={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"},dn=re(38854),Ce=re(20834);const it=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var nt=({sortValue:Be,dropValue:at,className:ct,onSort:Ct,onDrop:St,dataSource:vn=it})=>{var qt;return b.createElement("div",{className:tt()(bt.orderWrap,ct)},b.createElement(dn.Z,{dropdownRender:()=>b.createElement(Ce.default,null,vn.map((ze,qe)=>b.createElement(Ce.default.Item,{key:qe,onClick:()=>St(ze.id)},ze.name)))},b.createElement("span",{className:bt.orderTextWrap},(qt=vn.find(ze=>at===ze.id))==null?void 0:qt.name)),b.createElement("span",{className:bt.orderIconWrap},b.createElement("span",{className:bt.orderAsc},b.createElement("i",{className:Be==="asc"?`iconfont icon-sanjiaoxing-up font12 ${bt.cursorPointer} ${bt.active}`:`iconfont icon-sanjiaoxing-up font12 ${bt.cursorPointer}`,onClick:()=>Ct(Be==="asc"?"desc":"asc")})),b.createElement("span",{className:bt.orderDesc},b.createElement("i",{className:Be==="desc"?`iconfont icon-sanjiaoxing-down font12 ${bt.cursorPointer} ${bt.active}`:`iconfont icon-sanjiaoxing-down font12 ${bt.cursorPointer}`,onClick:()=>Ct(Be==="asc"?"desc":"asc")}))))},ht={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"},Tn=re(3113),kt=Object.defineProperty,yt=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Gn=Object.prototype.propertyIsEnumerable,Vn=(Be,at,ct)=>at in Be?kt(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Be[at]=ct,rn=(Be,at)=>{for(var ct in at||(at={}))Pt.call(at,ct)&&Vn(Be,ct,at[ct]);if(yt)for(var ct of yt(at))Gn.call(at,ct)&&Vn(Be,ct,at[ct]);return Be},ta=(Be,at)=>{var ct={};for(var Ct in Be)Pt.call(Be,Ct)&&at.indexOf(Ct)<0&&(ct[Ct]=Be[Ct]);if(Be!=null&&yt)for(var Ct of yt(Be))at.indexOf(Ct)<0&&Gn.call(Be,Ct)&&(ct[Ct]=Be[Ct]);return ct},Sa=(Be,at,ct)=>new Promise((Ct,St)=>{var vn=qe=>{try{ze(ct.next(qe))}catch(Qe){St(Qe)}},qt=qe=>{try{ze(ct.throw(qe))}catch(Qe){St(Qe)}},ze=qe=>qe.done?Ct(qe.value):Promise.resolve(qe.value).then(vn,qt);ze((ct=ct.apply(Be,at)).next())}),Nn=Be=>{var at=Be,{className:ct,style:Ct,children:St,loading:vn=!1,openLoading:qt,onClick:ze=()=>{},size:qe="middle",shape:Qe="round"}=at,Tt=ta(at,["className","style","children","loading","openLoading","onClick","size","shape"]);const[gn,Sn]=(0,b.useState)(!1);return b.createElement(Tn.ZP,rn({onClick:(0,Oe.throttle)(ua=>Sa(void 0,null,function*(){qt&&Sn(!0);try{yield ze(ua)}catch(Jn){console.log("error",Jn)}qt&&Sn(!1)}),2e3,{leading:!0,trailing:!1}),className:tt()(ht.btn,ht[`${qe}-${Qe}`],ct),style:Ct,size:qe,shape:Qe,loading:gn||vn},Tt),St)},ha={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"},ka=({className:Be,style:at,children:ct=null,onClick:Ct,title:St})=>b.createElement("div",{className:tt()(ha.head,Be),style:at},b.createElement("span",{className:"primary-hover",onClick:Ct},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:St},St),b.createElement("div",{className:ha.node},ct)),va={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"},Za=({confirmShow:Be=!0,confirmTitle:at,confirmClick:ct,cancelShow:Ct=!0,cancelTitle:St,cancelClick:vn,className:qt,style:ze,confirmLoading:qe=!1})=>b.createElement("div",{className:tt()(va.btns,qt),style:ze},Be&&b.createElement(Tn.ZP,{loading:qe,onClick:ct,type:"primary",className:va.confirm},at),Ct&&b.createElement(Tn.ZP,{onClick:vn,className:va.cancel},St)),ga={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"},qa=({className:Be,style:at={},LeftContent:ct,children:Ct,RightContent:St})=>b.createElement("div",{className:tt()(ga.fixedBottom,Be),style:at},b.createElement("div",{className:ga.wrap},b.createElement("div",{className:ga.left},ct),b.createElement("div",{className:ga.center},Ct),b.createElement("div",{className:ga.right},St))),_n={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"},jt=({className:Be,style:at={},dataSource:ct=[]})=>b.createElement("div",{className:tt()(_n.crumbs,Be),style:at},ct.map((Ct,St)=>St<ct.length-1?b.createElement(b.Fragment,{key:St},Ct.path||Ct.onClick?b.createElement("span",{className:_n.hover,onClick:Ct!=null&&Ct.onClick?Ct.onClick:()=>_t.history.push(Ct.path)},Ct.name):b.createElement("span",null,Ct.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:St,style:{color:"#5F6368"}},Ct.name))),on=re(31797),Ca=Object.defineProperty,xa=Object.defineProperties,Ta=Object.getOwnPropertyDescriptors,La=Object.getOwnPropertySymbols,za=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,$a=(Be,at,ct)=>at in Be?Ca(Be,at,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Be[at]=ct,oa=(Be,at)=>{for(var ct in at||(at={}))za.call(at,ct)&&$a(Be,ct,at[ct]);if(La)for(var ct of La(at))sr.call(at,ct)&&$a(Be,ct,at[ct]);return Be},Mr=(Be,at)=>xa(Be,Ta(at)),Nt=(Be,at)=>{var ct={};for(var Ct in Be)za.call(Be,Ct)&&at.indexOf(Ct)<0&&(ct[Ct]=Be[Ct]);if(Be!=null&&La)for(var Ct of La(Be))at.indexOf(Ct)<0&&sr.call(Be,Ct)&&(ct[Ct]=Be[Ct]);return ct};const{Countdown:Bn}=on.default;var pa=Be=>{var at=Be,{onChange:ct}=at,Ct=Nt(at,["onChange"]);const[St,vn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof St=="number"&&St>=0&&ct(St)},[St]);const qt=ze=>{const qe=Math.floor(ze/1e3);vn(qe)};return b.createElement(Bn,Mr(oa({},Ct),{onChange:qt}))}},47458:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return pe}});var b=re(59301);function pe(we,Ae){const _e=(0,b.useRef)();(0,b.useEffect)(()=>{_e.current=we}),(0,b.useEffect)(()=>{function Ue(){_e.current()}if(Ae!==null){let De=setInterval(Ue,Ae);return()=>clearInterval(De)}},[Ae])}},32230:function(Et,Mt,re){"use strict";re.r(Mt),re.d(Mt,{default:function(){return gu}});var b=re(59301),pe=re(44993),we=re(78241),Ae=re(8591),_e=re(66104),Ue=re(92832),De=re(19842),tt=re(24905),Oe=re(5112),Le=re(5871),ke=re(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=re(43418),le=re(5083),E=re(61186),a=re.n(E),x=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())});const y=({user:ue,dispatch:Ee,classroomList:Pe,onModalOk:ut,setsubloading:pt})=>{const kn=(0,pe.useParams)(),[mn,Wt]=(0,b.useState)(),[vt,tn]=(0,b.useState)(!1);function Fn(Ye){return Ye&&Ye<a()().subtract(1,"days")}return b.createElement(Je.default,{title:"\u6E29\u99A8\u63D0\u793A",afterClose:()=>{tn(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(vt){Ae.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}pt(!1),Ee({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",null,b.createElement("span",null,"EduCoder\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"),b.createElement("br",null),b.createElement(le.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:Fn,format:"YYYY-MM-DD HH:mm:ss",onChange:(Ye,Ft)=>{Wt(Ft)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(ke.ZP,{loading:vt,type:"primary",onClick:()=>x(void 0,null,function*(){tn(!0),ut(mn,()=>{Ee({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,pe.connect)(({user:ue,classroomList:Ee})=>({user:ue,classroomList:Ee}))(y),te=re(52430),ae=re(32134),se=re(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},he=re(57809),be=Object.defineProperty,He=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,Re=(ue,Ee,Pe)=>Ee in ue?be(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Ke=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ne.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);if(He)for(var Pe of He(Ee))dt.call(Ee,Pe)&&Re(ue,Pe,Ee[Pe]);return ue},We=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),xe=({setitem:ue,item:Ee,rz:Pe})=>{var ut,pt,kn,mn,Wt,vt,tn,Fn;let[Ye,Ft]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[$t]=we.default.useForm(),[Ln,Zt]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!Ln&&(Ye.zydatas=Pe,Ft(Ke({},Ye)),Zt(!0),Ee!=null&&Ee.ec_course_id&&Kt())},[Ee,Pe,Ln]),console.log(Ye,"params");function Kt(){return We(this,null,function*(){yield Xt(Ee==null?void 0:Ee.ec_major_school_id),yield fn(Ee==null?void 0:Ee.ec_year_id),yield la(Ee==null?void 0:Ee.ec_course_id),$t.setFieldsValue({ec_course_id:Ee==null?void 0:Ee.ec_course_id,ec_major_school_id:Ee==null?void 0:Ee.ec_major_school_id,ec_point_ids:Ee==null?void 0:Ee.ec_point_ids,ec_year_id:Ee==null?void 0:Ee.ec_year_id})})}function Xt(wt){return We(this,null,function*(){const Ea=yield(0,te.ZP)(`/api/ec_major_schools/${wt}/ec_years/get_year_list.json`,{method:"get"});Ye.jbdatas=Ea==null?void 0:Ea.data,Ft(Ke({},Ye)),$t.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function fn(wt){return We(this,null,function*(){const Ea=yield(0,te.ZP)(`/api/ec_years/${wt}/ec_courses/get_courses.json`,{method:"get"});Ye.kcdatas=Ea==null?void 0:Ea.data,Ft(Ke({},Ye)),$t.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const la=wt=>We(void 0,null,function*(){const Ea=yield(0,te.ZP)(`/api/ec_courses/${wt}/ec_points.json`,{method:"get",params:{ec_course_id:wt}});Ye.zsdatas=Ea==null?void 0:Ea.data,Ft(Ke({},Ye))});return b.createElement("div",{className:ie.from},b.createElement(we.default,{form:$t,layout:"inline",onValuesChange:wt=>{console.log("----",wt),wt.ec_major_school_id&&(Ye.jbdatas=[],Ye.kcdatas=[],Ye.zsdatas=[],Ft(Ke({},Ye)),Xt(wt.ec_major_school_id)),wt.ec_year_id&&(Ye.kcdatas=[],Ye.zsdatas=[],Ft(Ke({},Ye)),fn(wt.ec_year_id)),wt.ec_course_id&&(Ye.zsdatas=[],Ft(Ke({},Ye)),la(wt.ec_course_id))},onFinish:wt=>We(void 0,null,function*(){ue(wt)})},b.createElement(we.default.Item,{name:"ec_major_school_id"},b.createElement(he.default,{style:{width:160},disabled:((ut=Ye.zydatas)==null?void 0:ut.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(pt=Ye==null?void 0:Ye.zydatas)==null?void 0:pt.map((wt,Ea)=>b.createElement(he.default.Option,{key:Ea,value:wt==null?void 0:wt.ec_major_school_id},wt==null?void 0:wt.name)))),b.createElement(we.default.Item,{name:"ec_year_id"},b.createElement(he.default,{style:{width:160},disabled:((kn=Ye.jbdatas)==null?void 0:kn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(mn=Ye==null?void 0:Ye.jbdatas)==null?void 0:mn.map((wt,Ea)=>b.createElement(he.default.Option,{key:Ea,value:wt==null?void 0:wt.ec_year_id},wt==null?void 0:wt.year)))),b.createElement(we.default.Item,{name:"ec_course_id"},b.createElement(he.default,{style:{width:208},disabled:((Wt=Ye.kcdatas)==null?void 0:Wt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(vt=Ye==null?void 0:Ye.kcdatas)==null?void 0:vt.map((wt,Ea)=>b.createElement(he.default.Option,{key:Ea,value:wt==null?void 0:wt.id},wt==null?void 0:wt.name)))),b.createElement(we.default.Item,{name:"ec_point_ids"},b.createElement(he.default,{onChange:()=>{$t.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((tn=Ye.zsdatas)==null?void 0:tn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(Fn=Ye==null?void 0:Ye.zsdatas)==null?void 0:Fn.map((wt,Ea)=>b.createElement(he.default.Option,{key:Ea,value:wt==null?void 0:wt.id},wt==null?void 0:wt.name))))))},gt=Object.defineProperty,lt=Object.defineProperties,At=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,Gt=(ue,Ee,Pe)=>Ee in ue?gt(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,_t=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))En.call(Ee,Pe)&&Gt(ue,Pe,Ee[Pe]);if(mt)for(var Pe of mt(Ee))sn.call(Ee,Pe)&&Gt(ue,Pe,Ee[Pe]);return ue},Te=(ue,Ee)=>lt(ue,At(Ee)),ot=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())});const Rt=({user:ue,exercise_id:Ee=null,homework_common_id:Pe=null,setitem:ut})=>{var pt,kn,mn;let[Wt,vt]=(0,b.useState)([{id:Math.random()}]),[tn,Fn]=(0,b.useState)(null);function Ye(){return ot(this,null,function*(){var $t,Ln,Zt,Kt;let Xt=yield(0,te.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:Ee,homework_common_id:Pe}});if((($t=Xt==null?void 0:Xt.data)==null?void 0:$t.length)>0){let fn=[];(Ln=Xt==null?void 0:Xt.data)==null||Ln.map(la=>{var wt;(wt=la==null?void 0:la.ec_point_ids)==null||wt.map(Ea=>{fn.push(Ea)})}),ut(Te(_t({},(Zt=Xt==null?void 0:Xt.data)==null?void 0:Zt[0]),{ec_point_ids:fn})),vt((Kt=Xt==null?void 0:Xt.data)==null?void 0:Kt.map(la=>Te(_t({},la),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var $t,Ln;(Ln=($t=ue==null?void 0:ue.userInfo)==null?void 0:$t.course)!=null&&Ln.course_school_id&&Ft()},[(kn=(pt=ue==null?void 0:ue.userInfo)==null?void 0:pt.course)==null?void 0:kn.course_school_id]);function Ft(){return ot(this,null,function*(){var $t,Ln;const Zt=yield(0,te.ZP)(`/api/schools/${(Ln=($t=ue==null?void 0:ue.userInfo)==null?void 0:$t.course)==null?void 0:Ln.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});Fn(Zt==null?void 0:Zt.data),(Pe||Ee)&&Ye()})}return console.log(Wt,tn,"datas"),b.createElement("div",{style:{display:(mn=ue.userInfo.course)!=null&&mn.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},Wt==null?void 0:Wt.map(($t,Ln)=>b.createElement("div",{key:$t.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(xe,{rz:tn,item:$t,setitem:Zt=>{Zt=_t(_t({},Wt==null?void 0:Wt[Ln]),Zt),Wt.splice(Ln,1,Zt),vt([...Wt]);let Kt=[];Wt==null||Wt.map(Xt=>{var fn;(fn=Xt==null?void 0:Xt.ec_point_ids)==null||fn.map(la=>{Kt.push(la)})}),ut(Te(_t({},Zt),{ec_point_ids:Kt}))}}),b.createElement(ae.Z,{className:ie.addIcon,onClick:()=>{Wt.push({id:Math.random()}),vt([...Wt])}}),Ln!=0&&b.createElement(se.Z,{className:ie.deleteIcon,onClick:()=>{Wt.splice(Ln,1);let Zt=[];Wt==null||Wt.map(Kt=>{var Xt;(Xt=Kt==null?void 0:Kt.ec_point_ids)==null||Xt.map(fn=>{Zt.push(fn)})}),ut(Te(_t({},Wt[Ln-1]),{ec_point_ids:Zt})),vt([...Wt])}}))))))};var pn=(0,pe.connect)(({user:ue})=>({user:ue}))(Rt),bt=re(20834),dn=re(71418),Ce=re(38854),it=re(6848),Qt=re(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"},ht=re(89299),Tn=re(63604),kt=re(33329),yt=re(12921),Pt=re(98573),Gn=re(59301),Vn=Object.defineProperty,rn=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,ha=(ue,Ee,Pe)=>Ee in ue?Vn(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Oa=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Kn.call(Ee,Pe)&&ha(ue,Pe,Ee[Pe]);if(Sa)for(var Pe of Sa(Ee))Nn.call(Ee,Pe)&&ha(ue,Pe,Ee[Pe]);return ue},ka=(ue,Ee)=>rn(ue,ta(Ee)),va=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),Za=({Itemid:ue,setqitem:Ee,qitem:Pe,data:ut,getdata:pt,bigitem:kn,setBigqitem:mn,isedit:Wt,handleEditing:vt})=>{const[tn,Fn]=(0,b.useState)([]),[Ye,Ft]=(0,b.useState)(!1),$t=(Zt,Kt,Xt)=>{const fn=Array.from(Zt),[la]=fn.splice(Kt,1);return fn.splice(Xt,0,la),fn};(0,b.useEffect)(()=>{ut.length>0&&Fn([...ut])},[ut]);const Ln=(Zt,Kt)=>va(void 0,null,function*(){if(!Zt.destination)return;if(Wt){vt();return}const Xt=$t(Kt,Zt.source.index,Zt.destination.index);Ft(!0);let fn=yield(0,te.ZP)(`/api/exercises/${ue}/adjust_position.json`,{method:"post",body:{id:ue,question_ids:Xt==null?void 0:Xt.map(la=>la.question_id)}});Ft(!1),fn.status===0&&pt({id:Kt==null?void 0:Kt[Zt.source.index].question_id})});return Gn.createElement("div",null,Gn.createElement(yt.Z5,{onDragEnd:Zt=>Ln(Zt,tn)},Gn.createElement(yt.bK,{droppableId:"droppable"},(Zt,Kt)=>Gn.createElement("div",Oa({ref:Zt.innerRef},Zt.droppableProps),Gn.createElement(dn.Z,{spinning:Ye},tn.map((Xt,fn)=>Gn.createElement(yt._l,{key:fn,draggableId:fn.toString(),index:fn},(la,wt)=>{var Ea,Ir;return Gn.createElement("aside",Oa(Oa({ref:la.innerRef},la.draggableProps),la.dragHandleProps),Gn.createElement(it.Z,{title:Gn.createElement(Pt.Z,{value:(Xt==null?void 0:Xt.question_type)===8?(Ea=Xt==null?void 0:Xt.program_attr)==null?void 0:Ea.description:Xt.question_title}),color:"#fff",placement:"left",overlayClassName:nt.titleTooltip},Gn.createElement("div",{onClick:()=>{if(Wt){vt();return}Ee(ka(Oa({},Xt),{index:fn+1})),mn(kn),(0,ht.Vf)("#question-scroll-id")},className:`${nt.qcount} ${Xt.question_id===(Pe==null?void 0:Pe.question_id)?nt.qcountclick:""}`},Gn.createElement("span",{className:nt.score},Xt==null?void 0:Xt.question_score,"\u5206"),Gn.createElement("span",{className:nt.qtitle},fn+1,"\u3001",Gn.createElement(Pt.Z,{value:(Xt==null?void 0:Xt.question_type)===8?(Ir=Xt==null?void 0:Xt.program_attr)==null?void 0:Ir.description:Xt.question_title,showTextOnly:!0})))))}))),Zt.placeholder))))},ga=re(95237),Ra=re(40260),qa=re(78673),_n=re(61485),Pn=re(59592),jt=re(59301),on=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),xa=({form:ue,TagDiscipline:Ee,exerciseitem:Pe,qitem:ut,getTagData:pt})=>{var kn;const[mn,Wt]=(0,b.useState)(!0),[vt,tn]=(0,b.useState)(!1),[Fn,Ye]=(0,b.useState)(""),[Ft,$t]=(0,b.useState)([]),[Ln,Zt]=(0,b.useState)([]),[Kt,Xt]=(0,b.useState)(0);(0,b.useEffect)(()=>{la()},[]);const fn=wt=>on(void 0,null,function*(){const Ea=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:wt==null?void 0:wt.sub_discipline_id}});Zt(Ea==null?void 0:Ea.tag_disciplines)}),la=()=>on(void 0,null,function*(){const wt=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});$t(wt.disciplines||[]),ut!=null&&ut.sub_discipline_id&&fn(ut),Xt(ut!=null&&ut.sub_discipline_id?1:0),ue.setFieldsValue({difficulty:ut.difficulty||2,tag_discipline_ids:ut.tag_discipline_ids,repeat_answer:!ut.repeat_answer,sub_discipline_id:ut!=null&&ut.sub_discipline_id?[ut==null?void 0:ut.discipline_id,ut==null?void 0:ut.sub_discipline_id]:[]})});return jt.createElement("div",null,jt.createElement("div",{style:{marginTop:30,height:mn?"100%":"0px",overflow:"hidden"}},jt.createElement(we.default.Item,{className:nt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},jt.createElement(Oe.ZP.Group,{className:nt.radiogroup},jt.createElement(Oe.ZP.Button,{className:nt.easy,value:1},"\u7B80\u5355"),jt.createElement(Oe.ZP.Button,{className:nt.medium,value:2},"\u9002\u4E2D"),jt.createElement(Oe.ZP.Button,{className:nt.hard,value:3},"\u56F0\u96BE"))),jt.createElement(we.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:nt.formcenterselect},jt.createElement(De.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:(wt,Ea)=>{ue.setFieldsValue({sub_discipline_id:wt,tag_discipline_ids:[]}),Xt(wt?wt.length:0),(wt==null?void 0:wt.length)>0&&(fn({sub_discipline_id:wt[1]}),wt[1]==(ut==null?void 0:ut.sub_discipline_id)&&ue.setFieldValue("tag_discipline_ids",ut.tag_discipline_ids))},onClear:()=>{Zt([]),ue.setFieldValue("tag_discipline_ids",[]),Xt(0)}})),jt.createElement(we.default.Item,{className:nt.formcenterselect},jt.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},jt.createElement(we.default.Item,{name:"tag_discipline_ids"},jt.createElement(he.default,{className:nt.selectitems,disabled:Kt===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:(wt,Ea)=>Ea.key.indexOf(wt.toLowerCase())>=0},Ln==null?void 0:Ln.map(wt=>jt.createElement(he.default.Option,{key:wt.name+wt.id,value:wt.id},jt.createElement("div",{style:{display:"flex",alignItems:"center"}},jt.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},wt.name),(wt==null?void 0:wt.type)==="personal"&&jt.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),Kt>0&&jt.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},jt.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),jt.createElement("a",{onClick:()=>{tn(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),jt.createElement(we.default.Item,{className:nt.formcenterselect},jt.createElement("div",{style:{display:"flex",alignItems:"center"}},jt.createElement(we.default.Item,{name:"repeat_answer",valuePropName:"checked"},jt.createElement(qa.Z,null)),jt.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",jt.createElement(it.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"},jt.createElement(_n.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),jt.createElement(Pn.Z,{open:vt,subDisciplineId:(kn=ue.getFieldValue("sub_discipline_id"))==null?void 0:kn[1],onCancel:()=>{tn(!1)},onOkClick:wt=>{Zt(Ea=>[...Ea,wt]),ue.setFieldValue("tag_discipline_ids",[...ue.getFieldValue("tag_discipline_ids"),wt==null?void 0:wt.id])}}))},Ta=re(59301),La=Object.defineProperty,za=Object.defineProperties,sr=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,oa=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable,Nt=(ue,Ee,Pe)=>Ee in ue?La(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Bn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))oa.call(Ee,Pe)&&Nt(ue,Pe,Ee[Pe]);if($a)for(var Pe of $a(Ee))Mr.call(Ee,Pe)&&Nt(ue,Pe,Ee[Pe]);return ue},na=(ue,Ee)=>za(ue,sr(Ee)),pa=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),at=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:pt,deleteitem:kn,getTagData:mn,init:Wt,showTip:vt=!1})=>{var tn;const[Fn]=we.default.useForm();(0,b.useEffect)(()=>{var Ft;Fn.setFieldsValue(na(Bn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ft=ue==null?void 0:ue.question_choices)==null?void 0:Ft.map($t=>na(Bn({},$t),{standard_boolean:$t!=null&&$t.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)}))},[ue]);const Ye=Ft=>{if(!(Ft!=null&&Ft.length))return!1;const $t=Ft.map(Zt=>{var Kt;return(Kt=Zt.choice_text)==null?void 0:Kt.trim().replace(/^\s+|\s+$/g,"")});return new Set($t).size!==$t.length};return Ta.createElement("div",null,Ta.createElement(we.default,{form:Fn,colon:!1,onFinish:Ft=>{var $t,Ln,Zt,Kt,Xt;if(Ye(Ft.choices)){Ae.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let fn=(Ln=($t=Ft==null?void 0:Ft.choices)==null?void 0:$t.map)==null?void 0:Ln.call($t,(wt,Ea)=>{if((wt==null?void 0:wt.standard_boolean)===1)return Ea+1}),la=na(Bn({},Ft),{item_type:ue==null?void 0:ue.question_type,question_choices:(Kt=(Zt=Ft==null?void 0:Ft.choices)==null?void 0:Zt.map)==null?void 0:Kt.call(Zt,wt=>wt.choice_text),standard_answers:fn.filter(wt=>wt),choices:(Xt=Ft==null?void 0:Ft.choices)==null?void 0:Xt.map(wt=>na(Bn({},wt),{is_answer:wt.standard_boolean}))});pt(Bn(Bn({},ue),la))},onFinishFailed:Ft=>pa(void 0,null,function*(){var $t,Ln;Ae.ZP.error(Ft.errorFields[0].errors[0]),Fn.scrollToField((Ln=($t=Ft==null?void 0:Ft.errorFields)==null?void 0:$t[0])==null?void 0:Ln.name,{behavior:"smooth",block:"center"})})},Ta.createElement("div",{style:{display:"flex",alignItems:"center"}},Ta.createElement("div",{style:{flex:1}},Ta.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ta.createElement("span",null,(ue==null?void 0:ue.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((tn=ut==null?void 0:ut.exercise)==null?void 0:tn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ta.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{kn()}},Ta.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ta.createElement(ke.ZP,{onClick:()=>{var Ft;ue.isadd?(Ee(!1),Wt()):(Fn.setFieldsValue(na(Bn({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ft=ue==null?void 0:ue.question_choices)==null?void 0:Ft.map($t=>na(Bn({},$t),{standard_boolean:$t!=null&&$t.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),Ta.createElement(it.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ta.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ta.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")},Ta.createElement(ke.ZP,{type:"primary",className:"ml20",onClick:()=>pa(void 0,null,function*(){Fn.submit()})},"\u4FDD\u5B58"))),Ta.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ta.createElement(ga.Z,{align:"middle"},Ta.createElement(we.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Ta.createElement(Le.Z,{onBlur:Ft=>{Ft.target.value==="0"&&Ae.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}))),Ta.createElement(Ra.u,{form:Fn,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"}),Ta.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:Fn}))))},ct=re(95062),Ct=re(20135),St=re(59301),vn=Object.defineProperty,qt=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,gn=(ue,Ee,Pe)=>Ee in ue?vn(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Sn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Qe.call(Ee,Pe)&&gn(ue,Pe,Ee[Pe]);if(qe)for(var Pe of qe(Ee))Tt.call(Ee,Pe)&&gn(ue,Pe,Ee[Pe]);return ue},ua=(ue,Ee)=>qt(ue,ze(Ee)),Jn=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),$n=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:ut,seveeditor:pt,deleteitem:kn,getTagData:mn,init:Wt,showTip:vt=!1})=>{var tn;const[Fn]=we.default.useForm(),Ye=we.default.useWatch("use_blank_score",Fn);return(0,b.useEffect)(()=>{Fn.setFieldsValue(ua(Sn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer}))},[ue]),St.createElement("div",null,St.createElement(we.default,{form:Fn,colon:!1,onValuesChange:(Ft,$t)=>{var Ln,Zt,Kt,Xt;if(Ft!=null&&Ft.standard_answers||Ft!=null&&Ft.use_blank_score){let fn=((Ln=Fn.getFieldValue("standard_answers"))==null?void 0:Ln.length)>0&&((Kt=(Zt=Fn.getFieldValue("standard_answers"))==null?void 0:Zt.map(la=>la.score))==null?void 0:Kt.filter(la=>la));(fn==null?void 0:fn.length)>0&&Fn.setFieldsValue({question_score:(fn==null?void 0:fn.length)>0&&((Xt=fn.reduce((la,wt)=>la+wt))==null?void 0:Xt.toFixed(1))})}},onFinish:Ft=>{pt(ua(Sn(Sn({},ue),Ft),{item_type:ue==null?void 0:ue.question_type,standard_answers:Ft.standard_answers,question_title:Ft.name}))},onFinishFailed:Ft=>Jn(void 0,null,function*(){var $t,Ln;Ft.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,ht.pE)(),Ae.ZP.error(Ft.errorFields[0].errors[0]),Fn.scrollToField((Ln=($t=Ft==null?void 0:Ft.errorFields)==null?void 0:$t[0])==null?void 0:Ln.name,{behavior:"smooth",block:"center"})})},St.createElement("div",{style:{display:"flex",alignItems:"center"}},St.createElement("div",{style:{flex:1}},St.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),St.createElement("span",null,"\u586B\u7A7A\u9898")),((tn=Pe==null?void 0:Pe.exercise)==null?void 0:tn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&St.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{kn()}},St.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),St.createElement(ke.ZP,{onClick:()=>{ue.isadd?(ut(!1),Wt()):(Fn.setFieldsValue(ua(Sn({},ue),{standard_answers:ue.standard_answers||[],name:ue.question_title,repeat_answer:!ue.repeat_answer})),ut(!1))}},"\u53D6\u6D88"),St.createElement(it.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:St.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},St.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")},St.createElement(ke.ZP,{type:"primary",className:"ml20",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),St.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},St.createElement(ga.Z,{align:"middle"},Ye?St.createElement(Ct.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):St.createElement(we.default.Item,{key:2,className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},St.createElement(Le.Z,{onBlur:Ft=>{Ft.target.value==="0"&&Ae.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})),St.createElement(we.default.Item,{name:"use_blank_score",noStyle:!0},St.createElement(Oe.ZP.Group,{className:nt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),St.createElement(it.Z,{overlayInnerStyle:{width:460},title:St.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",St.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")},St.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),St.createElement(ct.u,{form:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ye,answerKey:"standard_answers"}),St.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Fn}))))},Un=re(42784),Ut=re(59301),Na=Object.defineProperty,nr=Object.defineProperties,uo=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,Aa=(ue,Ee,Pe)=>Ee in ue?Na(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,dr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Vt.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);if(Wa)for(var Pe of Wa(Ee))zr.call(Ee,Pe)&&Aa(ue,Pe,Ee[Pe]);return ue},or=(ue,Ee)=>nr(ue,uo(Ee)),Jr=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),ar=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:pt,deleteitem:kn,getTagData:mn,init:Wt,showTip:vt=!1})=>{var tn;const[Fn]=we.default.useForm();return(0,b.useEffect)(()=>{var Ye;Fn.setFieldsValue(or(dr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map(Ft=>or(dr({},Ft),{is_answer:Ft!=null&&Ft.standard_boolean?1:0}))}))},[ue]),Ut.createElement("div",null,Ut.createElement(we.default,{form:Fn,colon:!1,onFinish:Ye=>{var Ft,$t,Ln,Zt;let Kt=($t=(Ft=Ye==null?void 0:Ye.choices)==null?void 0:Ft.map)==null?void 0:$t.call(Ft,(Xt,fn)=>{if((Xt==null?void 0:Xt.is_answer)===1)return fn+1});pt(or(dr(dr({},ue),Ye),{question_title:Ye.name,standard_answers:Kt.filter(Xt=>Xt),question_choices:(Zt=(Ln=Ye==null?void 0:Ye.choices)==null?void 0:Ln.map)==null?void 0:Zt.call(Ln,Xt=>Xt.choice_text)}))},onFinishFailed:Ye=>Jr(void 0,null,function*(){var Ft,$t;Ae.ZP.error(Ye.errorFields[0].errors[0]),Fn.scrollToField(($t=(Ft=Ye==null?void 0:Ye.errorFields)==null?void 0:Ft[0])==null?void 0:$t.name,{behavior:"smooth",block:"center"})})},Ut.createElement("div",{style:{display:"flex",alignItems:"center"}},Ut.createElement("div",{style:{flex:1}},Ut.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ut.createElement("span",null,"\u5224\u65AD\u9898")),((tn=ut==null?void 0:ut.exercise)==null?void 0:tn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ut.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{kn()}},Ut.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ut.createElement(ke.ZP,{onClick:()=>{var Ye;ue.isadd?(Ee(!1),Wt()):(Fn.setFieldsValue(or(dr({},ue),{name:ue.question_title,repeat_answer:!ue.repeat_answer,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map(Ft=>or(dr({},Ft),{is_answer:Ft!=null&&Ft.standard_boolean?1:0}))})),Ee(!1))}},"\u53D6\u6D88"),Ut.createElement(it.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ut.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ut.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")},Ut.createElement(ke.ZP,{type:"primary",className:"ml20",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),Ut.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ut.createElement(we.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Ut.createElement(Le.Z,{onBlur:Ye=>{Ye.target.value==="0"&&Ae.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})),Ut.createElement(Un.Z,{form:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Ut.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:Fn}))))},cr=re(36381),ma={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"},an=re(4213),ir=Object.defineProperty,Er=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,Ka=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,ia=Object.prototype.propertyIsEnumerable,Qn=(ue,Ee,Pe)=>Ee in ue?ir(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Hn=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))An.call(Ee,Pe)&&Qn(ue,Pe,Ee[Pe]);if(Ka)for(var Pe of Ka(Ee))ia.call(Ee,Pe)&&Qn(ue,Pe,Ee[Pe]);return ue},er=(ue,Ee)=>Er(ue,Ar(Ee)),Pr=(ue,Ee)=>{var Pe={};for(var ut in ue)An.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Ka)for(var ut of Ka(ue))Ee.indexOf(ut)<0&&ia.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const hr=ue=>{var Ee=ue,{value:Pe,onChange:ut,scrollId:pt}=Ee,kn=Pr(Ee,["value","onChange","scrollId"]);return b.createElement("div",{id:pt||""},b.createElement(an.Z,er(Hn({},kn),{defaultValue:Pe,onChange:(mn,Wt)=>{console.log("a:",mn,Wt),Wt!=null&&Wt.length?ut(mn,Wt):ut(mn)}})))},mr=({value:ue,onChange:Ee,placeholder:Pe,height:ut=140,isEdit:pt})=>pt?b.createElement(an.Z,{watch:!0,isFocus:!0,height:ut,placeholder:Pe,defaultValue:ue,onChange:Ee}):b.createElement("div",{style:{cursor:"pointer"}},ue?b.createElement(Pt.Z,{className:ma.inputBorder,value:ue}):b.createElement("div",{className:`${ma.inputBorder} ${ma.placeholder}`},Pe));var ja=re(43604),ho=Object.defineProperty,Po=Object.defineProperties,Ci=Object.getOwnPropertyDescriptors,yr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,Xr=(ue,Ee,Pe)=>Ee in ue?ho(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,fo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Fr.call(Ee,Pe)&&Xr(ue,Pe,Ee[Pe]);if(yr)for(var Pe of yr(Ee))mo.call(Ee,Pe)&&Xr(ue,Pe,Ee[Pe]);return ue},Vr=(ue,Ee)=>Po(ue,Ci(Ee)),fr=(ue,Ee)=>{var Pe={};for(var ut in ue)Fr.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&yr)for(var ut of yr(ue))Ee.indexOf(ut)<0&&mo.call(ue,ut)&&(Pe[ut]=ue[ut]);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"],Go=({value:ue,onChange:Ee,choiceTextKey:Pe,answerKey:ut,index:pt,isEdit:kn,setInputActive:mn,form:Wt,choiceOptionsPath:vt,allowChangeMode:tn,showAddIcon:Fn,addItem:Ye,deleteItem:Ft})=>{const $t=(ue==null?void 0:ue[ut])===1,Ln=()=>{const Kt=Wt.getFieldValue(vt);Wt.setFieldValue(vt,Kt.map(Xt=>Vr(fo({},Xt),{[ut]:0})))},Zt=()=>{$t?Ee(Vr(fo({},ue),{[ut]:0})):(tn||Ln(),Ee(Vr(fo({},ue),{[ut]:1})))};return b.createElement(ga.Z,{className:ma.choiceWrap,align:"middle",wrap:!1},b.createElement(ja.Z,{onClick:Zt,className:`${ma.choiceIndex} ${$t?ma.activeAnswer:""}`},_r[pt]),b.createElement(ja.Z,{flex:1,className:`${ma.editorWrap} ml15`,onClick:mn},b.createElement(mr,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:kn,value:ue==null?void 0:ue[Pe],onChange:Kt=>{Ee(Vr(fo({},ue),{[Pe]:Kt}))}})),b.createElement(ja.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Zt,className:`${ma.setAnswerBtn} ${$t?ma.activeAnswer:""}`},$t?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(ja.Z,{className:ma.actionWrapper},b.createElement(it.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(ae.Z,{className:ma.addIcon,onClick:Ye,style:{visibility:Fn?"visible":"hidden"}})),b.createElement(it.Z,{title:"\u5220\u9664"},b.createElement(se.Z,{className:ma.deleteIcon,onClick:Ft,style:{visibility:pt>1?"visible":"hidden"}}))))},So=({questionTitlePlaceholder:ue,titleKey:Ee,choiceKey:Pe,analysisKey:ut,choiceTextKey:pt,answerKey:kn,choiceOptionsPath:mn,allowChangeMode:Wt=!0,form:vt,showAnalysis:tn=!0})=>{const[Fn,Ye]=(0,b.useState)(),[Ft,$t]=(0,b.useState)(!1);return b.createElement("div",{className:ma.wrap},b.createElement("div",{className:ma.questionTitleEditorWrap},b.createElement(we.default.Item,{label:"\u9898\u5E72",name:Ee,labelCol:{span:24},rules:[{required:!0}]},b.createElement(hr,{scrollId:Array.isArray(Ee)?Ee.join("_"):`${Ee}`,watch:!0,height:140,placeholder:ue}))),b.createElement(we.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(we.default.List,{name:Pe,rules:[{validator(Ln,Zt){const Kt=Zt.some(fn=>fn[kn]===1),Xt=Zt.findIndex(fn=>{var la;return((la=fn[pt])==null?void 0:la.length)<=0});return Xt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${_r[Xt]}\u9009\u9879\u7684\u5185\u5BB9`)):Kt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Ln,{add:Zt,remove:Kt})=>b.createElement("div",{id:Array.isArray(mn)?mn.join("_"):`${mn}`},Ln.map((Xt,fn)=>{var la=Xt,{key:wt,name:Ea}=la,Ir=fr(la,["key","name"]);const Tr=Fn===wt,rr=()=>{Ye(wt)},Lo=fn<7&&fn===Ln.length-1,ra=()=>Zt({[pt]:"",[kn]:0}),Or=()=>Kt(Ea);return b.createElement(we.default.Item,Vr(fo({},Ir),{key:wt,name:Ea,noStyle:!0}),b.createElement(Go,{choiceTextKey:pt,answerKey:kn,index:fn,isEdit:Tr,setInputActive:rr,form:vt,choiceOptionsPath:mn,allowChangeMode:Wt,showAddIcon:Lo,addItem:ra,deleteItem:Or}))}),Ln.length<8&&b.createElement("div",{className:`${ma.addBtn} mb30`,onClick:()=>Zt({[pt]:"",[kn]:0})},"\u6DFB\u52A0\u9009\u9879"))),tn&&b.createElement("div",{onClick:()=>$t(!0)},b.createElement(we.default.Item,{name:ut,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(mr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ft}))))};var Qa=re(59301),zo=Object.defineProperty,Qo=Object.defineProperties,oi=Object.getOwnPropertyDescriptors,Lr=Object.getOwnPropertySymbols,ti=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,xt=(ue,Ee,Pe)=>Ee in ue?zo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Jt=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ti.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);if(Lr)for(var Pe of Lr(Ee))Se.call(Ee,Pe)&&xt(ue,Pe,Ee[Pe]);return ue},yn=(ue,Ee)=>Qo(ue,oi(Ee)),Bt=(ue,Ee)=>{var Pe={};for(var ut in ue)ti.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Lr)for(var ut of Lr(ue))Ee.indexOf(ut)<0&&Se.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const zn=({value:ue,onChange:Ee})=>{const Pe=pt=>{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:ma.modal,onOk:()=>{const kn=[...ue];kn.splice(pt,1),Ee(kn)}})},ut=()=>{const pt=[...ue];pt.push(""),Ee(pt)};return Qa.createElement(ga.Z,{className:"ml20"},Qa.createElement(ja.Z,{flex:1},ue==null?void 0:ue.map((pt,kn)=>Qa.createElement(ga.Z,{key:`${pt}_${kn}`,align:"middle",className:"mb20"},Qa.createElement(Ue.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:pt,autoSize:{maxRows:3},maxLength:1e3,onBlur:mn=>{const Wt=[...ue],vt=mn.target.value.trim();Wt[kn]=vt,Ee(Wt)}}),Qa.createElement(it.Z,{title:"\u5220\u9664"},Qa.createElement(se.Z,{className:ma.deleteIcon,style:{marginLeft:15,visibility:kn>0?"visible":"hidden"},onClick:()=>Pe(kn)}))))),Qa.createElement(ja.Z,null,Qa.createElement("div",{className:`${ma.addBtn}`,onClick:()=>{ut()}},"\u65B0\u589E\u7B54\u6848")))},Xn=({value:ue=!0,onChange:Ee})=>Qa.createElement(qa.Z,{checked:!ue,onChange:Pe=>{Ee(!Pe)}}),hn="\u2581",xn=({questionTitlePlaceholder:ue,form:Ee,name:Pe,scoreByBlank:ut,answerKey:pt,titleKey:kn="name",analysisKey:mn="analysis",isOrdered:Wt="is_ordered"})=>{var vt,tn;const[Fn,Ye]=(0,b.useState)(!1),Ft=(wt,Ea)=>{const Ir=Ea.line;let Tr=0;for(let Lo=0;Lo<Ir;Lo++)Tr+=wt.getLine(Lo).split(hn).length-1;const rr=wt.getLine(Ir).substring(0,Ea.ch);return Tr+=rr.split(hn).length-1,Tr},$t=(wt,Ea,Ir,Tr)=>{const rr=wt.getRange(Ea.from,Ea.to);let Lo=0;if(Ea.text.forEach(ra=>{Lo+=ra.split(hn).length-1}),Ea.origin!=="setValue"){if(rr&&rr.indexOf(hn)!==-1){const ra=rr.split(hn).length-1,Or=Ft(wt,Ea.from);if(console.log(`\u5220\u9664${ra}\u4E2A\uFF0C \u524D\u9762\u6709${Or}\u4E2A\uFF0C\u65B0\u589E${Lo}\u4E2A`),ra>1){const _a=Array.from({length:ra},(jr,yo)=>Or+yo);Tr(_a)}else Tr(Or)}else if(Lo>0){const ra=Ft(wt,Ea.from);console.log(`\u65B0\u589E${Lo}\u4E2A\uFF0C\u4E4B\u524D\u6709${ra}\u4E2A`),Ir(Lo,ra)}}},Ln=()=>{const wt=Ee.getFieldValue(["sub_item_banks",...pt]);Ee.setFieldValue(["sub_item_banks",...pt],wt==null?void 0:wt.map((Ea,Ir)=>yn(Jt({},Ea),{position:Ir+1})))},Zt=(0,b.useRef)(),Kt=(wt,Ea)=>{for(let Ir=0;Ir<wt;Ir++)Zt.current({position:null,answer_text:[""]},Ea+Ir);Ln()},Xt=(0,b.useRef)(),fn=wt=>{Xt.current(wt),Ln()},la=(tn=(vt=Ee.getFieldValue("sub_item_banks"))==null?void 0:vt[pt==null?void 0:pt[0]])==null?void 0:tn[pt==null?void 0:pt[1]];return console.log(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...ut])),Qa.createElement("div",{className:ma.wrap},Qa.createElement("div",{className:ma.questionTitleEditorWrap},Qa.createElement(we.default.Item,{label:"\u9898\u5E72",name:kn,labelCol:{span:24},rules:[{required:!0}]},Qa.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue,showNullButton:!0,onCMBeforeChange:(wt,Ea)=>{$t(wt,Ea,Kt,fn)}}))),Qa.createElement(we.default.List,{name:pt,rules:[{validator(wt,Ea){if((Ea==null?void 0:Ea.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ir of Ea){const{answer_text:Tr}=Ir||{};if(Tr!=null&&Tr.some(rr=>(rr==null?void 0:rr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(wt,{add:Ea,remove:Ir},{errors:Tr})=>(Zt.current=Ea,Xt.current=Ir,Qa.createElement(Qa.Fragment,null,Qa.createElement(we.default.Item,{label:Qa.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(wt!=null&&wt.length)&&Qa.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),wt.map((rr,Lo)=>{var ra=rr,{key:Or,name:_a}=ra,jr=Bt(ra,["key","name"]);return Qa.createElement(ga.Z,{className:"mb20",key:Or,align:"top"},Qa.createElement(ja.Z,{flex:"0 0 auto",className:`${ma.blankIndex} pt5`},"\u586B\u7A7A\u9879",Lo+1),Qa.createElement(ja.Z,{flex:1},Qa.createElement(ga.Z,{align:"top",justify:"space-between"},Qa.createElement(ja.Z,{flex:1},Qa.createElement(we.default.Item,yn(Jt({},jr),{name:[_a,"answer_text"],noStyle:!0}),Qa.createElement(zn,null))),(Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",...ut]))&&Qa.createElement(ja.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Qa.createElement(we.default.Item,yn(Jt({},jr),{name:[_a,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ma.blankInputNumberWrapper}),Qa.createElement(Le.Z,{onChange:()=>{var yo,No;let Wo=Ee==null?void 0:Ee.getFieldValue(["sub_item_banks",pt==null?void 0:pt[0],"standard_answers"]),Pa=0;for(let Sr in Wo)(yo=Wo[Sr])!=null&&yo.score&&(Pa+=Number((No=Wo[Sr])==null?void 0:No.score));Ee==null||Ee.setFieldValue(["sub_item_banks",pt==null?void 0:pt[0],"question_score"],Pa)},className:ma.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Qa.createElement(we.default.Item,yn(Jt({},jr),{name:[_a,"position"],noStyle:!0}),Qa.createElement(Ue.default,{type:"hidden"}))))})))),Qa.createElement(ga.Z,{align:"middle"},Qa.createElement(we.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},Qa.createElement(qa.Z,null)),Qa.createElement(ja.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Qa.createElement(ga.Z,{align:"middle"},Qa.createElement(we.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},Qa.createElement(qa.Z,null)),Qa.createElement(ja.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(la==null?void 0:la.length)>1&&Qa.createElement(ga.Z,{align:"middle",className:(la==null?void 0:la.length)>1?"mb30":`${ma.hide}`},Qa.createElement(we.default.Item,{name:Wt},Qa.createElement(Xn,null)),Qa.createElement(ja.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")),Qa.createElement("div",{onClick:()=>Ye(!0)},Qa.createElement(we.default.Item,{name:mn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Qa.createElement(mr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fn}))))};var Ga=Object.defineProperty,Zn=Object.defineProperties,nn=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,vr=(ue,Ee,Pe)=>Ee in ue?Ga(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,to=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))bn.call(Ee,Pe)&&vr(ue,Pe,Ee[Pe]);if(Yt)for(var Pe of Yt(Ee))Ba.call(Ee,Pe)&&vr(ue,Pe,Ee[Pe]);return ue},vo=(ue,Ee)=>Zn(ue,nn(Ee)),Xo=(ue,Ee)=>{var Pe={};for(var ut in ue)bn.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Yt)for(var ut of Yt(ue))Ee.indexOf(ut)<0&&Ba.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const Co={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Oi=({value:ue,onChange:Ee,form:Pe,choiceKey:ut})=>{const pt=(ue==null?void 0:ue.is_answer)===1,kn=ue==null?void 0:ue.choice_text,mn=()=>{var Wt;const vt=(Wt=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...ut]))==null?void 0:Wt.map(tn=>({choice_text:tn.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...ut],vt),Ee(vo(to({},ue),{is_answer:1}))};return b.createElement(ga.Z,{className:ma.choiceWrap,align:"middle",wrap:!1},b.createElement(ja.Z,{onClick:mn,className:`${ma.choiceIndex} ${ma.judgementIndex} ${pt?ma.activeAnswer:""}`},Co[kn]),b.createElement(ja.Z,{flex:1,className:`${ma.editorWrap} ml15`},b.createElement("div",{className:`${ma.inputBorder} ${ma.placeholder} ${pt?ma.activeJudgementAnswer:""}`},kn)),b.createElement(ja.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:mn,className:`${ma.setAnswerBtn} ${pt?ma.activeAnswer:""}`},pt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},si=({questionTitlePlaceholder:ue,choiceKey:Ee="choices",form:Pe,titleKey:ut="name",analysisKey:pt="analysis"})=>{const[kn,mn]=(0,b.useState)(!1);return b.createElement("div",{className:ma.wrap},b.createElement("div",{className:ma.questionTitleEditorWrap},b.createElement(we.default.Item,{label:"\u9898\u5E72",name:ut,labelCol:{span:24},rules:[{required:!0}]},b.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(we.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(we.default.List,{name:Ee,rules:[{validator(Wt,vt){return vt.some(Fn=>(Fn==null?void 0:Fn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Wt=>b.createElement("div",{id:"choices"},Wt.map(vt=>{var tn=vt,{key:Fn,name:Ye}=tn,Ft=Xo(tn,["key","name"]);return b.createElement(we.default.Item,vo(to({},Ft),{key:Fn,name:Ye,noStyle:!0}),b.createElement(Oi,{form:Pe,choiceKey:Ee}))})))),b.createElement("div",{onClick:()=>mn(!0)},b.createElement(we.default.Item,{name:pt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(mr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:kn}))))};var el=re(12563),ii={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"},Ol=re(12099),ao=re(56746),Ha=re(59301);const bo=({qitem:ue,form:Ee,exercise:Pe,loading:ut,dispatch:pt,aiReviewSettings:kn=null})=>Ha.createElement("div",{className:ii.ai_config},Ha.createElement("div",{style:{lineHeight:"32px",paddingBottom:8}},"\u8BC4\u5206\u6807\u51C6"),Ha.createElement("div",{className:ii.pfbz_ts},Ha.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~"),Ha.createElement("div",{className:"flex"},Ha.createElement("div",{className:ii.btns_pfbz,onClick:()=>{pt({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:ue==null?void 0:ue.question_id,ai_review_settings:Ee.getFieldValue(kn||"ai_review_settings")}})}},Ha.createElement("img",{src:Ol.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"))),Ha.createElement("div",{style:{background:"#F6F7F9"}},Ha.createElement(we.default.List,{name:kn||"ai_review_settings"},(mn,{add:Wt,remove:vt})=>mn.map((tn,Fn)=>{var Ye;return Ha.createElement(ga.Z,{key:tn.key,style:{padding:"5px 10px 5px 15px"}},Ha.createElement(ja.Z,{className:ii.lable_name1},"\u8BC4\u5206\u9879\u76EE"),Ha.createElement(ja.Z,null,Ha.createElement(we.default.Item,{className:"ml10",name:[tn.name,"name"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u9879\u76EE"}]},Ha.createElement(Ue.default,{onChange:Ft=>{Ee.setFieldValue([tn.name,"content"],Ft.target.value)},placeholder:"\u8BF7\u8F93\u5165\u6700\u591A10\u5B57\u7B26",size:"large",style:{width:142},maxLength:10,className:"mr15"}))),Ha.createElement(ja.Z,{className:ii.lable_name1},"\u8BC4\u5206\u6807\u51C6"),Ha.createElement(ja.Z,null,Ha.createElement(we.default.Item,{className:"ml10",name:[tn.name,"content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6"}]},Ha.createElement(Ue.default,{onChange:Ft=>{Ee.setFieldValue([tn.name,"content"],Ft.target.value)},placeholder:"\u8BF7\u8F93\u5165\u8BC4\u5206\u6807\u51C6",size:"large",style:{width:kn?232:318},className:"mr15",maxLength:500}))),Ha.createElement(ja.Z,{className:ii.lable_name1},"\u6743\u91CD"),Ha.createElement(ja.Z,null,Ha.createElement(we.default.Item,{className:"ml10",name:[tn.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"}]},Ha.createElement(Le.Z,{value:Ee.getFieldValue([tn.name,"weight"]),onChange:Ft=>{Number.isInteger(Ft)||Ee.setFieldValue([tn.name,"weight"],parseFloat(Ft).toFixed(2))},size:"large",addonAfter:"%",placeholder:"\u8BF7\u8F93\u5165\u6743\u91CD",min:.01,step:1,max:100,style:{width:"110px"}}))),Ha.createElement(ga.Z,{className:(Ye=ii)==null?void 0:Ye.h_lh_40},Ha.createElement(ja.Z,null,Ha.createElement("i",{className:"iconfont icon-tianjiatimu ml10 current",style:{color:"#00B187"},onClick:()=>{if(mn.length>=10)return Ae.ZP.info("\u6700\u591A\u53EA\u80FD\u6DFB\u52A010\u4E2A\u8BC4\u5206\u9879\u76EE");Wt()}})),Fn>0&&Ha.createElement(ja.Z,null,Ha.createElement("i",{className:"iconfont icon-shanjian1 ml10 current",style:{color:"#E30000"},onClick:()=>{vt(tn.name)}}))))}))),Ha.createElement(ao.Z,null));var Nr=(0,pe.connect)(({exercise:ue,loading:Ee})=>({exercise:ue,loading:Ee.effects}))(bo),Mi=Object.defineProperty,ci=Object.defineProperties,Oo=Object.getOwnPropertyDescriptors,Yo=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,Fl=(ue,Ee,Pe)=>Ee in ue?Mi(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,tl=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))li.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);if(Yo)for(var Pe of Yo(Ee))gi.call(Ee,Pe)&&Fl(ue,Pe,Ee[Pe]);return ue},nl=(ue,Ee)=>ci(ue,Oo(Ee)),al=(ue,Ee)=>{var Pe={};for(var ut in ue)li.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Yo)for(var ut of Yo(ue))Ee.indexOf(ut)<0&&gi.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const ou=ue=>{var Ee=ue,{value:Pe,onChange:ut}=Ee,pt=al(Ee,["value","onChange"]);const kn=mn=>{ut([mn])};return b.createElement(an.Z,nl(tl({},pt),{defaultValue:Pe==null?void 0:Pe[0],onChange:kn}))},dl=ue=>{if(!ue)return!1;let Ee=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 ue==="|"?(Ae.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ml=({value:ue=[],onClose:Ee})=>b.createElement(el.default,{closable:!0,onClose:Ee,className:ma.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ue.join(" \u6216 "))),as=({questionTitlePlaceholder:ue,form:Ee,showKeywords:Pe,isMustKeyWords:ut=Pe,titleKey:pt="name",analysisKey:kn="analysis",answerTexts:mn="answer_texts",keywords:Wt="keywords",useKeywords:vt="use_keywords",indexs:tn,qitem:Fn,exerciseitem:Ye,aiReviewSettings:Ft})=>{var $t,Ln,Zt,Kt,Xt;const[fn,la]=(0,b.useState)(!1),[wt,Ea]=(0,b.useState)(""),Ir=(Ln=($t=Ee.getFieldValue("sub_item_banks"))==null?void 0:$t[vt==null?void 0:vt[0]])==null?void 0:Ln[vt==null?void 0:vt[1]],Tr=(Kt=(Zt=Ee.getFieldValue("sub_item_banks"))==null?void 0:Zt[vt==null?void 0:vt[0]])==null?void 0:Kt.question_score;return b.createElement("div",{className:ma.wrap},b.createElement("div",{className:ma.questionTitleEditorWrap},b.createElement(we.default.Item,{label:"\u9898\u5E72",name:pt,labelCol:{span:24},rules:[{required:!0}]},b.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),b.createElement(we.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:mn,labelCol:{span:24}},b.createElement(ou,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!ut&&b.createElement(we.default.Item,{hidden:!0,name:vt,valuePropName:"checked"},b.createElement(qa.Z,{defaultChecked:!0})),Pe&&ut&&b.createElement(ga.Z,{align:"middle",className:"mb30"},b.createElement(we.default.Item,{name:vt,valuePropName:"checked"},b.createElement(qa.Z,null)),b.createElement(ja.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(ja.Z,null,b.createElement(it.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"},b.createElement(_n.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Ir||!ut)&&b.createElement(we.default.List,{name:Wt,rules:[{validator(rr,Lo){return ut?Lo!=null&&Lo.length?(Lo==null?void 0:Lo.reduce((Or,_a)=>Or+_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()}}]},(rr,{add:Lo,remove:ra})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${ma.title} mb10`},ut?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ga.Z,{align:"middle",className:"font14 mb30"},b.createElement(ja.Z,{flex:1},b.createElement(Ue.default,{value:wt,onChange:Or=>{Ea(Or.target.value)},maxLength:50,allowClear:!0,onPressEnter:Or=>{var _a,jr,yo,No;const Wo=`${(_a=Or.target)==null?void 0:_a.value}`,Pa=(yo=(jr=Wo==null?void 0:Wo.split("|"))==null?void 0:jr.filter(Yr=>!!Yr))==null?void 0:yo.map(Yr=>Yr==null?void 0:Yr.trim()),Sr=Ee.getFieldValue(["sub_item_banks",...Wt]),Fi=((No=Sr==null?void 0:Sr.map(Yr=>Yr==null?void 0:Yr.keyword))==null?void 0:No.flat())||[];for(const Yr of Pa)if(Fi.includes(Yr)){Ae.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}dl(Wo)&&(Lo({keyword:Pa,score:1}),Ea(""))},className:ma.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"})),b.createElement(ja.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),rr.map(Or=>{var _a=Or,{key:jr,name:yo}=_a,No=al(_a,["key","name"]);return b.createElement(ga.Z,{key:jr,className:"mb20",style:{marginRight:148}},b.createElement(ja.Z,{flex:1},b.createElement(ga.Z,{align:"middle",justify:"space-between"},b.createElement(we.default.Item,nl(tl({},No),{name:[yo,"keyword"]}),b.createElement(Ml,{onClose:()=>ra(yo)})),ut&&b.createElement(we.default.Item,nl(tl({},No),{name:[yo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ma.blankInputNumberWrapper}),b.createElement(Le.Z,{className:ma.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>la(!0)},b.createElement(we.default.Item,{name:kn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(mr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:fn}))),((Xt=Ye==null?void 0:Ye.exercise)==null?void 0:Xt.is_open_ai_review)&&b.createElement(Nr,{form:Ee,qitem:Fn,aiReviewSettings:Ft}))};var Rr=re(59301),Cu=Object.defineProperty,wu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Ri=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Pu=(ue,Ee,Pe)=>Ee in ue?Cu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Nu=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))zu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);if(Ri)for(var Pe of Ri(Ee))Lu.call(Ee,Pe)&&Pu(ue,Pe,Ee[Pe]);return ue},iu=(ue,Ee)=>wu(ue,rs(Ee)),Vu=(ue,Ee)=>{var Pe={};for(var ut in ue)zu.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&Ri)for(var ut of Ri(ue))Ee.indexOf(ut)<0&&Lu.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe};const{Panel:Iu}=cr.default,Ou=({questionTitlePlaceholder:ue,choiceKey:Ee,form:Pe,withScore:ut})=>{const pt=[{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"}],[kn,mn]=(0,b.useState)(),[Wt,vt]=(0,b.useState)([]),tn=Ye=>{vt(Ye)},Fn=({value:Ye})=>Rr.createElement("div",{style:{width:150,paddingLeft:11}},Ye);return Rr.createElement("div",{className:ma.wrap},Rr.createElement("div",{className:ma.questionTitleEditorWrap},Rr.createElement(we.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Rr.createElement(hr,{scrollId:"name",watch:!0,height:140,placeholder:ue}))),Rr.createElement(we.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Rr.createElement(we.default.List,{name:"sub_item_banks",rules:[{validator(Ye,Ft){return Ft?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ye,{add:Ft,remove:$t,move:Ln})=>{const Zt=Pe.getFieldValue("sub_item_banks");return Rr.createElement(Rr.Fragment,null,Rr.createElement(cr.default,{className:Ye.length>0?ma.collapseWrapper:"",bordered:!1,activeKey:Wt,onChange:tn,expandIcon:({isActive:Kt})=>Rr.createElement("i",{className:`iconfont icon-weizhankai ${Kt?ma.open:ma.close}`,style:{fontSize:14,transition:"all .2s"}})},Ye.map((Kt,Xt)=>{var fn=Kt,{key:la,name:wt}=fn,Ea=Vu(fn,["key","name"]),Ir,Tr,rr,Lo,ra,Or,_a,jr,yo,No,Wo,Pa,Sr,Fi;return Rr.createElement(Iu,{className:ma.panel,forceRender:!0,header:Rr.createElement("div",{className:ma.panelHeader},"\u7B2C",Xt+1,"\u5C0F\u9898",Rr.createElement("span",null,"\uFF08",((Ir=Zt==null?void 0:Zt[wt])==null?void 0:Ir.question_type)==0?"\u5355\u9009\u9898":((Tr=Zt==null?void 0:Zt[wt])==null?void 0:Tr.question_type)==1?"\u591A\u9009\u9898":((rr=Zt==null?void 0:Zt[wt])==null?void 0:rr.question_type)==3?"\u586B\u7A7A\u9898":((Lo=Zt==null?void 0:Zt[wt])==null?void 0:Lo.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:wt,extra:Rr.createElement(ga.Z,{align:"middle",onClick:Yr=>Yr.stopPropagation()},((ra=Zt==null?void 0:Zt[wt])==null?void 0:ra.question_type)==3&&Rr.createElement(Rr.Fragment,null,Rr.createElement(Oe.ZP.Group,{defaultValue:(Or=Zt==null?void 0:Zt[wt])==null?void 0:Or.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:Yr=>{var Mn,ai,Ui,fi,wi;if(Pe==null||Pe.setFieldValue(["sub_item_banks",wt,"use_blank_score"],(Mn=Yr==null?void 0:Yr.target)==null?void 0:Mn.value),(ai=Yr==null?void 0:Yr.target)!=null&&ai.value){let ll=0;for(let ui in(Ui=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",wt]))==null?void 0:Ui.standard_answers)ll+=Number((wi=(fi=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",wt]))==null?void 0:fi.standard_answers[ui])==null?void 0:wi.score);Pe==null||Pe.setFieldValue(["sub_item_banks",wt,"question_score"],ll||"")}mn(new Date)}}),Rr.createElement(it.Z,{overlayInnerStyle:{width:460},title:Rr.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",Rr.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")},Rr.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),ut&&Rr.createElement(we.default.Item,iu(Nu({},Ea),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[wt,"question_score"],className:ma.blankInputNumberWrapper}),((_a=Zt==null?void 0:Zt[wt])==null?void 0:_a.question_type)==3&&((jr=Zt==null?void 0:Zt[wt])!=null&&jr.use_blank_score)?Rr.createElement(Fn,null):Rr.createElement(Le.Z,{className:ma.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Rr.createElement(ga.Z,{align:"middle",className:"pl40",style:{width:82}},Xt!==0&&Rr.createElement("div",{onClick:()=>{var Yr;Ln(Xt,Xt-1);const Mn=(Yr=Pe.getFieldValue("sub_item_banks"))==null?void 0:Yr.map((ai,Ui)=>(Ye.map((fi,wi)=>{Ui===wi&&(ai.q_position=Number(fi.name)+1)}),ai));Pe.setFieldValue("sub_item_banks",Mn)}},Rr.createElement(it.Z,{title:"\u4E0A\u79FB"},Rr.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Xt<Ye.length-1&&Rr.createElement("div",{onClick:()=>{var Yr;Ln(Xt,Xt+1);const Mn=(Yr=Pe.getFieldValue("sub_item_banks"))==null?void 0:Yr.map((ai,Ui)=>(Ye.map((fi,wi)=>{Ui===wi&&(ai.q_position=Number(fi.name)+1)}),ai));Pe.setFieldValue("sub_item_banks",Mn)},className:Xt===0?"":"ml10"},Rr.createElement(it.Z,{title:"\u4E0B\u79FB"},Rr.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Rr.createElement(it.Z,{title:"\u5220\u9664"},Rr.createElement(se.Z,{className:`${ma.deleteIcon} ml40`,onClick:()=>$t(wt)})))},Rr.createElement(we.default.Item,iu(Nu({},Ea),{name:wt}),(((yo=Zt==null?void 0:Zt[wt])==null?void 0:yo.question_type)==0||((No=Zt==null?void 0:Zt[wt])==null?void 0:No.question_type)==1)&&Rr.createElement(So,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Wo=Zt==null?void 0:Zt[wt])==null?void 0:Wo.question_type)==1,form:Pe,choiceKey:[wt,"choices"],titleKey:[wt,"name"],analysisKey:[wt,"analysis"],choiceOptionsPath:["sub_item_banks",wt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Pa=Zt==null?void 0:Zt[wt])==null?void 0:Pa.question_type)==3&&Rr.createElement(xn,{form:Pe,name:wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[wt,"use_blank_score"],titleKey:[wt,"name"],analysisKey:[wt,"analysis"],isOrdered:[wt,"is_ordered"],answerKey:[wt,"standard_answers"],key:kn}),((Sr=Zt==null?void 0:Zt[wt])==null?void 0:Sr.question_type)==2&&Rr.createElement(si,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[wt,"name"],analysisKey:[wt,"analysis"],choiceKey:[wt,"choices"]}),((Fi=Zt==null?void 0:Zt[wt])==null?void 0:Fi.question_type)==4&&Rr.createElement(as,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[wt,"name"],analysisKey:[wt,"analysis"],answerTexts:[wt,"answer_texts"],useKeywords:[wt,"use_keywords"],keywords:[wt,"keywords"],indexs:wt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Ye.length<20&&Rr.createElement(Ce.Z,{menu:{items:[{label:Rr.createElement("div",{onClick:()=>{Ft({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),vt([Ye==null?void 0:Ye.length,...Wt])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Rr.createElement("div",{onClick:()=>{Ft({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),vt([Ye==null?void 0:Ye.length,...Wt])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Rr.createElement("div",{onClick:()=>{Ft({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),vt([Ye==null?void 0:Ye.length,...Wt])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Rr.createElement("div",{onClick:()=>{Ft({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),vt([Ye==null?void 0:Ye.length,...Wt])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Rr.createElement("div",{onClick:()=>{Ft({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),vt([Ye==null?void 0:Ye.length,...Wt])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Kt=>Kt.show).map(Kt=>({label:Kt.label,key:Kt.key}))}},Rr.createElement("div",{className:`${ma.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var ki=re(59301),Wu=Object.defineProperty,Bu=Object.defineProperties,Bi=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,Jl=(ue,Ee,Pe)=>Ee in ue?Wu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,bl=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))os.call(Ee,Pe)&&Jl(ue,Pe,Ee[Pe]);if(Au)for(var Pe of Au(Ee))lu.call(Ee,Pe)&&Jl(ue,Pe,Ee[Pe]);return ue},Cl=(ue,Ee)=>Bu(ue,Bi(Ee)),is=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),ls=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:pt,deleteitem:kn,getTagData:mn,init:Wt,showTip:vt=!1})=>{var tn;const[Fn]=we.default.useForm();(0,b.useEffect)(()=>{var Ft;Fn.setFieldsValue(Cl(bl({},ue),{name:ue.question_title,sub_item_banks:(Ft=ue.sub_exercise_questions)==null?void 0:Ft.map($t=>{var Ln;return Cl(bl({},$t),{name:$t.question_title,choices:(Ln=$t==null?void 0:$t.question_choices)==null?void 0:Ln.map(Zt=>Cl(bl({},Zt),{is_answer:Zt!=null&&Zt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer}))},[ue]);const Ye=Ft=>{if(!(Ft!=null&&Ft.length))return!1;const $t=Ft.map(Zt=>{var Kt;return(Kt=Zt.choice_text)==null?void 0:Kt.trim().replace(/^\s+|\s+$/g,"")});return new Set($t).size!==$t.length};return ki.createElement("div",null,ki.createElement(we.default,{form:Fn,colon:!1,onValuesChange:(Ft,$t)=>{var Ln,Zt,Kt,Xt;if(Ft!=null&&Ft.sub_item_banks){let fn=((Ln=Fn.getFieldValue("sub_item_banks"))==null?void 0:Ln.length)>0&&((Kt=(Zt=Fn.getFieldValue("sub_item_banks"))==null?void 0:Zt.map(la=>{var wt;if(la.question_type==3&&(la!=null&&la.use_blank_score)){let Ea=0;for(let Ir in la==null?void 0:la.standard_answers)Ea+=Number((wt=la==null?void 0:la.standard_answers[Ir])==null?void 0:wt.score);return Ea}else return la.question_score}))==null?void 0:Kt.filter(la=>la));(fn==null?void 0:fn.length)>0&&Fn.setFieldsValue({question_score:(Xt=parseFloat(fn.reduce((la,wt)=>parseFloat(la)+parseFloat(wt))))==null?void 0:Xt.toFixed(1)})}},onFinish:Ft=>{var $t,Ln;if(($t=Ft.sub_item_banks)==null?void 0:$t.some(Kt=>Kt.question_type===0||Kt.question_type===1?Ye(Kt.choices):!1)){Ae.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}pt(Cl(bl(bl({},ue),Ft),{question_title:Ft.name,sub_questions:(Ln=Ft==null?void 0:Ft.sub_item_banks)==null?void 0:Ln.map(Kt=>{var Xt,fn,la,wt;return(Kt==null?void 0:Kt.question_type)==3?Cl(bl({},Kt),{question_title:Kt.name,item_type:Kt==null?void 0:Kt.question_type}):Cl(bl({},Kt),{question_title:Kt.name,question_choices:(fn=(Xt=Kt==null?void 0:Kt.choices)==null?void 0:Xt.map)==null?void 0:fn.call(Xt,Ea=>Ea.choice_text),standard_answers:(wt=(la=Kt==null?void 0:Kt.choices)==null?void 0:la.map)==null?void 0:wt.call(la,(Ea,Ir)=>(Ea==null?void 0:Ea.is_answer)===1&&Ir+1).filter(Ea=>Ea),item_type:Kt==null?void 0:Kt.question_type})})}))},onFinishFailed:Ft=>is(void 0,null,function*(){var $t,Ln;Ae.ZP.error(Ft.errorFields[0].errors[0]),Fn.scrollToField((Ln=($t=Ft==null?void 0:Ft.errorFields)==null?void 0:$t[0])==null?void 0:Ln.name,{behavior:"smooth",block:"center"})})},ki.createElement("div",{style:{display:"flex",alignItems:"center"}},ki.createElement("div",{style:{flex:1}},ki.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ki.createElement("span",null,"\u7EC4\u5408\u9898")),((tn=ut==null?void 0:ut.exercise)==null?void 0:tn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&ki.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{kn()}},ki.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ki.createElement(ke.ZP,{onClick:()=>{var Ft;ue.isadd?(Ee(!1),Wt()):(Fn.setFieldsValue(Cl(bl({},ue),{name:ue.question_title,sub_item_banks:(Ft=ue.sub_exercise_questions)==null?void 0:Ft.map($t=>{var Ln;return Cl(bl({},$t),{name:$t.question_title,choices:(Ln=$t==null?void 0:$t.question_choices)==null?void 0:Ln.map(Zt=>Cl(bl({},Zt),{is_answer:Zt!=null&&Zt.standard_boolean?1:0}))})}),repeat_answer:!ue.repeat_answer})),Ee(!1))}},"\u53D6\u6D88"),ki.createElement(it.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ki.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ki.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")},ki.createElement(ke.ZP,{className:"ml20",type:"primary",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),ki.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ki.createElement(Ct.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),ki.createElement(Ou,{form:Fn,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),ki.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:Fn}))))},Ko=re(59301),us=Object.defineProperty,ss=Object.defineProperties,ds=Object.getOwnPropertyDescriptors,Uu=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Qu=(ue,Ee,Pe)=>Ee in ue?us(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,rl=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Ru.call(Ee,Pe)&&Qu(ue,Pe,Ee[Pe]);if(Uu)for(var Pe of Uu(Ee))ku.call(Ee,Pe)&&Qu(ue,Pe,Ee[Pe]);return ue},cl=(ue,Ee)=>ss(ue,ds(Ee)),yu=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),Ku=({qitem:ue,setqitem:Ee,setisedit:Pe,TagDiscipline:ut,exerciseitem:pt,seveeditor:kn,deleteitem:mn,showTip:Wt})=>{var vt,tn;const[Fn]=we.default.useForm();return(0,b.useEffect)(()=>{var Ye,Ft;Fn.setFieldsValue(cl(rl({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map($t=>cl(rl({},$t),{standard_boolean:$t!=null&&$t.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Ft=ue==null?void 0:ue.shixun)==null?void 0:Ft.map($t=>cl(rl({},$t),{defaultscore:$t.challenge_score}))},[]),Ko.createElement("div",null,Ko.createElement(we.default,{form:Fn,colon:!1,onFinish:Ye=>{var Ft,$t;let Ln=cl(rl({},Ye),{question_scores:(Ft=ue==null?void 0:ue.shixun)==null?void 0:Ft.map(Zt=>Zt.challenge_score),item_type:ue==null?void 0:ue.question_type,choices:($t=Ye==null?void 0:Ye.choices)==null?void 0:$t.map(Zt=>cl(rl({},Zt),{is_answer:Zt.standard_boolean}))});kn(rl(rl({},ue),Ln))},onFinishFailed:Ye=>yu(void 0,null,function*(){var Ft,$t;Ae.ZP.error(Ye.errorFields[0].errors[0]),Fn.scrollToField(($t=(Ft=Ye==null?void 0:Ye.errorFields)==null?void 0:Ft[0])==null?void 0:$t.name,{behavior:"smooth",block:"center"})})},Ko.createElement("div",{style:{display:"flex",alignItems:"center"}},Ko.createElement("div",{style:{flex:1}},Ko.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ko.createElement("span",null,"\u5B9E\u8BAD\u9898")),((vt=pt==null?void 0:pt.exercise)==null?void 0:vt.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ko.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{mn()}},Ko.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ko.createElement(ke.ZP,{onClick:()=>{var Ye,Ft;Fn.setFieldsValue(cl(rl({},ue),{name:ue==null?void 0:ue.question_title,choices:(Ye=ue==null?void 0:ue.question_choices)==null?void 0:Ye.map($t=>cl(rl({},$t),{standard_boolean:$t!=null&&$t.standard_boolean?1:0})),repeat_answer:!(ue!=null&&ue.repeat_answer)})),ue.shixun=(Ft=ue==null?void 0:ue.shixun)==null?void 0:Ft.map($t=>cl(rl({},$t),{challenge_score:$t.defaultscore})),Ee(rl({},ue)),Pe(!1)}},"\u53D6\u6D88"),Ko.createElement(it.Z,{overlayClassName:nt.shake,open:Wt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ko.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ko.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")},Ko.createElement(ke.ZP,{className:"ml20",type:"primary",onClick:()=>yu(void 0,null,function*(){var Ye,Ft,$t;if(((Ft=(Ye=ue==null?void 0:ue.shixun)==null?void 0:Ye.map)==null?void 0:Ft.call(Ye,Ln=>Ln.challenge_score).filter(Ln=>Ln).length)<(($t=ue==null?void 0:ue.shixun)==null?void 0:$t.length)){Ae.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Fn.submit()})},"\u4FDD\u5B58"))),Ko.createElement(Ct.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Ko.createElement(we.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Ko.createElement(an.Z,{watch:!0,height:140,placeholder:"",defaultValue:ue.question_title}))),Ko.createElement(ga.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Ko.createElement("div",null,Ko.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Ko.createElement("a",{href:`/shixuns/${ue==null?void 0:ue.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Ko.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(tn=ue==null?void 0:ue.shixun)==null?void 0:tn.map((Ye,Ft)=>Ko.createElement("div",{style:{display:"flex",marginBottom:20}},Ko.createElement("div",{style:{flex:1}},Ft+1,"\u3001",Ye.challenge_name),Ko.createElement("div",null,Ko.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Ko.createElement(Le.Z,{precision:1,value:Ye==null?void 0:Ye.challenge_score,onChange:$t=>{const Ln=JSON.parse(JSON.stringify((ue==null?void 0:ue.shixun)||[]));Ln[Ft].challenge_score=$t;const Zt=Ln.every(Xt=>!Xt.challenge_score),Kt=parseFloat(Ln==null?void 0:Ln.map(Xt=>Xt.challenge_score).reduce((Xt,fn)=>parseFloat(Xt||0)+parseFloat(fn||0)));Fn.setFieldsValue({question_score:Zt?"":Kt.toFixed(1)}),Ee(cl(rl({},ue),{shixun:Ln}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},ya={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"},cs=re(1710),_u=re(24302),Fu=re(24334),Yn=re(59301);const Xl=["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"],gs=[{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 ms=({qitem:ue,exercise:Ee})=>{var Pe,ut,pt,kn,mn,Wt,vt,tn,Fn,Ye,Ft,$t,Ln,Zt,Kt,Xt,fn,la,wt,Ea,Ir,Tr,rr,Lo;return Yn.createElement("div",{className:ya.warp},((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&Yn.createElement("div",{className:ya.normalWrap},(Pe=ue==null?void 0:ue.question_choices)==null?void 0:Pe.map((ra,Or)=>Yn.createElement("div",{className:ya.redio},!(ra!=null&&ra.standard_boolean)&&Yn.createElement("span",{className:ya.redioitem}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("i",{className:`${ya.redioitemyes} icon-duigou1`}),Yn.createElement("span",{className:`${ra!=null&&ra.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},(ue==null?void 0:ue.question_type)===0?Xl[Or]:""),Yn.createElement(Pt.Z,{className:ra!=null&&ra.standard_boolean?ya.titleyes:ya.title,value:ra==null?void 0:ra.choice_text}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&Yn.createElement("div",{className:ya.normalWrap},(ut=ue==null?void 0:ue.question_choices)==null?void 0:ut.map((ra,Or)=>Yn.createElement("div",{className:ya.checkbox},!(ra!=null&&ra.standard_boolean)&&Yn.createElement("span",{className:ya.checkboxitem}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("i",{className:`${ya.checkboxitemyes} icon-duigou1`}),Yn.createElement("span",{className:`${ra!=null&&ra.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},Xl[Or]),Yn.createElement(Pt.Z,{className:ra!=null&&ra.standard_boolean?ya.titleyes:ya.title,value:ra==null?void 0:ra.choice_text}),(ra==null?void 0:ra.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&Yn.createElement("div",{className:ya.completion},(pt=ue==null?void 0:ue.standard_answers)==null?void 0:pt.map((ra,Or)=>{var _a;return Yn.createElement(ga.Z,{align:"top"},Yn.createElement("span",{className:ya.title},"\u586B\u7A7A\u9879",Or+1),Yn.createElement("div",{className:ya.content},(_a=ra.answer_text)==null?void 0:_a.map((jr,yo)=>Yn.createElement("div",{key:yo,className:ya.items,style:(ra==null?void 0:ra.model)===2?{border:0,padding:0}:{}},(ra==null?void 0:ra.model)===1?Yn.createElement("pre",{className:"mb0"},jr):Yn.createElement(_u.Z,{value:jr,disabled:!0})))))})),(ue==null?void 0:ue.question_type)===4&&Yn.createElement("div",{className:ya.simple},Yn.createElement("div",{className:ya.title},"\u53C2\u8003\u7B54\u6848"),Yn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(kn=ue==null?void 0:ue.answer_texts)!=null&&kn[0]?Yn.createElement(Pt.Z,{className:ya.content,value:(mn=ue==null?void 0:ue.answer_texts)==null?void 0:mn[0]}):Yn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Yn.createElement("div",{className:"mt20 "},Yn.createElement("span",{className:ya.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Yn.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ue!=null&&ue.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ue==null?void 0:ue.question_type)===5&&Yn.createElement("div",{className:ya.shixunWrapper},(Wt=ue==null?void 0:ue.shixun)==null?void 0:Wt.map((ra,Or)=>{var _a,jr;return Yn.createElement("div",null,Yn.createElement("div",{key:Or,className:`${ya.shixun} mb30`},Yn.createElement("span",{className:ya.score},"\uFF08",ra==null?void 0:ra.challenge_score,"\u5206\uFF09"),Yn.createElement("span",{className:ya.qtitle},(ue==null?void 0:ue.index)+"."+(Or+1),"\u3001",ra==null?void 0:ra.challenge_name)),((jr=(_a=Ee==null?void 0:Ee.editData)==null?void 0:_a.exercise)==null?void 0:jr.show_challenge_task_pass)&&Yn.createElement(Pt.Z,{className:ya.content,value:(ra==null?void 0:ra.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ue==null?void 0:ue.question_type)===6&&Yn.createElement("div",{className:ya.program,style:{border:!((tn=(vt=Ee==null?void 0:Ee.editData)==null?void 0:vt.exercise)!=null&&tn.show_hack_sets)&&!((Ye=(Fn=Ee==null?void 0:Ee.editData)==null?void 0:Fn.exercise)!=null&&Ye.show_hack_description)&&"none"}},(($t=(Ft=Ee==null?void 0:Ee.editData)==null?void 0:Ft.exercise)==null?void 0:$t.show_hack_sets)&&Yn.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Yn.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Yn.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Yn.createElement(cs.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(ra,Or,_a)=>_a+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(ra,Or,_a)=>Yn.createElement(it.Z,{title:Yn.createElement("pre",null,ra)},Yn.createElement("div",{className:ya.divname},ra))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(ra,Or,_a)=>Yn.createElement(it.Z,{title:Yn.createElement("pre",null,ra)}," ",Yn.createElement("div",{className:ya.divname},ra))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ue==null?void 0:ue.hack_sets})),((Zt=(Ln=Ee==null?void 0:Ee.editData)==null?void 0:Ln.exercise)==null?void 0:Zt.show_hack_description)&&Yn.createElement("div",null,Yn.createElement(Pt.Z,{className:ya.content,value:(ue==null?void 0:ue.description)||"- -"}))),(ue==null?void 0:ue.question_type)===7&&((Kt=ue==null?void 0:ue.sub_exercise_questions)==null?void 0:Kt.map((ra,Or)=>{var _a,jr,yo,No,Wo,Pa;return Yn.createElement("div",{key:Or},Yn.createElement("div",{className:ya.combination},Yn.createElement("span",{className:ya.score},ra==null?void 0:ra.question_score,"\u5206"),Yn.createElement("span",{className:ya.qtype},(_a=gs.find(Sr=>Sr.type==ra.question_type))==null?void 0:_a.name),Yn.createElement("span",{className:ya.qtitle},Or+1,"\u3001",ra==null?void 0:ra.question_title)),(ra.question_type===0||ra.question_type===2)&&Yn.createElement("div",{className:ya.warp,style:{padding:"30px 58px",paddingBottom:0}},Yn.createElement("div",null,(jr=ra==null?void 0:ra.question_choices)==null?void 0:jr.map((Sr,Fi)=>Yn.createElement("div",{className:ya.redio,key:Fi},!(Sr!=null&&Sr.standard_boolean)&&Yn.createElement("span",{className:ya.redioitem}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("i",{className:`${ya.redioitemyes} icon-duigou1`}),ra.question_type===2&&Yn.createElement("span",{className:`${Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},Xl[Fi]),Yn.createElement(Pt.Z,{className:Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title,value:Sr==null?void 0:Sr.choice_text}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848"))))),ra.question_type===1&&Yn.createElement("div",{className:ya.normalWrap},(yo=ra==null?void 0:ra.question_choices)==null?void 0:yo.map((Sr,Fi)=>Yn.createElement("div",{className:ya.checkbox,key:Fi},!(Sr!=null&&Sr.standard_boolean)&&Yn.createElement("span",{className:ya.checkboxitem}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("i",{className:`${ya.checkboxitemyes} icon-duigou1`}),Yn.createElement("span",{className:`${Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title} ${ya.indexTag}`},Xl[Fi]),Yn.createElement(Pt.Z,{className:Sr!=null&&Sr.standard_boolean?ya.titleyes:ya.title,value:Sr==null?void 0:Sr.choice_text}),(Sr==null?void 0:Sr.standard_boolean)&&Yn.createElement("div",{className:ya.yestag},"\u6B63\u786E\u7B54\u6848")))),ra.question_type===3&&Yn.createElement("div",{className:ya.completion},(No=ra==null?void 0:ra.standard_answers)==null?void 0:No.map((Sr,Fi)=>{var Yr;return Yn.createElement(ga.Z,{align:"top"},Yn.createElement("span",{className:ya.title},"\u586B\u7A7A\u9879",Fi+1),Yn.createElement("div",{className:ya.content},(Yr=Sr.answer_text)==null?void 0:Yr.map((Mn,ai)=>Yn.createElement("div",{key:ai,className:ya.items},Yn.createElement("pre",{className:"mb0"},Mn)))))})),ra.question_type===4&&Yn.createElement("div",{className:ya.simple},Yn.createElement("div",{className:ya.title},"\u53C2\u8003\u7B54\u6848"),Yn.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Wo=ra==null?void 0:ra.answer_texts)!=null&&Wo[0]?Yn.createElement(Pt.Z,{className:ya.content,value:(Pa=ra==null?void 0:ra.answer_texts)==null?void 0:Pa[0]}):Yn.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),Yn.createElement("div",{className:"mt20 "},Yn.createElement("span",{className:ya.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),Yn.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ra!=null&&ra.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ue==null?void 0:ue.question_type)===8&&Yn.createElement("div",null,Yn.createElement(Pt.Z,{disabledFill:!0,className:ya.content,showProgramFill:!0,value:Fu.Base64.decode(((Xt=ue==null?void 0:ue.program_attr)==null?void 0:Xt.code)||"")})),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&Yn.createElement("div",{className:ya.bottom},Yn.createElement("div",{className:`${ya.bottomitem} mb30`},Yn.createElement("span",{className:ya.left},"\u89E3\u6790"),Yn.createElement("span",{className:ya.right},ue!=null&&ue.analysis?Yn.createElement(Pt.Z,{value:ue==null?void 0:ue.analysis}):Yn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),Yn.createElement("div",{className:`${ya.bottomitem} mb30`},Yn.createElement("span",{className:ya.left},"\u96BE\u5EA6"),Yn.createElement("span",{className:ya.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Yn.createElement("div",{className:ya.bottomitem},Yn.createElement("span",{className:ya.left},"\u77E5\u8BC6\u70B9"),Yn.createElement(it.Z,{title:((fn=ue==null?void 0:ue.tag_discipline_names)==null?void 0:fn.length)<=0||((la=ue==null?void 0:ue.tag_discipline_names)==null?void 0:la.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Ea=(wt=ue==null?void 0:ue.tag_discipline_names)==null?void 0:wt.join("\uFF1B"))==null?void 0:Ea.toString()},Yn.createElement("span",{className:ya.right},((Ir=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Ir.length)<=0?Yn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Tr=ue==null?void 0:ue.tag_discipline_names)==null?void 0:Tr.length)==1&&["-"].includes(ue==null?void 0:ue.tag_discipline_names[0])?Yn.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(Lo=(rr=ue==null?void 0:ue.tag_discipline_names)==null?void 0:rr.join("\uFF1B"))==null?void 0:Lo.toString())))))},Ju=re(55537),ql=re(12796),mi=re(59301),Tu=Object.defineProperty,Xu=Object.defineProperties,fs=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,Ie=(ue,Ee,Pe)=>Ee in ue?Tu(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Me=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))ge.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);if(ce)for(var Pe of ce(Ee))me.call(Ee,Pe)&&Ie(ue,Pe,Ee[Pe]);return ue},ft=(ue,Ee)=>Xu(ue,fs(Ee)),rt=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),Lt=({qitem:ue,setisedit:Ee,TagDiscipline:Pe,exerciseitem:ut,seveeditor:pt,deleteitem:kn,getTagData:mn,init:Wt,showTip:vt=!1})=>{var tn,Fn,Ye,Ft;const[$t]=we.default.useForm(),{unified_ai_setting:Ln,ai_review_settings:Zt}=ut==null?void 0:ut.exercise,Kt=((tn=ue==null?void 0:ue.ai_review_settings)==null?void 0:tn.length)>0?ue.ai_review_settings:Zt;return(0,b.useEffect)(()=>{$t.setFieldsValue(ft(Me({},ue),{name:ue.question_title,answer_texts:ue.answer_texts,repeat_answer:!ue.repeat_answer,ai_review_settings:Kt}))},[ue]),mi.createElement("div",null,mi.createElement(we.default,{form:$t,colon:!1,onFinish:Xt=>{var fn;(fn=ut==null?void 0:ut.exercise)!=null&&fn.is_open_ai_review&&!(0,ht.BR)(Xt==null?void 0:Xt.ai_review_settings)||pt(ft(Me(Me({},ue),Xt),{answer_texts:Xt==null?void 0:Xt.answer_texts,question_title:Xt==null?void 0:Xt.name}))},onFinishFailed:Xt=>rt(void 0,null,function*(){var fn,la;Ae.ZP.error(Xt.errorFields[0].errors[0]),$t.scrollToField((la=(fn=Xt==null?void 0:Xt.errorFields)==null?void 0:fn[0])==null?void 0:la.name,{behavior:"smooth",block:"center"})})},mi.createElement("div",{style:{display:"flex",alignItems:"center"}},mi.createElement("div",{style:{flex:1}},mi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),mi.createElement("span",null,"\u7B80\u7B54\u9898")),((Fn=ut==null?void 0:ut.exercise)==null?void 0:Fn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&mi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{kn()}},mi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),mi.createElement(ke.ZP,{onClick:()=>{ue.isadd?(Ee(!1),Wt()):($t.setFieldsValue(ft(Me({},ue),{name:ue==null?void 0:ue.question_title,answer_texts:ue.answer_texts||[],repeat_answer:!(ue!=null&&ue.repeat_answer)})),Ee(!1))}},"\u53D6\u6D88"),mi.createElement(it.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:mi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},mi.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")},mi.createElement(ke.ZP,{type:"primary",className:"ml20",onClick:()=>{$t.submit()}},"\u4FDD\u5B58"))),mi.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},mi.createElement(we.default.Item,{className:nt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},mi.createElement(Le.Z,{onBlur:Xt=>{Xt.target.value==="0"&&Ae.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})),mi.createElement(ql.W,{form:$t,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),((Ye=ut==null?void 0:ut.exercise)==null?void 0:Ye.is_open_ai_review)&&!((Ft=ut==null?void 0:ut.exercise)!=null&&Ft.unified_ai_setting)&&mi.createElement(Nr,{form:$t,qitem:ue}),mi.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:ut,TagDiscipline:Pe,form:$t}))))},Ot=re(59301),jn=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),cn=({setScoreShow:ue,ScoreShow:Ee,exerciseitem:Pe,getdata:ut})=>{var pt,kn,mn;const[Wt,vt]=(0,b.useState)(!1);function tn(){return jn(this,null,function*(){var Fn,Ye,Ft;let $t=(Ye=(Fn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Fn.filter(Zt=>Zt.Singlequestion))==null?void 0:Ye.map(Zt=>({question_type:Zt.question_type,score:Zt.Singlequestion})),Ln=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:$t}});(Ln==null?void 0:Ln.status)===0&&ut()})}return Ot.createElement("div",null,Ee&&Ot.createElement(Je.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Ee,width:640,centered:!0,zIndex:10,className:nt.scoremodal,onCancel:()=>{ue(!1)},onOk:()=>{var Fn,Ye,Ft;if(Pe!=null&&Pe.use_blank_score&&((Ft=(Ye=(Fn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Fn.filter($t=>$t.name==="\u586B\u7A7A\u9898"))==null?void 0:Ye[0])!=null&&Ft.Singlequestion)){vt(!0);return}tn(),ue(!1)}},Ot.createElement("div",{className:"c-black"},"\u603B\u5206",Ot.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((pt=Pe==null?void 0:Pe.exercise_types)==null?void 0:pt.q_scores))),Ot.createElement("div",{className:nt.content},Ot.createElement("span",null,"\u9898\u578B\u540D\u79F0"),Ot.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),Ot.createElement("span",null,"\u9898\u578B\u603B\u5206"),Ot.createElement("span",null,"\u64CD\u4F5C")),(mn=(kn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:kn.filter(Fn=>Fn.name!=="\u5B9E\u8BAD\u9898"&&Fn.name!=="\u7EC4\u5408\u9898"))==null?void 0:mn.map(Fn=>{var Ye;return Ot.createElement("div",{className:nt.items},Ot.createElement("span",null,Fn==null?void 0:Fn.name),Ot.createElement("span",null,(Ye=Fn==null?void 0:Fn.items)==null?void 0:Ye.length),Ot.createElement("span",null,Fn==null?void 0:Fn.score),Ot.createElement("span",null,"\u6BCF\u9898",Ot.createElement(Le.Z,{max:100,precision:1,min:.1,onChange:Ft=>{Fn.Singlequestion=Ft},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Ot.createElement(Je.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:Wt,width:640,closable:!1,className:nt.scoremodal},Ot.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",Ot.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"),Ot.createElement("div",{className:nt.bottom},Ot.createElement(ke.ZP,{className:nt.no,onClick:()=>{vt(!1)}},"\u53D6\u6D88"),Ot.createElement(ke.ZP,{className:nt.yes,onClick:()=>{tn(),vt(!1),ue(!1)}},"\u786E\u8BA4"))))},Dn=re(99313),wn=re(98228),Dt=re(58421),zt={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"},On=re(12353),un={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 da=["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 Ia=({qitem:ue})=>{var Ee,Pe,ut,pt,kn,mn,Wt,vt,tn,Fn;return b.createElement("div",{className:un.warp},b.createElement("div",{className:un.mainPart},b.createElement("div",{className:un.qcount},(ue==null?void 0:ue.question_type)===8&&b.createElement(Pt.Z,{className:un.content,showProgramFill:!0,value:(Ee=ue==null?void 0:ue.program_attr)==null?void 0:Ee.description}),(ue==null?void 0:ue.question_type)!=8&&b.createElement(Pt.Z,{className:un.qtitle,value:(ue==null?void 0:ue.name)||(ue==null?void 0:ue.title)})),((ue==null?void 0:ue.question_type)===0||(ue==null?void 0:ue.question_type)===2)&&b.createElement("div",null,(Pe=ue==null?void 0:ue.choices)==null?void 0:Pe.map((Ye,Ft)=>b.createElement("div",{className:un.redio},!(Ye!=null&&Ye.is_answer)&&b.createElement("span",{className:un.redioitem}),(Ye==null?void 0:Ye.is_answer)&&b.createElement("i",{className:`${un.redioitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:Ye!=null&&Ye.is_answer?un.titleyes:un.title,value:da[Ft]+(Ye==null?void 0:Ye.choice_text)}),(Ye==null?void 0:Ye.is_answer)&&b.createElement("div",{className:un.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===1&&b.createElement("div",null,(ut=ue==null?void 0:ue.choices)==null?void 0:ut.map((Ye,Ft)=>b.createElement("div",{className:un.checkbox},!(Ye!=null&&Ye.is_answer)&&b.createElement("span",{className:un.checkboxitem}),(Ye==null?void 0:Ye.is_answer)&&b.createElement("i",{className:`${un.checkboxitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:Ye!=null&&Ye.is_answer?un.titleyes:un.title,value:da[Ft]+(Ye==null?void 0:Ye.choice_text)}),(Ye==null?void 0:Ye.is_answer)&&b.createElement("div",{className:un.yestag},"\u6B63\u786E\u7B54\u6848")))),(ue==null?void 0:ue.question_type)===3&&b.createElement("div",{className:un.completion},(pt=ue==null?void 0:ue.standard_answer)==null?void 0:pt.map((Ye,Ft)=>{var $t;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:un.title},"\u586B\u7A7A\u9879",Ft+1),b.createElement("div",{className:un.content},($t=Ye==null?void 0:Ye.answer_text)==null?void 0:$t.map((Ln,Zt)=>b.createElement("div",{className:un.items},Ln))))})),(ue==null?void 0:ue.question_type)===4&&b.createElement("div",{className:un.simple},b.createElement("div",{className:un.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(kn=ue==null?void 0:ue.answer_texts)!=null&&kn[0]?b.createElement(Pt.Z,{className:un.content,value:(mn=ue==null?void 0:ue.answer_texts)==null?void 0:mn[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ue==null?void 0:ue.question_type)===5&&((Wt=ue==null?void 0:ue.challenge_names)==null?void 0:Wt.map((Ye,Ft)=>b.createElement("div",{className:un.shixun},b.createElement("span",{className:un.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ht.EM)(Ft+1),"\u9898"),Ye)))),(ue==null?void 0:ue.question_type)===6&&b.createElement("div",{className:un.simple},b.createElement(Pt.Z,{className:un.content,value:((vt=ue==null?void 0:ue.program_attr)==null?void 0:vt.description)||"- -"})),(ue==null?void 0:ue.question_type)===7&&((tn=ue==null?void 0:ue.sub_item_banks)==null?void 0:tn.map((Ye,Ft)=>{var $t,Ln,Zt,Kt,Xt;return b.createElement("div",null,b.createElement("div",{className:un.combination},b.createElement("span",{className:un.qtitle},Ye==null?void 0:Ye.name)),b.createElement("div",{className:un.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Ye==null?void 0:Ye.item_type)=="SINGLE"||(Ye==null?void 0:Ye.item_type)=="JUDGMENT")&&(($t=Ye==null?void 0:Ye.choices)==null?void 0:$t.map((fn,la)=>b.createElement("div",{className:un.redio},!(fn!=null&&fn.is_answer)&&b.createElement("span",{className:un.redioitem}),(fn==null?void 0:fn.is_answer)&&b.createElement("i",{className:`${un.redioitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:fn!=null&&fn.is_answer?un.titleyes:un.title,value:da[la]+(fn==null?void 0:fn.choice_text)}),(fn==null?void 0:fn.is_answer)&&b.createElement("div",{className:un.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ye==null?void 0:Ye.item_type)=="MULTIPLE"&&((Ln=Ye==null?void 0:Ye.choices)==null?void 0:Ln.map((fn,la)=>b.createElement("div",{className:un.checkbox},!(fn!=null&&fn.is_answer)&&b.createElement("span",{className:un.checkboxitem}),(fn==null?void 0:fn.is_answer)&&b.createElement("i",{className:`${un.checkboxitemyes} icon-duigou1`}),b.createElement(Pt.Z,{className:fn!=null&&fn.is_answer?un.titleyes:un.title,value:da[la]+(fn==null?void 0:fn.choice_text)}),(fn==null?void 0:fn.is_answer)&&b.createElement("div",{className:un.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ye==null?void 0:Ye.item_type)=="COMPLETION"&&b.createElement("div",{className:un.completion},(Zt=Ye==null?void 0:Ye.standard_answer)==null?void 0:Zt.map((fn,la)=>{var wt;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:un.title},"\u586B\u7A7A\u9879",la+1),b.createElement("div",{className:un.content},(wt=fn==null?void 0:fn.answer_text)==null?void 0:wt.map((Ea,Ir)=>b.createElement("div",{className:un.items},Ea))))})),(Ye==null?void 0:Ye.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:un.simple},b.createElement("div",{className:un.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Kt=Ye==null?void 0:Ye.answer_texts)!=null&&Kt[0]?b.createElement(Pt.Z,{className:un.content,value:(Xt=Ye==null?void 0:Ye.answer_texts)==null?void 0:Xt[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ue==null?void 0:ue.question_type)===8&&b.createElement("div",null,b.createElement(Pt.Z,{disabledFill:!0,className:un.content,showProgramFill:!0,value:Fu.Base64.decode(((Fn=ue==null?void 0:ue.program_attr)==null?void 0:Fn.code)||"")})),(ue==null?void 0:ue.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(ue==null?void 0:ue.study_count)||"0"))),b.createElement("a",{className:un.shixunbutton,href:`/shixuns/${ue==null?void 0:ue.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ue==null?void 0:ue.question_type)<=4||[6,8].includes(ue==null?void 0:ue.question_type))&&b.createElement("div",{className:un.bottom},b.createElement("div",{className:un.bottomitem},b.createElement("span",{className:un.left},"\u89E3\u6790"),b.createElement("span",{className:un.right},ue!=null&&ue.analysis?b.createElement(Pt.Z,{value:ue==null?void 0:ue.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:un.bottomitem},b.createElement("span",{className:un.left},"\u96BE\u5EA6"),b.createElement("span",{className:un.right},(ue==null?void 0:ue.difficulty)===1?"\u7B80\u5355":(ue==null?void 0:ue.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:un.bottomitem},b.createElement("span",{className:un.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:un.right},ue!=null&&ue.tag_discipline?ue==null?void 0:ue.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},ba=re(94890),ca=re(79751),kr=re(56636),tr=re(50838),xr=re(88387),qr=re(67702),io=re(84698),Rn=re(59301),Jo=Object.defineProperty,po=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,$r=Object.getOwnPropertySymbols,Bo=Object.prototype.hasOwnProperty,wo=Object.prototype.propertyIsEnumerable,so=(ue,Ee,Pe)=>Ee in ue?Jo(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,gr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Bo.call(Ee,Pe)&&so(ue,Pe,Ee[Pe]);if($r)for(var Pe of $r(Ee))wo.call(Ee,Pe)&&so(ue,Pe,Ee[Pe]);return ue},ko=(ue,Ee)=>po(ue,Wr(Ee)),Mo=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())});const Ai=({setScoreShow:ue,ScoreShow:Ee,onOk:Pe,isshixuns:ut,isloadings:pt,dispatch:kn,shixunsDetail:mn,exercise:Wt})=>{var vt,tn,Fn;let[Ye,Ft]=(0,b.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:[]}),[$t,Ln]=(0,b.useState)([]),[Zt,Kt]=(0,b.useState)([]),[Xt,fn]=(0,b.useState)([]),[la,wt]=(0,b.useState)([]);const[Ea,Ir]=(0,b.useState)(!1),[Tr]=we.default.useForm(),[rr,Lo]=(0,b.useState)(),[ra,Or]=(0,b.useState)(!1);let[_a,jr]=(0,b.useState)(ut);const[yo,No]=(0,b.useState)([]),[Wo,Pa]=(0,b.useState)(!0),[Sr,Fi]=(0,b.useState)([]),[Yr,Mn]=(0,b.useState)(0),[ai,Ui]=(0,b.useState)([]),fi=[{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}],[wi,ll]=(0,b.useState)({});(0,b.useEffect)(()=>{var en,Wn,Zr,Ja,pr,ro,Ho,Zo,Ji,bi;(((Zr=(Wn=(en=Wt==null?void 0:Wt.editData)==null?void 0:en.exercise)==null?void 0:Wn.exist_item_bank_ids)==null?void 0:Zr.length)>0||((ro=(pr=(Ja=Wt==null?void 0:Wt.editData)==null?void 0:Ja.exercise)==null?void 0:pr.exist_item_bank_shixun_ids)==null?void 0:ro.length)>0)&&Ui([...(Zo=(Ho=Wt==null?void 0:Wt.editData)==null?void 0:Ho.exercise)==null?void 0:Zo.exist_item_bank_ids,...(bi=(Ji=Wt==null?void 0:Wt.editData)==null?void 0:Ji.exercise)==null?void 0:bi.exist_item_bank_shixun_ids])},[(tn=(vt=Wt==null?void 0:Wt.editData)==null?void 0:vt.exercise)==null?void 0:tn.exist_item_bank_ids]);const ui=(0,b.useRef)(new Set),El=(0,b.useRef)(new Set);let[Qi,$i]=(0,b.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 To=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],vi=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],ul=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Tl,Dr]=(0,b.useState)(!1),Ro=()=>{Tr.resetFields(),_a=!1,jr(!1),Dr(!1),Tr.submit()};(0,b.useEffect)(()=>{Yr>0&&setTimeout(()=>{Mn(0)},2e3)},[Yr]),(0,b.useEffect)(()=>{Ee&&(Tr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Wo&&_a&&(Tr.setFieldsValue({item_type:"SHIXUN"}),Ye.item_type="SHIXUN",Ft(gr({},Ye)),Pa(!1)),ri(Ye),Yi(),Uo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ee]);function ri(en){return Mo(this,null,function*(){var Wn,Zr,Ja;if(Ir(!0),Ft(en),(Xt==null?void 0:Xt.length)<=0&&en.type==="5"){wt([]),Ir(!1);return}let pr=en.type==="5"?Xt==null?void 0:Xt.filter(Zo=>!yo.includes(Zo)):null,ro=en.type==="5"?Xt==null?void 0:Xt.filter(Zo=>yo.includes(Zo)):null;en.group_id=((Wn=en.group_id)==null?void 0:Wn.map(Zo=>Zo==null?void 0:Zo.value))||null;let Ho=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:ko(gr({},en),{discipline_id:((Zr=en==null?void 0:en.courseid)==null?void 0:Zr[0])||null,sub_discipline_id:((Ja=en==null?void 0:en.courseid)==null?void 0:Ja[1])||null,ids:pr,shixun_ids:ro,keyword:en.keyword?encodeURIComponent(en.keyword):en.keyword,include_shixuns:!0,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});wt(Ho),Ir(!1)})}function Uo(en){return Mo(this,null,function*(){var Wn;let Zr=yield(0,te.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:en}),Ja=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Wn=Zr==null?void 0:Zr.data)==null?void 0:Wn.map(pr=>({title:pr.name,id:pr.id,pid:pr.id,value:pr.id,key:pr.id,isLeaf:!pr.have_child}))}];Fi(Ja)})}function Yi(){return Mo(this,null,function*(){let en=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ye.type==="5"?null:Ye.type,clazz:"ItemBanksGroup"}});Ln((0,On.L)(en==null?void 0:en.disciplines))})}function Ki(en){return Mo(this,null,function*(){var Wn,Zr,Ja,pr;Ir(!0);let ro=(Wn=en.list)==null?void 0:Wn.filter(Ji=>!yo.includes(Ji)),Ho=(Zr=en.list)==null?void 0:Zr.filter(Ji=>yo.includes(Ji));if(ro.length===0&&Ho.length===0){Ir(!1),wt([]);return}let Zo=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:ko(gr({},en),{discipline_id:((Ja=en==null?void 0:en.courseid)==null?void 0:Ja[0])||null,sub_discipline_id:((pr=en==null?void 0:en.courseid)==null?void 0:pr[1])||null,ids:ro,shixun_ids:Ho,type:en.type==="5"?null:en.type,clazz:en.type==="3"?"ItemBanksGroup":null})});Ir(!1),wt(Zo)})}const Li=(0,pe.useParams)(),[Zl,wl,Pl,Ei]=(0,kr.P)(),Gl=en=>Mo(void 0,null,function*(){const Wn=yield kn({type:"shixunsDetail/release",payload:{id:en}});let Zr=Wn==null?void 0:Wn.tag_position,Ja=(Wn==null?void 0:Wn.evaluation_set_position)||[],pr=Wn.status;return pr===0?(Ae.ZP.success("\u53D1\u5E03\u6210\u529F"),ri(Ye),!0):(pr===2?Ae.ZP.error(`\u7B2C${Ja.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):pr===3?Ae.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Zr.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ae.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),no=en=>(en==null?void 0:en.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",nu=(en,Wn,Zr)=>en.map(Ja=>Ja.key===Wn?gr(gr({},Ja),Zr):Ja.children?ko(gr({},Ja),{children:nu(Ja.children,Wn,Zr)}):Ja),bu=en=>Mo(void 0,null,function*(){const{key:Wn}=en;let Zr=Ye.type;const Ja=yield(0,xr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Wn),type:Zr}),{data:pr,total_count:ro}=Ja||{};ro>0&&Fi(Ho=>nu(Ho,Wn,{children:pr.map(Zo=>({title:Zo.name,id:Zo.id,pid:Zo.id,value:Zo.id,key:Zo.id,isLeaf:!Zo.have_child}))}))});function Wl(en){console.log("----",Ye),en==="1"&&(Qi.gg=gr({},Ye)),en==="2"&&(Qi.scj=gr({},Ye)),en==="3"&&(Qi.ttgx=gr({},Ye)),en==="0"&&(Qi.wcjd=gr({},Ye)),en==="5"&&(Qi.yx=gr({},Ye)),$i(gr({},Qi))}function mu(){Ye.type==="1"&&(Ye=Qi.gg),Ye.type==="2"&&(Ye=Qi.scj),Ye.type==="3"&&(Ye=Qi.ttgx),Ye.type==="0"&&(Ye=Qi.wcjd),Ye.type==="5"&&(Ye=Qi.yx),(Ye==null?void 0:Ye.item_type)==="SHIXUN"?(_a=!0,jr(!0)):(_a=!1,jr(!1)),Tr.setFieldsValue(gr({},Ye)),Ft(gr({},Ye)),ri(gr({},Ye))}return Rn.createElement("div",null,Rn.createElement(Je.default,{title:!1,footer:!1,open:Ee,width:1200,centered:!0,className:zt.scoremodal,onCancel:()=>{ue(!1)}},Rn.createElement("div",{style:{display:"flex",alignItems:"center"}},Rn.createElement("div",{className:zt.title},"\u9898\u5E93\u9009\u9898")),Rn.createElement(Dn.default,{className:zt.tabWrap,activeKey:Ye.type,onChange:en=>{en==="3"?(Ye.show_all_share=!0,Uo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ye.show_all_share=null,en==="0"&&Uo({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Wl(Ye.type),Ye.type=en,(Ye==null?void 0:Ye.item_type)==="SHIXUN"&&Ye.type!=="5"&&(_a=!0,jr(!0)),Dr(!1),Ye.type==="5"&&(_a=!1,jr(!1)),mu(),Yi()},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:Rn.createElement("div",null,"\u5DF2\u9009",Xt.length>0&&Rn.createElement("span",{className:zt.titlecount},Xt.length),Yr>0&&Rn.createElement("span",{className:zt.add},"+",Yr)),key:"5"}]}),Rn.createElement(we.default,{layout:"inline",form:Tr,onValuesChange:(en,Wn)=>{var Zr,Ja;const pr=Object.values(Wn).some(Ho=>Ho!==null&&Ho!==""&&Ho!==void 0),ro=Wn.keyword==="";if(Dr(pr||!ro),Ye.page=1,Ye.keyword=(Ja=(Zr=Ye.keyword)==null?void 0:Zr.replace)==null?void 0:Ja.call(Zr,/^\s+|\s+$/g,""),(Wn==null?void 0:Wn.item_type)==="SHIXUN"){if(Ye.type==="5"?jr(!1):jr(!0),en.keyword||en.keyword==="")return;Tr.submit()}else{if(en!=null&&en.courseid&&Tr.setFieldsValue({tag_discipline_id:""}),jr(!1),en.keyword||en.keyword==="")return;Tr.submit()}},onFinish:en=>{var Wn;Ye.type==="3"&&(!en.group_id||((Wn=en==null?void 0:en.group_id)==null?void 0:Wn.length)===0)?Ye.show_all_share=!0:Ye.show_all_share=null,Ft(gr(gr({},Ye),en)),ri(gr(gr({},Ye),en))}},Rn.createElement(we.default.Item,{name:"item_type"},Rn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},fi.map(en=>Rn.createElement(he.default.Option,{key:en.value},en.name)))),Rn.createElement(we.default.Item,{name:"courseid"},Rn.createElement(De.Z,{className:zt.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:$t})),!_a&&Rn.createElement(we.default.Item,{name:"tag_discipline_id"},Rn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Fn=la==null?void 0:la.tag_disciplines)==null?void 0:Fn.map(en=>Rn.createElement(he.default.Option,{key:en.id},en.name)))),Rn.createElement(we.default.Item,{name:_a?"diff":"difficulty"},Rn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!_a&&To.map(en=>Rn.createElement(he.default.Option,{key:en.value},en.name)),_a&&vi.map(en=>Rn.createElement(he.default.Option,{key:en.value},en.name)))),_a&&Rn.createElement(we.default.Item,{name:"shixun_publish_status"},Rn.createElement(he.default,{className:zt.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},ul.map(en=>Rn.createElement(he.default.Option,{key:en.value},en.name)))),(Ye.type==="3"||Ye.type==="0")&&!_a&&Rn.createElement(we.default.Item,{name:"group_id"},Rn.createElement(wn.default,{treeDataSimpleMode:!0,style:{width:118},className:zt.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(en,Wn)=>Wn.title.toUpperCase().indexOf(en.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:Sr})),Tl&&Rn.createElement("span",{className:zt.allqingchu,onClick:Ro},Rn.createElement("i",{className:"iconfont icon-guanbi4"}),Rn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Rn.createElement(we.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Rn.createElement(Ue.default.Search,{className:zt.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Rn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${zt.searchIcon}`,onClick:()=>Tr.submit()}),onSearch:en=>{Tr.submit()}}))),Rn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Rn.createElement("div",{onClick:()=>{Ye.updated_at==="asc"?Ye.updated_at="desc":Ye.updated_at="asc",Ft(ko(gr({},Ye),{page:1})),ri(ko(gr({},Ye),{page:1}))}}," ",Ye.updated_at?Rn.createElement("img",{src:Ye.updated_at==="asc"?ba.Z:ca.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Rn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Rn.createElement("div",{onClick:()=>{Ye.quotes==="asc"?Ye.quotes="desc":Ye.quotes="asc",Ft(ko(gr({},Ye),{page:1})),ri(ko(gr({},Ye),{page:1}))},style:{marginLeft:20}}," ",Ye.quotes?Rn.createElement("img",{src:Ye.quotes==="asc"?ba.Z:ca.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Rn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Rn.createElement(cs.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(la==null?void 0:la.items)||(la==null?void 0:la.shixun_list),pagination:!1,loading:Ea,rowKey:en=>en.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Zt,...ai],getCheckboxProps:en=>({disabled:en.shixun_tag_num===1||(ai==null?void 0:ai.find(Wn=>en.id===Wn))}),onSelect(en,Wn,Zr){if(Wn)_a&&No([...yo,en.id]),Kt([...Zt,en.id]),en.identifier?ui.current.add(en.id):El.current.add(en.id),Mn(1),fn([...Xt,en.id]);else{en.identifier?ui.current.delete(en.id):El.current.delete(en.id);let Ja=Xt.filter(pr=>pr!==en.id);if(Kt(Ja),fn(Ja),_a){let pr=yo.filter(ro=>ro!==en.id);No([...pr])}if(Ye.type==="5"){Ki(ko(gr({},Ye),{list:[...Ja]}));return}}},onSelectAll(en,Wn,Zr){if(en){const Ja=Zr.map(pr=>pr.id);_a&&No([...yo,...Ja]),Kt([...Zt,...Ja]),fn([...Xt,...Ja]);for(const pr of Zr)pr.identifier?ui.current.add(pr.id):El.current.add(pr.id)}else{const Ja=Zr.map(ro=>ro.id),pr=Zt.filter(ro=>!Ja.some(Ho=>Ho===ro));if(Kt([...pr]),fn([...pr]),_a){let ro=yo.filter(Ho=>!Ja.some(Zo=>Zo===Ho.id));No([...ro])}Ye.type==="5"&&Ki(ko(gr({},Ye),{list:[...pr]}));for(const ro of Ja)ro.identifier?ui.current.delete(ro):El.current.delete(ro)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(en,Wn,Zr)=>{var Ja,pr;return Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("div",null,_a||Wn!=null&&Wn.challenge_names?"\u5B9E\u8BAD\u9898":(pr=(Ja=fi==null?void 0:fi.filter(ro=>ro.value===en))==null?void 0:Ja[0])==null?void 0:pr.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:_a?"30%":"60%",key:"name",render:(en,Wn,Zr)=>{var Ja;return Rn.createElement("div",{style:{display:"flex",alignItems:"center"}},Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("span",null,Rn.createElement(Pt.Z,{key:1,showLines:1,showTextOnly:!0,value:_a||Wn!=null&&Wn.challenge_names?Wn!=null&&Wn.title||en===null?"--":en:(Wn==null?void 0:Wn.item_type)=="BPROGRAM"?(Ja=Wn==null?void 0:Wn.program_attr)==null?void 0:Ja.description:en}))),(Wn==null?void 0:Wn.high_resources_consume)&&Rn.createElement(tr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!_a,render:(en,Wn,Zr)=>{var Ja;return Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("span",null,en?(Ja=en==null?void 0:en.split("\u3001"))==null?void 0:Ja[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!_a,render:(en,Wn,Zr)=>Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("span",null,en||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(en,Wn,Zr)=>{var Ja,pr,ro,Ho;return Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("div",null,_a||Wn!=null&&Wn.challenge_names?(Wn==null?void 0:Wn.level)||((pr=(Ja=To==null?void 0:To.filter(Zo=>Zo.value===en))==null?void 0:Ja[0])==null?void 0:pr.name):(Ho=(ro=To==null?void 0:To.filter(Zo=>Zo.value===en))==null?void 0:ro[0])==null?void 0:Ho.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!_a,render:(en,Wn,Zr)=>Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("div",null,en||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!_a,render:(en,Wn,Zr)=>Rn.createElement("span",null,en||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(en,Wn,Zr)=>Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("div",null,_a||Wn!=null&&Wn.challenge_names?(Wn==null?void 0:Wn.study_count)||(Wn==null?void 0:Wn.stu_num):en))},{title:Rn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Rn.createElement(it.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Rn.createElement(_n.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!_a,render:(en,Wn,Zr)=>Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("div",null,en||"- -"))},{title:Rn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Rn.createElement(it.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Rn.createElement(_n.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!_a,render:(en,Wn,Zr)=>Rn.createElement("span",null,en||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(en,Wn,Zr)=>Rn.createElement(it.Z,{title:no(Wn)},Rn.createElement("div",{style:{flex:1,textAlign:"start"}},Rn.createElement("a",{onClick:()=>{var Ja,pr;Lo(ko(gr({},Wn),{question_type:_a||Wn!=null&&Wn.challenge_names?5:(pr=(Ja=fi==null?void 0:fi.filter(ro=>ro.value===(Wn==null?void 0:Wn.item_type)))==null?void 0:Ja[0])==null?void 0:pr.question_type})),Or(!0)}},"\u67E5\u770B"),(Wn==null?void 0:Wn.shixun_tag_num)===1&&Rn.createElement("a",{style:{marginLeft:10},onClick:()=>{Je.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Rn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Rn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${Wn==null?void 0:Wn.identifier}/challenges`)}},(Wn==null?void 0:Wn.shixun_name)||"--"),"\uFF1F"),onOk:()=>Mo(void 0,null,function*(){if(!Gl(Wn==null?void 0:Wn.identifier))return new Promise((Ja,pr)=>{pr()})})})}},"\u53D1\u5E03")))}].filter(en=>!en.hidden)}),Rn.createElement(Dt.Z,{current:Ye.page,total:(la==null?void 0:la.items_count)||(la==null?void 0:la.shixuns_count),style:{marginBottom:20},defaultPageSize:Ye.per_page,showTotal:en=>Rn.createElement("span",null,"\u5171\xA0",Rn.createElement("span",{style:{color:"#165DFF"}},en),"\xA0\u6761\u6570\u636E"),pageSize:Ye.per_page,onChange:(en,Wn)=>{Ye.page=en,Ye.per_page=Wn,Ft(gr({},Ye)),ri(gr({},Ye))}}),Rn.createElement("div",{className:zt.bottom},Rn.createElement(ke.ZP,{className:zt.no,onClick:()=>{ue(!1)}},"\u53D6\u6D88"),Rn.createElement(ke.ZP,{loading:pt,style:{width:pt&&75},className:zt.yes,onClick:()=>Mo(void 0,null,function*(){if((Xt==null?void 0:Xt.length)<=0){Ae.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let en=yield(0,io.Tr)({id:[...Xt==null?void 0:Xt.filter(Wn=>yo.includes(Wn))],course_id:Li.coursesId,type:"shixun"});(en==null?void 0:en.student_count)===0?Pe([...El.current],[...Xt==null?void 0:Xt.filter(Wn=>yo.includes(Wn))],!0,Xt==null?void 0:Xt.length):ll(en)})},"\u786E\u8BA4"))),Rn.createElement(Je.default,{open:ra,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:zt.previewModal,width:1e3,centered:!0,onCancel:()=>{Or(!1)},onOk:()=>{Or(!1)}},Rn.createElement(Ia,{qitem:rr})),Rn.createElement(qr.Z,{resdata:wi,type:"exercise",okloading:pt,oktext:(wi==null?void 0:wi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:en=>Mo(void 0,null,function*(){const Wn=[],Zr=[];for(const Ja of wi==null?void 0:wi.can_copy_list)Wn.push(Ja.id);wl(),yield Pe([...El.current],[...ui.current].filter(Ja=>!Zr.includes(Ja)),!0,Xt==null?void 0:Xt.length,Wn)})}))};var qo=(0,pe.connect)(({shixunsDetail:ue,exercise:Ee})=>({shixunsDetail:ue,exercise:Ee}))(Ai),xi=re(44931),Ur=re(59301),di=Object.defineProperty,Pi=Object.defineProperties,_i=Object.getOwnPropertyDescriptors,pi=Object.getOwnPropertySymbols,Xi=Object.prototype.hasOwnProperty,gl=Object.prototype.propertyIsEnumerable,Gr=(ue,Ee,Pe)=>Ee in ue?di(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Eo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Xi.call(Ee,Pe)&&Gr(ue,Pe,Ee[Pe]);if(pi)for(var Pe of pi(Ee))gl.call(Ee,Pe)&&Gr(ue,Pe,Ee[Pe]);return ue},Ao=(ue,Ee)=>Pi(ue,_i(Ee)),hi=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())}),ni=({qitem:ue,TagDiscipline:Ee,exerciseitem:Pe,setisedit:ut,seveeditor:pt,deleteitem:kn,getTagData:mn,init:Wt,showTip:vt=!1})=>{var tn;const[Fn]=we.default.useForm(),Ye=!0;return(0,b.useEffect)(()=>{var Ft,$t,Ln;Fn.setFieldsValue(Ao(Eo({},ue),{standard_answers:ue.standard_answer,difficulty:(ue==null?void 0:ue.difficult)||2,item_banks_group_id:ue.item_banks_group_id,hack:Ao(Eo({},ue),{time_limit:(ue==null?void 0:ue.time_limit)||3}),hack_codes:{language:(Ft=ue==null?void 0:ue.program_attr)==null?void 0:Ft.language,code:Fu.Base64.decode((($t=ue==null?void 0:ue.program_attr)==null?void 0:$t.code)||"")},hack_sets:Eo({},(Ln=ue==null?void 0:ue.hack_sets)==null?void 0:Ln[0]),repeat_answer:!ue.repeat_answer}))},[ue]),Ur.createElement("div",null,Ur.createElement(we.default,{form:Fn,colon:!1,onValuesChange:(Ft,$t)=>{var Ln,Zt,Kt,Xt;if(Ft!=null&&Ft.standard_answers){let fn=((Ln=Fn.getFieldValue("standard_answers"))==null?void 0:Ln.length)>0&&((Kt=(Zt=Fn.getFieldValue("standard_answers"))==null?void 0:Zt.map(la=>la.score))==null?void 0:Kt.filter(la=>la));(fn==null?void 0:fn.length)>0&&Fn.setFieldsValue({question_score:(fn==null?void 0:fn.length)>0&&((Xt=fn.reduce((la,wt)=>la+wt))==null?void 0:Xt.toFixed(1))})}},onFinish:Ft=>{var $t;pt(Ao(Eo(Eo({},ue),Ft),{item_type:ue==null?void 0:ue.question_type,standard_answers:($t=Ft.standard_answers)==null?void 0:$t.map((Ln,Zt)=>Ao(Eo({},Ln),{position:Zt+1})),hack_codes:Ao(Eo({},Ft.hack_codes),{code:Fu.Base64.encode(Ft.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:Ft=>hi(void 0,null,function*(){var $t,Ln;Ae.ZP.error(Ft.errorFields[0].errors[0]),Fn.scrollToField((Ln=($t=Ft==null?void 0:Ft.errorFields)==null?void 0:$t[0])==null?void 0:Ln.name,{behavior:"smooth",block:"center"})})},Ur.createElement("div",{style:{display:"flex",alignItems:"center"}},Ur.createElement("div",{style:{flex:1}},Ur.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ur.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((tn=Pe==null?void 0:Pe.exercise)==null?void 0:tn.exercise_status)==1&&!(ue!=null&&ue.isadd)&&Ur.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{kn()}},Ur.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Ur.createElement(ke.ZP,{onClick:()=>{var Ft,$t,Ln,Zt;ue.isadd?(ut(!1),Wt()):(Fn.setFieldsValue(Ao(Eo({},ue),{standard_answers:ue.standard_answer,difficulty:ue.difficult,item_banks_group_id:ue.item_banks_group_id,hack:Ao(Eo({},ue),{sub_discipline_id:(Ft=Pe==null?void 0:Pe.exercise)==null?void 0:Ft.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:($t=ue==null?void 0:ue.program_attr)==null?void 0:$t.language,code:Fu.Base64.decode((Ln=ue==null?void 0:ue.program_attr)==null?void 0:Ln.code)},hack_sets:Eo({},(Zt=ue==null?void 0:ue.hack_sets)==null?void 0:Zt[0]),repeat_answer:!ue.repeat_answer})),ut(!1))}},"\u53D6\u6D88"),Ur.createElement(it.Z,{overlayClassName:nt.shake,open:vt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ur.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ur.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")},Ur.createElement(ke.ZP,{className:"ml20",type:"primary",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),Ur.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ur.createElement(Ct.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Ur.createElement(xi.t,{form:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ye,hackidentifier:ue==null?void 0:ue.hack_identifier,answerKey:"standard_answers"}),Ur.createElement(xa,{getTagData:mn,qitem:ue,exerciseitem:Pe,TagDiscipline:Ee,form:Fn}))))},yi=re(13952),Bl=re(61881),Hi=re(68606),zi=re(89392),$l=re(92578),uu=re(32454),Cn=re(59301),Zi=Object.defineProperty,Sl=Object.defineProperties,Vi=Object.getOwnPropertyDescriptors,eu=Object.getOwnPropertySymbols,Rl=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,$o=(ue,Ee,Pe)=>Ee in ue?Zi(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,Vo=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Rl.call(Ee,Pe)&&$o(ue,Pe,Ee[Pe]);if(eu)for(var Pe of eu(Ee))ol.call(Ee,Pe)&&$o(ue,Pe,Ee[Pe]);return ue},Wi=(ue,Ee)=>Sl(ue,Vi(Ee)),xo=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())});const{confirm:il}=Je.default,Di=[{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"}],Al=({user:ue,dispatch:Ee,itemid:Pe,setisedits:ut,exercise:pt,setitemid:kn})=>{var mn,Wt,vt,tn,Fn,Ye,Ft,$t,Ln,Zt,Kt,Xt,fn,la,wt,Ea,Ir,Tr,rr,Lo,ra,Or,_a,jr,yo,No,Wo;const[Pa,Sr]=(0,b.useState)(),[Fi,Yr]=(0,b.useState)(!1),[Mn,ai]=(0,b.useState)(),[Ui,fi]=(0,b.useState)(),wi=(0,b.useRef)(),ll=(0,b.useRef)(),[ui,El]=(0,b.useState)(),[Qi,$i]=(0,b.useState)(!1),[To,vi]=(0,b.useState)(!1),[ul,Tl]=(0,b.useState)(),[Dr,Ro]=(0,b.useState)(!1),[ri,Uo]=(0,b.useState)(!1),[Yi,Ki]=(0,b.useState)(!1),[Li,Zl]=(0,b.useState)(!1),[wl,Pl]=(0,b.useState)(!1),[Ei,Gl]=(0,b.useState)(!1),no=(0,pe.useParams)(),[nu,bu]=(0,b.useState)(!1),[Wl]=we.default.useForm(),[mu,en]=(0,b.useState)(!1),[Wn,Zr]=(0,b.useState)(!1),[Ja,pr]=(0,b.useState)(!1),[ro,Ho]=(0,b.useState)(!1),Zo=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&bi()},[Pe]),(0,b.useEffect)(()=>{ut(To)},[To]),(0,b.useEffect)(()=>{Mn!=null&&Mn.question_id&&(fi(Mn==null?void 0:Mn.question_score),ll.current=Mn==null?void 0:Mn.question_id)},[Mn]);const Ji=qn=>xo(void 0,null,function*(){let Ya=yield Ee({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:qn}});Ee({type:"globalSetting/footerToggle",payload:!1}),Tl(Ya)});function bi(){return xo(this,null,function*(){var qn,Ya,wr,oo,Kr,br;$i(!0),Yr(!0);const co=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});$i(!1),Yr(!1),Sr(co),Pl(!1),(qn=co==null?void 0:co.exercise)!=null&&qn.sub_discipline_id&&Ji((Ya=co==null?void 0:co.exercise)==null?void 0:Ya.sub_discipline_id),ai(Wi(Vo({},(Kr=(oo=(wr=co==null?void 0:co.exercise_question_types)==null?void 0:wr[0])==null?void 0:oo.items)==null?void 0:Kr[0]),{index:1})),El(Wi(Vo({},(br=co==null?void 0:co.exercise_question_types)==null?void 0:br[0]),{indexs:1}))})}function jl(qn,Ya=!0){return xo(this,null,function*(){var wr,oo,Kr,br;Ya&&($i(!0),Yr(!0));const co=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Sr(co);let Io=[];(wr=co==null?void 0:co.exercise_question_types)==null||wr.map(Cr=>{var wa;(wa=Cr==null?void 0:Cr.items)==null||wa.map((ur,lo)=>{Io.push(Wi(Vo({},ur),{index:lo+1}))})});let ji=(oo=Io.filter(Cr=>Cr.question_id===(qn==null?void 0:qn.id)))==null?void 0:oo[0],su=(br=((Kr=co==null?void 0:co.exercise_question_types)==null?void 0:Kr.map((Cr,wa)=>{if((ji==null?void 0:ji.question_type)===(Cr==null?void 0:Cr.question_type))return Wi(Vo({},Cr),{indexs:wa+1})})).filter(Cr=>Cr))==null?void 0:br[0];El(Vo({},su)),ai(Vo({},ji)),fi(ji==null?void 0:ji.question_score),$i(!1),Yr(!1),Pl(!1)})}function Ul(qn){return xo(this,null,function*(){var Ya;let wr=Wi(Vo({},qn),{repeat_answer:!qn.repeat_answer,difficulty:(qn==null?void 0:qn.difficulty)||2,item_type:qn.question_type,sub_discipline_id:((Ya=qn==null?void 0:qn.sub_discipline_id)==null?void 0:Ya[1])||"",tag_discipline_ids:[],hack:Wi(Vo({},qn==null?void 0:qn.hack),{difficult:(qn==null?void 0:qn.difficulty)||2}),hack_identifier:sessionStorage.projectFill});qn.tag_discipline_ids&&(wr.tag_discipline_ids=Array.isArray(qn.tag_discipline_ids)?qn.tag_discipline_ids:[qn.tag_discipline_ids]);let oo=wl?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${qn==null?void 0:qn.question_id}.json`;if((qn==null?void 0:qn.is_my)===1){const Kr=il({title:"\u63D0\u793A",content:Cn.createElement("div",null,Cn.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"),Cn.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{Kr.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>xo(this,null,function*(){wr.is_cover=1;let br=yield(0,te.ZP)(oo,{method:wl?"post":"PUT",body:Vo({},wr)});(br==null?void 0:br.status)===0&&(vi(!1),jl({id:(br==null?void 0:br.exercise_question_id)||(qn==null?void 0:qn.question_id)})),Kr.destroy()}),onCancel:()=>xo(this,null,function*(){let br=yield(0,te.ZP)(oo,{method:wl?"post":"PUT",body:Vo({},wr)});(br==null?void 0:br.status)===0&&(vi(!1),jl({id:(br==null?void 0:br.exercise_question_id)||(qn==null?void 0:qn.question_id)})),Kr.destroy()})})}else{let Kr=yield(0,te.ZP)(oo,{method:wl?"post":"PUT",body:Vo({},wr)});(Kr==null?void 0:Kr.status)===0&&(vi(!1),jl({id:(Kr==null?void 0:Kr.exercise_question_id)||(qn==null?void 0:qn.question_id)}))}(0,ht.Vf)("#question-scroll-id")})}function qu(qn){return xo(this,null,function*(){var Ya,wr;Yr(!0);let oo=yield(0,te.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:qn}});if(Yr(!1),(oo==null?void 0:oo.status)===0){const Kr=yield Ee({type:"exercise/editExercise",payload:{categoryId:Pe}});Sr(Kr),Pl(!1),(Ya=Kr==null?void 0:Kr.exercise)!=null&&Ya.sub_discipline_id&&Ji((wr=Kr==null?void 0:Kr.exercise)==null?void 0:wr.sub_discipline_id)}})}const vs=(qn,Ya,wr)=>xo(void 0,null,function*(){var oo;if(qn.length===0){Ae.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),wr();return}const Kr={id:no==null?void 0:no.exerciseId,file:(oo=qn[0])==null?void 0:oo.file,sub_discipline_id:Ya};hs(Kr,`${yi.Z.API_SERVER}/api/courses/${no==null?void 0:no.coursesId}/exercises/import_exercise.json`,br=>{var co;if((br==null?void 0:br.status)===0){const Io={};(co=br==null?void 0:br.fail)==null||co.forEach(Ll=>{var su;((su=Object.keys(Io))==null?void 0:su.includes(Ll.message))?Io[Ll.message]=Io[Ll.message]+1:Io[Ll.message]=1});let ji=`\u6210\u529F\u5BFC\u5165${br==null?void 0:br.success}\u6761`;Object.keys(Io).forEach(Ll=>{ji=ji+`,${Ll}${Io[Ll]}\u6761`}),Ae.ZP.success(ji),Ro(!1),bi()}(br==null?void 0:br.status)===-1&&(Ae.ZP.error(br==null?void 0:br.message),wr())})}),ps=(qn,Ya)=>xo(void 0,null,function*(){const wr=yield(0,Hi.zR)({score:(0,zi.round)(qn,1),question_id:Ya==null?void 0:Ya.question_id});if((wr==null?void 0:wr.status)===0){Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),jl({id:ll.current},!1);return}(wr==null?void 0:wr.status)===-1&&fi(Ya==null?void 0:Ya.question_score)}),Hl=()=>{Ho(!0)};(0,b.useEffect)(()=>{if(ro){const qn=setTimeout(()=>{Ho(!1)},2e3);return()=>clearTimeout(qn)}},[ro]);const hs=(qn,Ya,wr,oo,Kr)=>{const br=new FormData;Object.keys(qn).forEach(Io=>{br.append(Io,qn[Io])});const co=new window.XMLHttpRequest;return co.withCredentials=!0,co.addEventListener("load",function(Io){var ji;wr(JSON.parse((ji=Io==null?void 0:Io.target)==null?void 0:ji.response))},!1),co.addEventListener("error",function(Io){Kr&&Kr(Io)},!1),co.upload.onprogress=Io=>{oo&&oo(Io)},co.open("POST",Ya),co.send(br),co};function au(){return xo(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:()=>xo(this,null,function*(){if(Mn.question_id){let qn=yield(0,te.ZP)(`/api/exercise_questions/${Mn.question_id}.json`,{method:"delete"});(qn==null?void 0:qn.status)===0&&(bi(),vi(!1))}else ai({}),vi(!1),bi()}),cancelText:"\u53D6\u6D88"})})}const Zu=qn=>xo(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:Vo({},qn)})}),{overflow:Ql,handleMouseEnter:$u,handleMouseLeave:Ss}=(0,Bl.I)(),es=(qn,Ya)=>Cn.createElement(bt.default,null,Cn.createElement(bt.default.Item,{key:"0",onClick:()=>Gu(qn==null?void 0:qn.question_type)},Cn.createElement("span",{className:nt.moreSpan},"\u65B0\u589E")),Cn.createElement(bt.default.Item,{key:"1",disabled:Ya===0,onClick:()=>xo(void 0,null,function*(){if(Ya===0)return;if(To){Hl();return}let wr=(0,ht.rz)(Pa==null?void 0:Pa.exercise_question_types,Ya,Ya-1);yield qu(wr.map(oo=>oo.name))})},Cn.createElement("span",{className:nt.moreSpan},"\u4E0A\u79FB")),Cn.createElement(bt.default.Item,{key:"2",disabled:Ya===(Pa==null?void 0:Pa.exercise_question_types.length)-1,onClick:()=>xo(void 0,null,function*(){if(Ya===(Pa==null?void 0:Pa.exercise_question_types.length)-1)return;if(To){Hl();return}let wr=(0,ht.rz)(Pa==null?void 0:Pa.exercise_question_types,Ya,Ya+1);yield qu(wr.map(oo=>oo.name))})},Cn.createElement("span",{className:nt.moreSpan},"\u4E0B\u79FB")),Cn.createElement(bt.default.Item,{key:"3",onClick:()=>{var wr;Wl.setFieldsValue({name:qn.name,item_type_en:(wr=Di.find(oo=>oo.id==qn.question_type))==null?void 0:wr.nameType}),en(!0)}},Cn.createElement("span",{className:nt.moreSpan},"\u91CD\u547D\u540D"))),Gu=qn=>{var Ya,wr,oo,Kr,br,co,Io,ji,Ll,su,Cr,wa,ur,lo,ei,du,Nl,Yl,Il,fu,ru,yl,Es,bs;if(To){Hl();return}if(Pl(!0),qn===5){Ki(!0),Zl(!0);return}if(qn===6){let Cs=(wr=(Ya=pt==null?void 0:pt.editData)==null?void 0:Ya.exercise)!=null&&wr.set_question_sub_discipline?`/problems/newcreate?express_id=${(oo=Pa==null?void 0:Pa.exercise)==null?void 0:oo.id}&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(br=(Kr=pt==null?void 0:pt.editData)==null?void 0:Kr.exercise)==null?void 0:br.discipline_id}&sub_discipline_id=${(Io=(co=pt==null?void 0:pt.editData)==null?void 0:co.exercise)==null?void 0:Io.sub_discipline_id}`:`/problems/newcreate?express_id=${(ji=Pa==null?void 0:Pa.exercise)==null?void 0:ji.id}&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2`;pe.history.push(Cs);return}vi(!0),ai(qn===2?{question_type:qn,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=(Ll=pt==null?void 0:pt.editData)==null?void 0:Ll.exercise)!=null&&su.set_question_sub_discipline?(wa=(Cr=pt==null?void 0:pt.editData)==null?void 0:Cr.exercise)==null?void 0:wa.discipline_id:0,sub_discipline_id:(lo=(ur=pt==null?void 0:pt.editData)==null?void 0:ur.exercise)!=null&&lo.set_question_sub_discipline?(du=(ei=pt==null?void 0:pt.editData)==null?void 0:ei.exercise)==null?void 0:du.sub_discipline_id:0,analysis:""}:{question_type:qn,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:(Yl=(Nl=pt==null?void 0:pt.editData)==null?void 0:Nl.exercise)!=null&&Yl.set_question_sub_discipline?(fu=(Il=pt==null?void 0:pt.editData)==null?void 0:Il.exercise)==null?void 0:fu.discipline_id:0,sub_discipline_id:(yl=(ru=pt==null?void 0:pt.editData)==null?void 0:ru.exercise)!=null&&yl.set_question_sub_discipline?(bs=(Es=pt==null?void 0:pt.editData)==null?void 0:Es.exercise)==null?void 0:bs.sub_discipline_id:0,downcase:!0,no_space:!0})},ts=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Ro(!0)}},{key:2,label:Cn.createElement("div",null,Cn.createElement("img",{width:26,style:{position:"absolute",top:-2},src:uu.$}),Cn.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(To){Hl();return}Zr(!0)}}];return console.log(ui==null?void 0:ui.question_type,Mn==null?void 0:Mn.question_type),Cn.createElement("div",null,Cn.createElement(dn.Z,{spinning:Qi},Cn.createElement("div",{className:nt.bg},((mn=Pa==null?void 0:Pa.exercise_types)==null?void 0:mn.q_counts)===0&&!To&&Cn.createElement(Tn.Z,{styles:{marginTop:180},customText:Cn.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Cn.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Wt=Pa==null?void 0:Pa.exercise_types)==null?void 0:Wt.q_counts)>0||To)&&Cn.createElement("div",{style:{textAlign:"center"}},Cn.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Cn.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Cn.createElement("div",{className:nt.left},Cn.createElement("div",{className:nt.leftAction},((vt=Pa==null?void 0:Pa.exercise)==null?void 0:vt.exercise_status)===1&&Cn.createElement(ke.ZP,{onClick:()=>{if(To){Hl();return}Uo(!0)},className:nt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Cn.createElement("div",{className:nt.scrollWrapper,style:{overflow:Ql},onMouseEnter:$u,onMouseLeave:Ss},(tn=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:tn.map((qn,Ya)=>Cn.createElement("div",{key:Ya,className:"mb30"},Cn.createElement("div",{className:nt.title},Cn.createElement("div",{className:nt.titleleft},Cn.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,ht.EM)(Ya+1),"\u3001\u3010",qn.name,"\u3011"),Cn.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",qn.count,"\u5C0F\u9898\uFF0C\u5171",qn.score,"\u5206\uFF09")),Cn.createElement(Ce.Z,{dropdownRender:()=>es(qn,Ya),placement:"bottomLeft"},Cn.createElement("div",{className:nt.more_style},Cn.createElement("i",{className:"iconfont icon-sandian font12"})))),Cn.createElement(Za,{handleEditing:Hl,isedit:To,setBigqitem:El,bigitem:Wi(Vo({},qn),{indexs:Ya+1}),setqitem:wr=>xo(void 0,null,function*(){var oo;(oo=wi.current)==null||oo.blur(),ai(wr)}),qitem:Mn,Itemid:Pe,getdata:jl,data:qn.items})))))),Cn.createElement("div",{id:"question-scroll-id",style:{overflow:To?"hidden":"auto"},className:nt.right},!(Mn!=null&&Mn.isadd)&&Cn.createElement("div",{className:nt.title},!To&&Cn.createElement("div",{style:{flex:1}},Cn.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(ui==null?void 0:ui.indexs)&&(0,ht.EM)(ui==null?void 0:ui.indexs),"\u3001\u3010",ui==null?void 0:ui.name,"\u3011"),Cn.createElement(it.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Cn.createElement("i",{className:`${nt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var qn;Wl.setFieldsValue({name:ui.name,item_type_en:(qn=Di.find(Ya=>Ya.id==ui.question_type))==null?void 0:qn.nameType}),en(!0)}})),Cn.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",ui==null?void 0:ui.count,"\u5C0F\u9898\uFF0C\u5171",ui==null?void 0:ui.score,"\u5206\uFF09"),(Mn==null?void 0:Mn.question_type)===6&&Cn.createElement("span",{onClick:()=>{Je.default.destroyAll(),pr(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(Mn==null?void 0:Mn.question_type)===5&&Cn.createElement(tt.default,{defaultChecked:(Ye=(Fn=pt==null?void 0:pt.editData)==null?void 0:Fn.exercise)==null?void 0:Ye.show_challenge_task_pass,onChange:qn=>xo(void 0,null,function*(){let Ya=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:qn.target.checked}});(Ya==null?void 0:Ya.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),jl({id:ll.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Mn==null?void 0:Mn.question_type)===6&&Cn.createElement("span",{style:{marginLeft:20},onClick:()=>{var qn,Ya,wr,oo;Je.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Cn.createElement("div",null,(Mn==null?void 0:Mn.question_type)===6&&Cn.createElement(tt.default,{defaultChecked:(Ya=(qn=pt==null?void 0:pt.editData)==null?void 0:qn.exercise)==null?void 0:Ya.show_hack_sets,onChange:Kr=>xo(void 0,null,function*(){let br=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Kr.target.checked}});(br==null?void 0:br.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Je.default.destroyAll(),jl({id:ll.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Cn.createElement("br",null),(Mn==null?void 0:Mn.question_type)===6&&Cn.createElement(tt.default,{defaultChecked:(oo=(wr=pt==null?void 0:pt.editData)==null?void 0:wr.exercise)==null?void 0:oo.show_hack_description,onChange:Kr=>xo(void 0,null,function*(){let br=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:Kr.target.checked}});(br==null?void 0:br.status)===0&&(Ae.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Je.default.destroyAll(),jl({id:ll.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")),Cn.createElement("div",{style:{display:"flex",alignItems:"center"}},(Mn==null?void 0:Mn.question_type)===5&&!To&&Cn.createElement("a",{className:nt.shixun,href:`/shixuns/${Mn==null?void 0:Mn.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Cn.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!To&&((Ft=Pa==null?void 0:Pa.exercise)==null?void 0:Ft.exercise_status)==1&&[0,1,2,4,6].includes(Mn==null?void 0:Mn.question_type)&&Cn.createElement(we.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Cn.createElement(Le.Z,{precision:1,ref:wi,onChange:qn=>fi(qn),value:Ui,onBlur:qn=>{ps(qn.target.value,Mn)}})),!To&&(($t=Pa==null?void 0:Pa.exercise)==null?void 0:$t.exercise_status)==1&&Cn.createElement(it.Z,{title:"\u5220\u9664"},Cn.createElement("i",{onClick:()=>{au()},style:{marginRight:20},className:`${nt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(Mn==null?void 0:Mn.question_type)!==5&&!To&&Cn.createElement(Cn.Fragment,null,(Mn==null?void 0:Mn.is_my)==1&&Cn.createElement(it.Z,{title:"\u67E5\u770B\u539F\u9898"},Cn.createElement("i",{className:`${nt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(Mn==null?void 0:Mn.question_type)==6?window.open(`/problems/newedit/${Mn==null?void 0:Mn.item_bank_hack_identifier}`):(Mn==null?void 0:Mn.question_type)==8?window.open(`/problemset/edit/${Mn==null?void 0:Mn.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${Mn==null?void 0:Mn.item_bank_id}`)}})),Cn.createElement(it.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},Cn.createElement("i",{className:`${nt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{Zo.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:Cn.createElement("div",{className:`font14 ${nt.overflow}`,style:{maxHeight:500,overflow:"auto"}},Cn.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),Cn.createElement(dn.Z,{spinning:!1},Cn.createElement($l.Z,{defaultValue:!0,value:Zo.current,onChange:qn=>Zo.current=qn}))),onOk:()=>xo(void 0,null,function*(){var qn;(0,Hi.$l)({id:Mn==null?void 0:Mn.question_id,group_id:((qn=Zo==null?void 0:Zo.current)==null?void 0:qn[0])||""}).then(Ya=>{(Ya==null?void 0:Ya.status)==0&&(Ae.ZP.success("\u52A0\u5165\u6210\u529F"),bi())})})})}}))),!To&&(((Ln=Pa==null?void 0:Pa.exercise)==null?void 0:Ln.exercise_status)==1||((Zt=Pa==null?void 0:Pa.exercise)==null?void 0:Zt.exercise_status)==2&&((Xt=(Kt=ue.userInfo)==null?void 0:Kt.course)==null?void 0:Xt.course_role)!=15||((fn=Pa==null?void 0:Pa.exercise)==null?void 0:fn.exercise_status)==3&&((wt=(la=ue.userInfo)==null?void 0:la.course)==null?void 0:wt.course_role)!=15||((Ea=Pa==null?void 0:Pa.exercise)==null?void 0:Ea.exercise_status)==4&&((Tr=(Ir=ue.userInfo)==null?void 0:Ir.course)==null?void 0:Tr.course_role)!=15)&&Cn.createElement(it.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Cn.createElement("i",{onClick:()=>{(Mn==null?void 0:Mn.question_type)===6?pe.history.push(`/problems/newedit/${Mn==null?void 0:Mn.hack_identifier}?type=exercises&express_id=${no.exerciseId}&question_id=${Mn==null?void 0:Mn.question_id}&score=${Mn==null?void 0:Mn.question_score}&exercise=true&callback_url=/classrooms/${no.coursesId}/exercise/add/${Pe}?type=2`):vi(!0)},className:`${nt.edit} iconfont icon-bianji_Hover ml8`})))),!To&&Cn.createElement("div",null,Cn.createElement("div",{className:nt.qcount},Cn.createElement("span",{className:nt.score},Mn==null?void 0:Mn.question_score,"\u5206"),Cn.createElement(Pt.Z,{className:nt.qtitle,value:(Mn==null?void 0:Mn.index)+`\u3001${(Mn==null?void 0:Mn.question_type)==8?(rr=Mn==null?void 0:Mn.program_attr)==null?void 0:rr.description:Mn==null?void 0:Mn.question_title}`}),(Mn==null?void 0:Mn.high_resources_consume)&&Cn.createElement(tr.Z,{type:"shixun",style:{marginLeft:10}})),(Mn==null?void 0:Mn.question_type)===6&&Cn.createElement(kt.Z,{onEdit:()=>pr(1),className:"mt10",dataSource:(Mn==null?void 0:Mn.languages)||[]}),Cn.createElement(ms,{exercise:pt,TagDiscipline:ul,qitem:Mn})),To&&Cn.createElement("div",null,(Mn==null?void 0:Mn.question_type)<=1&&Cn.createElement(at,{deleteitem:au,getTagData:Ji,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:ul,setisedit:vi,qitem:Mn,init:bi,showTip:ro}),(Mn==null?void 0:Mn.question_type)===5&&Cn.createElement(Ku,{setqitem:ai,deleteitem:au,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:ul,setisedit:vi,qitem:Mn,showTip:ro}),(Mn==null?void 0:Mn.question_type)===3&&Cn.createElement($n,{deleteitem:au,getTagData:Ji,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:ul,setisedit:vi,qitem:Mn,init:bi,showTip:ro}),(Mn==null?void 0:Mn.question_type)===2&&Cn.createElement(ar,{deleteitem:au,getTagData:Ji,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:ul,setisedit:vi,qitem:Mn,init:bi,showTip:ro}),(Mn==null?void 0:Mn.question_type)===4&&Cn.createElement(Lt,{deleteitem:au,getTagData:Ji,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:ul,setisedit:vi,qitem:Mn,init:bi,showTip:ro}),(Mn==null?void 0:Mn.question_type)===7&&Cn.createElement(ls,{deleteitem:au,getTagData:Ji,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:ul,setisedit:vi,qitem:Mn,init:bi,showTip:ro}),(Mn==null?void 0:Mn.question_type)===8&&Cn.createElement(ni,{deleteitem:au,getTagData:Ji,seveeditor:Ul,exerciseitem:Pa,TagDiscipline:ul,setisedit:vi,qitem:Mn,init:bi,showTip:ro}))))))),Cn.createElement("div",{className:nt.bottomdiv},Cn.createElement("div",{className:nt.exercise_styles},((Lo=Pa==null?void 0:Pa.exercise)==null?void 0:Lo.exercise_status)==1&&Cn.createElement(Cn.Fragment,null,Cn.createElement("span",{className:nt.spanBtn,onClick:()=>{if(To){Hl();return}Ki(!0),Zl(!1)}},"\u9898\u5E93\u9009\u9898"),Cn.createElement(Ce.Z,{menu:{items:ts}},Cn.createElement("span",{className:nt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Cn.createElement("span",{className:nt.spanBtn,onClick:()=>xo(void 0,null,function*(){var qn;let Ya=yield(0,te.ZP)(`/api/exercises/${no==null?void 0:no.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:no==null?void 0:no.coursesId,categoryId:no==null?void 0:no.exerciseId}});(Ya==null?void 0:Ya.status)!=-1&&window.open(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${no==null?void 0:no.exerciseId}/${(qn=ue.userInfo)==null?void 0:qn.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Cn.createElement("span",{className:nt.spanBtn,onClick:()=>{window.open(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${no==null?void 0:no.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Di==null?void 0:Di.map(qn=>Cn.createElement(ke.ZP,{className:nt.addQuestionBtn,key:qn.id,type:"primary",onClick:()=>{Gu(qn.id)}},qn.name))),((ra=Pa==null?void 0:Pa.exercise)==null?void 0:ra.exercise_status)!=1&&Cn.createElement(Cn.Fragment,null,Cn.createElement("span",{style:{width:"1022px"}})),Cn.createElement("span",{className:nt.saveBtn,onClick:()=>{var qn,Ya,wr;if(To){Hl();return}let oo=(Ya=(qn=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:qn.filter(br=>br.question_type===5)[0])==null?void 0:Ya.items,Kr=0;oo==null||oo.map(br=>{br.high_resources_consume&&(Kr=Kr+1)}),console.log(Kr),Kr>0?Ee({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Kr,fn:()=>{var br;((br=Pa==null?void 0:Pa.exercise)==null?void 0:br.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Gl(!1)):pe.history.back()}}}):((wr=Pa==null?void 0:Pa.exercise)==null?void 0:wr.exercise_status)==1?(Ae.ZP.success("\u4FDD\u5B58\u6210\u529F"),pe.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Gl(!1)):pe.history.back()}},Cn.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Cn.createElement(cn,{setScoreShow:Uo,ScoreShow:ri,exerciseitem:Pa,getdata:bi}),Yi&&Cn.createElement(qo,{setScoreShow:Ki,isshixuns:Li,isloadings:nu,ScoreShow:Yi,onOk:(qn,Ya,wr,oo,Kr)=>xo(void 0,null,function*(){bu(!0);let co=yield Zu({exam_id:Pe,item_bank_ids:qn,shixun_ids:Ya,shixun_copy_ids:Kr});bu(!1),(co==null?void 0:co.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:()=>{bi()},onCancel:()=>{Ki(!1),bi()}})})}),Cn.createElement(Ju.Z,{sub_discipline_id:(Or=Pa==null?void 0:Pa.exercise)!=null&&Or.sub_discipline_id?[(_a=Pa==null?void 0:Pa.exercise)==null?void 0:_a.discipline_id,(jr=Pa==null?void 0:Pa.exercise)==null?void 0:jr.sub_discipline_id]:[],visible:Dr,onCancel:()=>Ro(!1),onOk:vs}),Cn.createElement(Je.default,{title:"\u63D0\u793A",open:Ei,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Cn.createElement("div",null,Cn.createElement(ke.ZP,{onClick:()=>{Gl(!1),pe.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),Cn.createElement(ke.ZP,{type:"primary",onClick:()=>{pe.history.push(`/classrooms/${no==null?void 0:no.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Gl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Gl(!1)}},Cn.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")),Cn.createElement(Je.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:mu,width:500,onOk:()=>Wl.submit(),onCancel:()=>en(!1)},Cn.createElement(we.default,{form:Wl,initialValues:{},onFinish:qn=>xo(void 0,null,function*(){(yield(0,Hi.RK)(Vo({id:Pe},qn))).status==0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),bi(),en(!1))})},Cn.createElement(we.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(qn,Ya){var wr,oo,Kr,br;const co=(wr=Di==null?void 0:Di.find(Io=>Io.nameType==Wl.getFieldValue("item_type_en")))==null?void 0:wr.id;return(br=(Kr=(oo=Pa==null?void 0:Pa.exercise_question_types)==null?void 0:oo.filter(Io=>Io.question_type!=co))==null?void 0:Kr.map(Io=>Io==null?void 0:Io.name))!=null&&br.includes(Ya)?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()}}]},Cn.createElement(Ue.default,{size:"large",maxLength:10,showCount:!0})),Cn.createElement(we.default.Item,{hidden:!0,name:"item_type_en"},Cn.createElement(Ue.default,{size:"large"})))),Cn.createElement(Qt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Wn},Cn.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Cn.createElement(uu.Z,{stickyTop:-24,subDisciplineId:(yo=Pa==null?void 0:Pa.exercise)!=null&&yo.sub_discipline_id?[(No=Pa==null?void 0:Pa.exercise)==null?void 0:No.discipline_id,(Wo=Pa==null?void 0:Pa.exercise)==null?void 0:Wo.sub_discipline_id]:[],onCancel:()=>Zr(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Zr(!1),bi()}}),Cn.createElement("div",{style:{height:70}})),Cn.createElement(kt.Q,{visible:!!Ja,setVisible:pr,tip:Ja===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:Ja===1?Mn==null?void 0:Mn.languages:[],onOk:qn=>xo(void 0,null,function*(){const Ya={languages:qn};Ja===1?Ya.hack_id=Mn==null?void 0:Mn.hack_id:Ya.exercise_id=Pe,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:Ya})).status===0&&(Ae.ZP.success("\u4FEE\u6539\u6210\u529F"),jl({id:ll.current}),pr(!1))})}))};var Si=(0,pe.connect)(({user:ue,exercise:Ee,dispatch:Pe})=>({user:ue,exercise:Ee,dispatch:Pe}))(Al),Gi=re(99871),zl=re(68381),jo=re(18034),qi=re(87169),xl=re(32793),aa=re(59301),kl=Object.defineProperty,ml=Object.defineProperties,fl=Object.getOwnPropertyDescriptors,_l=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,Vl=(ue,Ee,Pe)=>Ee in ue?kl(ue,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Ee]=Pe,lr=(ue,Ee)=>{for(var Pe in Ee||(Ee={}))Dl.call(Ee,Pe)&&Vl(ue,Pe,Ee[Pe]);if(_l)for(var Pe of _l(Ee))tu.call(Ee,Pe)&&Vl(ue,Pe,Ee[Pe]);return ue},Da=(ue,Ee)=>ml(ue,fl(Ee)),Qr=(ue,Ee)=>{var Pe={};for(var ut in ue)Dl.call(ue,ut)&&Ee.indexOf(ut)<0&&(Pe[ut]=ue[ut]);if(ue!=null&&_l)for(var ut of _l(ue))Ee.indexOf(ut)<0&&tu.call(ue,ut)&&(Pe[ut]=ue[ut]);return Pe},_o=(ue,Ee,Pe)=>new Promise((ut,pt)=>{var kn=vt=>{try{Wt(Pe.next(vt))}catch(tn){pt(tn)}},mn=vt=>{try{Wt(Pe.throw(vt))}catch(tn){pt(tn)}},Wt=vt=>vt.done?ut(vt.value):Promise.resolve(vt.value).then(kn,mn);Wt((Pe=Pe.apply(ue,Ee)).next())});const vl=ue=>{var Ee=ue,{classroomList:Pe,globalSetting:ut,problemset:pt,loading:kn,exercise:mn,user:Wt,dispatch:vt}=Ee,tn=Qr(Ee,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Fn,Ye,Ft,$t,Ln,Zt,Kt,Xt,fn,la,wt,Ea,Ir,Tr;const rr=(0,pe.useParams)(),[Lo,ra]=(0,b.useState)(!1),{userInfo:Or}=Wt,[_a]=we.default.useForm();let[jr,yo]=(0,b.useState)({});const[No,Wo]=(0,b.useState)(1),[Pa,Sr]=(0,b.useState)(""),[Fi]=(0,pe.useSearchParams)(),[Yr,Mn]=(0,b.useState)(!1),[ai,Ui]=(0,b.useState)(!1),[fi,wi]=(0,b.useState)(!1),[ll,ui]=(0,b.useState)(""),[El,Qi]=(0,b.useState)(!1),[$i,To]=(0,b.useState)(!1);(0,b.useEffect)(()=>{vt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:rr==null?void 0:rr.coursesId}}),vt({type:"globalSetting/footerToggle",payload:!1}),_a.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{rr.exerciseId&&_o(void 0,null,function*(){var Dr,Ro,ri;const Uo=yield vt({type:"exercise/editExercise",payload:{categoryId:rr.exerciseId}});(Uo==null?void 0:Uo.status)!==-1&&(((Dr=Uo==null?void 0:Uo.exercise)==null?void 0:Dr.exercise_status)===2||((Ro=Uo==null?void 0:Uo.exercise)==null?void 0:Ro.exercise_status)===3||((ri=Uo==null?void 0:Uo.exercise)==null?void 0:ri.exercise_status)===4?wi(!0):wi(!1))})},[rr]),(0,b.useEffect)(()=>{if(rr.exerciseId){let Dr=mn.editData.exercise;To(Dr==null?void 0:Dr.set_question_sub_discipline),_a.setFieldsValue(Da(lr({},Dr),{courseid:Dr!=null&&Dr.sub_discipline_id?[Dr==null?void 0:Dr.discipline_id,Dr==null?void 0:Dr.sub_discipline_id]:[]}))}},[mn]),(0,b.useEffect)(()=>{Fi.get("type")==="2"&&(Sr(rr.exerciseId),Wo(2))},[Fi.get("type")]),(0,b.useEffect)(()=>{var Dr;let Ro=(Dr=pt==null?void 0:pt.disciplinesData)==null?void 0:Dr.checked;Ro!=null&&Ro.sub_discipline_id&&_a.setFieldsValue({courseid:[Ro==null?void 0:Ro.discipline_id,Ro==null?void 0:Ro.sub_discipline_id]})},[(Fn=pt==null?void 0:pt.disciplinesData)==null?void 0:Fn.checked]);function vi(Dr,Ro){return _o(this,null,function*(){var ri,Uo,Yi,Ki;yield _a.validateFields();const Li=_a.getFieldsValue(),{courseid:Zl}=Li,[wl,Pl]=Zl;Li.sub_discipline_id=Pl,Li.is_md=!0,Li.time=parseInt(Li.time)>9999?9999:Li.time;const Ei=yield vt({type:"exercise/addExercise",payload:lr(lr({},Li),rr)});Ei.status===0?(yield(0,te.ZP)(`/api/courses/${rr==null?void 0:rr.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:rr==null?void 0:rr.coursesId,id:(ri=Ei==null?void 0:Ei.data)==null?void 0:ri.exercise_id,time:Dr}}),Tl((Uo=Ei.data)==null?void 0:Uo.exercise_id),Sr((Yi=Ei==null?void 0:Ei.data)==null?void 0:Yi.exercise_id),Wo(2),Mn(!1),pe.history.replace(`/classrooms/${rr.coursesId}/exercise/add/${(Ki=Ei.data)==null?void 0:Ki.exercise_id}?type=2`)):Ae.ZP.error(Ei.message),Ro()})}function ul(Dr){yo(lr({},Dr))}function Tl(Dr){return _o(this,null,function*(){if(!(jr!=null&&jr.ec_point_ids))return;const Ro=lr({},jr);delete Ro.id;let ri=yield(0,te.ZP)(`/api/ec_courses/${jr==null?void 0:jr.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:lr({exercise_id:Dr},Ro)})})}return aa.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},aa.createElement("section",{className:"edu-container"},aa.createElement("section",{className:"animated fadeIn"},aa.createElement("aside",{className:"mt10"},Or&&aa.createElement(_e.Z,{separator:">"},aa.createElement(_e.Z.Item,null,aa.createElement(pe.Link,{to:`/classrooms/${rr.coursesId}/exercise`},(Ye=Or==null?void 0:Or.course)==null?void 0:Ye.course_name)),aa.createElement(_e.Z.Item,null,aa.createElement(pe.Link,{to:`/classrooms/${rr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),aa.createElement(_e.Z.Item,null,rr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),rr.exerciseId&&aa.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}},aa.createElement(qi.Z,{style:{marginRight:5,color:"#E99237"}}),aa.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"),aa.createElement("span",{className:Ge.addQuestionBtn,onClick:()=>{vt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[rr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),aa.createElement(jo.Z,{haveInit:!0,init:()=>{ui(new Date)}}),aa.createElement("div",{className:"bg-white"},aa.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},aa.createElement("div",{onClick:()=>{if(ai){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}Wo(1)},className:No===1?Ge.selectdiv:Ge.divitem},aa.createElement(Gi.Z,{number:1,active:No===1,className:"mr10"}),aa.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),aa.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),aa.createElement("div",{onClick:()=>{if(!rr.exerciseId&&!Pa){Ae.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}Wo(2),!Pa&&Sr(rr.exerciseId)},className:No!==1?Ge.selectdiv:Ge.divitem},aa.createElement(Gi.Z,{number:2,active:No!==1,className:"mr10"}),aa.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),No===2&&aa.createElement("div",{className:"tc"},aa.createElement(zl.Z,{defaultValue:($t=(Ft=mn==null?void 0:mn.editData)==null?void 0:Ft.exercise)==null?void 0:$t.exercise_name,onFinish:Dr=>_o(void 0,null,function*(){var Ro,ri,Uo,Yi,Ki,Li,Zl,wl,Pl,Ei,Gl,no;return Dr.trim()===((ri=(Ro=mn==null?void 0:mn.editData)==null?void 0:Ro.exercise)==null?void 0:ri.exercise_name)?!0:(yield(0,Hi.wy)({exercise_name:Dr,exercise_description:(Yi=(Uo=mn==null?void 0:mn.editData)==null?void 0:Uo.exercise)==null?void 0:Yi.exercise_description,sub_discipline_id:(Li=(Ki=mn==null?void 0:mn.editData)==null?void 0:Ki.exercise)==null?void 0:Li.sub_discipline_id,time:(wl=(Zl=mn==null?void 0:mn.editData)==null?void 0:Zl.exercise)==null?void 0:wl.time,exerciseId:(Ei=(Pl=mn.editData)==null?void 0:Pl.exercise)==null?void 0:Ei.id,difficulty:(no=(Gl=mn.editData)==null?void 0:Gl.exercise)==null?void 0:no.difficulty})).status===0?(_a.setFieldValue("exercise_name",Dr),!0):!1})}),aa.createElement("div",{style:{fontSize:14}},aa.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},((Zt=(Ln=mn==null?void 0:mn.editData)==null?void 0:Ln.exercise)==null?void 0:Zt.time)||"\u4E0D\u9650")),aa.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},((Xt=(Kt=mn==null?void 0:mn.editData)==null?void 0:Kt.exercise)==null?void 0:Xt.difficulty)===1?"\u7B80\u5355":((la=(fn=mn==null?void 0:mn.editData)==null?void 0:fn.exercise)==null?void 0:la.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),aa.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},((Ea=(wt=mn==null?void 0:mn.editData)==null?void 0:wt.exercise_types)==null?void 0:Ea.q_counts)||0)),aa.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",aa.createElement("span",{style:{color:"#000000",marginLeft:8}},(Tr=(Ir=mn==null?void 0:mn.editData)==null?void 0:Ir.exercise_types)==null?void 0:Tr.q_scores))))),No===1&&aa.createElement("div",null,aa.createElement("section",{className:[Ge.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},aa.createElement(we.default,{form:_a,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Dr=>_o(void 0,null,function*(){var Ro,ri,Uo,Yi,Ki;if(ra(!0),Mn(!0),rr.exerciseId){Dr.exerciseId=(ri=(Ro=mn.editData)==null?void 0:Ro.exercise)==null?void 0:ri.id,Dr.sub_discipline_id=Dr.courseid[Dr.courseid.length-1],yield(0,Hi.wy)(Da(lr({},Dr),{set_question_sub_discipline:$i})),Wo(2),Tl(rr==null?void 0:rr.exerciseId),Sr(rr.exerciseId),ra(!1),Mn(!1);return}const Li=yield(0,te.ZP)(`/api/courses/${rr==null?void 0:rr.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:rr==null?void 0:rr.coursesId}});if(Li!=null&&Li.alert)vt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Zl}=Dr,[wl,Pl]=Zl;Dr.sub_discipline_id=Pl,Dr.is_md=!0,Dr.time=parseInt(Dr.time)>9999?9999:Dr.time,Dr.set_question_sub_discipline=$i;const Ei=yield vt({type:"exercise/addExercise",payload:Da(lr(lr({},Dr),rr),{category_id:Fi.get("catalogue")||null})});Ei.status===0&&(Tl((Uo=Ei.data)==null?void 0:Uo.exercise_id),pe.history.replace(`/classrooms/${rr.coursesId}/exercise/add/${(Yi=Ei.data)==null?void 0:Yi.exercise_id}?type=2`),Sr((Ki=Ei==null?void 0:Ei.data)==null?void 0:Ki.exercise_id),Wo(2)),Mn(!1)}ra(!1)}),className:Ge.formWrap},aa.createElement(we.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Ge.baseLineHeight,rules:[{required:!0,validator:(Dr,Ro)=>{var ri;return((ri=Ro==null?void 0:Ro.replaceAll(" ",""))==null?void 0:ri.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},aa.createElement(Ue.default,{maxLength:60,className:Ge.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),aa.createElement(we.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Ge.baseLineHeight},aa.createElement(De.Z,{disabled:fi,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:pt.courseOptions,className:Ge.baseFormItem,size:"large",popupClassName:Ge.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),aa.createElement("div",{className:Ge.concat},aa.createElement("div",null,aa.createElement(tt.default,{checked:$i,onChange:Dr=>{To(Dr.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")),aa.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",aa.createElement("a",{onClick:()=>Qi(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),aa.createElement(we.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Ge.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},aa.createElement(Oe.ZP.Group,{className:Ge.radiogroup,disabled:fi},aa.createElement(Oe.ZP.Button,{className:Ge.easy,value:1},"\u7B80\u5355"),aa.createElement(Oe.ZP.Button,{className:Ge.medium,value:2},"\u9002\u4E2D"),aa.createElement(Oe.ZP.Button,{className:Ge.hard,value:3},"\u56F0\u96BE"))),aa.createElement(we.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Ge.baseLineHeight},aa.createElement("div",{style:{display:"flex",width:"100%"}},aa.createElement(we.default.Item,{name:"time",noStyle:!0},aa.createElement(Le.Z,{disabled:fi,min:1,max:9999,className:Ge.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),aa.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),aa.createElement(we.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},aa.createElement(Ue.default.TextArea,{disabled:fi,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),aa.createElement(pn,{exercise_id:rr==null?void 0:rr.exerciseId,setitem:ul})),aa.createElement("div",{className:Ge.bottmodiv},aa.createElement(ke.ZP,{className:`${Ge.cancelBtn}`,type:"primary",onClick:()=>{pe.history.back()}},"\u53D6\u6D88"),aa.createElement(ke.ZP,{loading:Yr,onClick:()=>{_a.validateFields(),_a.submit()},type:"primary",className:`${Ge.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),aa.createElement(z,{setsubloading:Mn,onModalOk:vi})),No===2&&aa.createElement("div",null,aa.createElement(Si,{key:ll,setisedits:Ui,setitemid:Sr,itemid:Pa}))),aa.createElement(xl.Z,{open:El,onCancel:()=>{Qi(!1)}}))};var gu=(0,pe.connect)(({classroomList:ue,loading:Ee,user:Pe,problemset:ut,globalSetting:pt,exercise:kn})=>({classroomList:ue,globalSetting:pt,problemset:ut,user:Pe,exercise:kn,loading:Ee.effects}))(vl)},56746:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Ke}});var b=re(78241),pe=re(8591),we=re(43418),Ae=re(71418),_e=re(6848),Ue=re(57809),De=re(5112),tt=re(92832),Oe=re(1710),Le=re(59301),ke=re(44993),Ge=re(52430),Je=re(89299),le={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},E=re(64681),a=re(4213),x=re(98573),y=re(59301),z=Object.defineProperty,te=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,be=(We,$e,xe)=>$e in We?z(We,$e,{enumerable:!0,configurable:!0,writable:!0,value:xe}):We[$e]=xe,He=(We,$e)=>{for(var xe in $e||($e={}))ie.call($e,xe)&&be(We,xe,$e[xe]);if(se)for(var xe of se($e))he.call($e,xe)&&be(We,xe,$e[xe]);return We},Ne=(We,$e)=>te(We,ae($e)),dt=(We,$e,xe)=>new Promise((gt,lt)=>{var At=sn=>{try{En(xe.next(sn))}catch(Gt){lt(Gt)}},mt=sn=>{try{En(xe.throw(sn))}catch(Gt){lt(Gt)}},En=sn=>sn.done?gt(sn.value):Promise.resolve(sn.value).then(At,mt);En((xe=xe.apply(We,$e)).next())});const Re=({shixunHomeworks:We,exercise:$e,loading:xe,dispatch:gt})=>{var lt,At,mt;const{commonHeader:En}=$e,[sn,Gt]=(0,Le.useState)([]),[_t,Te]=(0,Le.useState)(Ne(He({},(0,ke.useParams)()),{page:1,limit:10})),[ot,Rt]=(0,Le.useState)([]),[pn,bt]=(0,Le.useState)(""),[dn,Ce]=(0,Le.useState)(1),[it]=b.default.useForm(),[Qt,nt]=(0,Le.useState)({}),[ht,Tn]=(0,Le.useState)(null),[kt,yt]=(0,Le.useState)(!1),[Pt,Gn]=(0,Le.useState)([]),[Vn,rn]=(0,Le.useState)(null),[ta,Sa]=(0,Le.useState)(0),[Kn,Nn]=(0,Le.useState)(0),[ha,Oa]=(0,Le.useState)(!1),ka=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(jt,on,Ca)=>(_t.page-1)*_t.limit+Ca+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:jt=>jt||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(jt,on)=>y.createElement("div",{className:le.banding,title:jt||"--"},jt||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(jt,on)=>jt===0?y.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):jt===1?y.createElement("span",{style:{color:"#DF3042"}},!on.is_make_up&&"\u8003\u8BD5\u4E2D",on.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):jt===2?y.createElement("span",{style:{color:"#5AB891"}},!on.is_make_up&&!on.is_force_commit&&"\u5DF2\u4EA4\u5377",on.is_make_up&&!on.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",on.is_make_up&&on.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!on.is_make_up&&on.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):y.createElement("span",{style:{color:"#5AB891"}},!on.is_make_up&&!on.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",on.is_make_up&&!on.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",on.is_make_up&&on.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!on.is_make_up&&on.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(En==null?void 0:En.exercise_type)==2&&!(0,E.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(jt,on)=>on.commit_status===0||on.commit_status===1?"--":!on.open_total_score&&(0,E.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(jt=typeof jt=="number"?Number(jt):jt,console.log(typeof jt),jt||(jt=0),jt===100?y.createElement("span",{className:"c-green"},jt):jt>60?y.createElement("span",{className:"c-orange"},jt):jt==Kn*.6?y.createElement("span",{className:"c-red"},jt):y.createElement("span",null,jt))}].filter(jt=>!!jt);(0,Le.useEffect)(()=>{var jt;((jt=$e.actionTabs)==null?void 0:jt.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(Gn([]),rn(null),va(),Za(_t))},[(lt=$e.actionTabs)==null?void 0:lt.key]);const va=()=>dt(void 0,null,function*(){var jt;if(!((jt=$e.actionTabs)!=null&&jt.showSelectQuestion))return;const on=yield(0,Ge.ZP)(`/api/exercises/${_t==null?void 0:_t.categoryId}/all_subj_questions.json`,{method:"get"});on.status==0&&Gn(on.data)}),Ua=(jt,on)=>{_t.page=jt,_t.limit=on,Te(He({},_t)),Za(_t)},Za=jt=>dt(void 0,null,function*(){Oa(!0);const on=yield(0,Ge.ZP)(`/api/exercises/${_t.categoryId||(_t==null?void 0:_t.exerciseId)}/exercise_users.json`,{method:"get",params:jt});on.status==0&&(Sa(on.data.total_count),Te(Ne(He({},_t),{total:on.data.total_count})),Gt(on.data.exercise_users),Nn(on.data.total_score)),Oa(!1)}),ga=jt=>{_t.search=jt,_t.page=1,it.resetFields(),nt({}),Rt([]),Tn(null),Te(He({},_t)),Za(_t)},Ra=jt=>dt(void 0,null,function*(){var on,Ca;const xa=He({},Qt);if(!((on=jt==null?void 0:jt.content)!=null&&on.trim())){pe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}xa.content=jt==null?void 0:jt.content,xa.attachment_ids=(Ca=jt==null?void 0:jt.attachment_ids)==null?void 0:Ca.map(Ta=>Ta.response.id),qa(xa)}),qa=jt=>dt(void 0,null,function*(){var on;yt(!0);const{showSelectQuestion:Ca,ai_review_settings:xa}=$e.actionTabs,Ta=yield(0,Ge.ZP)(`/api/exercises/${(_t==null?void 0:_t.categoryId)||(_t==null?void 0:_t.exerciseId)}/test_ai_review.json`,{method:"post",body:Ne(He({},jt),{exercise_question_id:Ca?Vn:(on=$e.actionTabs)==null?void 0:on.questionId,ai_review_settings:xa})});if([0,-3].includes(Ta.status)){Ta.status==0&&pe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),Tn(Ta);const La=document.querySelector(".modal-ai-pfcs");if(La){const za=La.querySelector(".ant-modal-body");za&&(za.scrollTop=za.scrollHeight)}}yt(!1)}),_n=()=>{gt({type:"exercise/setActionTabs",payload:{key:""}}),Ce(1),Pn()},Pn=()=>{it.resetFields(),nt({}),Rt([]),bt(""),Tn(null)};return y.createElement(we.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:kt,open:((At=$e.actionTabs)==null?void 0:At.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>_n(),okText:ht?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var jt;if((jt=$e.actionTabs)!=null&&jt.showSelectQuestion&&!Vn)return pe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(dn==1){if(ot.length==0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");qa({exercise_user_id:ot[0]})}else dn==2&&it.submit()}},y.createElement(Ae.Z,{spinning:kt,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((mt=$e.actionTabs)==null?void 0:mt.showSelectQuestion)&&y.createElement("div",{className:"flex item-center justify-between mb10"},y.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},y.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",y.createElement(_e.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"},y.createElement("i",{className:`iconfont icon-tishixiaowenhao ${le.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),y.createElement(Ue.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:Vn,onChange:jt=>rn(jt)},Pt==null?void 0:Pt.map(jt=>y.createElement(Ue.default.Option,{key:jt==null?void 0:jt.id,value:jt==null?void 0:jt.id},jt==null?void 0:jt.question_title)))),y.createElement("div",{className:le.radio_con},y.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),y.createElement(De.ZP.Group,{onChange:jt=>{jt.target.value==1&&Ua(1,10),Ce(jt.target.value),Pn()},value:dn,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"}}]})),dn==1&&y.createElement(y.Fragment,null,y.createElement("div",{className:"flex justify-between item-center mb10"},y.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"),y.createElement(tt.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:pn,onChange:jt=>bt(jt.target.value),onSearch:ga})),y.createElement(Oe.default,{rowSelection:{type:"radio",selectedRowKeys:ot,onChange:(jt,on)=>{Rt(jt)},getCheckboxProps:jt=>({disabled:[0,1].includes(jt==null?void 0:jt.commit_status)})},loading:ha,rowKey:"exercise_user_id",dataSource:sn||[],columns:ka,pagination:{current:_t.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:_t.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:ta,size:"default",showTotal:Je.rU,onChange:Ua},onChange:(jt,on,Ca)=>{_t.page=1,Ca.order===void 0?(_t.order_type=null,_t.order=null):(_t.order_type=Ca.order==="descend"?"desc":"asc",_t.order=Ca.field),Te(He({},_t)),Za(_t)}})),dn==2&&y.createElement("div",{style:{marginTop:20}},y.createElement(b.default,{form:it,className:le.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{nt(He({},it.getFieldsValue()))},onFinish:Ra},y.createElement(b.default.Item,{name:"content",label:"",style:{marginBottom:0}},y.createElement(a.Z,{watch:!0})))),ht&&y.createElement("div",{className:le.result_con},y.createElement("div",{className:le.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(ht==null?void 0:ht.status)==0&&y.createElement("div",{className:"p20"},y.createElement("div",{className:"mb5"},y.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),ht==null?void 0:ht.score),y.createElement("div",{className:"flex"},y.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),y.createElement(x.Z,{value:ht==null?void 0:ht.content,style:{fontSize:"14px"}}))),(ht==null?void 0:ht.status)==-3&&y.createElement("div",{className:"p20"},y.createElement(x.Z,{value:ht==null?void 0:ht.message,style:{fontSize:"14px"}})))))};var Ke=(0,ke.connect)(({shixunHomeworks:We,exercise:$e,loading:xe,user:gt})=>({shixunHomeworks:We,exercise:$e,loading:xe.effects,user:gt}))(Re)},55537:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return E}});var b=re(59301),pe=re(8591),we=re(43418),Ae=re(19842),_e=re(54580),Ue=re(3113),De=re(13952),tt=re(89299),Oe=re(52430),Le=re(44993),ke={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=re(59301),Je=(a,x,y)=>new Promise((z,te)=>{var ae=he=>{try{ie(y.next(he))}catch(be){te(be)}},se=he=>{try{ie(y.throw(he))}catch(be){te(be)}},ie=he=>he.done?z(he.value):Promise.resolve(he.value).then(ae,se);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[te,ae]=(0,b.useState)([]),[se,ie]=(0,b.useState)(!1),he=(0,Le.useParams)(),[be,He]=(0,b.useState)([]),[Ne,dt]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?Re():(dt([]),ae([]),ie(!1))},[a]);const Re=()=>Je(void 0,null,function*(){const lt=yield(0,Oe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});He(lt.disciplines||[]),dt((z==null?void 0:z.length)>0?z:[])}),Ke=()=>{if((Ne==null?void 0:Ne.length)===0)return pe.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ne),ie(!0),x(te,Ne[1],()=>{ie(!1)})},We=()=>{y()},$e=()=>{const lt=`${De.Z.API_SERVER}/api/courses/${he.coursesId}/exercises/down_template`;(0,tt.Nd)(null,lt)},xe=lt=>{const At={name:lt.name,uid:lt.uid,file:lt};return ae([At]),!1},gt=()=>{ae([])};return Ge.createElement(we.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Ke,centered:!0,wrapClassName:ke.customModal,onCancel:We,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:ke.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:se},Ge.createElement("div",{className:ke.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:$e},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Ge.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:$e,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Ge.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Ge.createElement("li",{className:ke.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Ge.createElement("li",{className:ke.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Ge.createElement("li",{className:ke.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Ge.createElement("li",{className:ke.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(Ae.Z,{value:Ne,className:ke.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(lt,At)=>{dt(lt||[])}}),Ge.createElement("br",null),Ge.createElement(_e.default,{action:`${De.Z.API_SERVER}/api/attachments.json`,beforeUpload:xe,onRemove:gt,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},Ge.createElement(Ue.ZP,{className:ke.upload,type:"primary",icon:Ge.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((lt,At)=>Ge.createElement("div",{key:At,className:ke.fileList},Ge.createElement("span",{className:ke.fileName},lt==null?void 0:lt.name),Ge.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:gt})))))))}},18034:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(43418),we=re(52430),Ae=re(44993),_e=re(59301),Ue=(tt,Oe,Le)=>new Promise((ke,Ge)=>{var Je=a=>{try{E(Le.next(a))}catch(x){Ge(x)}},le=a=>{try{E(Le.throw(a))}catch(x){Ge(x)}},E=a=>a.done?ke(a.value):Promise.resolve(a.value).then(Je,le);E((Le=Le.apply(tt,Oe)).next())});const De=({exercise:tt,dispatch:Oe,init:Le,haveInit:ke=!1})=>{const Ge=(0,Ae.useParams)(),[Je,le]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,te]=(0,b.useState)(!1);(0,b.useEffect)(()=>{tt.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&ae()},[tt.actionTabs]);function ae(){return Ue(this,null,function*(){var se,ie;let he=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});if(((se=he==null?void 0:he.cover_exercises)==null?void 0:se.length)>0)le(!0),a((ie=he==null?void 0:he.cover_exercises)==null?void 0:ie[0]);else{let be=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});Oe({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(ke&&Le(),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:()=>{Ae.history.push("/paperlibrary")}}))}})}return _e.createElement("div",null,_e.createElement(pe.default,{open:Je,centered:!0,onCancel:se=>Ue(void 0,null,function*(){if(se.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs,update:1}});Oe({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(ke&&Le(),le(!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:()=>{Ae.history.push("/paperlibrary")}}))}else le(!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 se=yield(0,we.ZP)(`/api/courses/${Ge==null?void 0:Ge.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:tt.actionTabs.selectArrs}});te(!1),(se==null?void 0:se.status)===0&&(ke&&Le(),Oe({type:"exercise/setActionTabs",payload:{key:""}}),le(!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:()=>{Ae.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},_e.createElement("div",null,_e.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"),_e.createElement("div",null,_e.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),_e.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",_e.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))))))};Mt.Z=(0,Ae.connect)(({exercise:tt})=>({exercise:tt}))(De)},7051:function(Et,Mt,re){"use strict";re.d(Mt,{h:function(){return b}});var b=(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))(b||{})},78837:function(Et,Mt,re){"use strict";re.d(Mt,{H7:function(){return E},MK:function(){return le},MU:function(){return Le},X6:function(){return Ge},bM:function(){return Oe},fi:function(){return a},fu:function(){return tt},n4:function(){return x},rX:function(){return Je},vl:function(){return y},zO:function(){return ke}});var b=re(52430),pe=Object.defineProperty,we=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ue=(z,te,ae)=>te in z?pe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):z[te]=ae,De=(z,te)=>{for(var ae in te||(te={}))Ae.call(te,ae)&&Ue(z,ae,te[ae]);if(we)for(var ae of we(te))_e.call(te,ae)&&Ue(z,ae,te[ae]);return z};function tt(z,te){return(0,b.U2)(`myproblems/${z}.json`,De({hidePopLogin:!0},te||{}))}function Oe(z,te){return(0,b.v_)(`myproblems/${z}/code_submit.json`,te)}function Le(z,te){return(0,b.v_)(`myproblems/${z}/code_debug.json`,te)}function ke(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,te)}function Ge(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Je(z,te){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:te})}function le(z,te){return(0,b.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,b.v_)(`myproblems/${z}/update_code.json`,te)}function y(z,te){return(0,b.v_)(`discusses/${z}/plus.json`,te)}},68381:function(Et,Mt,re){"use strict";var b=re(59301),pe=re(6848),we=re(92832),Ae=re(8591),_e=re(62775),Ue=re(59301),De=(Oe,Le,ke)=>new Promise((Ge,Je)=>{var le=x=>{try{a(ke.next(x))}catch(y){Je(y)}},E=x=>{try{a(ke.throw(x))}catch(y){Je(y)}},a=x=>x.done?Ge(x.value):Promise.resolve(x.value).then(le,E);a((ke=ke.apply(Oe,Le)).next())});const tt=({defaultValue:Oe,onFinish:Le})=>{const[ke,Ge]=(0,b.useState)(!1),[Je,le]=(0,b.useState)(Oe);return(0,b.useEffect)(()=>{le(Oe)},[Oe]),Ue.createElement("div",null,ke?Ue.createElement(we.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Je,onChange:E=>{le(E.target.value)},onBlur:()=>De(void 0,null,function*(){var E;if(((E=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Je))&&Ge(!1)}),onPressEnter:()=>De(void 0,null,function*(){var E;if(((E=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:E.length)<=0){Ae.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Le(Je))&&Ge(!1)})}):Ue.createElement("div",{className:_e.Z.title},Je,Ue.createElement(pe.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Ue.createElement("i",{className:`${_e.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Ge(!0)}))))};Mt.Z=tt},32793:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return Le}});var b=re(43418),pe={ul:"ul___TdfYY"},we=re(32637),Ae=re(59301),_e=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,tt=(ke,Ge)=>{var Je={};for(var le in ke)Ue.call(ke,le)&&Ge.indexOf(le)<0&&(Je[le]=ke[le]);if(ke!=null&&_e)for(var le of _e(ke))Ge.indexOf(le)<0&&De.call(ke,le)&&(Je[le]=ke[le]);return Je},Le=ke=>{var Ge=ke,{open:Je,onCancel:le}=Ge,E=tt(Ge,["open","onCancel"]);return Ae.createElement(b.default,{centered:!0,open:Je,title:Ae.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Ae.createElement("div",null,Ae.createElement("div",{className:"tc"},Ae.createElement("img",{className:"mt10",src:we,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ae.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ae.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ae.createElement("ul",{className:pe.ul},Ae.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"),Ae.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"),Ae.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\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")))))}},61881:function(Et,Mt,re){"use strict";re.d(Mt,{I:function(){return pe}});var b=re(59301);const pe=()=>{const[we,Ae]=(0,b.useState)("hidden");return{overflow:we,handleMouseEnter:()=>Ae("auto"),handleMouseLeave:()=>Ae("hidden")}}},77578:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return b}});const b=pe=>pe?typeof pe=="function"?pe():pe:null},66104:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return $e}});var b=re(92310),pe=re.n(b),we=re(11592),Ae=re(26112),_e=re(59301),Ue=re(92343),De=re(36355),tt=re(84105),Oe=re(91857);const Le=xe=>{let{children:gt}=xe;const{getPrefixCls:lt}=_e.useContext(De.E_),At=lt("breadcrumb");return _e.createElement("li",{className:`${At}-separator`,"aria-hidden":"true"},gt===""?gt:gt||"/")};Le.__ANT_BREADCRUMB_SEPARATOR=!0;var ke=Le,Ge=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};function Je(xe,gt){if(xe.title===void 0||xe.title===null)return null;const lt=Object.keys(gt).join("|");return typeof xe.title=="object"?xe.title:String(xe.title).replace(new RegExp(`:(${lt})`,"g"),(At,mt)=>gt[mt]||At)}function le(xe,gt,lt,At){if(lt==null)return null;const{className:mt,onClick:En}=gt,sn=Ge(gt,["className","onClick"]),Gt=Object.assign(Object.assign({},(0,Ae.Z)(sn,{data:!0,aria:!0})),{onClick:En});return At!==void 0?_e.createElement("a",Object.assign({},Gt,{className:pe()(`${xe}-link`,mt),href:At}),lt):_e.createElement("span",Object.assign({},Gt,{className:pe()(`${xe}-link`,mt)}),lt)}function E(xe,gt){return(At,mt,En,sn,Gt)=>{if(gt)return gt(At,mt,En,sn);const _t=Je(At,mt);return le(xe,At,_t,Gt)}}var a=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};const x=xe=>{const{prefixCls:gt,separator:lt="/",children:At,menu:mt,overlay:En,dropdownProps:sn,href:Gt}=xe,Te=(ot=>{if(mt||En){const Rt=Object.assign({},sn);if(mt){const pn=mt||{},{items:bt}=pn,dn=a(pn,["items"]);Rt.menu=Object.assign(Object.assign({},dn),{items:bt==null?void 0:bt.map((Ce,it)=>{var{key:Qt,title:nt,label:ht,path:Tn}=Ce,kt=a(Ce,["key","title","label","path"]);let yt=ht!=null?ht:nt;return Tn&&(yt=_e.createElement("a",{href:`${Gt}${Tn}`},yt)),Object.assign(Object.assign({},kt),{key:Qt!=null?Qt:it,label:yt})})})}else En&&(Rt.overlay=En);return _e.createElement(Oe.Z,Object.assign({placement:"bottom"},Rt),_e.createElement("span",{className:`${gt}-overlay-link`},ot,_e.createElement(tt.Z,null)))}return ot})(At);return Te!=null?_e.createElement(_e.Fragment,null,_e.createElement("li",null,Te),lt&&_e.createElement(ke,null,lt)):null},y=xe=>{const{prefixCls:gt,children:lt,href:At}=xe,mt=a(xe,["prefixCls","children","href"]),{getPrefixCls:En}=_e.useContext(De.E_),sn=En("breadcrumb",gt);return _e.createElement(x,Object.assign({},mt,{prefixCls:sn}),le(sn,mt,lt,At))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,te=re(17313),ae=re(83116),se=re(37613);const ie=xe=>{const{componentCls:gt,iconCls:lt}=xe;return{[gt]:Object.assign(Object.assign({},(0,te.Wf)(xe)),{color:xe.itemColor,fontSize:xe.fontSize,[lt]:{fontSize:xe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:xe.linkColor,transition:`color ${xe.motionDurationMid}`,padding:`0 ${xe.paddingXXS}px`,borderRadius:xe.borderRadiusSM,height:xe.lineHeight*xe.fontSize,display:"inline-block",marginInline:-xe.marginXXS,"&:hover":{color:xe.linkHoverColor,backgroundColor:xe.colorBgTextHover}},(0,te.Qy)(xe)),"li:last-child":{color:xe.lastItemColor},[`${gt}-separator`]:{marginInline:xe.separatorMargin,color:xe.separatorColor},[`${gt}-link`]:{[`
> ${lt} + span,
> ${lt} + a
`]:{marginInlineStart:xe.marginXXS}},[`${gt}-overlay-link`]:{borderRadius:xe.borderRadiusSM,height:xe.lineHeight*xe.fontSize,display:"inline-block",padding:`0 ${xe.paddingXXS}px`,marginInline:-xe.marginXXS,[`> ${lt}`]:{marginInlineStart:xe.marginXXS,fontSize:xe.fontSizeIcon},"&:hover":{color:xe.linkHoverColor,backgroundColor:xe.colorBgTextHover,a:{color:xe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${xe.componentCls}-rtl`]:{direction:"rtl"}})}};var he=(0,ae.Z)("Breadcrumb",xe=>{const gt=(0,se.TS)(xe,{});return[ie(gt)]},xe=>({itemColor:xe.colorTextDescription,lastItemColor:xe.colorText,iconFontSize:xe.fontSize,linkColor:xe.colorTextDescription,linkHoverColor:xe.colorText,separatorColor:xe.colorTextDescription,separatorMargin:xe.marginXS})),be=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};function He(xe){const{breadcrumbName:gt,children:lt}=xe,At=be(xe,["breadcrumbName","children"]),mt=Object.assign({title:gt},At);return lt&&(mt.menu={items:lt.map(En=>{var{breadcrumbName:sn}=En,Gt=be(En,["breadcrumbName"]);return Object.assign(Object.assign({},Gt),{title:sn})})}),mt}function Ne(xe,gt){return(0,_e.useMemo)(()=>xe||(gt?gt.map(He):null),[xe,gt])}var dt=function(xe,gt){var lt={};for(var At in xe)Object.prototype.hasOwnProperty.call(xe,At)&&gt.indexOf(At)<0&&(lt[At]=xe[At]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,At=Object.getOwnPropertySymbols(xe);mt<At.length;mt++)gt.indexOf(At[mt])<0&&Object.prototype.propertyIsEnumerable.call(xe,At[mt])&&(lt[At[mt]]=xe[At[mt]]);return lt};const Re=(xe,gt)=>{if(gt===void 0)return gt;let lt=(gt||"").replace(/^\//,"");return Object.keys(xe).forEach(At=>{lt=lt.replace(`:${At}`,xe[At])}),lt},Ke=xe=>{const{prefixCls:gt,separator:lt="/",style:At,className:mt,rootClassName:En,routes:sn,items:Gt,children:_t,itemRender:Te,params:ot={}}=xe,Rt=dt(xe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:pn,direction:bt,breadcrumb:dn}=_e.useContext(De.E_);let Ce;const it=pn("breadcrumb",gt),[Qt,nt]=he(it),ht=Ne(Gt,sn),Tn=E(it,Te);if(ht&&ht.length>0){const Pt=[],Gn=Gt||sn;Ce=ht.map((Vn,rn)=>{const{path:ta,key:Sa,type:Kn,menu:Nn,overlay:ha,onClick:Oa,className:ka,separator:va,dropdownProps:Ua}=Vn,Za=Re(ot,ta);Za!==void 0&&Pt.push(Za);const ga=Sa!=null?Sa:rn;if(Kn==="separator")return _e.createElement(ke,{key:ga},va);const Ra={},qa=rn===ht.length-1;Nn?Ra.menu=Nn:ha&&(Ra.overlay=ha);let{href:_n}=Vn;return Pt.length&&Za!==void 0&&(_n=`#/${Pt.join("/")}`),_e.createElement(x,Object.assign({key:ga},Ra,(0,Ae.Z)(Vn,{data:!0,aria:!0}),{className:ka,dropdownProps:Ua,href:_n,separator:qa?"":lt,onClick:Oa,prefixCls:it}),Tn(Vn,ot,Gn,Pt,_n))})}else if(_t){const Pt=(0,we.Z)(_t).length;Ce=(0,we.Z)(_t).map((Gn,Vn)=>{if(!Gn)return Gn;const rn=Vn===Pt-1;return(0,Ue.Tm)(Gn,{separator:rn?"":lt,key:Vn})})}const kt=pe()(it,dn==null?void 0:dn.className,{[`${it}-rtl`]:bt==="rtl"},mt,En,nt),yt=Object.assign(Object.assign({},dn==null?void 0:dn.style),At);return Qt(_e.createElement("nav",Object.assign({className:kt,style:yt},Rt),_e.createElement("ol",null,Ce)))};Ke.Item=z,Ke.Separator=ke;var We=Ke,$e=We},19842:function(Et,Mt,re){"use strict";re.d(Mt,{Z:function(){return pa}});var b=re(80702),pe=re(59301),we=re(33853),Ae=re(58617),_e=re(38819),Ue=re(92310),De=re.n(Ue),tt=re(72308),Oe=re(52487),Le=re(74416),ke=re(77861),Ge=re(17115),Je=re(90782),le=re(6089),E=re(18929),a=pe.createContext(null),x=a,y=re(62853),z=re(49618),te=re(77321),ae="__rc_cascader_search_mark__",se=function(at,ct,Ct){var St=Ct.label;return ct.some(function(vn){return String(vn[St]).toLowerCase().includes(at.toLowerCase())})},ie=function(at,ct,Ct,St){return ct.map(function(vn){return vn[St.label]}).join(" / ")},he=function(Be,at,ct,Ct,St,vn){var qt=St.filter,ze=qt===void 0?se:qt,qe=St.render,Qe=qe===void 0?ie:qe,Tt=St.limit,gn=Tt===void 0?50:Tt,Sn=St.sort;return pe.useMemo(function(){var ua=[];if(!Be)return[];function Jn(In,$n){var Un=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;In.forEach(function(Ut){if(!(!Sn&&gn!==!1&&gn>0&&ua.length>=gn)){var Na=[].concat((0,b.Z)($n),[Ut]),nr=Ut[ct.children],uo=Un||Ut.disabled;if((!nr||nr.length===0||vn)&&ze(Be,Na,{label:ct.label})){var Wa;ua.push((0,te.Z)((0,te.Z)({},Ut),{},(Wa={disabled:uo},(0,z.Z)(Wa,ct.label,Qe(Be,Na,Ct,ct)),(0,z.Z)(Wa,ae,Na),(0,z.Z)(Wa,ct.children,void 0),Wa)))}nr&&Jn(Ut[ct.children],Na,uo)}})}return Jn(at,[]),Sn&&ua.sort(function(In,$n){return Sn(In[ae],$n[ae],Be,ct)}),gn!==!1&&gn>0?ua.slice(0,gn):ua},[Be,at,ct,Ct,Qe,vn,ze,Sn,gn])},be="__RC_CASCADER_SPLIT__",He="SHOW_PARENT",Ne="SHOW_CHILD";function dt(Be){return Be.join(be)}function Re(Be){return Be.map(dt)}function Ke(Be){return Be.split(be)}function We(Be){var at=Be||{},ct=at.label,Ct=at.value,St=at.children,vn=Ct||"value";return{label:ct||"label",value:vn,key:vn,children:St||"children"}}function $e(Be,at){var ct,Ct;return(ct=Be.isLeaf)!==null&&ct!==void 0?ct:!((Ct=Be[at.children])!==null&&Ct!==void 0&&Ct.length)}function xe(Be){var at=Be.parentElement;if(at){var ct=Be.offsetTop-at.offsetTop;ct-at.scrollTop<0?at.scrollTo({top:ct}):ct+Be.offsetHeight-at.scrollTop>at.offsetHeight&&at.scrollTo({top:ct+Be.offsetHeight-at.offsetHeight})}}function gt(Be,at){return Be.map(function(ct){var Ct;return(Ct=ct[ae])===null||Ct===void 0?void 0:Ct.map(function(St){return St[at.value]})})}function lt(Be,at,ct){var Ct=new Set(Be),St=at();return Be.filter(function(vn){var qt=St[vn],ze=qt?qt.parent:null,qe=qt?qt.children:null;return qt&&qt.node.disabled?!0:ct===Ne?!(qe&&qe.some(function(Qe){return Qe.key&&Ct.has(Qe.key)})):!(ze&&!ze.node.disabled&&Ct.has(ze.key))})}function At(Be,at,ct){for(var Ct=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,St=at,vn=[],qt=function(){var Qe,Tt,gn,Sn=Be[ze],ua=(Qe=St)===null||Qe===void 0?void 0:Qe.findIndex(function(In){var $n=In[ct.value];return Ct?String($n)===String(Sn):$n===Sn}),Jn=ua!==-1?(Tt=St)===null||Tt===void 0?void 0:Tt[ua]:null;vn.push({value:(gn=Jn==null?void 0:Jn[ct.value])!==null&&gn!==void 0?gn:Sn,index:ua,option:Jn}),St=Jn==null?void 0:Jn[ct.children]},ze=0;ze<Be.length;ze+=1)qt();return vn}var mt=function(Be,at,ct,Ct,St){return pe.useMemo(function(){var vn=St||function(qt){var ze=Ct?qt.slice(-1):qt,qe=" / ";return ze.every(function(Qe){return["string","number"].includes((0,y.Z)(Qe))})?ze.join(qe):ze.reduce(function(Qe,Tt,gn){var Sn=pe.isValidElement(Tt)?pe.cloneElement(Tt,{key:gn}):Tt;return gn===0?[Sn]:[].concat((0,b.Z)(Qe),[qe,Sn])},[])};return Be.map(function(qt){var ze,qe,Qe=At(qt,at,ct),Tt=vn(Qe.map(function(Sn){var ua,Jn=Sn.option,In=Sn.value;return(ua=Jn==null?void 0:Jn[ct.label])!==null&&ua!==void 0?ua:In}),Qe.map(function(Sn){var ua=Sn.option;return ua})),gn=dt(qt);return{label:Tt,value:gn,key:gn,valueCells:qt,disabled:(ze=Qe[Qe.length-1])===null||ze===void 0||(qe=ze.option)===null||qe===void 0?void 0:qe.disabled}})},[Be,at,ct,St,Ct])},En=re(71430),sn=function(Be,at){var ct=pe.useRef({options:null,info:null}),Ct=pe.useCallback(function(){return ct.current.options!==Be&&(ct.current.options=Be,ct.current.info=(0,En.I8)(Be,{fieldNames:at,initWrapper:function(vn){return(0,te.Z)((0,te.Z)({},vn),{},{pathKeyEntities:{}})},processEntity:function(vn,qt){var ze=vn.nodes.map(function(qe){return qe[at.value]}).join(be);qt.pathKeyEntities[ze]=vn,vn.key=ze}})),ct.current.info.pathKeyEntities},[at,Be]);return Ct},Gt=function(Be,at){return pe.useCallback(function(ct){var Ct=[],St=[];return ct.forEach(function(vn){var qt=At(vn,Be,at);qt.every(function(ze){return ze.option})?St.push(vn):Ct.push(vn)}),[St,Ct]},[Be,at])},_t=re(48736);function Te(Be){return pe.useMemo(function(){if(!Be)return[!1,{}];var at={matchInputWidth:!0,limit:50};return Be&&(0,y.Z)(Be)==="object"&&(at=(0,te.Z)((0,te.Z)({},at),Be)),at.limit<=0&&delete at.limit,[!0,at]},[Be])}var ot=pe.memo(function(Be){var at=Be.children;return at},function(Be,at){return!at.open}),Rt=ot;function pn(Be){var at,ct=Be.prefixCls,Ct=Be.checked,St=Be.halfChecked,vn=Be.disabled,qt=Be.onClick,ze=Be.disableCheckbox,qe=pe.useContext(x),Qe=qe.checkable,Tt=typeof Qe!="boolean"?Qe:null;return pe.createElement("span",{className:De()("".concat(ct),(at={},(0,z.Z)(at,"".concat(ct,"-checked"),Ct),(0,z.Z)(at,"".concat(ct,"-indeterminate"),!Ct&&St),(0,z.Z)(at,"".concat(ct,"-disabled"),vn||ze),at)),onClick:qt},Tt)}var bt="__cascader_fix_label__";function dn(Be){var at=Be.prefixCls,ct=Be.multiple,Ct=Be.options,St=Be.activeValue,vn=Be.prevValuePath,qt=Be.onToggleOpen,ze=Be.onSelect,qe=Be.onActive,Qe=Be.checkedSet,Tt=Be.halfCheckedSet,gn=Be.loadingKeys,Sn=Be.isSelectable,ua=Be.searchValue,Jn="".concat(at,"-menu"),In="".concat(at,"-menu-item"),$n=pe.useContext(x),Un=$n.fieldNames,Ut=$n.changeOnSelect,Na=$n.expandTrigger,nr=$n.expandIcon,uo=$n.loadingIcon,Wa=$n.dropdownMenuColumnStyle,Vt=Na==="hover",zr=pe.useMemo(function(){return Ct.map(function(Aa){var dr,or=Aa.disabled,Jr=Aa.disableCheckbox,Br=Aa[ae],ar=(dr=Aa[bt])!==null&&dr!==void 0?dr:Aa[Un.label],cr=Aa[Un.value],ma=$e(Aa,Un),an=Br?Br.map(function(An){return An[Un.value]}):[].concat((0,b.Z)(vn),[cr]),ir=dt(an),Er=gn.includes(ir),Ar=Qe.has(ir),Ka=Tt.has(ir);return{disabled:or,label:ar,value:cr,isLeaf:ma,isLoading:Er,checked:Ar,halfChecked:Ka,option:Aa,disableCheckbox:Jr,fullPath:an,fullPathKey:ir}})},[Ct,Qe,Un,Tt,gn,vn]);return pe.createElement("ul",{className:Jn,role:"menu"},zr.map(function(Aa){var dr,or=Aa.disabled,Jr=Aa.label,Br=Aa.value,ar=Aa.isLeaf,cr=Aa.isLoading,ma=Aa.checked,an=Aa.halfChecked,ir=Aa.option,Er=Aa.fullPath,Ar=Aa.fullPathKey,Ka=Aa.disableCheckbox,An=function(){if(!(or||ua)){var er=(0,b.Z)(Er);Vt&&ar&&er.pop(),qe(er)}},ia=function(){Sn(ir)&&ze(Er,ar)},Qn;return typeof ir.title=="string"?Qn=ir.title:typeof Jr=="string"&&(Qn=Jr),pe.createElement("li",{key:Ar,className:De()(In,(dr={},(0,z.Z)(dr,"".concat(In,"-expand"),!ar),(0,z.Z)(dr,"".concat(In,"-active"),St===Br||St===Ar),(0,z.Z)(dr,"".concat(In,"-disabled"),or),(0,z.Z)(dr,"".concat(In,"-loading"),cr),dr)),style:Wa,role:"menuitemcheckbox",title:Qn,"aria-checked":ma,"data-path-key":Ar,onClick:function(){An(),!Ka&&(!ct||ar)&&ia()},onDoubleClick:function(){Ut&&qt(!1)},onMouseEnter:function(){Vt&&An()},onMouseDown:function(er){er.preventDefault()}},ct&&pe.createElement(pn,{prefixCls:"".concat(at,"-checkbox"),checked:ma,halfChecked:an,disabled:or||Ka,disableCheckbox:Ka,onClick:function(er){Ka||(er.stopPropagation(),ia())}}),pe.createElement("div",{className:"".concat(In,"-content")},Jr),!cr&&nr&&!ar&&pe.createElement("div",{className:"".concat(In,"-expand-icon")},nr),cr&&uo&&pe.createElement("div",{className:"".concat(In,"-loading-icon")},uo))}))}var Ce=function(){var Be=(0,ke.lk)(),at=Be.multiple,ct=Be.open,Ct=pe.useContext(x),St=Ct.values,vn=pe.useState([]),qt=(0,Oe.Z)(vn,2),ze=qt[0],qe=qt[1];return pe.useEffect(function(){if(ct&&!at){var Qe=St[0];qe(Qe||[])}},[ct]),[ze,qe]},it=re(10228),Qt=function(Be,at,ct,Ct,St,vn){var qt=(0,ke.lk)(),ze=qt.direction,qe=qt.searchValue,Qe=qt.toggleOpen,Tt=qt.open,gn=ze==="rtl",Sn=pe.useMemo(function(){for(var Wa=-1,Vt=at,zr=[],Aa=[],dr=Ct.length,or=gt(at,ct),Jr=function(ir){var Er=Vt.findIndex(function(Ar,Ka){return(or[Ka]?dt(or[Ka]):Ar[ct.value])===Ct[ir]});if(Er===-1)return"break";Wa=Er,zr.push(Wa),Aa.push(Ct[ir]),Vt=Vt[Wa][ct.children]},Br=0;Br<dr&&Vt;Br+=1){var ar=Jr(Br);if(ar==="break")break}for(var cr=at,ma=0;ma<zr.length-1;ma+=1)cr=cr[zr[ma]][ct.children];return[Aa,Wa,cr,or]},[Ct,ct,at]),ua=(0,Oe.Z)(Sn,4),Jn=ua[0],In=ua[1],$n=ua[2],Un=ua[3],Ut=function(Vt){St(Vt)},Na=function(Vt){var zr=$n.length,Aa=In;Aa===-1&&Vt<0&&(Aa=zr);for(var dr=0;dr<zr;dr+=1){Aa=(Aa+Vt+zr)%zr;var or=$n[Aa];if(or&&!or.disabled){var Jr=Jn.slice(0,-1).concat(Un[Aa]?dt(Un[Aa]):or[ct.value]);Ut(Jr);return}}},nr=function(){if(Jn.length>1){var Vt=Jn.slice(0,-1);Ut(Vt)}else Qe(!1)},uo=function(){var Vt,zr=((Vt=$n[In])===null||Vt===void 0?void 0:Vt[ct.children])||[],Aa=zr.find(function(or){return!or.disabled});if(Aa){var dr=[].concat((0,b.Z)(Jn),[Aa[ct.value]]);Ut(dr)}};pe.useImperativeHandle(Be,function(){return{onKeyDown:function(Vt){var zr=Vt.which;switch(zr){case it.Z.UP:case it.Z.DOWN:{var Aa=0;zr===it.Z.UP?Aa=-1:zr===it.Z.DOWN&&(Aa=1),Aa!==0&&Na(Aa);break}case it.Z.LEFT:{if(qe)break;gn?uo():nr();break}case it.Z.RIGHT:{if(qe)break;gn?nr():uo();break}case it.Z.BACKSPACE:{qe||nr();break}case it.Z.ENTER:{if(Jn.length){var dr=$n[In],or=(dr==null?void 0:dr[ae])||[];or.length?vn(or.map(function(Jr){return Jr[ct.value]}),or[or.length-1]):vn(Jn,$n[In])}break}case it.Z.ESC:Qe(!1),Tt&&Vt.stopPropagation()}},onKeyUp:function(){}}})},nt=pe.forwardRef(function(Be,at){var ct,Ct,St,vn,qt=(0,ke.lk)(),ze=qt.prefixCls,qe=qt.multiple,Qe=qt.searchValue,Tt=qt.toggleOpen,gn=qt.notFoundContent,Sn=qt.direction,ua=qt.open,Jn=pe.useRef(),In=Sn==="rtl",$n=pe.useContext(x),Un=$n.options,Ut=$n.values,Na=$n.halfValues,nr=$n.fieldNames,uo=$n.changeOnSelect,Wa=$n.onSelect,Vt=$n.searchOptions,zr=$n.dropdownPrefixCls,Aa=$n.loadData,dr=$n.expandTrigger,or=zr||ze,Jr=pe.useState([]),Br=(0,Oe.Z)(Jr,2),ar=Br[0],cr=Br[1],ma=function(Fr){if(!(!Aa||Qe)){var mo=At(Fr,Un,nr),Xr=mo.map(function(fr){var _r=fr.option;return _r}),fo=Xr[Xr.length-1];if(fo&&!$e(fo,nr)){var Vr=dt(Fr);cr(function(fr){return[].concat((0,b.Z)(fr),[Vr])}),Aa(Xr)}}};pe.useEffect(function(){ar.length&&ar.forEach(function(yr){var Fr=Ke(yr),mo=At(Fr,Un,nr,!0).map(function(fo){var Vr=fo.option;return Vr}),Xr=mo[mo.length-1];(!Xr||Xr[nr.children]||$e(Xr,nr))&&cr(function(fo){return fo.filter(function(Vr){return Vr!==yr})})})},[Un,ar,nr]);var an=pe.useMemo(function(){return new Set(Re(Ut))},[Ut]),ir=pe.useMemo(function(){return new Set(Re(Na))},[Na]),Er=Ce(),Ar=(0,Oe.Z)(Er,2),Ka=Ar[0],An=Ar[1],ia=function(Fr){An(Fr),ma(Fr)},Qn=function(Fr){var mo=Fr.disabled,Xr=$e(Fr,nr);return!mo&&(Xr||uo||qe)},Hn=function(Fr,mo){var Xr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wa(Fr),!qe&&(mo||uo&&(dr==="hover"||Xr))&&Tt(!1)},er=pe.useMemo(function(){return Qe?Vt:Un},[Qe,Vt,Un]),Pr=pe.useMemo(function(){for(var yr=[{options:er}],Fr=er,mo=gt(Fr,nr),Xr=function(){var _r=Ka[fo],Go=Fr.find(function(Qa,zo){return(mo[zo]?dt(mo[zo]):Qa[nr.value])===_r}),So=Go==null?void 0:Go[nr.children];if(!(So!=null&&So.length))return"break";Fr=So,yr.push({options:So})},fo=0;fo<Ka.length;fo+=1){var Vr=Xr();if(Vr==="break")break}return yr},[er,Ka,nr]),hr=function(Fr,mo){Qn(mo)&&Hn(Fr,$e(mo,nr),!0)};Qt(at,er,nr,Ka,ia,hr),pe.useEffect(function(){for(var yr=0;yr<Ka.length;yr+=1){var Fr,mo=Ka.slice(0,yr+1),Xr=dt(mo),fo=(Fr=Jn.current)===null||Fr===void 0?void 0:Fr.querySelector('li[data-path-key="'.concat(Xr.replace(/\\{0,2}"/g,'\\"'),'"]'));fo&&xe(fo)}},[Ka]);var mr=!((ct=Pr[0])!==null&&ct!==void 0&&(Ct=ct.options)!==null&&Ct!==void 0&&Ct.length),ja=[(St={},(0,z.Z)(St,nr.value,"__EMPTY__"),(0,z.Z)(St,bt,gn),(0,z.Z)(St,"disabled",!0),St)],ho=(0,te.Z)((0,te.Z)({},Be),{},{multiple:!mr&&qe,onSelect:Hn,onActive:ia,onToggleOpen:Tt,checkedSet:an,halfCheckedSet:ir,loadingKeys:ar,isSelectable:Qn}),Po=mr?[{options:ja}]:Pr,Ci=Po.map(function(yr,Fr){var mo=Ka.slice(0,Fr),Xr=Ka[Fr];return pe.createElement(dn,(0,tt.Z)({key:Fr},ho,{searchValue:Qe,prefixCls:or,options:yr.options,prevValuePath:mo,activeValue:Xr}))});return pe.createElement(Rt,{open:ua},pe.createElement("div",{className:De()("".concat(or,"-menus"),(vn={},(0,z.Z)(vn,"".concat(or,"-menu-empty"),mr),(0,z.Z)(vn,"".concat(or,"-rtl"),In),vn)),ref:Jn},Ci))}),ht=nt;function Tn(Be){var at=Be.onPopupVisibleChange,ct=Be.popupVisible,Ct=Be.popupClassName,St=Be.popupPlacement;warning(!at,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(ct===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Ct===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(St===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function kt(Be,at){if(Be){var ct=function Ct(St){for(var vn=0;vn<St.length;vn++){var qt=St[vn];if(qt[at==null?void 0:at.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(qt[at==null?void 0:at.children])&&Ct(qt[at==null?void 0:at.children]))return!0}};ct(Be)}}var yt=null,Pt=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function Gn(Be){return Array.isArray(Be)&&Array.isArray(Be[0])}function Vn(Be){return Be?Gn(Be)?Be:(Be.length===0?[]:[Be]).map(function(at){return Array.isArray(at)?at:[at]}):[]}var rn=pe.forwardRef(function(Be,at){var ct=Be.id,Ct=Be.prefixCls,St=Ct===void 0?"rc-cascader":Ct,vn=Be.fieldNames,qt=Be.defaultValue,ze=Be.value,qe=Be.changeOnSelect,Qe=Be.onChange,Tt=Be.displayRender,gn=Be.checkable,Sn=Be.autoClearSearchValue,ua=Sn===void 0?!0:Sn,Jn=Be.searchValue,In=Be.onSearch,$n=Be.showSearch,Un=Be.expandTrigger,Ut=Be.options,Na=Be.dropdownPrefixCls,nr=Be.loadData,uo=Be.popupVisible,Wa=Be.open,Vt=Be.popupClassName,zr=Be.dropdownClassName,Aa=Be.dropdownMenuColumnStyle,dr=Be.popupPlacement,or=Be.placement,Jr=Be.onDropdownVisibleChange,Br=Be.onPopupVisibleChange,ar=Be.expandIcon,cr=ar===void 0?">":ar,ma=Be.loadingIcon,an=Be.children,ir=Be.dropdownMatchSelectWidth,Er=ir===void 0?!1:ir,Ar=Be.showCheckedStrategy,Ka=Ar===void 0?He:Ar,An=(0,Le.Z)(Be,Pt),ia=(0,Ge.ZP)(ct),Qn=!!gn,Hn=(0,E.Z)(qt,{value:ze,postState:Vn}),er=(0,Oe.Z)(Hn,2),Pr=er[0],hr=er[1],mr=pe.useMemo(function(){return We(vn)},[JSON.stringify(vn)]),ja=pe.useMemo(function(){return Ut||[]},[Ut]),ho=sn(ja,mr),Po=pe.useCallback(function(nn){var Yt=ho();return nn.map(function(bn){var Ba=Yt[bn].nodes;return Ba.map(function(vr){return vr[mr.value]})})},[ho,mr]),Ci=(0,E.Z)("",{value:Jn,postState:function(Yt){return Yt||""}}),yr=(0,Oe.Z)(Ci,2),Fr=yr[0],mo=yr[1],Xr=function(Yt,bn){mo(Yt),bn.source!=="blur"&&In&&In(Yt)},fo=Te($n),Vr=(0,Oe.Z)(fo,2),fr=Vr[0],_r=Vr[1],Go=he(Fr,ja,mr,Na||St,_r,qe),So=Gt(ja,mr),Qa=pe.useMemo(function(){var nn=So(Pr),Yt=(0,Oe.Z)(nn,2),bn=Yt[0],Ba=Yt[1];if(!Qn||!Pr.length)return[bn,[],Ba];var vr=Re(bn),to=ho(),vo=(0,Je.S)(vr,!0,to),Xo=vo.checkedKeys,Co=vo.halfCheckedKeys;return[Po(Xo),Po(Co),Ba]},[Qn,Pr,ho,Po,So]),zo=(0,Oe.Z)(Qa,3),Qo=zo[0],oi=zo[1],Lr=zo[2],ti=pe.useMemo(function(){var nn=Re(Qo),Yt=lt(nn,ho,Ka);return[].concat((0,b.Z)(Lr),(0,b.Z)(Po(Yt)))},[Qo,ho,Po,Lr,Ka]),Se=mt(ti,ja,mr,Qn,Tt),xt=(0,le.Z)(function(nn){if(hr(nn),Qe){var Yt=Vn(nn),bn=Yt.map(function(to){return At(to,ja,mr).map(function(vo){return vo.option})}),Ba=Qn?Yt:Yt[0],vr=Qn?bn:bn[0];Qe(Ba,vr)}}),Jt=(0,le.Z)(function(nn){if((!Qn||ua)&&mo(""),!Qn)xt(nn);else{var Yt=dt(nn),bn=Re(Qo),Ba=Re(oi),vr=bn.includes(Yt),to=Lr.some(function(ao){return dt(ao)===Yt}),vo=Qo,Xo=Lr;if(to&&!vr)Xo=Lr.filter(function(ao){return dt(ao)!==Yt});else{var Co=vr?bn.filter(function(ao){return ao!==Yt}):[].concat((0,b.Z)(bn),[Yt]),Oi=ho(),si;if(vr){var el=(0,Je.S)(Co,{checked:!1,halfCheckedKeys:Ba},Oi);si=el.checkedKeys}else{var ii=(0,Je.S)(Co,!0,Oi);si=ii.checkedKeys}var Ol=lt(si,ho,Ka);vo=Po(Ol)}xt([].concat((0,b.Z)(Xo),(0,b.Z)(vo)))}}),yn=function(Yt,bn){if(bn.type==="clear"){xt([]);return}var Ba=bn.values[0],vr=Ba.valueCells;Jt(vr)},Bt=Wa!==void 0?Wa:uo,zn=zr||Vt,Xn=or||dr,hn=function(Yt){Jr==null||Jr(Yt),Br==null||Br(Yt)},xn=pe.useMemo(function(){return{options:ja,fieldNames:mr,values:Qo,halfValues:oi,changeOnSelect:qe,onSelect:Jt,checkable:gn,searchOptions:Go,dropdownPrefixCls:Na,loadData:nr,expandTrigger:Un,expandIcon:cr,loadingIcon:ma,dropdownMenuColumnStyle:Aa}},[ja,mr,Qo,oi,qe,Jt,gn,Go,Na,nr,Un,cr,ma,Aa]),Ga=!(Fr?Go:ja).length,Zn=Fr&&_r.matchInputWidth||Ga?{}:{minWidth:"auto"};return pe.createElement(x.Provider,{value:xn},pe.createElement(ke.Ac,(0,tt.Z)({},An,{ref:at,id:ia,prefixCls:St,autoClearSearchValue:ua,dropdownMatchSelectWidth:Er,dropdownStyle:Zn,displayValues:Se,onDisplayValuesChange:yn,mode:Qn?"multiple":void 0,searchValue:Fr,onSearch:Xr,showSearch:fr,OptionList:ht,emptyOptions:Ga,open:Bt,dropdownClassName:zn,placement:Xn,onDropdownVisibleChange:hn,getRawInputElement:function(){return an}})))});rn.SHOW_PARENT=He,rn.SHOW_CHILD=Ne;var ta=rn,Sa=ta,Kn=re(2738),Nn=re(62892),ha=re(53487),Oa=re(19080),ka=re(36355),va=re(93891),Ua=re(1684),Za=re(19716),ga=re(32441),Ra=re(14154),qa=re(58582),_n=re(84443),Pn=re(66339),jt=re(33234),on=re(98447),Ca=re(17313),xa=re(74207),Ta=re(83116);const La=Be=>{const{prefixCls:at,componentCls:ct,antCls:Ct}=Be,St=`${ct}-menu-item`,vn=`
&${St}-expand ${St}-expand-icon,
${St}-loading-icon
`;return[{[ct]:{width:Be.controlWidth}},{[`${ct}-dropdown`]:[(0,on.C2)(`${at}-checkbox`,Be),{[`&${Ct}-select-dropdown`]:{padding:0}},{[ct]:{"&-checkbox":{top:0,marginInlineEnd:Be.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${ct}-menu-empty`]:{[`${ct}-menu`]:{width:"100%",height:"auto",[St]:{color:Be.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Be.controlItemWidth,height:Be.dropdownHeight,margin:0,padding:Be.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Be.lineWidth}px ${Be.lineType} ${Be.colorSplit}`},"&-item":Object.assign(Object.assign({},Ca.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Be.optionPadding,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${Be.motionDurationMid}`,borderRadius:Be.borderRadiusSM,"&:hover":{background:Be.controlItemBgHover},"&-disabled":{color:Be.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[vn]:{color:Be.colorTextDisabled}},[`&-active:not(${St}-disabled)`]:{"&, &:hover":{fontWeight:Be.optionSelectedFontWeight,backgroundColor:Be.optionSelectedBg}},"&-content":{flex:"auto"},[vn]:{marginInlineStart:Be.paddingXXS,color:Be.colorTextDescription,fontSize:Be.fontSizeIcon},"&-keyword":{color:Be.colorHighlight}})}}}]},{[`${ct}-dropdown-rtl`]:{direction:"rtl"}},(0,xa.c)(Be)]};var za=(0,Ta.Z)("Cascader",Be=>[La(Be)],Be=>{const at=Math.round((Be.controlHeight-Be.fontSize*Be.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Be.controlItemBgActive,optionSelectedFontWeight:Be.fontWeightStrong,optionPadding:`${at}px ${Be.paddingSM}px`,menuPadding:Be.paddingXXS}}),sr=function(Be,at){var ct={};for(var Ct in Be)Object.prototype.hasOwnProperty.call(Be,Ct)&&at.indexOf(Ct)<0&&(ct[Ct]=Be[Ct]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,Ct=Object.getOwnPropertySymbols(Be);St<Ct.length;St++)at.indexOf(Ct[St])<0&&Object.prototype.propertyIsEnumerable.call(Be,Ct[St])&&(ct[Ct[St]]=Be[Ct[St]]);return ct};const{SHOW_CHILD:$a,SHOW_PARENT:oa}=Sa;function Mr(Be,at,ct){const Ct=Be.toLowerCase().split(at).reduce((qt,ze,qe)=>qe===0?[ze]:[].concat((0,b.Z)(qt),[at,ze]),[]),St=[];let vn=0;return Ct.forEach((qt,ze)=>{const qe=vn+qt.length;let Qe=Be.slice(vn,qe);vn=qe,ze%2===1&&(Qe=pe.createElement("span",{className:`${ct}-menu-item-keyword`,key:`separator-${ze}`},Qe)),St.push(Qe)}),St}const Nt=(Be,at,ct,Ct)=>{const St=[],vn=Be.toLowerCase();return at.forEach((qt,ze)=>{ze!==0&&St.push(" / ");let qe=qt[Ct.label];const Qe=typeof qe;(Qe==="string"||Qe==="number")&&(qe=Mr(String(qe),vn,ct)),St.push(qe)}),St},Bn=pe.forwardRef((Be,at)=>{const{prefixCls:ct,size:Ct,disabled:St,className:vn,rootClassName:qt,multiple:ze,bordered:qe=!0,transitionName:Qe,choiceTransitionName:Tt="",popupClassName:gn,dropdownClassName:Sn,expandIcon:ua,placement:Jn,showSearch:In,allowClear:$n=!0,notFoundContent:Un,direction:Ut,getPopupContainer:Na,status:nr,showArrow:uo,builtinPlacements:Wa,style:Vt}=Be,zr=sr(Be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Aa=(0,Kn.Z)(zr,["suffixIcon"]),{getPopupContainer:dr,getPrefixCls:or,renderEmpty:Jr,direction:Br,popupOverflow:ar,cascader:cr}=pe.useContext(ka.E_),ma=Ut||Br,an=ma==="rtl",{status:ir,hasFeedback:Er,isFormItemInput:Ar,feedbackIcon:Ka}=pe.useContext(ga.aM),An=(0,Oa.F)(ir,nr),ia=Un||(Jr==null?void 0:Jr("Cascader"))||pe.createElement(va.Z,{componentName:"Cascader"}),Qn=or(),Hn=or("select",ct),er=or("cascader",ct),[Pr,hr]=(0,Ra.Z)(Hn),[mr]=za(er),{compactSize:ja,compactItemClassnames:ho}=(0,jt.ri)(Hn,Ut),Po=De()(gn||Sn,`${er}-dropdown`,{[`${er}-dropdown-rtl`]:ma==="rtl"},qt,hr),Ci=pe.useMemo(()=>{if(!In)return In;let Lr={render:Nt};return typeof In=="object"&&(Lr=Object.assign(Object.assign({},Lr),In)),Lr},[In]),yr=(0,Za.Z)(Lr=>{var ti;return(ti=Ct!=null?Ct:ja)!==null&&ti!==void 0?ti:Lr}),Fr=pe.useContext(Ua.Z),mo=St!=null?St:Fr;let Xr=ua;ua||(Xr=an?pe.createElement(we.Z,null):pe.createElement(_e.Z,null));const fo=pe.createElement("span",{className:`${Hn}-menu-item-loading-icon`},pe.createElement(Ae.Z,{spin:!0})),Vr=pe.useMemo(()=>ze?pe.createElement("span",{className:`${er}-checkbox-inner`}):!1,[ze]),fr=(0,_n.Z)(Be.suffixIcon,uo),{suffixIcon:_r,removeIcon:Go,clearIcon:So}=(0,Pn.Z)(Object.assign(Object.assign({},Be),{hasFeedback:Er,feedbackIcon:Ka,showSuffixIcon:fr,multiple:ze,prefixCls:Hn,componentName:"Cascader"})),Qa=pe.useMemo(()=>Jn!==void 0?Jn:an?"bottomRight":"bottomLeft",[Jn,an]),zo=(0,qa.Z)(Wa,ar),Qo=$n===!0?{clearIcon:So}:$n,oi=pe.createElement(Sa,Object.assign({prefixCls:Hn,className:De()(!ct&&er,{[`${Hn}-lg`]:yr==="large",[`${Hn}-sm`]:yr==="small",[`${Hn}-rtl`]:an,[`${Hn}-borderless`]:!qe,[`${Hn}-in-form-item`]:Ar},(0,Oa.Z)(Hn,An,Er),ho,cr==null?void 0:cr.className,vn,qt,hr),disabled:mo,style:Object.assign(Object.assign({},cr==null?void 0:cr.style),Vt)},Aa,{builtinPlacements:zo,direction:ma,placement:Qa,notFoundContent:ia,allowClear:Qo,showSearch:Ci,expandIcon:Xr,suffixIcon:_r,removeIcon:Go,loadingIcon:fo,checkable:Vr,dropdownClassName:Po,dropdownPrefixCls:ct||er,choiceTransitionName:(0,Nn.m)(Qn,"",Tt),transitionName:(0,Nn.m)(Qn,"slide-up",Qe),getPopupContainer:Na||dr,ref:at}));return mr(Pr(oi))}),na=(0,ha.Z)(Bn);Bn.SHOW_PARENT=oa,Bn.SHOW_CHILD=$a,Bn._InternalPanelDoNotUseOrYouWillBeFired=na;var pa=Bn},36381:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return Qt}});var b=re(38819),pe=re(92310),we=re.n(pe),Ae=re(72308),_e=re(80702),Ue=re(52487),De=re(62853),tt=re(18929),Oe=re(48736),Le=re(59301),ke=re(74416),Ge=re(11592),Je=re(49618),le=re(77900),E=re(10228),a=Le.forwardRef(function(nt,ht){var Tn=nt.prefixCls,kt=nt.forceRender,yt=nt.className,Pt=nt.style,Gn=nt.children,Vn=nt.isActive,rn=nt.role,ta=Le.useState(Vn||kt),Sa=(0,Ue.Z)(ta,2),Kn=Sa[0],Nn=Sa[1];return Le.useEffect(function(){(kt||Vn)&&Nn(!0)},[kt,Vn]),Kn?Le.createElement("div",{ref:ht,className:we()("".concat(Tn,"-content"),(0,Je.Z)((0,Je.Z)({},"".concat(Tn,"-content-active"),Vn),"".concat(Tn,"-content-inactive"),!Vn),yt),style:Pt,role:rn},Le.createElement("div",{className:"".concat(Tn,"-content-box")},Gn)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Le.forwardRef(function(nt,ht){var Tn=nt.showArrow,kt=Tn===void 0?!0:Tn,yt=nt.headerClass,Pt=nt.isActive,Gn=nt.onItemClick,Vn=nt.forceRender,rn=nt.className,ta=nt.prefixCls,Sa=nt.collapsible,Kn=nt.accordion,Nn=nt.panelKey,ha=nt.extra,Oa=nt.header,ka=nt.expandIcon,va=nt.openMotion,Ua=nt.destroyInactivePanel,Za=nt.children,ga=(0,ke.Z)(nt,y),Ra=Sa==="disabled",qa=Sa==="header",_n=Sa==="icon",Pn=ha!=null&&typeof ha!="boolean",jt=function(){Gn==null||Gn(Nn)},on=function(sr){(sr.key==="Enter"||sr.keyCode===E.Z.ENTER||sr.which===E.Z.ENTER)&&jt()},Ca=typeof ka=="function"?ka(nt):Le.createElement("i",{className:"arrow"});Ca&&(Ca=Le.createElement("div",{className:"".concat(ta,"-expand-icon"),onClick:["header","icon"].includes(Sa)?jt:void 0},Ca));var xa=we()((0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(ta,"-item"),!0),"".concat(ta,"-item-active"),Pt),"".concat(ta,"-item-disabled"),Ra),rn),Ta=we()(yt,(0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(ta,"-header"),!0),"".concat(ta,"-header-collapsible-only"),qa),"".concat(ta,"-icon-collapsible-only"),_n)),La={className:Ta,"aria-expanded":Pt,"aria-disabled":Ra,onKeyDown:on};return!qa&&!_n&&(La.onClick=jt,La.role=Kn?"tab":"button",La.tabIndex=Ra?-1:0),Le.createElement("div",(0,Ae.Z)({},ga,{ref:ht,className:xa}),Le.createElement("div",La,kt&&Ca,Le.createElement("span",{className:"".concat(ta,"-header-text"),onClick:Sa==="header"?jt:void 0},Oa),Pn&&Le.createElement("div",{className:"".concat(ta,"-extra")},ha)),Le.createElement(le.default,(0,Ae.Z)({visible:Pt,leavedClassName:"".concat(ta,"-content-hidden")},va,{forceRender:Vn,removeOnLeave:Ua}),function(za,sr){var $a=za.className,oa=za.style;return Le.createElement(x,{ref:sr,prefixCls:ta,className:$a,style:oa,isActive:Pt,forceRender:Vn,role:Kn?"tabpanel":void 0},Za)}))}),te=z,ae=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(ht,Tn){var kt=Tn.prefixCls,yt=Tn.accordion,Pt=Tn.collapsible,Gn=Tn.destroyInactivePanel,Vn=Tn.onItemClick,rn=Tn.activeKey,ta=Tn.openMotion,Sa=Tn.expandIcon;return ht.map(function(Kn,Nn){var ha=Kn.children,Oa=Kn.label,ka=Kn.key,va=Kn.collapsible,Ua=Kn.onItemClick,Za=Kn.destroyInactivePanel,ga=(0,ke.Z)(Kn,ae),Ra=String(ka!=null?ka:Nn),qa=va!=null?va:Pt,_n=Za!=null?Za:Gn,Pn=function(Ca){qa!=="disabled"&&(Vn(Ca),Ua==null||Ua(Ca))},jt=!1;return yt?jt=rn[0]===Ra:jt=rn.indexOf(Ra)>-1,Le.createElement(te,(0,Ae.Z)({},ga,{prefixCls:kt,key:Ra,panelKey:Ra,isActive:jt,accordion:yt,openMotion:ta,expandIcon:Sa,header:Oa,collapsible:qa,onItemClick:Pn,destroyInactivePanel:_n}),ha)})},ie=function(ht,Tn,kt){if(!ht)return null;var yt=kt.prefixCls,Pt=kt.accordion,Gn=kt.collapsible,Vn=kt.destroyInactivePanel,rn=kt.onItemClick,ta=kt.activeKey,Sa=kt.openMotion,Kn=kt.expandIcon,Nn=ht.key||String(Tn),ha=ht.props,Oa=ha.header,ka=ha.headerClass,va=ha.destroyInactivePanel,Ua=ha.collapsible,Za=ha.onItemClick,ga=!1;Pt?ga=ta[0]===Nn:ga=ta.indexOf(Nn)>-1;var Ra=Ua!=null?Ua:Gn,qa=function(jt){Ra!=="disabled"&&(rn(jt),Za==null||Za(jt))},_n={key:Nn,panelKey:Nn,header:Oa,headerClass:ka,isActive:ga,prefixCls:yt,destroyInactivePanel:va!=null?va:Vn,openMotion:Sa,accordion:Pt,children:ht.props.children,onItemClick:qa,expandIcon:Kn,collapsible:Ra};return typeof ht.type=="string"?ht:(Object.keys(_n).forEach(function(Pn){typeof _n[Pn]=="undefined"&&delete _n[Pn]}),Le.cloneElement(ht,_n))};function he(nt,ht,Tn){return Array.isArray(nt)?se(nt,Tn):(0,Ge.Z)(ht).map(function(kt,yt){return ie(kt,yt,Tn)})}var be=he,He=re(26112);function Ne(nt){var ht=nt;if(!Array.isArray(ht)){var Tn=(0,De.Z)(ht);ht=Tn==="number"||Tn==="string"?[ht]:[]}return ht.map(function(kt){return String(kt)})}var dt=Le.forwardRef(function(nt,ht){var Tn=nt.prefixCls,kt=Tn===void 0?"rc-collapse":Tn,yt=nt.destroyInactivePanel,Pt=yt===void 0?!1:yt,Gn=nt.style,Vn=nt.accordion,rn=nt.className,ta=nt.children,Sa=nt.collapsible,Kn=nt.openMotion,Nn=nt.expandIcon,ha=nt.activeKey,Oa=nt.defaultActiveKey,ka=nt.onChange,va=nt.items,Ua=we()(kt,rn),Za=(0,tt.Z)([],{value:ha,onChange:function(on){return ka==null?void 0:ka(on)},defaultValue:Oa,postState:Ne}),ga=(0,Ue.Z)(Za,2),Ra=ga[0],qa=ga[1],_n=function(on){return qa(function(){if(Vn)return Ra[0]===on?[]:[on];var Ca=Ra.indexOf(on),xa=Ca>-1;return xa?Ra.filter(function(Ta){return Ta!==on}):[].concat((0,_e.Z)(Ra),[on])})};(0,Oe.ZP)(!ta,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Pn=be(va,ta,{prefixCls:kt,accordion:Vn,openMotion:Kn,expandIcon:Nn,collapsible:Sa,destroyInactivePanel:Pt,onItemClick:_n,activeKey:Ra});return Le.createElement("div",(0,Ae.Z)({ref:ht,className:Ua,style:Gn,role:Vn?"tablist":void 0},(0,He.Z)(nt,{aria:!0,data:!0})),Pn)}),Re=Object.assign(dt,{Panel:te}),Ke=Re,We=Re.Panel,$e=re(2738),xe=re(62892),gt=re(92343),lt=re(36355),At=re(19716),En=Le.forwardRef((nt,ht)=>{const{getPrefixCls:Tn}=Le.useContext(lt.E_),{prefixCls:kt,className:yt,showArrow:Pt=!0}=nt,Gn=Tn("collapse",kt),Vn=we()({[`${Gn}-no-arrow`]:!Pt},yt);return Le.createElement(Ke.Panel,Object.assign({ref:ht},nt,{prefixCls:Gn,className:Vn}))}),sn=re(17313),Gt=re(8378),_t=re(83116),Te=re(37613);const ot=nt=>{const{componentCls:ht,contentBg:Tn,padding:kt,headerBg:yt,headerPadding:Pt,collapseHeaderPaddingSM:Gn,collapseHeaderPaddingLG:Vn,collapsePanelBorderRadius:rn,lineWidth:ta,lineType:Sa,colorBorder:Kn,colorText:Nn,colorTextHeading:ha,colorTextDisabled:Oa,fontSize:ka,fontSizeLG:va,lineHeight:Ua,marginSM:Za,paddingSM:ga,paddingLG:Ra,paddingXS:qa,motionDurationSlow:_n,fontSizeIcon:Pn,contentPadding:jt}=nt,on=`${ta}px ${Sa} ${Kn}`;return{[ht]:Object.assign(Object.assign({},(0,sn.Wf)(nt)),{backgroundColor:yt,border:on,borderBottom:0,borderRadius:`${rn}px`,"&-rtl":{direction:"rtl"},[`& > ${ht}-item`]:{borderBottom:on,"&:last-child":{[`
&,
& > ${ht}-header`]:{borderRadius:`0 0 ${rn}px ${rn}px`}},[`> ${ht}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Pt,color:ha,lineHeight:Ua,cursor:"pointer",transition:`all ${_n}, visibility 0s`,[`> ${ht}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ht}-expand-icon`]:{height:ka*Ua,display:"flex",alignItems:"center",paddingInlineEnd:Za},[`${ht}-arrow`]:Object.assign(Object.assign({},(0,sn.Ro)()),{fontSize:Pn,svg:{transition:`transform ${_n}`}}),[`${ht}-header-text`]:{marginInlineEnd:"auto"}},[`${ht}-header-collapsible-only`]:{cursor:"default",[`${ht}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ht}-icon-collapsible-only`]:{cursor:"default",[`${ht}-expand-icon`]:{cursor:"pointer"}}},[`${ht}-content`]:{color:Nn,backgroundColor:Tn,borderTop:on,[`& > ${ht}-content-box`]:{padding:jt},"&-hidden":{display:"none"}},"&-small":{[`> ${ht}-item`]:{[`> ${ht}-header`]:{padding:Gn,paddingInlineStart:qa,[`> ${ht}-expand-icon`]:{marginInlineStart:ga-qa}},[`> ${ht}-content > ${ht}-content-box`]:{padding:ga}}},"&-large":{[`> ${ht}-item`]:{fontSize:va,[`> ${ht}-header`]:{padding:Vn,paddingInlineStart:kt,[`> ${ht}-expand-icon`]:{height:va*Ua,marginInlineStart:Ra-kt}},[`> ${ht}-content > ${ht}-content-box`]:{padding:Ra}}},[`${ht}-item:last-child`]:{[`> ${ht}-content`]:{borderRadius:`0 0 ${rn}px ${rn}px`}},[`& ${ht}-item-disabled > ${ht}-header`]:{"\n &,\n & > .arrow\n ":{color:Oa,cursor:"not-allowed"}},[`&${ht}-icon-position-end`]:{[`& > ${ht}-item`]:{[`> ${ht}-header`]:{[`${ht}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Za}}}}})}},Rt=nt=>{const{componentCls:ht}=nt,Tn=`> ${ht}-item > ${ht}-header ${ht}-arrow svg`;return{[`${ht}-rtl`]:{[Tn]:{transform:"rotate(180deg)"}}}},pn=nt=>{const{componentCls:ht,headerBg:Tn,paddingXXS:kt,colorBorder:yt}=nt;return{[`${ht}-borderless`]:{backgroundColor:Tn,border:0,[`> ${ht}-item`]:{borderBottom:`1px solid ${yt}`},[`
> ${ht}-item:last-child,
> ${ht}-item:last-child ${ht}-header
`]:{borderRadius:0},[`> ${ht}-item:last-child`]:{borderBottom:0},[`> ${ht}-item > ${ht}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ht}-item > ${ht}-content > ${ht}-content-box`]:{paddingTop:kt}}}},bt=nt=>{const{componentCls:ht,paddingSM:Tn}=nt;return{[`${ht}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ht}-item`]:{borderBottom:0,[`> ${ht}-content`]:{backgroundColor:"transparent",border:0,[`> ${ht}-content-box`]:{paddingBlock:Tn}}}}}};var dn=(0,_t.Z)("Collapse",nt=>{const ht=(0,Te.TS)(nt,{collapseHeaderPaddingSM:`${nt.paddingXS}px ${nt.paddingSM}px`,collapseHeaderPaddingLG:`${nt.padding}px ${nt.paddingLG}px`,collapsePanelBorderRadius:nt.borderRadiusLG});return[ot(ht),pn(ht),bt(ht),Rt(ht),(0,Gt.Z)(ht)]},nt=>({headerPadding:`${nt.paddingSM}px ${nt.padding}px`,headerBg:nt.colorFillAlter,contentPadding:`${nt.padding}px 16px`,contentBg:nt.colorBgContainer})),it=Object.assign(Le.forwardRef((nt,ht)=>{const{getPrefixCls:Tn,direction:kt,collapse:yt}=Le.useContext(lt.E_),{prefixCls:Pt,className:Gn,rootClassName:Vn,style:rn,bordered:ta=!0,ghost:Sa,size:Kn,expandIconPosition:Nn="start",children:ha,expandIcon:Oa}=nt,ka=(0,At.Z)(on=>{var Ca;return(Ca=Kn!=null?Kn:on)!==null&&Ca!==void 0?Ca:"middle"}),va=Tn("collapse",Pt),Ua=Tn(),[Za,ga]=dn(va),Ra=Le.useMemo(()=>Nn==="left"?"start":Nn==="right"?"end":Nn,[Nn]),qa=function(){let on=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Ca=Oa?Oa(on):Le.createElement(b.Z,{rotate:on.isActive?90:void 0});return(0,gt.Tm)(Ca,()=>({className:we()(Ca.props.className,`${va}-arrow`)}))},_n=we()(`${va}-icon-position-${Ra}`,{[`${va}-borderless`]:!ta,[`${va}-rtl`]:kt==="rtl",[`${va}-ghost`]:!!Sa,[`${va}-${ka}`]:ka!=="middle"},yt==null?void 0:yt.className,Gn,Vn,ga),Pn=Object.assign(Object.assign({},(0,xe.Z)(Ua)),{motionAppear:!1,leavedClassName:`${va}-content-hidden`}),jt=Le.useMemo(()=>ha?(0,Ge.Z)(ha).map((on,Ca)=>{var xa,Ta;if(!((xa=on.props)===null||xa===void 0)&&xa.disabled){const La=(Ta=on.key)!==null&&Ta!==void 0?Ta:String(Ca),{disabled:za,collapsible:sr}=on.props,$a=Object.assign(Object.assign({},(0,$e.Z)(on.props,["disabled"])),{key:La,collapsible:sr!=null?sr:za?"disabled":void 0});return(0,gt.Tm)(on,$a)}return on}):null,[ha]);return Za(Le.createElement(Ke,Object.assign({ref:ht,openMotion:Pn},(0,$e.Z)(nt,["rootClassName"]),{expandIcon:qa,prefixCls:va,className:_n,style:Object.assign(Object.assign({},yt==null?void 0:yt.style),rn)}),jt))}),{Panel:En}),Qt=it},5083:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return fs}});var b=re(61186),pe=re.n(b),we=re(48736),Ae=re(90111),_e=re.n(Ae),Ue=re(58319),De=re.n(Ue),tt=re(23250),Oe=re.n(tt),Le=re(74959),ke=re.n(Le),Ge=re(10238),Je=re.n(Ge),le=re(33656),E=re.n(le);pe().extend(E()),pe().extend(Je()),pe().extend(_e()),pe().extend(De()),pe().extend(Oe()),pe().extend(ke()),pe().extend(function(ce,ge){var me=ge.prototype,Ie=me.format;me.format=function(ft){var rt=(ft||"").replace("Wo","wo");return Ie.bind(this)(rt)}});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]},y=function(){(0,we.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,Ie){return me.locale(x(ge)).format(Ie)},parse:function(ge,me,Ie){for(var Me=x(ge),ft=0;ft<Ie.length;ft+=1){var rt=Ie[ft],It=me;if(rt.includes("wo")||rt.includes("Wo")){for(var Lt=It.split("-")[0],Ot=It.split("-")[1],jn=pe()(Lt,"YYYY").startOf("year").locale(Me),ln=0;ln<=52;ln+=1){var cn=jn.add(ln,"week");if(cn.format("Wo")===Ot)return cn}return y(),null}var Dn=pe()(It,rt,!0).locale(Me);if(Dn.isValid())return Dn}return me&&y(),null}}},te=z,ae=re(53487),se=re(72308),ie=re(59301),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},be=he,He=re(7657),Ne=function(ge,me){return ie.createElement(He.Z,(0,se.Z)({},ge,{ref:me,icon:be}))},dt=ie.forwardRef(Ne),Re=dt,Ke={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},We=Ke,$e=function(ge,me){return ie.createElement(He.Z,(0,se.Z)({},ge,{ref:me,icon:We}))},xe=ie.forwardRef($e),gt=xe,lt=re(19248),At={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},mt=At,En=function(ge,me){return ie.createElement(He.Z,(0,se.Z)({},ge,{ref:me,icon:mt}))},sn=ie.forwardRef(En),Gt=sn,_t=re(92310),Te=re.n(_t),ot=re(96949),Rt=re(55090),pn=re(80237),bt=re(77205),dn=re(38793),Ce=re(49618),it=re(77321),Qt=re(52487),nt=re(18929),ht=re(26112),Tn=re(80547),kt=re(13697),yt=10,Pt=yt*10,Gn=7;function Vn(ce,ge){if(!ce&&!ge)return!0;if(!ce||!ge)return!1}function rn(ce,ge,me){var Ie=Vn(ge,me);if(typeof Ie=="boolean")return Ie;var Me=Math.floor(ce.getYear(ge)/10),ft=Math.floor(ce.getYear(me)/10);return Me===ft}function ta(ce,ge,me){var Ie=Vn(ge,me);return typeof Ie=="boolean"?Ie:ce.getYear(ge)===ce.getYear(me)}function Sa(ce,ge){var me=Math.floor(ce.getMonth(ge)/3);return me+1}function Kn(ce,ge,me){var Ie=Vn(ge,me);return typeof Ie=="boolean"?Ie:ta(ce,ge,me)&&Sa(ce,ge)===Sa(ce,me)}function Nn(ce,ge,me){var Ie=Vn(ge,me);return typeof Ie=="boolean"?Ie:ta(ce,ge,me)&&ce.getMonth(ge)===ce.getMonth(me)}function ha(ce,ge,me){var Ie=Vn(ge,me);return typeof Ie=="boolean"?Ie:ce.getYear(ge)===ce.getYear(me)&&ce.getMonth(ge)===ce.getMonth(me)&&ce.getDate(ge)===ce.getDate(me)}function Oa(ce,ge,me){var Ie=Vn(ge,me);return typeof Ie=="boolean"?Ie:ce.getHour(ge)===ce.getHour(me)&&ce.getMinute(ge)===ce.getMinute(me)&&ce.getSecond(ge)===ce.getSecond(me)}function ka(ce,ge,me,Ie){var Me=Vn(me,Ie);return typeof Me=="boolean"?Me:ta(ce,me,Ie)&&ce.locale.getWeek(ge,me)===ce.locale.getWeek(ge,Ie)}function va(ce,ge,me){return ha(ce,ge,me)&&Oa(ce,ge,me)}function Ua(ce,ge,me,Ie){return!ge||!me||!Ie?!1:!ha(ce,ge,Ie)&&!ha(ce,me,Ie)&&ce.isAfter(Ie,ge)&&ce.isAfter(me,Ie)}function Za(ce,ge,me){var Ie=ge.locale.getWeekFirstDay(ce),Me=ge.setDate(me,1),ft=ge.getWeekDay(Me),rt=ge.addDate(Me,Ie-ft);return ge.getMonth(rt)===ge.getMonth(me)&&ge.getDate(rt)>1&&(rt=ge.addDate(rt,-7)),rt}function ga(ce,ge,me){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ge){case"year":return me.addYear(ce,Ie*10);case"quarter":case"month":return me.addYear(ce,Ie);default:return me.addMonth(ce,Ie)}}function Ra(ce,ge){var me=ge.generateConfig,Ie=ge.locale,Me=ge.format;return typeof Me=="function"?Me(ce):me.locale.format(Ie.locale,ce,Me)}function qa(ce,ge){var me=ge.generateConfig,Ie=ge.locale,Me=ge.formatList;return!ce||typeof Me[0]=="function"?null:me.locale.parse(Ie.locale,ce,Me)}function _n(ce){var ge=ce.cellDate,me=ce.mode,Ie=ce.disabledDate,Me=ce.generateConfig;if(!Ie)return!1;var ft=function(wn,Dt,zt){for(var On=Dt;On<=zt;){var un=void 0;switch(wn){case"date":{if(un=Me.setDate(ge,On),!Ie(un))return!1;break}case"month":{if(un=Me.setMonth(ge,On),!_n({cellDate:un,mode:"month",generateConfig:Me,disabledDate:Ie}))return!1;break}case"year":{if(un=Me.setYear(ge,On),!_n({cellDate:un,mode:"year",generateConfig:Me,disabledDate:Ie}))return!1;break}}On+=1}return!0};switch(me){case"date":case"week":return Ie(ge);case"month":{var rt=1,It=Me.getDate(Me.getEndDate(ge));return ft("date",rt,It)}case"quarter":{var Lt=Math.floor(Me.getMonth(ge)/3)*3,Ot=Lt+2;return ft("month",Lt,Ot)}case"year":return ft("month",0,11);case"decade":{var jn=Me.getYear(ge),ln=Math.floor(jn/yt)*yt,cn=ln+yt-1;return ft("year",ln,cn)}}}function Pn(ce,ge){var me=ge.formatList,Ie=ge.generateConfig,Me=ge.locale;return(0,Tn.Z)(function(){if(!ce)return[[""],""];for(var ft="",rt=[],It=0;It<me.length;It+=1){var Lt=me[It],Ot=Ra(ce,{generateConfig:Ie,locale:Me,format:Lt});rt.push(Ot),It===0&&(ft=Ot)}return[rt,ft]},[ce,me,Me],function(ft,rt){return!va(Ie,ft[0],rt[0])||!(0,kt.Z)(ft[1],rt[1],!0)||!(0,kt.Z)(ft[2],rt[2],!0)})}function jt(ce,ge){var me=ge.formatList,Ie=ge.generateConfig,Me=ge.locale,ft=(0,ie.useState)(null),rt=(0,Qt.Z)(ft,2),It=rt[0],Lt=rt[1],Ot=(0,ie.useRef)(null);function jn(zt){var On=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Ot.current),On){Lt(zt);return}Ot.current=requestAnimationFrame(function(){Lt(zt)})}var ln=Pn(It,{formatList:me,generateConfig:Ie,locale:Me}),cn=(0,Qt.Z)(ln,2),Dn=cn[1];function wn(zt){jn(zt)}function Dt(){var zt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;jn(null,zt)}return(0,ie.useEffect)(function(){Dt(!0)},[ce]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(Ot.current)}},[]),[Dn,wn,Dt]}var on=re(10228),Ca=re(16089),xa=re(80702),Ta=re(29194),La=new Map;function za(ce,ge){var me;function Ie(){(0,Ta.Z)(ce)?ge():me=(0,Ca.Z)(function(){Ie()})}return Ie(),function(){Ca.Z.cancel(me)}}function sr(ce,ge,me){if(La.get(ce)&&cancelAnimationFrame(La.get(ce)),me<=0){La.set(ce,requestAnimationFrame(function(){ce.scrollTop=ge}));return}var Ie=ge-ce.scrollTop,Me=Ie/me*10;La.set(ce,requestAnimationFrame(function(){ce.scrollTop+=Me,ce.scrollTop!==ge&&sr(ce,ge,me-10)}))}function $a(ce,ge){var me=ge.onLeftRight,Ie=ge.onCtrlLeftRight,Me=ge.onUpDown,ft=ge.onPageUpDown,rt=ge.onEnter,It=ce.which,Lt=ce.ctrlKey,Ot=ce.metaKey;switch(It){case on.Z.LEFT:if(Lt||Ot){if(Ie)return Ie(-1),!0}else if(me)return me(-1),!0;break;case on.Z.RIGHT:if(Lt||Ot){if(Ie)return Ie(1),!0}else if(me)return me(1),!0;break;case on.Z.UP:if(Me)return Me(-1),!0;break;case on.Z.DOWN:if(Me)return Me(1),!0;break;case on.Z.PAGE_UP:if(ft)return ft(-1),!0;break;case on.Z.PAGE_DOWN:if(ft)return ft(1),!0;break;case on.Z.ENTER:if(rt)return rt(),!0;break}return!1}function oa(ce,ge,me,Ie){var Me=ce;if(!Me)switch(ge){case"time":Me=Ie?"hh:mm:ss a":"HH:mm:ss";break;case"week":Me="gggg-wo";break;case"month":Me="YYYY-MM";break;case"quarter":Me="YYYY-[Q]Q";break;case"year":Me="YYYY";break;default:Me=me?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Me}function Mr(ce,ge,me){var Ie=ce==="time"?8:10,Me=typeof ge=="function"?ge(me.getNow()).length:ge.length;return Math.max(Ie,Me)+2}var Nt=null,Bn=new Set;function na(ce){return!Nt&&typeof window!="undefined"&&window.addEventListener&&(Nt=function(me){(0,xa.Z)(Bn).forEach(function(Ie){Ie(me)})},window.addEventListener("mousedown",Nt)),Bn.add(ce),function(){Bn.delete(ce),Bn.size===0&&(window.removeEventListener("mousedown",Nt),Nt=null)}}function pa(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 Be=function(ge){return ge==="month"||ge==="date"?"year":ge},at=function(ge){return ge==="date"?"month":ge},ct=function(ge){return ge==="month"||ge==="date"?"quarter":ge},Ct=function(ge){return ge==="date"?"week":ge},St={year:Be,month:at,quarter:ct,week:Ct,time:null,date:null};function vn(ce,ge){return ce.some(function(me){return me&&me.contains(ge)})}function qt(ce){var ge=ce.open,me=ce.value,Ie=ce.isClickOutside,Me=ce.triggerOpen,ft=ce.forwardKeyDown,rt=ce.onKeyDown,It=ce.blurToCancel,Lt=ce.onSubmit,Ot=ce.onCancel,jn=ce.onFocus,ln=ce.onBlur,cn=ce.changeOnBlur,Dn=(0,ie.useState)(!1),wn=(0,Qt.Z)(Dn,2),Dt=wn[0],zt=wn[1],On=(0,ie.useState)(!1),un=(0,Qt.Z)(On,2),da=un[0],Fa=un[1],Ia=(0,ie.useRef)(!1),ba=(0,ie.useRef)(!1),ca=(0,ie.useRef)(!1),kr={onMouseDown:function(){zt(!0),Me(!0)},onKeyDown:function(xr){var qr=function(){ca.current=!0};if(rt(xr,qr),!ca.current){switch(xr.which){case on.Z.ENTER:{ge?Lt()!==!1&&zt(!0):Me(!0),xr.preventDefault();return}case on.Z.TAB:{Dt&&ge&&!xr.shiftKey?(zt(!1),xr.preventDefault()):!Dt&&ge&&!ft(xr)&&xr.shiftKey&&(zt(!0),xr.preventDefault());return}case on.Z.ESC:{zt(!0),Ot();return}}!ge&&![on.Z.SHIFT].includes(xr.which)?Me(!0):Dt||ft(xr)}},onFocus:function(xr){zt(!0),Fa(!0),jn&&jn(xr)},onBlur:function(xr){if(Ia.current||!Ie(document.activeElement)){Ia.current=!1;return}It?setTimeout(function(){for(var qr=document,io=qr.activeElement;io&&io.shadowRoot;)io=io.shadowRoot.activeElement;Ie(io)&&Ot()},0):ge&&(Me(!1),ba.current&&Lt()),Fa(!1),ln==null||ln(xr)}};return(0,ie.useEffect)(function(){ba.current=!1},[ge]),(0,ie.useEffect)(function(){ba.current=!0},[me]),(0,ie.useEffect)(function(){return na(function(tr){var xr=pa(tr),qr=Ie(xr);ge&&(qr?!cn&&(!da||qr)&&Me(!1):(Ia.current=!0,(0,Ca.Z)(function(){Ia.current=!1})))})}),[kr,{focused:da,typing:Dt}]}function ze(ce,ge){return ie.useMemo(function(){return ce||(ge?((0,we.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ge).map(function(me){var Ie=(0,Qt.Z)(me,2),Me=Ie[0],ft=Ie[1];return{label:Me,value:ft}})):[])},[ce,ge])}var qe=re(34280);function Qe(ce){var ge=ce.valueTexts,me=ce.onTextChange,Ie=ie.useState(""),Me=(0,Qt.Z)(Ie,2),ft=Me[0],rt=Me[1],It=ie.useRef([]);It.current=ge;function Lt(jn){rt(jn),me(jn)}function Ot(){rt(It.current[0])}return(0,qe.Z)(function(){ge.every(function(jn){return jn!==ft})&&Ot()},[ge.join("||")]),[ft,Lt,Ot]}var Tt=ie.createContext({}),gn=Tt,Sn=re(62853);function ua(ce){var ge=ce.cellRender,me=ce.monthCellRender,Ie=ce.dateRender,Me=ie.useMemo(function(){if(ge)return ge;if(!(!me&&!Ie))return function(ft,rt){var It=ft;return Ie&&rt.type==="date"?Ie(It,rt.today):me&&rt.type==="month"?me(It,rt.locale):rt.originNode}},[ge,me,Ie]);return Me}function Jn(ce,ge){for(var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ie=String(ce);Ie.length<ge;)Ie="".concat(me).concat(ce);return Ie}var In=function(){for(var ge=arguments.length,me=new Array(ge),Ie=0;Ie<ge;Ie++)me[Ie]=arguments[Ie];return me};function $n(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function Un(ce,ge){return ce?ce[ge]:null}function Ut(ce,ge,me){var Ie=[Un(ce,0),Un(ce,1)];return Ie[me]=typeof ge=="function"?ge(Ie[me]):ge,!Ie[0]&&!Ie[1]?null:Ie}function Na(ce){return typeof ce=="function"?ce():ce}function nr(ce){var ge=ce.cellPrefixCls,me=ce.generateConfig,Ie=ce.rangedValue,Me=ce.hoverRangedValue,ft=ce.isInView,rt=ce.isSameCell,It=ce.offsetCell,Lt=ce.today,Ot=ce.value;function jn(ln){var cn,Dn=It(ln,-1),wn=It(ln,1),Dt=Un(Ie,0),zt=Un(Ie,1),On=Un(Me,0),un=Un(Me,1),da=Ua(me,On,un,ln);function Fa(xr){return rt(Dt,xr)}function Ia(xr){return rt(zt,xr)}var ba=rt(On,ln),ca=rt(un,ln),kr=(da||ca)&&(!ft(Dn)||Ia(Dn)),tr=(da||ba)&&(!ft(wn)||Fa(wn));return cn={},(0,Ce.Z)(cn,"".concat(ge,"-in-view"),ft(ln)),(0,Ce.Z)(cn,"".concat(ge,"-in-range"),Ua(me,Dt,zt,ln)),(0,Ce.Z)(cn,"".concat(ge,"-range-start"),Fa(ln)),(0,Ce.Z)(cn,"".concat(ge,"-range-end"),Ia(ln)),(0,Ce.Z)(cn,"".concat(ge,"-range-start-single"),Fa(ln)&&!zt),(0,Ce.Z)(cn,"".concat(ge,"-range-end-single"),Ia(ln)&&!Dt),(0,Ce.Z)(cn,"".concat(ge,"-range-start-near-hover"),Fa(ln)&&(rt(Dn,On)||Ua(me,On,un,Dn))),(0,Ce.Z)(cn,"".concat(ge,"-range-end-near-hover"),Ia(ln)&&(rt(wn,un)||Ua(me,On,un,wn))),(0,Ce.Z)(cn,"".concat(ge,"-range-hover"),da),(0,Ce.Z)(cn,"".concat(ge,"-range-hover-start"),ba),(0,Ce.Z)(cn,"".concat(ge,"-range-hover-end"),ca),(0,Ce.Z)(cn,"".concat(ge,"-range-hover-edge-start"),kr),(0,Ce.Z)(cn,"".concat(ge,"-range-hover-edge-end"),tr),(0,Ce.Z)(cn,"".concat(ge,"-range-hover-edge-start-near-range"),kr&&rt(Dn,zt)),(0,Ce.Z)(cn,"".concat(ge,"-range-hover-edge-end-near-range"),tr&&rt(wn,Dt)),(0,Ce.Z)(cn,"".concat(ge,"-today"),rt(Lt,ln)),(0,Ce.Z)(cn,"".concat(ge,"-selected"),rt(Ot,ln)),cn}return jn}var uo=ie.createContext({}),Wa=uo;function Vt(ce,ge,me,Ie,Me){var ft=ce.setHour(ge,me);return ft=ce.setMinute(ft,Ie),ft=ce.setSecond(ft,Me),ft}function zr(ce,ge,me){if(!me)return ge;var Ie=ge;return Ie=ce.setHour(Ie,ce.getHour(me)),Ie=ce.setMinute(Ie,ce.getMinute(me)),Ie=ce.setSecond(Ie,ce.getSecond(me)),Ie}function Aa(ce,ge,me,Ie,Me,ft){var rt=Math.floor(ce/Ie)*Ie;if(rt<ce)return[rt,60-Me,60-ft];var It=Math.floor(ge/Me)*Me;if(It<ge)return[rt,It,60-ft];var Lt=Math.floor(me/ft)*ft;return[rt,It,Lt]}function dr(ce,ge){var me=ce.getYear(ge),Ie=ce.getMonth(ge)+1,Me=ce.getEndDate(ce.getFixedDate("".concat(me,"-").concat(Ie,"-01"))),ft=ce.getDate(Me),rt=Ie<10?"0".concat(Ie):"".concat(Ie);return"".concat(me,"-").concat(rt,"-").concat(ft)}function or(ce){for(var ge=ce.prefixCls,me=ce.disabledDate,Ie=ce.onSelect,Me=ce.picker,ft=ce.rowNum,rt=ce.colNum,It=ce.prefixColumn,Lt=ce.rowClassName,Ot=ce.baseDate,jn=ce.getCellClassName,ln=ce.getCellText,cn=ce.getCellNode,Dn=ce.getCellDate,wn=ce.generateConfig,Dt=ce.titleCell,zt=ce.headerCells,On=ie.useContext(gn),un=On.onDateMouseEnter,da=On.onDateMouseLeave,Fa=On.mode,Ia="".concat(ge,"-cell"),ba=[],ca=0;ca<ft;ca+=1){for(var kr=[],tr=void 0,xr=function(){var Rn,Jo=ca*rt+qr,po=Dn(Ot,Jo),Wr=_n({cellDate:po,mode:Fa,disabledDate:me,generateConfig:wn});qr===0&&(tr=po,It&&kr.push(It(tr)));var $r=Dt&&Dt(po),Bo=ie.createElement("div",{className:"".concat(Ia,"-inner")},ln(po));kr.push(ie.createElement("td",{key:qr,title:$r,className:Te()(Ia,(0,it.Z)((Rn={},(0,Ce.Z)(Rn,"".concat(Ia,"-disabled"),Wr),(0,Ce.Z)(Rn,"".concat(Ia,"-start"),ln(po)===1||Me==="year"&&Number($r)%10===0),(0,Ce.Z)(Rn,"".concat(Ia,"-end"),$r===dr(wn,po)||Me==="year"&&Number($r)%10===9),Rn),jn(po))),onClick:function(){Wr||Ie(po)},onMouseEnter:function(){!Wr&&un&&un(po)},onMouseLeave:function(){!Wr&&da&&da(po)}},cn?cn(po,Bo):Bo))},qr=0;qr<rt;qr+=1)xr();ba.push(ie.createElement("tr",{key:ca,className:Lt&&Lt(tr)},kr))}return ie.createElement("div",{className:"".concat(ge,"-body")},ie.createElement("table",{className:"".concat(ge,"-content")},zt&&ie.createElement("thead",null,ie.createElement("tr",null,zt)),ie.createElement("tbody",null,ba)))}function Jr(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.prefixColumn,Me=ce.locale,ft=ce.rowCount,rt=ce.viewDate,It=ce.value,Lt=ce.cellRender,Ot=ce.isSameCell,jn=ie.useContext(Wa),ln=jn.rangedValue,cn=jn.hoverRangedValue,Dn=Za(Me.locale,me,rt),wn="".concat(ge,"-cell"),Dt=me.locale.getWeekFirstDay(Me.locale),zt=me.getNow(),On=[],un=Me.shortWeekDays||(me.locale.getShortWeekDays?me.locale.getShortWeekDays(Me.locale):[]);Ie&&On.push(ie.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var da=0;da<Gn;da+=1)On.push(ie.createElement("th",{key:da},un[(da+Dt)%Gn]));var Fa=nr({cellPrefixCls:wn,today:zt,value:It,generateConfig:me,rangedValue:Ie?null:ln,hoverRangedValue:Ie?null:cn,isSameCell:Ot||function(ba,ca){return ha(me,ba,ca)},isInView:function(ca){return Nn(me,ca,rt)},offsetCell:function(ca,kr){return me.addDate(ca,kr)}}),Ia=Lt?function(ba,ca){return Lt(ba,{originNode:ca,today:zt,type:"date",locale:Me})}:void 0;return ie.createElement(or,(0,se.Z)({},ce,{rowNum:ft,colNum:Gn,baseDate:Dn,getCellNode:Ia,getCellText:me.getDate,getCellClassName:Fa,getCellDate:me.addDate,titleCell:function(ca){return Ra(ca,{locale:Me,format:"YYYY-MM-DD",generateConfig:me})},headerCells:On}))}var Br=Jr,ar={visibility:"hidden"};function cr(ce){var ge=ce.prefixCls,me=ce.prevIcon,Ie=me===void 0?"\u2039":me,Me=ce.nextIcon,ft=Me===void 0?"\u203A":Me,rt=ce.superPrevIcon,It=rt===void 0?"\xAB":rt,Lt=ce.superNextIcon,Ot=Lt===void 0?"\xBB":Lt,jn=ce.onSuperPrev,ln=ce.onSuperNext,cn=ce.onPrev,Dn=ce.onNext,wn=ce.children,Dt=ie.useContext(gn),zt=Dt.hideNextBtn,On=Dt.hidePrevBtn;return ie.createElement("div",{className:ge},jn&&ie.createElement("button",{type:"button",onClick:jn,tabIndex:-1,className:"".concat(ge,"-super-prev-btn"),style:On?ar:{}},It),cn&&ie.createElement("button",{type:"button",onClick:cn,tabIndex:-1,className:"".concat(ge,"-prev-btn"),style:On?ar:{}},Ie),ie.createElement("div",{className:"".concat(ge,"-view")},wn),Dn&&ie.createElement("button",{type:"button",onClick:Dn,tabIndex:-1,className:"".concat(ge,"-next-btn"),style:zt?ar:{}},ft),ln&&ie.createElement("button",{type:"button",onClick:ln,tabIndex:-1,className:"".concat(ge,"-super-next-btn"),style:zt?ar:{}},Ot))}var ma=cr;function an(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Me=ce.viewDate,ft=ce.onNextMonth,rt=ce.onPrevMonth,It=ce.onNextYear,Lt=ce.onPrevYear,Ot=ce.onYearClick,jn=ce.onMonthClick,ln=ie.useContext(gn),cn=ln.hideHeader;if(cn)return null;var Dn="".concat(ge,"-header"),wn=Ie.shortMonths||(me.locale.getShortMonths?me.locale.getShortMonths(Ie.locale):[]),Dt=me.getMonth(Me),zt=ie.createElement("button",{type:"button",key:"year",onClick:Ot,tabIndex:-1,className:"".concat(ge,"-year-btn")},Ra(Me,{locale:Ie,format:Ie.yearFormat,generateConfig:me})),On=ie.createElement("button",{type:"button",key:"month",onClick:jn,tabIndex:-1,className:"".concat(ge,"-month-btn")},Ie.monthFormat?Ra(Me,{locale:Ie,format:Ie.monthFormat,generateConfig:me}):wn[Dt]),un=Ie.monthBeforeYear?[On,zt]:[zt,On];return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:Dn,onSuperPrev:Lt,onPrev:rt,onNext:ft,onSuperNext:It}),un)}var ir=an,Er=6;function Ar(ce){var ge=ce.prefixCls,me=ce.panelName,Ie=me===void 0?"date":me,Me=ce.keyboardConfig,ft=ce.active,rt=ce.operationRef,It=ce.generateConfig,Lt=ce.value,Ot=ce.viewDate,jn=ce.onViewDateChange,ln=ce.onPanelChange,cn=ce.onSelect,Dn="".concat(ge,"-").concat(Ie,"-panel");rt.current={onKeyDown:function(On){return $a(On,(0,it.Z)({onLeftRight:function(da){cn(It.addDate(Lt||Ot,da),"key")},onCtrlLeftRight:function(da){cn(It.addYear(Lt||Ot,da),"key")},onUpDown:function(da){cn(It.addDate(Lt||Ot,da*Gn),"key")},onPageUpDown:function(da){cn(It.addMonth(Lt||Ot,da),"key")}},Me))}};var wn=function(On){var un=It.addYear(Ot,On);jn(un),ln(null,un)},Dt=function(On){var un=It.addMonth(Ot,On);jn(un),ln(null,un)};return ie.createElement("div",{className:Te()(Dn,(0,Ce.Z)({},"".concat(Dn,"-active"),ft))},ie.createElement(ir,(0,se.Z)({},ce,{prefixCls:ge,value:Lt,viewDate:Ot,onPrevYear:function(){wn(-1)},onNextYear:function(){wn(1)},onPrevMonth:function(){Dt(-1)},onNextMonth:function(){Dt(1)},onMonthClick:function(){ln("month",Ot)},onYearClick:function(){ln("year",Ot)}})),ie.createElement(Br,(0,se.Z)({},ce,{onSelect:function(On){return cn(On,"mouse")},prefixCls:ge,value:Lt,viewDate:Ot,rowCount:Er})))}var Ka=Ar;function An(ce){var ge=ie.useContext(gn),me=ge.hideHeader;if(me)return null;var Ie=ce.prefixCls,Me=ce.generateConfig,ft=ce.locale,rt=ce.value,It=ce.format,Lt="".concat(Ie,"-header");return ie.createElement(ma,{prefixCls:Lt},rt?Ra(rt,{locale:ft,format:It,generateConfig:Me}):"\xA0")}var ia=An;function Qn(ce){var ge=ce.value,me=ce.generateConfig,Ie=ce.disabledMinutes,Me=ce.disabledSeconds,ft=ce.minutes,rt=ce.seconds,It=ce.use12Hours,Lt=function(jn,ln,cn,Dn){var wn=me.getNow(),Dt=ge||wn,zt=ln<0?me.getHour(wn):ln,On=cn<0?me.getMinute(wn):cn,un=Dn<0?me.getSecond(wn):Dn,da=Ie&&Ie(zt);if(da!=null&&da.includes(On)){var Fa=ft.find(function(ca){return!da.includes(ca.value)});if(Fa)On=Fa.value;else return null}var Ia=Me&&Me(zt,On);if(Ia!=null&&Ia.includes(un)){var ba=rt.find(function(ca){return!Ia.includes(ca.value)});if(ba)un=ba.value;else return null}return Dt=Vt(me,Dt,!It||!jn?zt:zt+12,On,un),Dt};return Lt}function Hn(ce){var ge=ce.prefixCls,me=ce.units,Ie=ce.onSelect,Me=ce.value,ft=ce.active,rt=ce.hideDisabledOptions,It=ce.info,Lt=ce.type,Ot="".concat(ge,"-cell"),jn=ie.useContext(gn),ln=jn.open,cn=(0,ie.useRef)(null),Dn=(0,ie.useRef)(new Map),wn=(0,ie.useRef)();return(0,ie.useLayoutEffect)(function(){var Dt=Dn.current.get(Me);Dt&&ln!==!1&&sr(cn.current,Dt.offsetTop,120)},[Me]),(0,ie.useLayoutEffect)(function(){if(ln){var Dt=Dn.current.get(Me);Dt&&(wn.current=za(Dt,function(){sr(cn.current,Dt.offsetTop,0)}))}return function(){var zt;(zt=wn.current)===null||zt===void 0||zt.call(wn)}},[ln]),ie.createElement("ul",{className:Te()("".concat(ge,"-column"),(0,Ce.Z)({},"".concat(ge,"-column-active"),ft)),ref:cn,style:{position:"relative"}},me.map(function(Dt){var zt;return rt&&Dt.disabled?null:ie.createElement("li",{key:Dt.value,ref:function(un){Dn.current.set(Dt.value,un)},className:Te()(Ot,(zt={},(0,Ce.Z)(zt,"".concat(Ot,"-disabled"),Dt.disabled),(0,Ce.Z)(zt,"".concat(Ot,"-selected"),Me===Dt.value),zt)),onClick:function(){Dt.disabled||Ie(Dt.value)}},It.cellRender?It.cellRender(Dt.value,{today:It.today,locale:It.locale,originNode:ie.createElement("div",{className:"".concat(Ot,"-inner")},Dt.label),type:"time",subType:Lt}):ie.createElement("div",{className:"".concat(Ot,"-inner")},Dt.label))}))}var er=Hn;function Pr(ce,ge){if(ce.length!==ge.length)return!0;for(var me=0;me<ce.length;me+=1)if(ce[me].disabled!==ge[me].disabled)return!0;return!1}function hr(ce,ge,me,Ie){for(var Me=[],ft=me>=1?me|0:1,rt=ce;rt<=ge;rt+=ft)Me.push({label:Jn(rt,2),value:rt,disabled:(Ie||[]).includes(rt)});return Me}function mr(ce){var ge=ce.generateConfig,me=ce.prefixCls,Ie=ce.operationRef,Me=ce.activeColumnIndex,ft=ce.value,rt=ce.showHour,It=ce.showMinute,Lt=ce.showSecond,Ot=ce.use12Hours,jn=ce.hourStep,ln=jn===void 0?1:jn,cn=ce.minuteStep,Dn=cn===void 0?1:cn,wn=ce.secondStep,Dt=wn===void 0?1:wn,zt=ce.disabledHours,On=ce.disabledMinutes,un=ce.disabledSeconds,da=ce.disabledTime,Fa=ce.hideDisabledOptions,Ia=ce.onSelect,ba=ce.cellRender,ca=ce.locale,kr=[],tr="".concat(me,"-content"),xr="".concat(me,"-time-panel"),qr,io=ft?ge.getHour(ft):-1,Rn=io,Jo=ft?ge.getMinute(ft):-1,po=ft?ge.getSecond(ft):-1,Wr=ge.getNow(),$r=ie.useMemo(function(){if(da){var Gr=da(Wr);return[Gr.disabledHours,Gr.disabledMinutes,Gr.disabledSeconds]}return[zt,On,un]},[zt,On,un,da,Wr]),Bo=(0,Qt.Z)($r,3),wo=Bo[0],so=Bo[1],gr=Bo[2],ko=hr(0,23,ln,wo&&wo()),Mo=(0,Tn.Z)(function(){return ko},ko,Pr);Ot&&(qr=Rn>=12,Rn%=12);var Ai=ie.useMemo(function(){if(!Ot)return[!1,!1];var Gr=[!0,!0];return Mo.forEach(function(Eo){var Ao=Eo.disabled,hi=Eo.value;Ao||(hi>=12?Gr[1]=!1:Gr[0]=!1)}),Gr},[Ot,Mo]),qo=(0,Qt.Z)(Ai,2),xi=qo[0],Ur=qo[1],di=ie.useMemo(function(){return Ot?Mo.filter(qr?function(Gr){return Gr.value>=12}:function(Gr){return Gr.value<12}).map(function(Gr){var Eo=Gr.value%12,Ao=Eo===0?"12":Jn(Eo,2);return(0,it.Z)((0,it.Z)({},Gr),{},{label:Ao,value:Eo})}):Mo},[Ot,qr,Mo]),Pi=hr(0,59,Dn,so&&so(io)),_i=hr(0,59,Dt,gr&&gr(io,Jo)),pi=Qn({value:ft,generateConfig:ge,disabledMinutes:so,disabledSeconds:gr,minutes:Pi,seconds:_i,use12Hours:Ot});Ie.current={onUpDown:function(Eo){var Ao=kr[Me];if(Ao)for(var hi=Ao.units.findIndex(function(Bl){return Bl.value===Ao.value}),Ti=Ao.units.length,ni=1;ni<Ti;ni+=1){var yi=Ao.units[(hi+Eo*ni+Ti)%Ti];if(yi.disabled!==!0){Ao.onSelect(yi.value);break}}}};function Xi(Gr,Eo,Ao,hi,Ti){Gr!==!1&&kr.push({node:ie.cloneElement(Eo,{prefixCls:xr,value:Ao,active:Me===kr.length,onSelect:Ti,units:hi,hideDisabledOptions:Fa}),onSelect:Ti,value:Ao,units:hi})}Xi(rt,ie.createElement(er,{key:"hour",type:"hour",info:{today:Wr,locale:ca,cellRender:ba}}),Rn,di,function(Gr){Ia(pi(qr,Gr,Jo,po),"mouse")}),Xi(It,ie.createElement(er,{key:"minute",type:"minute",info:{today:Wr,locale:ca,cellRender:ba}}),Jo,Pi,function(Gr){Ia(pi(qr,Rn,Gr,po),"mouse")}),Xi(Lt,ie.createElement(er,{key:"second",type:"second",info:{today:Wr,locale:ca,cellRender:ba}}),po,_i,function(Gr){Ia(pi(qr,Rn,Jo,Gr),"mouse")});var gl=-1;return typeof qr=="boolean"&&(gl=qr?1:0),Xi(Ot===!0,ie.createElement(er,{key:"meridiem",type:"meridiem",info:{today:Wr,locale:ca,cellRender:ba}}),gl,[{label:"AM",value:0,disabled:xi},{label:"PM",value:1,disabled:Ur}],function(Gr){Ia(pi(!!Gr,Rn,Jo,po),"mouse")}),ie.createElement("div",{className:tr},kr.map(function(Gr){var Eo=Gr.node;return Eo}))}var ja=mr,ho=function(ge){return ge.filter(function(me){return me!==!1}).length};function Po(ce){var ge=ce.generateConfig,me=ce.format,Ie=me===void 0?"HH:mm:ss":me,Me=ce.prefixCls,ft=ce.active,rt=ce.operationRef,It=ce.showHour,Lt=ce.showMinute,Ot=ce.showSecond,jn=ce.use12Hours,ln=jn===void 0?!1:jn,cn=ce.onSelect,Dn=ce.value,wn="".concat(Me,"-time-panel"),Dt=ie.useRef(),zt=ie.useState(-1),On=(0,Qt.Z)(zt,2),un=On[0],da=On[1],Fa=ho([It,Lt,Ot,ln]);return rt.current={onKeyDown:function(ba){return $a(ba,{onLeftRight:function(kr){da((un+kr+Fa)%Fa)},onUpDown:function(kr){un===-1?da(0):Dt.current&&Dt.current.onUpDown(kr)},onEnter:function(){cn(Dn||ge.getNow(),"key"),da(-1)}})},onBlur:function(){da(-1)}},ie.createElement("div",{className:Te()(wn,(0,Ce.Z)({},"".concat(wn,"-active"),ft))},ie.createElement(ia,(0,se.Z)({},ce,{format:Ie,prefixCls:Me})),ie.createElement(ja,(0,se.Z)({},ce,{prefixCls:Me,activeColumnIndex:un,operationRef:Dt})))}var Ci=Po,yr=In("date","time");function Fr(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.generateConfig,Me=ce.value,ft=ce.defaultValue,rt=ce.disabledTime,It=ce.showTime,Lt=ce.onSelect,Ot=ce.cellRender,jn="".concat(ge,"-datetime-panel"),ln=ie.useState(null),cn=(0,Qt.Z)(ln,2),Dn=cn[0],wn=cn[1],Dt=ie.useRef({}),zt=ie.useRef({}),On=(0,Sn.Z)(It)==="object"?(0,it.Z)({},It):{};function un(ba){var ca=yr.indexOf(Dn)+ba,kr=yr[ca]||null;return kr}var da=function(ca){zt.current.onBlur&&zt.current.onBlur(ca),wn(null)};me.current={onKeyDown:function(ca){if(ca.which===on.Z.TAB){var kr=un(ca.shiftKey?-1:1);return wn(kr),kr&&ca.preventDefault(),!0}if(Dn){var tr=Dn==="date"?Dt:zt;return tr.current&&tr.current.onKeyDown&&tr.current.onKeyDown(ca),!0}return[on.Z.LEFT,on.Z.RIGHT,on.Z.UP,on.Z.DOWN].includes(ca.which)?(wn("date"),!0):!1},onBlur:da,onClose:da};var Fa=function(ca,kr){var tr=ca;kr==="date"&&!Me&&On.defaultValue?(tr=Ie.setHour(tr,Ie.getHour(On.defaultValue)),tr=Ie.setMinute(tr,Ie.getMinute(On.defaultValue)),tr=Ie.setSecond(tr,Ie.getSecond(On.defaultValue))):kr==="time"&&!Me&&ft&&(tr=Ie.setYear(tr,Ie.getYear(ft)),tr=Ie.setMonth(tr,Ie.getMonth(ft)),tr=Ie.setDate(tr,Ie.getDate(ft))),Lt&&Lt(tr,"mouse")},Ia=rt?rt(Me||null):{};return ie.createElement("div",{className:Te()(jn,(0,Ce.Z)({},"".concat(jn,"-active"),Dn))},ie.createElement(Ka,(0,se.Z)({},ce,{cellRender:Ot,operationRef:Dt,active:Dn==="date",onSelect:function(ca){Fa(zr(Ie,ca,!Me&&(0,Sn.Z)(It)==="object"?It.defaultValue:null),"date")}})),ie.createElement(Ci,(0,se.Z)({},ce,{cellRender:Ot?function(ba,ca){return Ot(ba,(0,it.Z)((0,it.Z)({},ca),{},{type:"time"}))}:void 0,format:void 0},On,Ia,{disabledTime:null,defaultValue:void 0,operationRef:zt,active:Dn==="time",onSelect:function(ca){Fa(ca,"time")}})))}var mo=Fr;function Xr(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.viewDate,Me=ce.onPrevDecades,ft=ce.onNextDecades,rt=ie.useContext(gn),It=rt.hideHeader;if(It)return null;var Lt="".concat(ge,"-header"),Ot=me.getYear(Ie),jn=Math.floor(Ot/Pt)*Pt,ln=jn+Pt-1;return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:Lt,onSuperPrev:Me,onSuperNext:ft}),jn,"-",ln)}var fo=Xr,Vr=3,fr=4;function _r(ce){var ge=yt-1,me=ce.prefixCls,Ie=ce.viewDate,Me=ce.generateConfig,ft=ce.cellRender,rt=ce.locale,It="".concat(me,"-cell"),Lt=Me.getYear(Ie),Ot=Math.floor(Lt/yt)*yt,jn=Math.floor(Lt/Pt)*Pt,ln=jn+Pt-1,cn=Me.setYear(Ie,jn-Math.ceil((Vr*fr*yt-Pt)/2)),Dn=function(zt){var On,un=Me.getYear(zt),da=un+ge;return On={},(0,Ce.Z)(On,"".concat(It,"-in-view"),jn<=un&&da<=ln),(0,Ce.Z)(On,"".concat(It,"-selected"),un===Ot),On},wn=ft?function(Dt,zt){return ft(Dt,{originNode:zt,today:Me.getNow(),type:"decade",locale:rt})}:void 0;return ie.createElement(or,(0,se.Z)({},ce,{rowNum:fr,colNum:Vr,baseDate:cn,getCellNode:wn,getCellText:function(zt){var On=Me.getYear(zt);return"".concat(On,"-").concat(On+ge)},getCellClassName:Dn,getCellDate:function(zt,On){return Me.addYear(zt,On*yt)}}))}var Go=_r;function So(ce){var ge=ce.prefixCls,me=ce.onViewDateChange,Ie=ce.generateConfig,Me=ce.viewDate,ft=ce.operationRef,rt=ce.onSelect,It=ce.onPanelChange,Lt="".concat(ge,"-decade-panel");ft.current={onKeyDown:function(cn){return $a(cn,{onLeftRight:function(wn){rt(Ie.addYear(Me,wn*yt),"key")},onCtrlLeftRight:function(wn){rt(Ie.addYear(Me,wn*Pt),"key")},onUpDown:function(wn){rt(Ie.addYear(Me,wn*yt*Vr),"key")},onEnter:function(){It("year",Me)}})}};var Ot=function(cn){var Dn=Ie.addYear(Me,cn*Pt);me(Dn),It(null,Dn)},jn=function(cn){rt(cn,"mouse"),It("year",cn)};return ie.createElement("div",{className:Lt},ie.createElement(fo,(0,se.Z)({},ce,{prefixCls:ge,onPrevDecades:function(){Ot(-1)},onNextDecades:function(){Ot(1)}})),ie.createElement(Go,(0,se.Z)({},ce,{prefixCls:ge,onSelect:jn})))}var Qa=So;function zo(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Me=ce.viewDate,ft=ce.onNextYear,rt=ce.onPrevYear,It=ce.onYearClick,Lt=ie.useContext(gn),Ot=Lt.hideHeader;if(Ot)return null;var jn="".concat(ge,"-header");return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:jn,onSuperPrev:rt,onSuperNext:ft}),ie.createElement("button",{type:"button",onClick:It,className:"".concat(ge,"-year-btn")},Ra(Me,{locale:Ie,format:Ie.yearFormat,generateConfig:me})))}var Qo=zo,oi=3,Lr=4;function ti(ce){var ge=ce.prefixCls,me=ce.locale,Ie=ce.value,Me=ce.viewDate,ft=ce.generateConfig,rt=ce.cellRender,It=ie.useContext(Wa),Lt=It.rangedValue,Ot=It.hoverRangedValue,jn="".concat(ge,"-cell"),ln=nr({cellPrefixCls:jn,value:Ie,generateConfig:ft,rangedValue:Lt,hoverRangedValue:Ot,isSameCell:function(zt,On){return Nn(ft,zt,On)},isInView:function(){return!0},offsetCell:function(zt,On){return ft.addMonth(zt,On)}}),cn=me.shortMonths||(ft.locale.getShortMonths?ft.locale.getShortMonths(me.locale):[]),Dn=ft.setMonth(Me,0),wn=rt?function(Dt,zt){return rt(Dt,{originNode:zt,locale:me,today:ft.getNow(),type:"month"})}:void 0;return ie.createElement(or,(0,se.Z)({},ce,{rowNum:Lr,colNum:oi,baseDate:Dn,getCellNode:wn,getCellText:function(zt){return me.monthFormat?Ra(zt,{locale:me,format:me.monthFormat,generateConfig:ft}):cn[ft.getMonth(zt)]},getCellClassName:ln,getCellDate:ft.addMonth,titleCell:function(zt){return Ra(zt,{locale:me,format:"YYYY-MM",generateConfig:ft})}}))}var Se=ti;function xt(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.onViewDateChange,Me=ce.generateConfig,ft=ce.value,rt=ce.viewDate,It=ce.onPanelChange,Lt=ce.onSelect,Ot="".concat(ge,"-month-panel");me.current={onKeyDown:function(cn){return $a(cn,{onLeftRight:function(wn){Lt(Me.addMonth(ft||rt,wn),"key")},onCtrlLeftRight:function(wn){Lt(Me.addYear(ft||rt,wn),"key")},onUpDown:function(wn){Lt(Me.addMonth(ft||rt,wn*oi),"key")},onEnter:function(){It("date",ft||rt)}})}};var jn=function(cn){var Dn=Me.addYear(rt,cn);Ie(Dn),It(null,Dn)};return ie.createElement("div",{className:Ot},ie.createElement(Qo,(0,se.Z)({},ce,{prefixCls:ge,onPrevYear:function(){jn(-1)},onNextYear:function(){jn(1)},onYearClick:function(){It("year",rt)}})),ie.createElement(Se,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(cn){Lt(cn,"mouse"),It("date",cn)}})))}var Jt=xt;function yn(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Me=ce.viewDate,ft=ce.onNextYear,rt=ce.onPrevYear,It=ce.onYearClick,Lt=ie.useContext(gn),Ot=Lt.hideHeader;if(Ot)return null;var jn="".concat(ge,"-header");return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:jn,onSuperPrev:rt,onSuperNext:ft}),ie.createElement("button",{type:"button",onClick:It,className:"".concat(ge,"-year-btn")},Ra(Me,{locale:Ie,format:Ie.yearFormat,generateConfig:me})))}var Bt=yn,zn=4,Xn=1;function hn(ce){var ge=ce.prefixCls,me=ce.locale,Ie=ce.value,Me=ce.viewDate,ft=ce.generateConfig,rt=ce.cellRender,It=ie.useContext(Wa),Lt=It.rangedValue,Ot=It.hoverRangedValue,jn="".concat(ge,"-cell"),ln=nr({cellPrefixCls:jn,value:Ie,generateConfig:ft,rangedValue:Lt,hoverRangedValue:Ot,isSameCell:function(Dt,zt){return Kn(ft,Dt,zt)},isInView:function(){return!0},offsetCell:function(Dt,zt){return ft.addMonth(Dt,zt*3)}}),cn=ft.setDate(ft.setMonth(Me,0),1),Dn=rt?function(wn,Dt){return rt(wn,{originNode:Dt,locale:me,today:ft.getNow(),type:"quarter"})}:void 0;return ie.createElement(or,(0,se.Z)({},ce,{rowNum:Xn,colNum:zn,baseDate:cn,getCellNode:Dn,getCellText:function(Dt){return Ra(Dt,{locale:me,format:me.quarterFormat||"[Q]Q",generateConfig:ft})},getCellClassName:ln,getCellDate:function(Dt,zt){return ft.addMonth(Dt,zt*3)},titleCell:function(Dt){return Ra(Dt,{locale:me,format:"YYYY-[Q]Q",generateConfig:ft})}}))}var xn=hn;function Ga(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.onViewDateChange,Me=ce.generateConfig,ft=ce.value,rt=ce.viewDate,It=ce.onPanelChange,Lt=ce.onSelect,Ot="".concat(ge,"-quarter-panel");me.current={onKeyDown:function(cn){return $a(cn,{onLeftRight:function(wn){Lt(Me.addMonth(ft||rt,wn*3),"key")},onCtrlLeftRight:function(wn){Lt(Me.addYear(ft||rt,wn),"key")},onUpDown:function(wn){Lt(Me.addYear(ft||rt,wn),"key")}})}};var jn=function(cn){var Dn=Me.addYear(rt,cn);Ie(Dn),It(null,Dn)};return ie.createElement("div",{className:Ot},ie.createElement(Bt,(0,se.Z)({},ce,{prefixCls:ge,onPrevYear:function(){jn(-1)},onNextYear:function(){jn(1)},onYearClick:function(){It("year",rt)}})),ie.createElement(xn,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(cn){Lt(cn,"mouse")}})))}var Zn=Ga;function nn(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.locale,Me=ce.value,ft=ce.disabledDate,rt=ce.onSelect,It=ie.useContext(Wa),Lt=It.rangedValue,Ot=It.hoverRangedValue,jn=ie.useContext(gn),ln=jn.onDateMouseEnter,cn=jn.onDateMouseLeave,Dn=(Ot==null?void 0:Ot[0])||(Lt==null?void 0:Lt[0]),wn=(Ot==null?void 0:Ot[1])||(Lt==null?void 0:Lt[1]),Dt="".concat(ge,"-cell"),zt=function(Fa){var Ia=_n({cellDate:Fa,mode:"week",disabledDate:ft,generateConfig:me});return ie.createElement("td",{key:"week",className:Te()(Dt,"".concat(Dt,"-week")),onClick:function(){Ia||rt(Fa,"mouse")},onMouseEnter:function(){!Ia&&ln&&ln(Fa)},onMouseLeave:function(){!Ia&&cn&&cn(Fa)}},ie.createElement("div",{className:"".concat(Dt,"-inner")},me.locale.getWeek(Ie.locale,Fa)))},On="".concat(ge,"-week-panel-row"),un=function(Fa){var Ia,ba=ka(me,Ie.locale,Dn,Fa),ca=ka(me,Ie.locale,wn,Fa);return Te()(On,(Ia={},(0,Ce.Z)(Ia,"".concat(On,"-selected"),!Lt&&ka(me,Ie.locale,Me,Fa)),(0,Ce.Z)(Ia,"".concat(On,"-range-start"),ba),(0,Ce.Z)(Ia,"".concat(On,"-range-end"),ca),(0,Ce.Z)(Ia,"".concat(On,"-range-hover"),!ba&&!ca&&Ua(me,Dn,wn,Fa)),Ia))};return ie.createElement(Ka,(0,se.Z)({},ce,{panelName:"week",prefixColumn:zt,rowClassName:un,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Yt=nn,bn=10;function Ba(ce){var ge=ce.prefixCls,me=ce.generateConfig,Ie=ce.viewDate,Me=ce.onPrevDecade,ft=ce.onNextDecade,rt=ce.onDecadeClick,It=ie.useContext(gn),Lt=It.hideHeader;if(Lt)return null;var Ot="".concat(ge,"-header"),jn=me.getYear(Ie),ln=Math.floor(jn/bn)*bn,cn=ln+bn-1;return ie.createElement(ma,(0,se.Z)({},ce,{prefixCls:Ot,onSuperPrev:Me,onSuperNext:ft}),ie.createElement("button",{type:"button",onClick:rt,className:"".concat(ge,"-decade-btn")},ln,"-",cn))}var vr=Ba,to=3,vo=4;function Xo(ce){var ge=ce.prefixCls,me=ce.value,Ie=ce.viewDate,Me=ce.locale,ft=ce.generateConfig,rt=ce.cellRender,It=ie.useContext(Wa),Lt=It.rangedValue,Ot=It.hoverRangedValue,jn="".concat(ge,"-cell"),ln=ft.getYear(Ie),cn=Math.floor(ln/bn)*bn,Dn=cn+bn-1,wn=ft.setYear(Ie,cn-Math.ceil((to*vo-bn)/2)),Dt=ft.getNow(),zt=function(Fa){var Ia=ft.getYear(Fa);return cn<=Ia&&Ia<=Dn},On=nr({cellPrefixCls:jn,value:me,generateConfig:ft,rangedValue:Lt,hoverRangedValue:Ot,isSameCell:function(Fa,Ia){return ta(ft,Fa,Ia)},isInView:zt,offsetCell:function(Fa,Ia){return ft.addYear(Fa,Ia)}}),un=rt?function(da,Fa){return rt(da,{originNode:Fa,today:Dt,type:"year",locale:Me})}:void 0;return ie.createElement(or,(0,se.Z)({},ce,{rowNum:vo,colNum:to,baseDate:wn,getCellNode:un,getCellText:ft.getYear,getCellClassName:On,getCellDate:ft.addYear,titleCell:function(Fa){return Ra(Fa,{locale:Me,format:"YYYY",generateConfig:ft})}}))}var Co=Xo;function Oi(ce){var ge=ce.prefixCls,me=ce.operationRef,Ie=ce.onViewDateChange,Me=ce.generateConfig,ft=ce.value,rt=ce.viewDate,It=ce.sourceMode,Lt=ce.onSelect,Ot=ce.onPanelChange,jn="".concat(ge,"-year-panel");me.current={onKeyDown:function(Dn){return $a(Dn,{onLeftRight:function(Dt){Lt(Me.addYear(ft||rt,Dt),"key")},onCtrlLeftRight:function(Dt){Lt(Me.addYear(ft||rt,Dt*bn),"key")},onUpDown:function(Dt){Lt(Me.addYear(ft||rt,Dt*to),"key")},onEnter:function(){Ot(It==="date"?"date":"month",ft||rt)}})}};var ln=function(Dn){var wn=Me.addYear(rt,Dn*10);Ie(wn),Ot(null,wn)};return ie.createElement("div",{className:jn},ie.createElement(vr,(0,se.Z)({},ce,{prefixCls:ge,onPrevDecade:function(){ln(-1)},onNextDecade:function(){ln(1)},onDecadeClick:function(){Ot("decade",rt)}})),ie.createElement(Co,(0,se.Z)({},ce,{prefixCls:ge,onSelect:function(Dn){Ot(It==="date"?"date":"month",Dn),Lt(Dn,"mouse")}})))}var si=Oi;function el(ce,ge,me){return me?ie.createElement("div",{className:"".concat(ce,"-footer-extra")},me(ge)):null}function ii(ce){var ge=ce.prefixCls,me=ce.components,Ie=me===void 0?{}:me,Me=ce.needConfirmButton,ft=ce.onNow,rt=ce.onOk,It=ce.okDisabled,Lt=ce.showNow,Ot=ce.locale,jn,ln;if(Me){var cn=Ie.button||"button";ft&&Lt!==!1&&(jn=ie.createElement("li",{className:"".concat(ge,"-now")},ie.createElement("a",{className:"".concat(ge,"-now-btn"),onClick:ft},Ot.now))),ln=Me&&ie.createElement("li",{className:"".concat(ge,"-ok")},ie.createElement(cn,{disabled:It,onClick:rt},Ot.ok))}return!jn&&!ln?null:ie.createElement("ul",{className:"".concat(ge,"-ranges")},jn,ln)}var Ol=["date","month"];function ao(ce){var ge,me=ce,Ie=me.prefixCls,Me=Ie===void 0?"rc-picker":Ie,ft=me.className,rt=me.style,It=me.locale,Lt=me.generateConfig,Ot=me.value,jn=me.defaultValue,ln=me.pickerValue,cn=me.defaultPickerValue,Dn=me.disabledDate,wn=me.mode,Dt=me.picker,zt=Dt===void 0?"date":Dt,On=me.tabIndex,un=On===void 0?0:On,da=me.showNow,Fa=me.showTime,Ia=me.showToday,ba=me.renderExtraFooter,ca=me.hideHeader,kr=me.onSelect,tr=me.onChange,xr=me.onPanelChange,qr=me.onMouseDown,io=me.onPickerValueChange,Rn=me.onOk,Jo=me.components,po=me.direction,Wr=me.hourStep,$r=Wr===void 0?1:Wr,Bo=me.minuteStep,wo=Bo===void 0?1:Bo,so=me.secondStep,gr=so===void 0?1:so,ko=me.dateRender,Mo=me.monthCellRender,Ai=me.cellRender,qo=zt==="date"&&!!Fa||zt==="time",xi=24%$r===0,Ur=60%wo===0,di=60%gr===0,Pi=ie.useContext(gn),_i=Pi.operationRef,pi=Pi.onSelect,Xi=Pi.hideRanges,gl=Pi.defaultOpenValue,Gr=ie.useContext(Wa),Eo=Gr.inRange,Ao=Gr.panelPosition,hi=Gr.rangedValue,Ti=Gr.hoverRangedValue,ni=ie.useRef({}),yi=ie.useRef(!0),Bl=(0,nt.Z)(null,{value:Ot,defaultValue:jn,postState:function(Da){return!Da&&gl&&zt==="time"?gl:Da}}),Hi=(0,Qt.Z)(Bl,2),zi=Hi[0],$l=Hi[1],uu=(0,nt.Z)(null,{value:ln,defaultValue:cn||zi,postState:function(Da){var Qr=Lt.getNow();if(!Da)return Qr;if(!zi&&Fa){var _o=(0,Sn.Z)(Fa)==="object"?Fa.defaultValue:jn;return zr(Lt,Array.isArray(Da)?Da[0]:Da,_o||Qr)}return Array.isArray(Da)?Da[0]:Da}}),Cn=(0,Qt.Z)(uu,2),Zi=Cn[0],Sl=Cn[1],Vi=function(Da){Sl(Da),io&&io(Da)},eu=function(Da){var Qr=St[zt];return Qr?Qr(Da):Da},Rl=(0,nt.Z)(function(){return zt==="time"?"time":eu("date")},{value:wn}),ol=(0,Qt.Z)(Rl,2),$o=ol[0],Vo=ol[1];ie.useEffect(function(){Vo(zt)},[zt]);var Wi=ie.useState(function(){return $o}),xo=(0,Qt.Z)(Wi,2),il=xo[0],Di=xo[1],Al=function(Da,Qr){var _o=eu(Da||$o);Di($o),Vo(_o),xr&&($o!==_o||va(Lt,Zi,Zi))&&xr(Qr,_o)},Si=function(Da,Qr){var _o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;($o===zt||_o)&&($l(Da),kr&&kr(Da),pi&&pi(Da,Qr),tr&&!va(Lt,Da,zi)&&!(Dn!=null&&Dn(Da))&&tr(Da))},Gi=function(Da){if(Ol.includes($o)){var Qr,_o,vl=$o==="date";switch(Da===on.Z.PAGE_UP||Da===on.Z.PAGE_DOWN?_o=vl?Lt.addMonth:Lt.addYear:_o=vl?Lt.addDate:Lt.addMonth,Da){case on.Z.LEFT:case on.Z.PAGE_UP:Qr=_o(Zi,-1);break;case on.Z.RIGHT:case on.Z.PAGE_DOWN:Qr=_o(Zi,1);break;case on.Z.UP:case on.Z.DOWN:Qr=_o(Zi,Number("".concat(Da===on.Z.UP?"-":"").concat(vl?Gn:oi)));break}if(Qr)return!(Dn!=null&&Dn(Qr))}return!0},zl=function(Da){if(ni.current&&ni.current.onKeyDown){var Qr=!0,_o=Da.which;if([on.Z.LEFT,on.Z.RIGHT,on.Z.UP,on.Z.DOWN,on.Z.PAGE_UP,on.Z.PAGE_DOWN,on.Z.ENTER].includes(_o)&&(Da.preventDefault(),_o!==on.Z.ENTER&&un===0&&(Qr=Gi(_o))),Qr)return ni.current.onKeyDown(Da)}return(0,we.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},jo=function(Da){ni.current&&ni.current.onBlur&&ni.current.onBlur(Da)};_i&&Ao!=="right"&&(_i.current={onKeyDown:zl,onClose:function(){ni.current&&ni.current.onClose&&ni.current.onClose()}}),ie.useEffect(function(){Ot&&!yi.current&&Sl(Ot)},[Ot]),ie.useEffect(function(){yi.current=!1},[]);var qi,xl=ua({cellRender:Ai,monthCellRender:Mo,dateRender:ko}),aa=(0,it.Z)((0,it.Z)({},ce),{},{cellRender:xl,operationRef:ni,prefixCls:Me,viewDate:Zi,value:zi,onViewDateChange:Vi,sourceMode:il,onPanelChange:Al,disabledDate:Dn});switch(delete aa.onChange,delete aa.onSelect,$o){case"decade":qi=ie.createElement(Qa,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}}));break;case"year":qi=ie.createElement(si,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}}));break;case"month":qi=ie.createElement(Jt,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}}));break;case"quarter":qi=ie.createElement(Zn,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}}));break;case"week":qi=ie.createElement(Yt,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}}));break;case"time":delete aa.showTime,qi=ie.createElement(Ci,(0,se.Z)({},aa,(0,Sn.Z)(Fa)==="object"?Fa:null,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}}));break;default:Fa?qi=ie.createElement(mo,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}})):qi=ie.createElement(Ka,(0,se.Z)({},aa,{onSelect:function(Da,Qr){Vi(Da),Si(Da,Qr)}}))}var kl,ml,fl=function(){var Da=Lt.getNow(),Qr=Aa(Lt.getHour(Da),Lt.getMinute(Da),Lt.getSecond(Da),xi?$r:1,Ur?wo:1,di?gr:1),_o=Vt(Lt,Da,Qr[0],Qr[1],Qr[2]);Si(_o,"submit")};Xi||(kl=el(Me,$o,ba),Fa&&$o!=="date"?ml=null:ml=ii({prefixCls:Me,components:Jo,needConfirmButton:qo,okDisabled:!zi||Dn&&Dn(zi),locale:It,showNow:da,onNow:qo&&fl,onOk:function(){zi&&(Si(zi,"submit",!0),Rn&&Rn(zi))}}));var _l;if(Ia&&$o==="date"&&zt==="date"&&!Fa){var Dl=Lt.getNow(),tu="".concat(Me,"-today-btn"),Vl=Dn&&Dn(Dl);_l=ie.createElement("a",{className:Te()(tu,Vl&&"".concat(tu,"-disabled")),"aria-disabled":Vl,onClick:function(){Vl||Si(Dl,"mouse",!0)}},It.today)}return ie.createElement(gn.Provider,{value:(0,it.Z)((0,it.Z)({},Pi),{},{mode:$o,hideHeader:"hideHeader"in ce?ca:Pi.hideHeader,hidePrevBtn:Eo&&Ao==="right",hideNextBtn:Eo&&Ao==="left"})},ie.createElement("div",{tabIndex:un,className:Te()("".concat(Me,"-panel"),ft,(ge={},(0,Ce.Z)(ge,"".concat(Me,"-panel-has-range"),hi&&hi[0]&&hi[1]),(0,Ce.Z)(ge,"".concat(Me,"-panel-has-range-hover"),Ti&&Ti[0]&&Ti[1]),(0,Ce.Z)(ge,"".concat(Me,"-panel-rtl"),po==="rtl"),ge)),style:rt,onKeyDown:zl,onBlur:jo,onMouseDown:qr},qi,kl||ml||_l?ie.createElement("div",{className:"".concat(Me,"-footer")},kl,ml,_l):null))}var Ha=ao,bo=re(35593),Nr={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 Mi(ce){var ge,me=ce.prefixCls,Ie=ce.popupElement,Me=ce.popupStyle,ft=ce.visible,rt=ce.dropdownClassName,It=ce.dropdownAlign,Lt=ce.transitionName,Ot=ce.getPopupContainer,jn=ce.children,ln=ce.range,cn=ce.popupPlacement,Dn=ce.direction,wn="".concat(me,"-dropdown"),Dt=function(){return cn!==void 0?cn:Dn==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(bo.Z,{showAction:[],hideAction:[],popupPlacement:Dt(),builtinPlacements:Nr,prefixCls:wn,popupTransitionName:Lt,popup:Ie,popupAlign:It,popupVisible:ft,popupClassName:Te()(rt,(ge={},(0,Ce.Z)(ge,"".concat(wn,"-range"),ln),(0,Ce.Z)(ge,"".concat(wn,"-rtl"),Dn==="rtl"),ge)),popupStyle:Me,getPopupContainer:Ot},jn)}var ci=Mi;function Oo(ce){var ge=ce.prefixCls,me=ce.presets,Ie=ce.onClick,Me=ce.onHover;return me.length?ie.createElement("div",{className:"".concat(ge,"-presets")},ie.createElement("ul",null,me.map(function(ft,rt){var It=ft.label,Lt=ft.value;return ie.createElement("li",{key:rt,onClick:function(){return Ie==null?void 0:Ie(Na(Lt))},onMouseEnter:function(){return Me==null?void 0:Me(Na(Lt))},onMouseLeave:function(){return Me==null?void 0:Me(null)}},It)}))):null}function Yo(ce){var ge=ce.picker,me=ce.disabledHours,Ie=ce.disabledMinutes,Me=ce.disabledSeconds;ge==="time"&&(me||Ie||Me)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function li(ce,ge,me){var Ie=(0,Sn.Z)(ge)==="object"?ge.clearIcon:me;return Ie||ie.createElement("span",{className:"".concat(ce,"-clear-btn")})}function gi(ce){var ge,me=ce,Ie=me.prefixCls,Me=Ie===void 0?"rc-picker":Ie,ft=me.id,rt=me.name,It=me.tabIndex,Lt=me.style,Ot=me.className,jn=me.dropdownClassName,ln=me.dropdownAlign,cn=me.popupStyle,Dn=me.transitionName,wn=me.generateConfig,Dt=me.locale,zt=me.inputReadOnly,On=me.allowClear,un=me.autoFocus,da=me.showTime,Fa=me.picker,Ia=Fa===void 0?"date":Fa,ba=me.format,ca=me.use12Hours,kr=me.value,tr=me.defaultValue,xr=me.presets,qr=me.open,io=me.defaultOpen,Rn=me.defaultOpenValue,Jo=me.suffixIcon,po=me.clearIcon,Wr=me.disabled,$r=me.disabledDate,Bo=me.placeholder,wo=me.getPopupContainer,so=me.pickerRef,gr=me.panelRender,ko=me.onChange,Mo=me.onOpenChange,Ai=me.onFocus,qo=me.onBlur,xi=me.onMouseDown,Ur=me.onMouseUp,di=me.onMouseEnter,Pi=me.onMouseLeave,_i=me.onContextMenu,pi=me.onClick,Xi=me.onKeyDown,gl=me.onSelect,Gr=me.direction,Eo=me.autoComplete,Ao=Eo===void 0?"off":Eo,hi=me.inputRender,Ti=me.changeOnBlur,ni=ie.useRef(null),yi=Ia==="date"&&!!da||Ia==="time",Bl=ze(xr),Hi=$n(oa(ba,Ia,da,ca)),zi=ie.useRef(null),$l=ie.useRef(null),uu=ie.useRef(null),Cn=(0,nt.Z)(null,{value:kr,defaultValue:tr}),Zi=(0,Qt.Z)(Cn,2),Sl=Zi[0],Vi=Zi[1],eu=ie.useState(Sl),Rl=(0,Qt.Z)(eu,2),ol=Rl[0],$o=Rl[1],Vo=ie.useRef(null),Wi=(0,nt.Z)(!1,{value:qr,defaultValue:io,postState:function(Kt){return Wr?!1:Kt},onChange:function(Kt){Mo&&Mo(Kt),!Kt&&Vo.current&&Vo.current.onClose&&Vo.current.onClose()}}),xo=(0,Qt.Z)(Wi,2),il=xo[0],Di=xo[1],Al=Pn(ol,{formatList:Hi,generateConfig:wn,locale:Dt}),Si=(0,Qt.Z)(Al,2),Gi=Si[0],zl=Si[1],jo=Qe({valueTexts:Gi,onTextChange:function(Kt){var Xt=qa(Kt,{locale:Dt,formatList:Hi,generateConfig:wn});Xt&&(!$r||!$r(Xt))&&$o(Xt)}}),qi=(0,Qt.Z)(jo,3),xl=qi[0],aa=qi[1],kl=qi[2],ml=function(Kt){$o(Kt),Vi(Kt),ko&&!va(wn,Sl,Kt)&&ko(Kt,Kt?Ra(Kt,{generateConfig:wn,locale:Dt,format:Hi[0]}):"")},fl=function(Kt){Wr&&Kt||Di(Kt)},_l=function(Kt){return il&&Vo.current&&Vo.current.onKeyDown?Vo.current.onKeyDown(Kt):((0,we.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Dl=function(){for(var Kt=arguments.length,Xt=new Array(Kt),fn=0;fn<Kt;fn++)Xt[fn]=arguments[fn];pi==null||pi.apply(void 0,Xt),ni.current&&(ni.current.focus(),fl(!0))},tu=function(Kt){Ti&&ml(ol),qo==null||qo(Kt)},Vl=qt({blurToCancel:yi,open:il,value:xl,triggerOpen:fl,forwardKeyDown:_l,isClickOutside:function(Kt){return!vn([zi.current,$l.current,uu.current],Kt)},onSubmit:function(){return!ol||$r&&$r(ol)?!1:(ml(ol),fl(!1),kl(),!0)},onCancel:function(){fl(!1),$o(Sl),kl()},onKeyDown:function(Kt,Xt){Xi==null||Xi(Kt,Xt)},onFocus:Ai,onBlur:tu,changeOnBlur:Ti}),lr=(0,Qt.Z)(Vl,2),Da=lr[0],Qr=lr[1],_o=Qr.focused,vl=Qr.typing;ie.useEffect(function(){il||($o(Sl),!Gi.length||Gi[0]===""?aa(""):zl!==xl&&kl())},[il,Gi]),ie.useEffect(function(){il||kl()},[Ia]),ie.useEffect(function(){$o(Sl)},[Sl]),so&&(so.current={focus:function(){var Kt;(Kt=ni.current)===null||Kt===void 0||Kt.focus()},blur:function(){var Kt;(Kt=ni.current)===null||Kt===void 0||Kt.blur()}});var gu=jt(xl,{formatList:Hi,generateConfig:wn,locale:Dt}),ue=(0,Qt.Z)(gu,3),Ee=ue[0],Pe=ue[1],ut=ue[2],pt=(0,it.Z)((0,it.Z)({},ce),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),kn=ie.createElement("div",{className:"".concat(Me,"-panel-layout")},ie.createElement(Oo,{prefixCls:Me,presets:Bl,onClick:function(Kt){ml(Kt),fl(!1)}}),ie.createElement(Ha,(0,se.Z)({},pt,{generateConfig:wn,className:Te()((0,Ce.Z)({},"".concat(Me,"-panel-focused"),!vl)),value:ol,locale:Dt,tabIndex:-1,onSelect:function(Kt){gl==null||gl(Kt),$o(Kt)},direction:Gr,onPanelChange:function(Kt,Xt){var fn=ce.onPanelChange;ut(!0),fn==null||fn(Kt,Xt)}})));gr&&(kn=gr(kn));var mn=ie.createElement("div",{className:"".concat(Me,"-panel-container"),ref:zi,onMouseDown:function(Kt){Kt.preventDefault()}},kn),Wt;Jo&&(Wt=ie.createElement("span",{className:"".concat(Me,"-suffix"),onMouseDown:function(Kt){Kt.preventDefault()}},Jo));var vt=li(Me,On,po),tn=ie.createElement("span",{onMouseDown:function(Kt){Kt.preventDefault(),Kt.stopPropagation()},onMouseUp:function(Kt){Kt.preventDefault(),Kt.stopPropagation(),ml(null),fl(!1)},className:"".concat(Me,"-clear"),role:"button"},vt),Fn=!!On&&Sl&&!Wr,Ye=(0,it.Z)((0,it.Z)((0,it.Z)({id:ft,tabIndex:It,disabled:Wr,readOnly:zt||typeof Hi[0]=="function"||!vl,value:Ee||xl,onChange:function(Kt){aa(Kt.target.value)},autoFocus:un,placeholder:Bo,ref:ni,title:xl},Da),{},{size:Mr(Ia,Hi[0],wn),name:rt},(0,ht.Z)(ce,{aria:!0,data:!0})),{},{autoComplete:Ao}),Ft=hi?hi(Ye):ie.createElement("input",Ye),$t=function(Kt,Xt){(Xt==="submit"||Xt!=="key"&&!yi)&&(ml(Kt),fl(!1))},Ln=Gr==="rtl"?"bottomRight":"bottomLeft";return ie.createElement(gn.Provider,{value:{operationRef:Vo,hideHeader:Ia==="time",onSelect:$t,open:il,defaultOpenValue:Rn,onDateMouseEnter:Pe,onDateMouseLeave:ut}},ie.createElement(ci,{visible:il,popupElement:mn,popupStyle:cn,prefixCls:Me,dropdownClassName:jn,dropdownAlign:ln,getPopupContainer:wo,transitionName:Dn,popupPlacement:Ln,direction:Gr},ie.createElement("div",{ref:uu,className:Te()(Me,Ot,(ge={},(0,Ce.Z)(ge,"".concat(Me,"-disabled"),Wr),(0,Ce.Z)(ge,"".concat(Me,"-focused"),_o),(0,Ce.Z)(ge,"".concat(Me,"-rtl"),Gr==="rtl"),ge)),style:Lt,onMouseDown:xi,onMouseUp:Ur,onMouseEnter:di,onMouseLeave:Pi,onContextMenu:_i,onClick:Dl},ie.createElement("div",{className:Te()("".concat(Me,"-input"),(0,Ce.Z)({},"".concat(Me,"-input-placeholder"),!!Ee)),ref:$l},Ft,Wt,Fn&&tn))))}var Fl=function(ce){(0,bt.Z)(me,ce);var ge=(0,dn.Z)(me);function me(){var Ie;(0,ot.Z)(this,me);for(var Me=arguments.length,ft=new Array(Me),rt=0;rt<Me;rt++)ft[rt]=arguments[rt];return Ie=ge.call.apply(ge,[this].concat(ft)),(0,Ce.Z)((0,pn.Z)(Ie),"pickerRef",ie.createRef()),(0,Ce.Z)((0,pn.Z)(Ie),"focus",function(){Ie.pickerRef.current&&Ie.pickerRef.current.focus()}),(0,Ce.Z)((0,pn.Z)(Ie),"blur",function(){Ie.pickerRef.current&&Ie.pickerRef.current.blur()}),Ie}return(0,Rt.Z)(me,[{key:"render",value:function(){return ie.createElement(gi,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),me}(ie.Component),tl=Fl;function nl(ce,ge){var me=ce.picker,Ie=ce.locale,Me=ce.selectedValue,ft=ce.disabledDate,rt=ce.disabled,It=ce.generateConfig,Lt=Un(Me,0),Ot=Un(Me,1);function jn(Dt){return It.locale.getWeekFirstDate(Ie.locale,Dt)}function ln(Dt){var zt=It.getYear(Dt),On=It.getMonth(Dt);return zt*100+On}function cn(Dt){var zt=It.getYear(Dt),On=Sa(It,Dt);return zt*10+On}var Dn=ie.useCallback(function(Dt){if(rt[0]||ft&&ft(Dt))return!0;if(rt[1]&&Ot)return!ha(It,Dt,Ot)&&It.isAfter(Dt,Ot);if(!ge&&Ot)switch(me){case"quarter":return cn(Dt)>cn(Ot);case"month":return ln(Dt)>ln(Ot);case"week":return jn(Dt)>jn(Ot);default:return!ha(It,Dt,Ot)&&It.isAfter(Dt,Ot)}return!1},[ft,rt[1],Ot,ge]),wn=ie.useCallback(function(Dt){if(rt[1]||ft&&ft(Dt))return!0;if(rt[0]&&Lt)return!ha(It,Dt,Ot)&&It.isAfter(Lt,Dt);if(!ge&&Lt)switch(me){case"quarter":return cn(Dt)<cn(Lt);case"month":return ln(Dt)<ln(Lt);case"week":return jn(Dt)<jn(Lt);default:return!ha(It,Dt,Lt)&&It.isAfter(Lt,Dt)}return!1},[ft,rt[0],Lt,ge]);return[Dn,wn]}var al=re(70425),ou=re(6089);function dl(ce,ge,me,Ie,Me,ft,rt,It,Lt,Ot){var jn=ie.useState(!1),ln=(0,Qt.Z)(jn,2),cn=ln[0],Dn=ln[1],wn=(0,al.useMergedState)(ce||!1,{value:ge}),Dt=(0,Qt.Z)(wn,2),zt=Dt[0],On=Dt[1],un=(0,al.useMergedState)(ce||!1,{value:ge,onChange:function($r){Ot==null||Ot($r)}}),da=(0,Qt.Z)(un,2),Fa=da[0],Ia=da[1],ba=(0,al.useMergedState)(0,{value:me}),ca=(0,Qt.Z)(ba,2),kr=ca[0],tr=ca[1],xr=ie.useState(null),qr=(0,Qt.Z)(xr,2),io=qr[0],Rn=qr[1];ie.useEffect(function(){Fa&&Dn(!0)},[Fa]);var Jo=function($r){return $r===0?1:0},po=(0,ou.Z)(function(Wr,$r,Bo){if($r===!1)Ia(Wr);else if(Wr){tr($r),Ia(Wr);var wo=Jo($r);!Fa||![rt,It][wo]?Rn(wo):(Dn(!1),io!==null&&Rn(null))}else if(Bo==="confirm"||Bo==="blur"&&Ie){var so=zt?Jo($r):io;so!==null&&(Dn(!1),tr(so)),Rn(null),so!==null&&!Lt[so]?(0,Ca.Z)(function(){var gr,ko=[Me,ft][so];(gr=ko.current)===null||gr===void 0||gr.focus()}):Ia(!1)}else Ia(!1),On(!1)});return[Fa,kr,cn,po]}function Ml(ce,ge,me,Ie){var Me=ga(ce,me,Ie,1);function ft(rt){return rt(ce,ge)?"same":rt(Me,ge)?"closing":"far"}switch(me){case"year":return ft(function(rt,It){return rn(Ie,rt,It)});case"quarter":case"month":return ft(function(rt,It){return ta(Ie,rt,It)});default:return ft(function(rt,It){return Nn(Ie,rt,It)})}}function as(ce,ge,me,Ie){var Me=Un(ce,0),ft=Un(ce,1);if(ge===0)return Me;if(Me&&ft){var rt=Ml(Me,ft,me,Ie);switch(rt){case"same":return Me;case"closing":return Me;default:return ga(ft,me,Ie,-1)}}return Me}function Rr(ce){var ge=ce.values,me=ce.picker,Ie=ce.defaultDates,Me=ce.generateConfig,ft=ie.useState(function(){return[Un(Ie,0),Un(Ie,1)]}),rt=(0,Qt.Z)(ft,2),It=rt[0],Lt=rt[1],Ot=ie.useState(null),jn=(0,Qt.Z)(Ot,2),ln=jn[0],cn=jn[1],Dn=Un(ge,0),wn=Un(ge,1);function Dt(On){return It[On]?It[On]:Un(ln,On)||as(ge,On,me,Me)||Dn||wn||Me.getNow()}function zt(On,un){if(On){var da=Ut(ln,On,un);Lt(Ut(It,null,un)||[null,null]);var Fa=(un+1)%2;Un(ge,Fa)||(da=Ut(da,On,Fa)),cn(da)}else(Dn||wn)&&cn(null)}return[Dt,zt]}function Cu(ce,ge){return ce&&ce[0]&&ce[1]&&ge.isAfter(ce[0],ce[1])?[ce[1],ce[0]]:ce}function wu(ce,ge,me,Ie){return!!(ce||Ie&&Ie[ge]||me[(ge+1)%2])}function rs(ce){var ge,me,Ie,Me=ce,ft=Me.prefixCls,rt=ft===void 0?"rc-picker":ft,It=Me.id,Lt=Me.style,Ot=Me.className,jn=Me.popupStyle,ln=Me.dropdownClassName,cn=Me.transitionName,Dn=Me.dropdownAlign,wn=Me.getPopupContainer,Dt=Me.generateConfig,zt=Me.locale,On=Me.placeholder,un=Me.autoFocus,da=Me.disabled,Fa=Me.format,Ia=Me.picker,ba=Ia===void 0?"date":Ia,ca=Me.showTime,kr=Me.use12Hours,tr=Me.separator,xr=tr===void 0?"~":tr,qr=Me.value,io=Me.defaultValue,Rn=Me.defaultPickerValue,Jo=Me.open,po=Me.defaultOpen,Wr=Me.disabledDate,$r=Me.disabledTime,Bo=Me.dateRender,wo=Me.monthCellRender,so=Me.cellRender,gr=Me.panelRender,ko=Me.presets,Mo=Me.ranges,Ai=Me.allowEmpty,qo=Me.allowClear,xi=Me.suffixIcon,Ur=Me.clearIcon,di=Me.pickerRef,Pi=Me.inputReadOnly,_i=Me.mode,pi=Me.renderExtraFooter,Xi=Me.onChange,gl=Me.onOpenChange,Gr=Me.onPanelChange,Eo=Me.onCalendarChange,Ao=Me.onFocus,hi=Me.onBlur,Ti=Me.onMouseDown,ni=Me.onMouseUp,yi=Me.onMouseEnter,Bl=Me.onMouseLeave,Hi=Me.onClick,zi=Me.onOk,$l=Me.onKeyDown,uu=Me.components,Cn=Me.order,Zi=Me.direction,Sl=Me.activePickerIndex,Vi=Me.autoComplete,eu=Vi===void 0?"off":Vi,Rl=Me.changeOnBlur,ol=ba==="date"&&!!ca||ba==="time",$o=(0,ie.useRef)(null),Vo=(0,ie.useRef)(null),Wi=(0,ie.useRef)(null),xo=(0,ie.useRef)(null),il=(0,ie.useRef)(null),Di=(0,ie.useRef)(null),Al=(0,ie.useRef)(null),Si=(0,ie.useRef)(null),Gi=$n(oa(Fa,ba,ca,kr)),zl=(0,ie.useRef)(null),jo=ie.useMemo(function(){return Array.isArray(da)?da:[da||!1,da||!1]},[da]),qi=(0,nt.Z)(null,{value:qr,defaultValue:io,postState:function(wa){return ba==="time"&&!Cn?wa:Cu(wa,Dt)}}),xl=(0,Qt.Z)(qi,2),aa=xl[0],kl=xl[1],ml=Rr({values:aa,picker:ba,defaultDates:Rn,generateConfig:Dt}),fl=(0,Qt.Z)(ml,2),_l=fl[0],Dl=fl[1],tu=(0,nt.Z)(aa,{postState:function(wa){var ur=wa;if(jo[0]&&jo[1])return ur;for(var lo=0;lo<2;lo+=1)jo[lo]&&!ur&&!Un(ur,lo)&&!Un(Ai,lo)&&(ur=Ut(ur,Dt.getNow(),lo));return ur}}),Vl=(0,Qt.Z)(tu,2),lr=Vl[0],Da=Vl[1],Qr=(0,nt.Z)([ba,ba],{value:_i}),_o=(0,Qt.Z)(Qr,2),vl=_o[0],gu=_o[1];(0,ie.useEffect)(function(){gu([ba,ba])},[ba]);var ue=function(wa,ur){gu(wa),Gr&&Gr(ur,wa)},Ee=dl(po,Jo,Sl,Rl,Di,Al,Un(lr,0),Un(lr,1),jo,gl),Pe=(0,Qt.Z)(Ee,4),ut=Pe[0],pt=Pe[1],kn=Pe[2],mn=Pe[3],Wt=ut&&pt===0,vt=ut&&pt===1,tn=nl({picker:ba,selectedValue:lr,locale:zt,disabled:jo,disabledDate:Wr,generateConfig:Dt},!ut||kn),Fn=(0,Qt.Z)(tn,2),Ye=Fn[0],Ft=Fn[1],$t=(0,ie.useState)(0),Ln=(0,Qt.Z)($t,2),Zt=Ln[0],Kt=Ln[1];(0,ie.useEffect)(function(){!ut&&$o.current&&Kt($o.current.offsetWidth)},[ut]);function Xt(Cr){mn(!0,Cr,"open"),(0,Ca.Z)(function(){var wa,ur=[Di,Al][Cr];(wa=ur.current)===null||wa===void 0||wa.focus()},0)}function fn(Cr,wa){var ur=Cr,lo=Un(ur,0),ei=Un(ur,1);lo&&ei&&Dt.isAfter(lo,ei)&&(ba==="week"&&!ka(Dt,zt.locale,lo,ei)||ba==="quarter"&&!Kn(Dt,lo,ei)||ba!=="week"&&ba!=="quarter"&&ba!=="time"&&!ha(Dt,lo,ei)?wa===0?(ur=[lo,null],ei=null):(lo=null,ur=[null,ei]):(ba!=="time"||Cn!==!1)&&(ur=Cu(ur,Dt))),Da(ur);var du=ur&&ur[0]?Ra(ur[0],{generateConfig:Dt,locale:zt,format:Gi[0]}):"",Nl=ur&&ur[1]?Ra(ur[1],{generateConfig:Dt,locale:zt,format:Gi[0]}):"";if(Eo){var Yl={range:wa===0?"start":"end"};Eo(ur,[du,Nl],Yl)}var Il=wu(lo,0,jo,Ai),fu=wu(ei,1,jo,Ai),ru=ur===null||Il&&fu;ru&&(kl(ur),Xi&&(!va(Dt,Un(aa,0),lo)||!va(Dt,Un(aa,1),ei))&&Xi(ur,[du,Nl]))}var la=function(wa){return ut&&zl.current&&zl.current.onKeyDown?zl.current.onKeyDown(wa):((0,we.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},wt={formatList:Gi,generateConfig:Dt,locale:zt},Ea=Pn(Un(lr,0),wt),Ir=(0,Qt.Z)(Ea,2),Tr=Ir[0],rr=Ir[1],Lo=Pn(Un(lr,1),wt),ra=(0,Qt.Z)(Lo,2),Or=ra[0],_a=ra[1],jr=function(wa,ur){var lo=qa(wa,{locale:zt,formatList:Gi,generateConfig:Dt}),ei=ur===0?Ye:Ft;lo&&!ei(lo)&&(Da(Ut(lr,lo,ur)),Dl(lo,ur))},yo=Qe({valueTexts:Tr,onTextChange:function(wa){return jr(wa,0)}}),No=(0,Qt.Z)(yo,3),Wo=No[0],Pa=No[1],Sr=No[2],Fi=Qe({valueTexts:Or,onTextChange:function(wa){return jr(wa,1)}}),Yr=(0,Qt.Z)(Fi,3),Mn=Yr[0],ai=Yr[1],Ui=Yr[2],fi=(0,ie.useState)(null),wi=(0,Qt.Z)(fi,2),ll=wi[0],ui=wi[1],El=(0,ie.useState)(null),Qi=(0,Qt.Z)(El,2),$i=Qi[0],To=Qi[1],vi=jt(Wo,{formatList:Gi,generateConfig:Dt,locale:zt}),ul=(0,Qt.Z)(vi,3),Tl=ul[0],Dr=ul[1],Ro=ul[2],ri=jt(Mn,{formatList:Gi,generateConfig:Dt,locale:zt}),Uo=(0,Qt.Z)(ri,3),Yi=Uo[0],Ki=Uo[1],Li=Uo[2],Zl=function(wa){To(Ut(lr,wa,pt)),pt===0?Dr(wa):Ki(wa)},wl=function(){To(Ut(lr,null,pt)),pt===0?Ro():Li()},Pl=ie.useState(ut),Ei=(0,Qt.Z)(Pl,2),Gl=Ei[0],no=Ei[1];ie.useEffect(function(){no(ut)},[ut]);var nu=function(wa){if(Rl&&Gl){var ur=Un(lr,pt);ur&&fn(lr,pt)}return hi==null?void 0:hi(wa)},bu=function(wa,ur){return{blurToCancel:!Rl&&ol,forwardKeyDown:la,onBlur:nu,isClickOutside:function(ei){return!vn([Vo.current,Wi.current,xo.current,$o.current],ei)},onFocus:function(ei){Ao&&Ao(ei)},triggerOpen:function(ei){ei?mn(ei,wa,"open"):mn(ei,Un(lr,wa)?wa:!1,"blur")},onSubmit:function(){if(!lr||Wr&&Wr(lr[wa]))return!1;fn(lr,wa),ur(),mn(!1,pt,"confirm")},onCancel:function(){mn(!1,wa,"cancel"),Da(aa),ur()}}},Wl={onKeyDown:function(wa,ur){$l==null||$l(wa,ur)},changeOnBlur:Rl},mu=qt((0,it.Z)((0,it.Z)({},bu(0,Sr)),{},{open:Wt,value:Wo},Wl)),en=(0,Qt.Z)(mu,2),Wn=en[0],Zr=en[1],Ja=Zr.focused,pr=Zr.typing,ro=qt((0,it.Z)((0,it.Z)({},bu(1,Ui)),{},{open:vt,value:Mn},Wl)),Ho=(0,Qt.Z)(ro,2),Zo=Ho[0],Ji=Ho[1],bi=Ji.focused,jl=Ji.typing,Ul=function(wa){Hi&&Hi(wa),!ut&&!Di.current.contains(wa.target)&&!Al.current.contains(wa.target)&&(jo[0]?jo[1]||Xt(1):Xt(0))},qu=function(wa){Ti&&Ti(wa),ut&&(Ja||bi)&&!Di.current.contains(wa.target)&&!Al.current.contains(wa.target)&&wa.preventDefault()},vs=aa&&aa[0]?Ra(aa[0],{locale:zt,format:"YYYYMMDDHHmmss",generateConfig:Dt}):"",ps=aa&&aa[1]?Ra(aa[1],{locale:zt,format:"YYYYMMDDHHmmss",generateConfig:Dt}):"";(0,ie.useEffect)(function(){ut||(Da(aa),!Tr.length||Tr[0]===""?Pa(""):rr!==Wo&&Sr(),!Or.length||Or[0]===""?ai(""):_a!==Mn&&Ui())},[ut,Tr,Or]),(0,ie.useEffect)(function(){Da(aa)},[vs,ps]);var Hl=ua({cellRender:so,monthCellRender:wo,dateRender:Bo}),hs=ie.useMemo(function(){if(Hl)return function(Cr,wa){return Hl(Cr,(0,it.Z)((0,it.Z)({},wa),{},{range:pt?"end":"start"}))}},[pt,Hl]);di&&(di.current={focus:function(){Di.current&&Di.current.focus()},blur:function(){Di.current&&Di.current.blur(),Al.current&&Al.current.blur()}});var au=ze(ko,Mo);function Zu(){var Cr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,wa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ur=null;ut&&$i&&$i[0]&&$i[1]&&Dt.isAfter($i[1],$i[0])&&(ur=$i);var lo=ca;if(ca&&(0,Sn.Z)(ca)==="object"&&ca.defaultValue){var ei=ca.defaultValue;lo=(0,it.Z)((0,it.Z)({},ca),{},{defaultValue:Un(ei,pt)||void 0})}return ie.createElement(Wa.Provider,{value:{inRange:!0,panelPosition:Cr,rangedValue:ll||lr,hoverRangedValue:ur}},ie.createElement(Ha,(0,se.Z)({},ce,wa,{cellRender:hs,showTime:lo,mode:vl[pt],generateConfig:Dt,style:void 0,direction:Zi,disabledDate:pt===0?Ye:Ft,disabledTime:function(Nl){return $r?$r(Nl,pt===0?"start":"end"):!1},className:Te()((0,Ce.Z)({},"".concat(rt,"-panel-focused"),pt===0?!pr:!jl)),value:Un(lr,pt),locale:zt,tabIndex:-1,onPanelChange:function(Nl,Yl){pt===0&&Ro(!0),pt===1&&Li(!0),ue(Ut(vl,Yl,pt),Ut(lr,Nl,pt));var Il=Nl;Cr==="right"&&vl[pt]===Yl&&(Il=ga(Il,Yl,Dt,-1)),Dl(Il,pt)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:pt===0?Un(lr,1):Un(lr,0)})))}var Ql=0,$u=0;if(pt&&Wi.current&&il.current&&Vo.current&&Si.current){Ql=Wi.current.offsetWidth+il.current.offsetWidth;var Ss=Si.current.offsetLeft>Ql?Si.current.offsetLeft-Ql:Si.current.offsetLeft,es=Vo.current.offsetWidth,Gu=Si.current.offsetWidth;es&&Gu&&Ql>es-Gu-(Zi==="rtl"?0:Ss)&&($u=Ql)}var ts=Zi==="rtl"?{right:Ql}:{left:Ql};function qn(){var Cr,wa=el(rt,vl[pt],pi),ur=ii({prefixCls:rt,components:uu,needConfirmButton:ol,okDisabled:!Un(lr,pt)||Wr&&Wr(lr[pt]),locale:zt,onOk:function(){var yl=Un(lr,pt);yl&&(fn(lr,pt),zi==null||zi(lr),mn(!1,pt,"confirm"))}});if(ba!=="time"&&!ca){var lo=_l(pt),ei=ga(lo,ba,Dt),du=vl[pt],Nl=du===ba,Yl=Zu(Nl?"left":!1,{pickerValue:lo,onPickerValueChange:function(yl){Dl(yl,pt)}}),Il=Zu("right",{pickerValue:ei,onPickerValueChange:function(yl){Dl(ga(yl,ba,Dt,-1),pt)}});Zi==="rtl"?Cr=ie.createElement(ie.Fragment,null,Il,Nl&&Yl):Cr=ie.createElement(ie.Fragment,null,Yl,Nl&&Il)}else Cr=Zu();var fu=ie.createElement("div",{className:"".concat(rt,"-panel-layout")},ie.createElement(Oo,{prefixCls:rt,presets:au,onClick:function(yl){fn(yl,null),mn(!1,pt,"preset")},onHover:function(yl){ui(yl)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(rt,"-panels")},Cr),(wa||ur)&&ie.createElement("div",{className:"".concat(rt,"-footer")},wa,ur)));return gr&&(fu=gr(fu)),ie.createElement("div",{className:"".concat(rt,"-panel-container"),style:{marginLeft:$u},ref:Vo,onMouseDown:function(yl){yl.preventDefault()}},fu)}var Ya=ie.createElement("div",{className:Te()("".concat(rt,"-range-wrapper"),"".concat(rt,"-").concat(ba,"-range-wrapper")),style:{minWidth:Zt}},ie.createElement("div",{ref:Si,className:"".concat(rt,"-range-arrow"),style:ts}),qn()),wr;xi&&(wr=ie.createElement("span",{className:"".concat(rt,"-suffix"),onMouseDown:function(wa){wa.preventDefault()}},xi));var oo=li(rt,qo,Ur),Kr=ie.createElement("span",{onMouseDown:function(wa){wa.preventDefault(),wa.stopPropagation()},onMouseUp:function(wa){wa.preventDefault(),wa.stopPropagation();var ur=aa;jo[0]||(ur=Ut(ur,null,0)),jo[1]||(ur=Ut(ur,null,1)),fn(ur,null),mn(!1,pt,"clear")},className:"".concat(rt,"-clear"),role:"button"},oo),br=qo&&(Un(aa,0)&&!jo[0]||Un(aa,1)&&!jo[1]),co={size:Mr(ba,Gi[0],Dt)},Io=0,ji=0;Wi.current&&xo.current&&il.current&&(pt===0?ji=Wi.current.offsetWidth:(Io=Ql,ji=xo.current.offsetWidth));var Ll=Zi==="rtl"?{right:Io}:{left:Io},su=function(wa,ur){var lo=Ut(lr,wa,pt);if(ur==="submit"||ur!=="key"&&!ol){fn(lo,pt),pt===0?Ro():Li();var ei=pt===0?1:0;jo[ei]?mn(!1,!1,"confirm"):mn(!1,pt,"confirm")}else Da(lo)};return ie.createElement(gn.Provider,{value:{operationRef:zl,hideHeader:ba==="time",onDateMouseEnter:Zl,onDateMouseLeave:wl,hideRanges:!0,onSelect:su,open:ut}},ie.createElement(ci,{visible:ut,popupElement:Ya,popupStyle:jn,prefixCls:rt,dropdownClassName:ln,dropdownAlign:Dn,getPopupContainer:wn,transitionName:cn,range:!0,direction:Zi},ie.createElement("div",(0,se.Z)({ref:$o,className:Te()(rt,"".concat(rt,"-range"),Ot,(ge={},(0,Ce.Z)(ge,"".concat(rt,"-disabled"),jo[0]&&jo[1]),(0,Ce.Z)(ge,"".concat(rt,"-focused"),pt===0?Ja:bi),(0,Ce.Z)(ge,"".concat(rt,"-rtl"),Zi==="rtl"),ge)),style:Lt,onClick:Ul,onMouseEnter:yi,onMouseLeave:Bl,onMouseDown:qu,onMouseUp:ni},(0,ht.Z)(ce,{aria:!0,data:!0})),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(me={},(0,Ce.Z)(me,"".concat(rt,"-input-active"),pt===0),(0,Ce.Z)(me,"".concat(rt,"-input-placeholder"),!!Tl),me)),ref:Wi},ie.createElement("input",(0,se.Z)({id:It,disabled:jo[0],readOnly:Pi||typeof Gi[0]=="function"||!pr,value:Tl||Wo,onChange:function(wa){Pa(wa.target.value)},autoFocus:un,placeholder:Un(On,0)||"",ref:Di},Wn,co,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-range-separator"),ref:il},xr),ie.createElement("div",{className:Te()("".concat(rt,"-input"),(Ie={},(0,Ce.Z)(Ie,"".concat(rt,"-input-active"),pt===1),(0,Ce.Z)(Ie,"".concat(rt,"-input-placeholder"),!!Yi),Ie)),ref:xo},ie.createElement("input",(0,se.Z)({disabled:jo[1],readOnly:Pi||typeof Gi[0]=="function"||!jl,value:Yi||Mn,onChange:function(wa){ai(wa.target.value)},placeholder:Un(On,1)||"",ref:Al},Zo,co,{autoComplete:eu}))),ie.createElement("div",{className:"".concat(rt,"-active-bar"),style:(0,it.Z)((0,it.Z)({},Ll),{},{width:ji,position:"absolute"})}),wr,br&&Kr)))}var Ri=function(ce){(0,bt.Z)(me,ce);var ge=(0,dn.Z)(me);function me(){var Ie;(0,ot.Z)(this,me);for(var Me=arguments.length,ft=new Array(Me),rt=0;rt<Me;rt++)ft[rt]=arguments[rt];return Ie=ge.call.apply(ge,[this].concat(ft)),(0,Ce.Z)((0,pn.Z)(Ie),"pickerRef",ie.createRef()),(0,Ce.Z)((0,pn.Z)(Ie),"focus",function(){Ie.pickerRef.current&&Ie.pickerRef.current.focus()}),(0,Ce.Z)((0,pn.Z)(Ie),"blur",function(){Ie.pickerRef.current&&Ie.pickerRef.current.blur()}),Ie}return(0,Rt.Z)(me,[{key:"render",value:function(){return ie.createElement(rs,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),me}(ie.Component),zu=Ri,Lu=tl,Pu=re(19080),Nu=re(36355),iu=re(1684),Vu=re(19716),Iu=re(32441),Ou=re(9763),ki=re(33234),Wu=re(48183),Bu=re(64993),Bi=re(9937),Au=re(17313),os=re(47585),lu=re(74207),Jl=re(13826),bl=re(92899),Cl=re(37613),is=re(83116);const Mu=(ce,ge,me,Ie)=>{const{lineHeight:Me}=ce,ft=Math.floor(me*Me)+2,rt=Math.max((ge-ft)/2,0),It=Math.max(ge-ft-rt,0);return{padding:`${rt}px ${Ie}px ${It}px`}},ls=ce=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Ie,cellHeight:Me,motionDurationSlow:ft,borderRadiusSM:rt,motionDurationMid:It,cellHoverBg:Lt,lineWidth:Ot,lineType:jn,colorPrimary:ln,cellActiveWithRangeBg:cn,colorTextLightSolid:Dn,controlHeightSM:wn,cellRangeBorderColor:Dt,pickerCellBorderGap:zt,cellHoverWithRangeBg:On,cellWidth:un,colorTextDisabled:da,cellBgDisabled:Fa}=ce;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Me,transform:"translateY(-50%)",transition:`all ${ft}`,content:'""'},[Ie]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Me,height:Me,lineHeight:`${Me}px`,borderRadius:rt,transition:`background ${It}, border ${It}`},"&-range-hover-start, &-range-hover-end":{[Ie]:{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)`]:{[Ie]:{background:Lt}},[`&-in-view${me}-today ${Ie}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Ot}px ${jn} ${ln}`,borderRadius:rt,content:'""'}},[`&-in-view${me}-in-range`]:{position:"relative","&::before":{background:cn}},[`&-in-view${me}-selected ${Ie},
&-in-view${me}-range-start ${Ie},
&-in-view${me}-range-end ${Ie}`]:{color:Dn,background:ln},[`&-in-view${me}-range-start:not(${me}-range-start-single),
&-in-view${me}-range-end:not(${me}-range-end-single)`]:{"&::before":{background:cn}},[`&-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:wn,borderTop:`${Ot}px dashed ${Dt}`,borderBottom:`${Ot}px dashed ${Dt}`,transform:"translateY(-50%)",transition:`all ${ft}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:zt},[`&-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,
&-in-view${me}-range-end${me}-range-hover::before,
&-in-view${me}-range-start:not(${me}-range-start-single)${me}-range-hover-start::before,
&-in-view${me}-range-end:not(${me}-range-end-single)${me}-range-hover-end::before,
${ge}-panel
> :not(${ge}-date-panel)
&-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:On},[`&-in-view${me}-range-start:not(${me}-range-start-single):not(${me}-range-end) ${Ie}`]:{borderStartStartRadius:rt,borderEndStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${me}-range-end:not(${me}-range-end-single):not(${me}-range-start) ${Ie}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt},[`&-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:(un-Me)/2,borderInlineStart:`${Ot}px dashed ${Dt}`,borderStartStartRadius:rt,borderEndStartRadius:rt},[`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:(un-Me)/2,borderInlineEnd:`${Ot}px dashed ${Dt}`,borderStartEndRadius:rt,borderEndEndRadius:rt},"&-disabled":{color:da,pointerEvents:"none",[Ie]:{background:"transparent"},"&::before":{background:Fa}},[`&-disabled${me}-today ${Ie}::before`]:{borderColor:da}}},Ko=ce=>{const{componentCls:ge,pickerCellCls:me,pickerCellInnerCls:Ie,pickerYearMonthCellWidth:Me,pickerControlIconSize:ft,cellWidth:rt,paddingSM:It,paddingXS:Lt,paddingXXS:Ot,colorBgContainer:jn,lineWidth:ln,lineType:cn,borderRadiusLG:Dn,colorPrimary:wn,colorTextHeading:Dt,colorSplit:zt,pickerControlIconBorderWidth:On,colorIcon:un,textHeight:da,motionDurationMid:Fa,colorIconHover:Ia,fontWeightStrong:ba,cellHeight:ca,pickerCellPaddingVertical:kr,colorTextDisabled:tr,colorText:xr,fontSize:qr,cellHoverWithRangeBg:io,motionDurationSlow:Rn,withoutTimeCellHeight:Jo,pickerQuarterPanelContentHeight:po,colorLink:Wr,colorLinkActive:$r,colorLinkHover:Bo,cellRangeBorderColor:wo,borderRadiusSM:so,colorTextLightSolid:gr,cellHoverBg:ko,timeColumnHeight:Mo,timeColumnWidth:Ai,timeCellHeight:qo,controlItemBgActive:xi,marginXXS:Ur,pickerDatePanelPaddingHorizontal:di}=ce,Pi=rt*7+di*2,_i=(Pi-Lt*2)/3-Me-It,pi=(Pi-Lt*2)/4-Me;return{[ge]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:jn,border:`${ln}px ${cn} ${zt}`,borderRadius:Dn,outline:"none","&-focused":{borderColor:wn},"&-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:Pi},"&-header":{display:"flex",padding:`0 ${Lt}px`,color:Dt,borderBottom:`${ln}px ${cn} ${zt}`,"> *":{flex:"none"},button:{padding:0,color:un,lineHeight:`${da}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Fa}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:qr,"&:hover":{color:Ia}},"&-view":{flex:"auto",fontWeight:ba,lineHeight:`${da}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Lt},"&:hover":{color:wn}}}},"&-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:On,borderBlockEndWidth:0,borderInlineStartWidth:On,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:On,borderBlockEndWidth:0,borderInlineStartWidth:On,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+kr*2,color:xr,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${kr}px 0`,color:tr,cursor:"pointer","&-in-view":{color:xr}},ls(ce)),[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start ${Ie},
&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:io,transition:`all ${Rn}`,content:'""'}},[`&-date-panel
${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-start
${Ie}::after`]:{insetInlineEnd:-(rt-ca)/2,insetInlineStart:0},[`&-date-panel ${ge}-cell-in-view${ge}-cell-in-range${ge}-cell-range-hover-end ${Ie}::after`]:{insetInlineEnd:0,insetInlineStart:-(rt-ca)/2},[`&-range-hover${ge}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-content`]:{height:Jo*4},[Ie]:{padding:`0 ${Lt}px`}},"&-quarter-panel":{[`${ge}-content`]:{height:po},[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:pi,borderInlineStart:`${ln}px dashed ${wo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:pi,borderInlineEnd:`${ln}px dashed ${wo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:pi,borderInlineEnd:`${ln}px dashed ${wo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:pi,borderInlineStart:`${ln}px dashed ${wo}`}}},[`&-panel ${ge}-footer`]:{borderTop:`${ln}px ${cn} ${zt}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${da-2*ln}px`,textAlign:"center","&-extra":{padding:`0 ${It}px`,lineHeight:`${da-2*ln}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ln}px ${cn} ${zt}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Wr,"&:hover":{color:Bo},"&:active":{color:$r},[`&${ge}-today-btn-disabled`]:{color:tr,cursor:"not-allowed"}},"&-decade-panel":{[Ie]:{padding:`0 ${Lt/2}px`},[`${ge}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ge}-body`]:{padding:`0 ${Lt}px`},[Ie]:{width:Me},[`${ge}-cell-range-hover-start::after`]:{borderStartStartRadius:so,borderEndStartRadius:so,borderStartEndRadius:0,borderEndEndRadius:0,[`${ge}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:so,borderEndEndRadius:so}},[`${ge}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:so,borderEndEndRadius:so,[`${ge}-panel-rtl &`]:{borderStartStartRadius:so,borderEndStartRadius:so,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ge}-cell-range-hover-start::after`]:{insetInlineStart:_i,borderInlineStart:`${ln}px dashed ${wo}`,[`${ge}-panel-rtl &`]:{insetInlineEnd:_i,borderInlineEnd:`${ln}px dashed ${wo}`}},[`${ge}-cell-range-hover-end::after`]:{insetInlineEnd:_i,borderInlineEnd:`${ln}px dashed ${wo}`,[`${ge}-panel-rtl &`]:{insetInlineStart:_i,borderInlineStart:`${ln}px dashed ${wo}`}}},"&-week-panel":{[`${ge}-body`]:{padding:`${Lt}px ${It}px`},[`${ge}-cell`]:{[`&:hover ${Ie},
&-selected ${Ie},
${Ie}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Fa}`},"&:first-child:before":{borderStartStartRadius:so,borderEndStartRadius:so},"&:last-child:before":{borderStartEndRadius:so,borderEndEndRadius:so}},"&:hover td":{"&:before":{background:ko}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${me}`]:{"&:before":{background:wn},[`&${ge}-cell-week`]:{color:new Bu.C(gr).setAlpha(.5).toHexString()},[Ie]:{color:gr}}},"&-range-hover td:before":{background:xi}}},"&-date-panel":{[`${ge}-body`]:{padding:`${Lt}px ${di}px`},[`${ge}-content`]:{width:rt*7,th:{width:rt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ge}-time-panel`]:{borderInlineStart:`${ln}px ${cn} ${zt}`},[`${ge}-date-panel,
${ge}-time-panel`]:{transition:`opacity ${Rn}`},"&-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:Mo},"&-column":{flex:"1 0 auto",width:Ai,margin:`${Ot}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Fa}`,overflowX:"hidden","&::after":{display:"block",height:Mo-qo,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ln}px ${cn} ${zt}`},"&-active":{background:new Bu.C(xi).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ge}-time-panel-cell`]:{marginInline:Ur,[`${ge}-time-panel-cell-inner`]:{display:"block",width:Ai-2*Ur,height:qo,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ai-qo)/2,color:xr,lineHeight:`${qo}px`,borderRadius:so,cursor:"pointer",transition:`background ${Fa}`,"&:hover":{background:ko}},"&-selected":{[`${ge}-time-panel-cell-inner`]:{background:xi}},"&-disabled":{[`${ge}-time-panel-cell-inner`]:{color:tr,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ge}-time-panel-column:after`]:{height:Mo-qo+Ot*2}}}},us=ce=>{const{componentCls:ge,colorBgContainer:me,colorError:Ie,errorActiveShadow:Me,colorWarning:ft,warningActiveShadow:rt}=ce;return{[`${ge}:not(${ge}-disabled)`]:{[`&${ge}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:Ie},[`&${ge}-focused, &:focus`]:Object.assign({},(0,Bi.M1)((0,Cl.TS)(ce,{activeBorderColor:Ie,activeShadow:Me}))),[`${ge}-active-bar`]:{background:Ie}},[`&${ge}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:me,borderColor:ft},[`&${ge}-focused, &:focus`]:Object.assign({},(0,Bi.M1)((0,Cl.TS)(ce,{activeBorderColor:ft,activeShadow:rt}))),[`${ge}-active-bar`]:{background:ft}}}}},ss=ce=>{const{componentCls:ge,antCls:me,controlHeight:Ie,fontSize:Me,paddingInline:ft,colorBgContainer:rt,lineWidth:It,lineType:Lt,colorBorder:Ot,borderRadius:jn,motionDurationMid:ln,colorBgContainerDisabled:cn,colorTextDisabled:Dn,colorTextPlaceholder:wn,controlHeightLG:Dt,fontSizeLG:zt,controlHeightSM:On,paddingInlineSM:un,paddingXS:da,marginXS:Fa,colorTextDescription:Ia,lineWidthBold:ba,lineHeight:ca,colorPrimary:kr,motionDurationSlow:tr,zIndexPopup:xr,paddingXXS:qr,paddingSM:io,textHeight:Rn,cellActiveWithRangeBg:Jo,colorPrimaryBorder:po,sizePopupArrow:Wr,borderRadiusXS:$r,borderRadiusOuter:Bo,colorBgElevated:wo,borderRadiusLG:so,boxShadowSecondary:gr,borderRadiusSM:ko,colorSplit:Mo,cellHoverBg:Ai,presetsWidth:qo,presetsMaxWidth:xi,boxShadowPopoverArrow:Ur,colorTextQuaternary:di}=ce;return[{[ge]:Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Mu(ce,Ie,Me,ft)),{position:"relative",display:"inline-flex",alignItems:"center",background:rt,lineHeight:1,border:`${It}px ${Lt} ${Ot}`,borderRadius:jn,transition:`border ${ln}, box-shadow ${ln}`,"&:hover, &-focused":Object.assign({},(0,Bi.pU)(ce)),"&-focused":Object.assign({},(0,Bi.M1)(ce)),[`&${ge}-disabled`]:{background:cn,borderColor:Ot,cursor:"not-allowed",[`${ge}-suffix`]:{color:di}},[`&${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,Bi.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:wn}}},"&-large":Object.assign(Object.assign({},Mu(ce,Dt,zt,ft)),{[`${ge}-input > input`]:{fontSize:zt}}),"&-small":Object.assign({},Mu(ce,On,Me,un)),[`${ge}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:da/2,color:Dn,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Fa}}},[`${ge}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Dn,lineHeight:1,background:rt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ln}, color ${ln}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ia}},[`${ge}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:zt,color:Dn,fontSize:zt,verticalAlign:"top",cursor:"default",[`${ge}-focused &`]:{color:Ia},[`${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:-It,height:ba,marginInlineStart:ft,background:kr,opacity:0,transition:`all ${tr} ease-out`,pointerEvents:"none"},[`&${ge}-focused`]:{[`${ge}-active-bar`]:{opacity:1}},[`${ge}-range-separator`]:{alignItems:"center",padding:`0 ${da}px`,lineHeight:1},[`&${ge}-small`]:{[`${ge}-clear`]:{insetInlineEnd:un},[`${ge}-active-bar`]:{marginInlineStart:un}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Au.Wf)(ce)),Ko(ce)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:xr,[`&${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:Jl.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:Jl.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:Jl.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:Jl.Uw},[`${ge}-panel > ${ge}-time-panel`]:{paddingTop:qr},[`${ge}-ranges`]:{marginBottom:0,padding:`${qr}px ${io}px`,overflow:"hidden",lineHeight:`${Rn-2*It-da/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ge}-preset > ${me}-tag-blue`]:{color:kr,background:Jo,borderColor:po,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 ${tr} ease-out`},(0,os.r)(Wr,$r,Bo,wo,Ur)),[`${ge}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:wo,borderRadius:so,boxShadow:gr,transition:`margin ${tr}`,[`${ge}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ge}-presets`]:{display:"flex",flexDirection:"column",minWidth:qo,maxWidth:xi,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:da,borderInlineEnd:`${It}px ${Lt} ${Mo}`,li:Object.assign(Object.assign({},Au.vS),{borderRadius:ko,paddingInline:da,paddingBlock:(On-Math.round(Me*ca))/2,cursor:"pointer",transition:`all ${tr}`,"+ li":{marginTop:Fa},"&:hover":{background:Ai}})}},[`${ge}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ge}-panel`]:{borderWidth:`0 0 ${It}px`},"&:last-child":{[`${ge}-panel`]:{borderWidth:0}}},[`${ge}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ge}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:Ot}}}}),"&-dropdown-range":{padding:`${Wr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ge}-separator`]:{transform:"rotate(180deg)"},[`${ge}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Jl.oN)(ce,"slide-up"),(0,Jl.oN)(ce,"slide-down"),(0,bl.Fm)(ce,"move-up"),(0,bl.Fm)(ce,"move-down")]},ds=ce=>{const{componentCls:ge,controlHeightLG:me,paddingXXS:Ie,padding:Me}=ce;return{pickerCellCls:`${ge}-cell`,pickerCellInnerCls:`${ge}-cell-inner`,pickerYearMonthCellWidth:me*1.5,pickerQuarterPanelContentHeight:me*1.4,pickerCellPaddingVertical:Ie+Ie/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Me+Ie/2}},Uu=ce=>({cellHoverBg:ce.controlItemBgHover,cellActiveWithRangeBg:ce.controlItemBgActive,cellHoverWithRangeBg:new Bu.C(ce.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Bu.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,is.Z)("DatePicker",ce=>{const ge=(0,Cl.TS)((0,Bi.e5)(ce),ds(ce));return[ss(ge),us(ge),(0,lu.c)(ce,{focusElCls:`${ce.componentCls}-focused`})]},ce=>Object.assign(Object.assign(Object.assign({},(0,Bi.TM)(ce)),Uu(ce)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ce.zIndexPopupBase+50}));function ku(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 Qu(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 rl(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 cl(ce){return ce?Array.isArray(ce)?ce:[ce]:[]}function yu(ce){const{format:ge,picker:me,showHour:Ie,showMinute:Me,showSecond:ft,use12Hours:rt}=ce,It=cl(ge)[0],Lt=Object.assign({},ce);return ge&&Array.isArray(ge)&&(Lt.format=It),It&&typeof It=="string"&&(!It.includes("s")&&ft===void 0&&(Lt.showSecond=!1),!It.includes("m")&&Me===void 0&&(Lt.showMinute=!1),!It.includes("H")&&!It.includes("h")&&!It.includes("K")&&!It.includes("k")&&Ie===void 0&&(Lt.showHour=!1),(It.includes("a")||It.includes("A"))&&rt===void 0&&(Lt.use12Hours=!0)),me==="time"?Lt:(typeof It=="function"&&delete Lt.format,{showTime:Lt})}function Yu(ce,ge,me){if(ce===!1)return!1;const Ie={clearIcon:ge!=null?ge:me};return typeof ce=="object"?Object.assign(Object.assign({},Ie),ce):Ie}var Ku=re(3113);function ya(ce){return ie.createElement(Ku.ZP,Object.assign({size:"small",type:"primary"},ce))}var _u={button:ya},Fu=function(ce,ge){var me={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(me[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ie=Object.getOwnPropertySymbols(ce);Me<Ie.length;Me++)ge.indexOf(Ie[Me])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ie[Me])&&(me[Ie[Me]]=ce[Ie[Me]]);return me};function Yn(ce){return(0,ie.forwardRef)((me,Ie)=>{const{prefixCls:Me,getPopupContainer:ft,className:rt,placement:It,size:Lt,disabled:Ot,bordered:jn=!0,placeholder:ln,popupClassName:cn,dropdownClassName:Dn,status:wn,clearIcon:Dt,allowClear:zt,rootClassName:On}=me,un=Fu(me,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),da=ie.useRef(null),{getPrefixCls:Fa,direction:Ia,getPopupContainer:ba}=(0,ie.useContext)(Nu.E_),ca=Fa("picker",Me),{compactSize:kr,compactItemClassnames:tr}=(0,ki.ri)(ca,Ia),{format:xr,showTime:qr,picker:io}=me,Rn=Fa(),[Jo,po]=Ru(ca),Wr=Object.assign(Object.assign({},qr?yu(Object.assign({format:xr,picker:io},qr)):{}),io==="time"?yu(Object.assign(Object.assign({format:xr},me),{picker:io})):{}),$r=(0,Vu.Z)(Ur=>{var di;return(di=Lt!=null?Lt:kr)!==null&&di!==void 0?di:Ur}),Bo=ie.useContext(iu.Z),wo=Ot!=null?Ot:Bo,so=(0,ie.useContext)(Iu.aM),{hasFeedback:gr,status:ko,feedbackIcon:Mo}=so,Ai=ie.createElement(ie.Fragment,null,io==="time"?ie.createElement(gt,null):ie.createElement(Re,null),gr&&Mo);(0,ie.useImperativeHandle)(Ie,()=>({focus:()=>{var Ur;return(Ur=da.current)===null||Ur===void 0?void 0:Ur.focus()},blur:()=>{var Ur;return(Ur=da.current)===null||Ur===void 0?void 0:Ur.blur()}}));const[qo]=(0,Ou.Z)("Calendar",Wu.Z),xi=Object.assign(Object.assign({},qo),me.locale);return Jo(ie.createElement(zu,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${ca}-separator`},ie.createElement(Gt,null)),disabled:wo,ref:da,dropdownAlign:rl(Ia,It),placeholder:Qu(xi,io,ln),suffixIcon:Ai,prevIcon:ie.createElement("span",{className:`${ca}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${ca}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${ca}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${ca}-super-next-icon`}),transitionName:`${Rn}-slide-up`},un,Wr,{className:Te()({[`${ca}-${$r}`]:$r,[`${ca}-borderless`]:!jn},(0,Pu.Z)(ca,(0,Pu.F)(ko,wn),gr),po,tr,rt,On),locale:xi.lang,prefixCls:ca,getPopupContainer:ft||ba,generateConfig:ce,components:_u,direction:Ia,dropdownClassName:Te()(po,cn||Dn,On),allowClear:Yu(zt,Dt,ie.createElement(lt.Z,null))})))})}var Xl=function(ce,ge){var me={};for(var Ie in ce)Object.prototype.hasOwnProperty.call(ce,Ie)&&ge.indexOf(Ie)<0&&(me[Ie]=ce[Ie]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ie=Object.getOwnPropertySymbols(ce);Me<Ie.length;Me++)ge.indexOf(Ie[Me])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ie[Me])&&(me[Ie[Me]]=ce[Ie[Me]]);return me};function gs(ce){function ge(Lt,Ot){const jn=Ot==="TimePicker"?"timePicker":"datePicker",ln=(0,ie.forwardRef)((cn,Dn)=>{const{prefixCls:wn,getPopupContainer:Dt,style:zt,className:On,rootClassName:un,size:da,bordered:Fa=!0,placement:Ia,placeholder:ba,popupClassName:ca,dropdownClassName:kr,disabled:tr,status:xr,clearIcon:qr,allowClear:io}=cn,Rn=Xl(cn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Jo,direction:po,getPopupContainer:Wr,[jn]:$r}=(0,ie.useContext)(Nu.E_),Bo=Jo("picker",wn),{compactSize:wo,compactItemClassnames:so}=(0,ki.ri)(Bo,po),gr=ie.useRef(null),{format:ko,showTime:Mo}=cn,[Ai,qo]=Ru(Bo);(0,ie.useImperativeHandle)(Dn,()=>({focus:()=>{var yi;return(yi=gr.current)===null||yi===void 0?void 0:yi.focus()},blur:()=>{var yi;return(yi=gr.current)===null||yi===void 0?void 0:yi.blur()}}));const xi={showToday:!0};let Ur={};Lt&&(Ur.picker=Lt);const di=Lt||cn.picker;Ur=Object.assign(Object.assign(Object.assign({},Ur),Mo?yu(Object.assign({format:ko,picker:di},Mo)):{}),di==="time"?yu(Object.assign(Object.assign({format:ko},cn),{picker:di})):{});const Pi=Jo(),_i=(0,Vu.Z)(yi=>{var Bl;return(Bl=da!=null?da:wo)!==null&&Bl!==void 0?Bl:yi}),pi=ie.useContext(iu.Z),Xi=tr!=null?tr:pi,gl=(0,ie.useContext)(Iu.aM),{hasFeedback:Gr,status:Eo,feedbackIcon:Ao}=gl,hi=ie.createElement(ie.Fragment,null,di==="time"?ie.createElement(gt,null):ie.createElement(Re,null),Gr&&Ao),[Ti]=(0,Ou.Z)("DatePicker",Wu.Z),ni=Object.assign(Object.assign({},Ti),cn.locale);return Ai(ie.createElement(Lu,Object.assign({ref:gr,placeholder:ku(ni,di,ba),suffixIcon:hi,dropdownAlign:rl(po,Ia),prevIcon:ie.createElement("span",{className:`${Bo}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Bo}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Bo}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Bo}-super-next-icon`}),transitionName:`${Pi}-slide-up`},xi,Rn,Ur,{locale:ni.lang,className:Te()({[`${Bo}-${_i}`]:_i,[`${Bo}-borderless`]:!Fa},(0,Pu.Z)(Bo,(0,Pu.F)(Eo,xr),Gr),qo,so,$r==null?void 0:$r.className,On,un),style:Object.assign(Object.assign({},$r==null?void 0:$r.style),zt),prefixCls:Bo,getPopupContainer:Dt||Wr,generateConfig:ce,components:_u,direction:po,disabled:Xi,dropdownClassName:Te()(qo,un,ca||kr),allowClear:Yu(io,qr,ie.createElement(lt.Z,null))})))});return Ot&&(ln.displayName=Ot),ln}const me=ge(),Ie=ge("week","WeekPicker"),Me=ge("month","MonthPicker"),ft=ge("year","YearPicker"),rt=ge("time","TimePicker"),It=ge("quarter","QuarterPicker");return{DatePicker:me,WeekPicker:Ie,MonthPicker:Me,YearPicker:ft,TimePicker:rt,QuarterPicker:It}}const Os=null;function ms(ce){const{DatePicker:ge,WeekPicker:me,MonthPicker:Ie,YearPicker:Me,TimePicker:ft,QuarterPicker:rt}=gs(ce),It=Yn(ce),Lt=ge;return Lt.WeekPicker=me,Lt.MonthPicker=Ie,Lt.YearPicker=Me,Lt.RangePicker=It,Lt.TimePicker=ft,Lt.QuarterPicker=rt,Lt}var Ju=ms;const ql=Ju(te);function mi(ce){const ge=rl(ce.direction,ce.placement);return ge.overflow.adjustY=!1,ge.overflow.adjustX=!1,Object.assign(Object.assign({},ce),{dropdownAlign:ge})}const Tu=(0,ae.Z)(ql,"picker",null,mi);ql._InternalPanelDoNotUseOrYouWillBeFired=Tu;const Xu=(0,ae.Z)(ql.RangePicker,"picker",null,mi);ql._InternalRangePanelDoNotUseOrYouWillBeFired=Xu,ql.generatePicker=Ju;var fs=ql},39722:function(Et,Mt,re){"use strict";re.d(Mt,{t5:function(){return Le}});var b=re(92310),pe=re.n(b),we=re(55477),Ae=re(59301),_e=re(36355),Ue=re(77578),De=re(17356),tt=function(Ge,Je){var le={};for(var E in Ge)Object.prototype.hasOwnProperty.call(Ge,E)&&Je.indexOf(E)<0&&(le[E]=Ge[E]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Ge);a<E.length;a++)Je.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(Ge,E[a])&&(le[E[a]]=Ge[E[a]]);return le};const Oe=(Ge,Je,le)=>{if(!(!Je&&!le))return Ae.createElement(Ae.Fragment,null,Je&&Ae.createElement("div",{className:`${Ge}-title`},(0,Ue.Z)(Je)),Ae.createElement("div",{className:`${Ge}-inner-content`},(0,Ue.Z)(le)))},Le=Ge=>{const{hashId:Je,prefixCls:le,className:E,style:a,placement:x="top",title:y,content:z,children:te}=Ge;return Ae.createElement("div",{className:pe()(Je,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Ae.createElement("div",{className:`${le}-arrow`}),Ae.createElement(we.G,Object.assign({},Ge,{className:Je,prefixCls:le}),te||Oe(le,y,z)))},ke=Ge=>{const{prefixCls:Je}=Ge,le=tt(Ge,["prefixCls"]),{getPrefixCls:E}=Ae.useContext(_e.E_),a=E("popover",Je),[x,y]=(0,De.Z)(a);return x(Ae.createElement(Le,Object.assign({},le,{prefixCls:a,hashId:y})))};Mt.ZP=ke},60324:function(Et,Mt,re){"use strict";var b=re(92310),pe=re.n(b),we=re(59301),Ae=re(77578),_e=re(62892),Ue=re(36355),De=re(6848),tt=re(39722),Oe=re(17356),Le=function(Je,le){var E={};for(var a in Je)Object.prototype.hasOwnProperty.call(Je,a)&&le.indexOf(a)<0&&(E[a]=Je[a]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Je);x<a.length;x++)le.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Je,a[x])&&(E[a[x]]=Je[a[x]]);return E};const ke=Je=>{let{title:le,content:E,prefixCls:a}=Je;return we.createElement(we.Fragment,null,le&&we.createElement("div",{className:`${a}-title`},(0,Ae.Z)(le)),we.createElement("div",{className:`${a}-inner-content`},(0,Ae.Z)(E)))},Ge=we.forwardRef((Je,le)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:te="hover",mouseEnterDelay:ae=.1,mouseLeaveDelay:se=.1,overlayStyle:ie={}}=Je,he=Le(Je,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=we.useContext(Ue.E_),He=be("popover",E),[Ne,dt]=(0,Oe.Z)(He),Re=be(),Ke=pe()(y,dt);return Ne(we.createElement(De.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:ae,mouseLeaveDelay:se,overlayStyle:ie},he,{prefixCls:He,overlayClassName:Ke,ref:le,overlay:a||x?we.createElement(ke,{prefixCls:He,title:a,content:x}):null,transitionName:(0,_e.m)(Re,"zoom-big",he.transitionName),"data-popover-inject":!0})))});Ge._InternalPanelDoNotUseOrYouWillBeFired=tt.ZP,Mt.Z=Ge},17356:function(Et,Mt,re){"use strict";var b=re(17313),pe=re(29878),we=re(19447),Ae=re(33166),_e=re(83116),Ue=re(37613);const De=Le=>{const{componentCls:ke,popoverColor:Ge,minWidth:Je,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:te,colorBgElevated:ae,popoverBg:se}=Le;return[{[ke]:Object.assign(Object.assign({},(0,b.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":ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ke}-content`]:{position:"relative"},[`${ke}-inner`]:{backgroundColor:se,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${ke}-title`]:{minWidth:Je,marginBottom:te,color:x,fontWeight:le},[`${ke}-inner-content`]:{color:Ge}})},(0,we.ZP)(Le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ke}-pure`]:{position:"relative",maxWidth:"none",margin:Le.sizePopupArrow,display:"inline-block",[`${ke}-content`]:{display:"inline-block"}}}]},tt=Le=>{const{componentCls:ke}=Le;return{[ke]:Ae.i.map(Ge=>{const Je=Le[`${Ge}6`];return{[`&${ke}-${Ge}`]:{"--antd-arrow-background-color":Je,[`${ke}-inner`]:{backgroundColor:Je},[`${ke}-arrow`]:{background:"transparent"}}}})}},Oe=Le=>{const{componentCls:ke,lineWidth:Ge,lineType:Je,colorSplit:le,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Le,te=a-Math.round(x*y),ae=te/2,se=te/2-Ge,ie=z;return{[ke]:{[`${ke}-inner`]:{padding:0},[`${ke}-title`]:{margin:0,padding:`${ae}px ${ie}px ${se}px`,borderBottom:`${Ge}px ${Je} ${le}`},[`${ke}-inner-content`]:{padding:`${E}px ${ie}px`}}}};Mt.Z=(0,_e.Z)("Popover",Le=>{const{colorBgElevated:ke,colorText:Ge,wireframe:Je}=Le,le=(0,Ue.TS)(Le,{popoverPadding:12,popoverBg:ke,popoverColor:Ge});return[De(le),tt(le),Je&&Oe(le),(0,pe._y)(le,"zoom-big")]},Le=>({width:177,minWidth:177,zIndexPopup:Le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},12563:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return dt}});var b=re(59301),pe=re(99267),we=re(92310),Ae=re.n(we),_e=re(36785),Ue=re(47729),De=re(14088),tt=re(36355),Oe=re(17313),Le=re(37613),ke=re(83116);const Ge=Re=>{const{paddingXXS:Ke,lineWidth:We,tagPaddingHorizontal:$e,componentCls:xe}=Re,gt=$e-We,lt=Ke-We;return{[xe]:Object.assign(Object.assign({},(0,Oe.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",[`&${xe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Re.defaultColor},[`${xe}-close-icon`]:{marginInlineStart:lt,color:Re.colorTextDescription,fontSize:Re.tagIconSize,cursor:"pointer",transition:`all ${Re.motionDurationMid}`,"&:hover":{color:Re.colorTextHeading}},[`&${xe}-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(${xe}-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}}),[`${xe}-borderless`]:{borderColor:"transparent",background:Re.tagBorderlessBg}}},Je=Re=>{const{lineWidth:Ke,fontSizeIcon:We}=Re,$e=Re.fontSizeSM,xe=`${Re.lineHeightSM*$e}px`;return(0,Le.TS)(Re,{tagFontSize:$e,tagLineHeight:xe,tagIconSize:We-2*Ke,tagPaddingHorizontal:8,tagBorderlessBg:Re.colorFillTertiary})},le=Re=>({defaultBg:Re.colorFillQuaternary,defaultColor:Re.colorText});var E=(0,ke.Z)("Tag",Re=>{const Ke=Je(Re);return Ge(Ke)},le),a=function(Re,Ke){var We={};for(var $e in Re)Object.prototype.hasOwnProperty.call(Re,$e)&&Ke.indexOf($e)<0&&(We[$e]=Re[$e]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,$e=Object.getOwnPropertySymbols(Re);xe<$e.length;xe++)Ke.indexOf($e[xe])<0&&Object.prototype.propertyIsEnumerable.call(Re,$e[xe])&&(We[$e[xe]]=Re[$e[xe]]);return We},y=Re=>{const{prefixCls:Ke,style:We,className:$e,checked:xe,onChange:gt,onClick:lt}=Re,At=a(Re,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:mt,tag:En}=b.useContext(tt.E_),sn=Rt=>{gt==null||gt(!xe),lt==null||lt(Rt)},Gt=mt("tag",Ke),[_t,Te]=E(Gt),ot=Ae()(Gt,`${Gt}-checkable`,{[`${Gt}-checkable-checked`]:xe},En==null?void 0:En.className,$e,Te);return _t(b.createElement("span",Object.assign({},At,{style:Object.assign(Object.assign({},We),En==null?void 0:En.style),className:ot,onClick:sn})))},z=re(45157);const te=Re=>(0,z.Z)(Re,(Ke,We)=>{let{textColor:$e,lightBorderColor:xe,lightColor:gt,darkColor:lt}=We;return{[`${Re.componentCls}-${Ke}`]:{color:$e,background:gt,borderColor:xe,"&-inverse":{color:Re.colorTextLightSolid,background:lt,borderColor:lt},[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,ke.b)(["Tag","preset"],Re=>{const Ke=Je(Re);return te(Ke)},le);function se(Re){return typeof Re!="string"?Re:Re.charAt(0).toUpperCase()+Re.slice(1)}const ie=(Re,Ke,We)=>{const $e=se(We);return{[`${Re.componentCls}-${Ke}`]:{color:Re[`color${We}`],background:Re[`color${$e}Bg`],borderColor:Re[`color${$e}Border`],[`&${Re.componentCls}-borderless`]:{borderColor:"transparent"}}}};var he=(0,ke.b)(["Tag","status"],Re=>{const Ke=Je(Re);return[ie(Ke,"success","Success"),ie(Ke,"processing","Info"),ie(Ke,"error","Error"),ie(Ke,"warning","Warning")]},le),be=function(Re,Ke){var We={};for(var $e in Re)Object.prototype.hasOwnProperty.call(Re,$e)&&Ke.indexOf($e)<0&&(We[$e]=Re[$e]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,$e=Object.getOwnPropertySymbols(Re);xe<$e.length;xe++)Ke.indexOf($e[xe])<0&&Object.prototype.propertyIsEnumerable.call(Re,$e[xe])&&(We[$e[xe]]=Re[$e[xe]]);return We};const He=(Re,Ke)=>{const{prefixCls:We,className:$e,rootClassName:xe,style:gt,children:lt,icon:At,color:mt,onClose:En,closeIcon:sn,closable:Gt,bordered:_t=!0}=Re,Te=be(Re,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ot,direction:Rt,tag:pn}=b.useContext(tt.E_),[bt,dn]=b.useState(!0);b.useEffect(()=>{"visible"in Te&&dn(Te.visible)},[Te.visible]);const Ce=(0,_e.o2)(mt),it=(0,_e.yT)(mt),Qt=Ce||it,nt=Object.assign(Object.assign({backgroundColor:mt&&!Qt?mt:void 0},pn==null?void 0:pn.style),gt),ht=ot("tag",We),[Tn,kt]=E(ht),yt=Ae()(ht,pn==null?void 0:pn.className,{[`${ht}-${mt}`]:Qt,[`${ht}-has-color`]:mt&&!Qt,[`${ht}-hidden`]:!bt,[`${ht}-rtl`]:Rt==="rtl",[`${ht}-borderless`]:!_t},$e,xe,kt),Pt=Kn=>{Kn.stopPropagation(),En==null||En(Kn),!Kn.defaultPrevented&&dn(!1)},[,Gn]=(0,Ue.Z)(Gt,sn,Kn=>Kn===null?b.createElement(pe.Z,{className:`${ht}-close-icon`,onClick:Pt}):b.createElement("span",{className:`${ht}-close-icon`,onClick:Pt},Kn),null,!1),Vn=typeof Te.onClick=="function"||lt&&lt.type==="a",rn=At||null,ta=rn?b.createElement(b.Fragment,null,rn,lt&&b.createElement("span",null,lt)):lt,Sa=b.createElement("span",Object.assign({},Te,{ref:Ke,className:yt,style:nt}),ta,Gn,Ce&&b.createElement(ae,{key:"preset",prefixCls:ht}),it&&b.createElement(he,{key:"status",prefixCls:ht}));return Tn(Vn?b.createElement(De.Z,{component:"Tag"},Sa):Sa)},Ne=b.forwardRef(He);Ne.CheckableTag=y;var dt=Ne},98228:function(Et,Mt,re){"use strict";re.d(Mt,{default:function(){return Mr}});var b=re(92310),pe=re.n(b),we=re(72308),Ae=re(80702),_e=re(77321),Ue=re(52487),De=re(74416),tt=re(62853),Oe=re(77861),Le=re(17115),ke=re(90782),Ge=re(18929),Je=re(48736),le=re(59301),E=function(Nt){var Bn=le.useRef({valueLabels:new Map});return le.useMemo(function(){var na=Bn.current.valueLabels,pa=new Map,Be=Nt.map(function(at){var ct,Ct=at.value,St=(ct=at.label)!==null&&ct!==void 0?ct:na.get(Ct);return pa.set(Ct,St),(0,_e.Z)((0,_e.Z)({},at),{},{label:St})});return Bn.current.valueLabels=pa,[Be]},[Nt])},a=function(Nt,Bn,na,pa){return le.useMemo(function(){var Be=Nt.map(function(St){var vn=St.value;return vn}),at=Bn.map(function(St){var vn=St.value;return vn}),ct=Be.filter(function(St){return!pa[St]});if(na){var Ct=(0,ke.S)(Be,!0,pa);Be=Ct.checkedKeys,at=Ct.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ae.Z)(ct),(0,Ae.Z)(Be)))),at]},[Nt,Bn,na,pa])},x=re(71430),y=function(Nt,Bn){return le.useMemo(function(){var na=(0,x.I8)(Nt,{fieldNames:Bn,initWrapper:function(Be){return(0,_e.Z)((0,_e.Z)({},Be),{},{valueEntities:new Map})},processEntity:function(Be,at){var ct=Be.node[Bn.value];if(0)var Ct;at.valueEntities.set(ct,Be)}});return na},[Nt,Bn])},z=re(49618),te=re(11592),ae=function(){return null},se=ae,ie=["children","value"];function he(Nt){return(0,te.Z)(Nt).map(function(Bn){if(!le.isValidElement(Bn)||!Bn.type)return null;var na=Bn,pa=na.key,Be=na.props,at=Be.children,ct=Be.value,Ct=(0,De.Z)(Be,ie),St=(0,_e.Z)({key:pa,value:ct},Ct),vn=he(at);return vn.length&&(St.children=vn),St}).filter(function(Bn){return Bn})}function be(Nt){if(!Nt)return Nt;var Bn=(0,_e.Z)({},Nt);return"props"in Bn||Object.defineProperty(Bn,"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."),Bn}}),Bn}function He(Nt,Bn,na,pa,Be,at){var ct=null,Ct=null;function St(){function vn(qt){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return qt.map(function(Qe,Tt){var gn="".concat(ze,"-").concat(Tt),Sn=Qe[at.value],ua=na.includes(Sn),Jn=vn(Qe[at.children]||[],gn,ua),In=le.createElement(se,Qe,Jn.map(function(Un){return Un.node}));if(Bn===Sn&&(ct=In),ua){var $n={pos:gn,node:In,children:Jn};return qe||Ct.push($n),$n}return null}).filter(function(Qe){return Qe})}Ct||(Ct=[],vn(pa),Ct.sort(function(qt,ze){var qe=qt.node.props.value,Qe=ze.node.props.value,Tt=na.indexOf(qe),gn=na.indexOf(Qe);return Tt-gn}))}Object.defineProperty(Nt,"triggerNode",{get:function(){return(0,Je.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),St(),ct}}),Object.defineProperty(Nt,"allCheckedNodes",{get:function(){return(0,Je.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),St(),Be?Ct:Ct.map(function(qt){var ze=qt.node;return ze})}})}var Ne=function(Nt,Bn,na){var pa=na.treeNodeFilterProp,Be=na.filterTreeNode,at=na.fieldNames,ct=at.children;return le.useMemo(function(){if(!Bn||Be===!1)return Nt;var Ct;if(typeof Be=="function")Ct=Be;else{var St=Bn.toUpperCase();Ct=function(ze,qe){var Qe=qe[pa];return String(Qe).toUpperCase().includes(St)}}function vn(qt){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return qt.reduce(function(qe,Qe){var Tt=Qe[ct],gn=ze||Ct(Bn,be(Qe)),Sn=vn(Tt||[],gn);return(gn||Sn.length)&&qe.push((0,_e.Z)((0,_e.Z)({},Qe),{},(0,z.Z)({isLeaf:void 0},ct,Sn))),qe},[])}return vn(Nt)},[Nt,Bn,ct,pa,Be])};function dt(Nt){var Bn=le.useRef();Bn.current=Nt;var na=le.useCallback(function(){return Bn.current.apply(Bn,arguments)},[]);return na}function Re(Nt,Bn){var na=Bn.id,pa=Bn.pId,Be=Bn.rootPId,at={},ct=[],Ct=Nt.map(function(St){var vn=(0,_e.Z)({},St),qt=vn[na];return at[qt]=vn,vn.key=vn.key||qt,vn});return Ct.forEach(function(St){var vn=St[pa],qt=at[vn];qt&&(qt.children=qt.children||[],qt.children.push(St)),(vn===Be||!qt&&Be===null)&&ct.push(St)}),ct}function Ke(Nt,Bn,na){return le.useMemo(function(){return Nt?na?Re(Nt,(0,_e.Z)({id:"id",pId:"pId",rootPId:null},na!==!0?na:{})):Nt:he(Bn)},[Bn,na,Nt])}var We=le.createContext(null),$e=We,xe=re(10228),gt=re(80547),lt=re(54844),At=le.createContext(null),mt=At;function En(Nt){return Array.isArray(Nt)?Nt:Nt!==void 0?[Nt]:[]}function sn(Nt){var Bn=Nt||{},na=Bn.label,pa=Bn.value,Be=Bn.children,at=pa||"value";return{_title:na?[na]:["title","label"],value:at,key:at,children:Be||"children"}}function Gt(Nt){return!Nt||Nt.disabled||Nt.disableCheckbox||Nt.checkable===!1}function _t(Nt,Bn){var na=[];function pa(Be){Be.forEach(function(at){var ct=at[Bn.children];ct&&(na.push(at[Bn.value]),pa(ct))})}return pa(Nt),na}function Te(Nt){return Nt==null}var ot={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Rt=function(Bn,na){var pa=(0,Oe.lk)(),Be=pa.prefixCls,at=pa.multiple,ct=pa.searchValue,Ct=pa.toggleOpen,St=pa.open,vn=pa.notFoundContent,qt=le.useContext(mt),ze=qt.virtual,qe=qt.listHeight,Qe=qt.listItemHeight,Tt=qt.treeData,gn=qt.fieldNames,Sn=qt.onSelect,ua=qt.dropdownMatchSelectWidth,Jn=qt.treeExpandAction,In=le.useContext($e),$n=In.checkable,Un=In.checkedKeys,Ut=In.halfCheckedKeys,Na=In.treeExpandedKeys,nr=In.treeDefaultExpandAll,uo=In.treeDefaultExpandedKeys,Wa=In.onTreeExpand,Vt=In.treeIcon,zr=In.showTreeIcon,Aa=In.switcherIcon,dr=In.treeLine,or=In.treeNodeFilterProp,Jr=In.loadData,Br=In.treeLoadedKeys,ar=In.treeMotion,cr=In.onTreeLoad,ma=In.keyEntities,an=le.useRef(),ir=(0,gt.Z)(function(){return Tt},[St,Tt],function(fr,_r){return _r[0]&&fr[1]!==_r[1]}),Er=le.useState(null),Ar=(0,Ue.Z)(Er,2),Ka=Ar[0],An=Ar[1],ia=ma[Ka],Qn=le.useMemo(function(){return $n?{checked:Un,halfChecked:Ut}:null},[$n,Un,Ut]);le.useEffect(function(){if(St&&!at&&Un.length){var fr;(fr=an.current)===null||fr===void 0||fr.scrollTo({key:Un[0]}),An(Un[0])}},[St]);var Hn=String(ct).toLowerCase(),er=function(_r){return Hn?String(_r[or]).toLowerCase().includes(Hn):!1},Pr=le.useState(uo),hr=(0,Ue.Z)(Pr,2),mr=hr[0],ja=hr[1],ho=le.useState(null),Po=(0,Ue.Z)(ho,2),Ci=Po[0],yr=Po[1],Fr=le.useMemo(function(){return Na?(0,Ae.Z)(Na):ct?Ci:mr},[mr,Ci,Na,ct]);le.useEffect(function(){ct&&yr(_t(Tt,gn))},[ct]);var mo=function(_r){ja(_r),yr(_r),Wa&&Wa(_r)},Xr=function(_r){_r.preventDefault()},fo=function(_r,Go){var So=Go.node;$n&&Gt(So)||(Sn(So.key,{selected:!Un.includes(So.key)}),at||Ct(!1))};if(le.useImperativeHandle(na,function(){var fr;return{scrollTo:(fr=an.current)===null||fr===void 0?void 0:fr.scrollTo,onKeyDown:function(Go){var So,Qa=Go.which;switch(Qa){case xe.Z.UP:case xe.Z.DOWN:case xe.Z.LEFT:case xe.Z.RIGHT:(So=an.current)===null||So===void 0||So.onKeyDown(Go);break;case xe.Z.ENTER:{if(ia){var zo=(ia==null?void 0:ia.node)||{},Qo=zo.selectable,oi=zo.value;Qo!==!1&&fo(null,{node:{key:Ka},selected:!Un.includes(oi)})}break}case xe.Z.ESC:Ct(!1)}},onKeyUp:function(){}}}),ir.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Be,"-empty"),onMouseDown:Xr},vn);var Vr={fieldNames:gn};return Br&&(Vr.loadedKeys=Br),Fr&&(Vr.expandedKeys=Fr),le.createElement("div",{onMouseDown:Xr},ia&&St&&le.createElement("span",{style:ot,"aria-live":"assertive"},ia.node.value),le.createElement(lt.Z,(0,we.Z)({ref:an,focusable:!1,prefixCls:"".concat(Be,"-tree"),treeData:ir,height:qe,itemHeight:Qe,virtual:ze!==!1&&ua!==!1,multiple:at,icon:Vt,showIcon:zr,switcherIcon:Aa,showLine:dr,loadData:ct?null:Jr,motion:ar,activeKey:Ka,checkable:$n,checkStrictly:!0,checkedKeys:Qn,selectedKeys:$n?[]:Un,defaultExpandAll:nr},Vr,{onActiveChange:An,onSelect:fo,onCheck:fo,onExpand:mo,onLoad:cr,filterTreeNode:er,expandAction:Jn})))},pn=le.forwardRef(Rt);pn.displayName="OptionList";var bt=pn,dn="SHOW_ALL",Ce="SHOW_PARENT",it="SHOW_CHILD";function Qt(Nt,Bn,na,pa){var Be=new Set(Nt);return Bn===it?Nt.filter(function(at){var ct=na[at];return!(ct&&ct.children&&ct.children.some(function(Ct){var St=Ct.node;return Be.has(St[pa.value])})&&ct.children.every(function(Ct){var St=Ct.node;return Gt(St)||Be.has(St[pa.value])}))}):Bn===Ce?Nt.filter(function(at){var ct=na[at],Ct=ct?ct.parent:null;return!(Ct&&!Gt(Ct.node)&&Be.has(Ct.key))}):Nt}function nt(Nt){var Bn=Nt.searchPlaceholder,na=Nt.treeCheckStrictly,pa=Nt.treeCheckable,Be=Nt.labelInValue,at=Nt.value,ct=Nt.multiple;warning(!Bn,"`searchPlaceholder` has been removed."),na&&Be===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Be||na)&&warning(toArray(at).every(function(Ct){return Ct&&_typeof(Ct)==="object"&&"value"in Ct}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),na||ct||pa?warning(!at||Array.isArray(at),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(at),"`value` should not be array when `TreeSelect` is single mode.")}var ht=null,Tn=["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 kt(Nt){return!Nt||(0,tt.Z)(Nt)!=="object"}var yt=le.forwardRef(function(Nt,Bn){var na=Nt.id,pa=Nt.prefixCls,Be=pa===void 0?"rc-tree-select":pa,at=Nt.value,ct=Nt.defaultValue,Ct=Nt.onChange,St=Nt.onSelect,vn=Nt.onDeselect,qt=Nt.searchValue,ze=Nt.inputValue,qe=Nt.onSearch,Qe=Nt.autoClearSearchValue,Tt=Qe===void 0?!0:Qe,gn=Nt.filterTreeNode,Sn=Nt.treeNodeFilterProp,ua=Sn===void 0?"value":Sn,Jn=Nt.showCheckedStrategy,In=Nt.treeNodeLabelProp,$n=Nt.multiple,Un=Nt.treeCheckable,Ut=Nt.treeCheckStrictly,Na=Nt.labelInValue,nr=Nt.fieldNames,uo=Nt.treeDataSimpleMode,Wa=Nt.treeData,Vt=Nt.children,zr=Nt.loadData,Aa=Nt.treeLoadedKeys,dr=Nt.onTreeLoad,or=Nt.treeDefaultExpandAll,Jr=Nt.treeExpandedKeys,Br=Nt.treeDefaultExpandedKeys,ar=Nt.onTreeExpand,cr=Nt.treeExpandAction,ma=Nt.virtual,an=Nt.listHeight,ir=an===void 0?200:an,Er=Nt.listItemHeight,Ar=Er===void 0?20:Er,Ka=Nt.onDropdownVisibleChange,An=Nt.dropdownMatchSelectWidth,ia=An===void 0?!0:An,Qn=Nt.treeLine,Hn=Nt.treeIcon,er=Nt.showTreeIcon,Pr=Nt.switcherIcon,hr=Nt.treeMotion,mr=(0,De.Z)(Nt,Tn),ja=(0,Le.ZP)(na),ho=Un&&!Ut,Po=Un||Ut,Ci=Ut||Na,yr=Po||$n,Fr=(0,Ge.Z)(ct,{value:at}),mo=(0,Ue.Z)(Fr,2),Xr=mo[0],fo=mo[1],Vr=le.useMemo(function(){return Un?Jn||it:dn},[Jn,Un]),fr=le.useMemo(function(){return sn(nr)},[JSON.stringify(nr)]),_r=(0,Ge.Z)("",{value:qt!==void 0?qt:ze,postState:function(Ha){return Ha||""}}),Go=(0,Ue.Z)(_r,2),So=Go[0],Qa=Go[1],zo=function(Ha){Qa(Ha),qe==null||qe(Ha)},Qo=Ke(Wa,Vt,uo),oi=y(Qo,fr),Lr=oi.keyEntities,ti=oi.valueEntities,Se=le.useCallback(function(ao){var Ha=[],bo=[];return ao.forEach(function(Nr){ti.has(Nr)?bo.push(Nr):Ha.push(Nr)}),{missingRawValues:Ha,existRawValues:bo}},[ti]),xt=Ne(Qo,So,{fieldNames:fr,treeNodeFilterProp:ua,filterTreeNode:gn}),Jt=le.useCallback(function(ao){if(ao){if(In)return ao[In];for(var Ha=fr._title,bo=0;bo<Ha.length;bo+=1){var Nr=ao[Ha[bo]];if(Nr!==void 0)return Nr}}},[fr,In]),yn=le.useCallback(function(ao){var Ha=En(ao);return Ha.map(function(bo){return kt(bo)?{value:bo}:bo})},[]),Bt=le.useCallback(function(ao){var Ha=yn(ao);return Ha.map(function(bo){var Nr=bo.label,Mi=bo.value,ci=bo.halfChecked,Oo,Yo=ti.get(Mi);if(Yo){var li;Nr=(li=Nr)!==null&&li!==void 0?li:Jt(Yo.node),Oo=Yo.node.disabled}else if(Nr===void 0){var gi=yn(Xr).find(function(Fl){return Fl.value===Mi});Nr=gi.label}return{label:Nr,value:Mi,halfChecked:ci,disabled:Oo}})},[ti,Jt,yn,Xr]),zn=le.useMemo(function(){return yn(Xr)},[yn,Xr]),Xn=le.useMemo(function(){var ao=[],Ha=[];return zn.forEach(function(bo){bo.halfChecked?Ha.push(bo):ao.push(bo)}),[ao,Ha]},[zn]),hn=(0,Ue.Z)(Xn,2),xn=hn[0],Ga=hn[1],Zn=le.useMemo(function(){return xn.map(function(ao){return ao.value})},[xn]),nn=a(xn,Ga,ho,Lr),Yt=(0,Ue.Z)(nn,2),bn=Yt[0],Ba=Yt[1],vr=le.useMemo(function(){var ao=Qt(bn,Vr,Lr,fr),Ha=ao.map(function(ci){var Oo,Yo,li;return(Oo=(Yo=Lr[ci])===null||Yo===void 0||(li=Yo.node)===null||li===void 0?void 0:li[fr.value])!==null&&Oo!==void 0?Oo:ci}),bo=Ha.map(function(ci){var Oo=xn.find(function(Yo){return Yo.value===ci});return{value:ci,label:Oo==null?void 0:Oo.label}}),Nr=Bt(bo),Mi=Nr[0];return!yr&&Mi&&Te(Mi.value)&&Te(Mi.label)?[]:Nr.map(function(ci){var Oo;return(0,_e.Z)((0,_e.Z)({},ci),{},{label:(Oo=ci.label)!==null&&Oo!==void 0?Oo:ci.value})})},[fr,yr,bn,xn,Bt,Vr,Lr]),to=E(vr),vo=(0,Ue.Z)(to,1),Xo=vo[0],Co=dt(function(ao,Ha,bo){var Nr=Bt(ao);if(fo(Nr),Tt&&Qa(""),Ct){var Mi=ao;if(ho){var ci=Qt(ao,Vr,Lr,fr);Mi=ci.map(function(dl){var Ml=ti.get(dl);return Ml?Ml.node[fr.value]:dl})}var Oo=Ha||{triggerValue:void 0,selected:void 0},Yo=Oo.triggerValue,li=Oo.selected,gi=Mi;if(Ut){var Fl=Ga.filter(function(dl){return!Mi.includes(dl.value)});gi=[].concat((0,Ae.Z)(gi),(0,Ae.Z)(Fl))}var tl=Bt(gi),nl={preValue:xn,triggerValue:Yo},al=!0;(Ut||bo==="selection"&&!li)&&(al=!1),He(nl,Yo,ao,Qo,al,fr),Po?nl.checked=li:nl.selected=li;var ou=Ci?tl:tl.map(function(dl){return dl.value});Ct(yr?ou:ou[0],Ci?null:tl.map(function(dl){return dl.label}),nl)}}),Oi=le.useCallback(function(ao,Ha){var bo,Nr=Ha.selected,Mi=Ha.source,ci=Lr[ao],Oo=ci==null?void 0:ci.node,Yo=(bo=Oo==null?void 0:Oo[fr.value])!==null&&bo!==void 0?bo:ao;if(!yr)Co([Yo],{selected:!0,triggerValue:Yo},"option");else{var li=Nr?[].concat((0,Ae.Z)(Zn),[Yo]):bn.filter(function(Ml){return Ml!==Yo});if(ho){var gi=Se(li),Fl=gi.missingRawValues,tl=gi.existRawValues,nl=tl.map(function(Ml){return ti.get(Ml).key}),al;if(Nr){var ou=(0,ke.S)(nl,!0,Lr);al=ou.checkedKeys}else{var dl=(0,ke.S)(nl,{checked:!1,halfCheckedKeys:Ba},Lr);al=dl.checkedKeys}li=[].concat((0,Ae.Z)(Fl),(0,Ae.Z)(al.map(function(Ml){return Lr[Ml].node[fr.value]})))}Co(li,{selected:Nr,triggerValue:Yo},Mi||"option")}Nr||!yr?St==null||St(Yo,be(Oo)):vn==null||vn(Yo,be(Oo))},[Se,ti,Lr,fr,yr,Zn,Co,ho,St,vn,bn,Ba]),si=le.useCallback(function(ao){if(Ka){var Ha={};Object.defineProperty(Ha,"documentClickClose",{get:function(){return(0,Je.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ka(ao,Ha)}},[Ka]),el=dt(function(ao,Ha){var bo=ao.map(function(Nr){return Nr.value});if(Ha.type==="clear"){Co(bo,{},"selection");return}Ha.values.length&&Oi(Ha.values[0].value,{selected:!1,source:"selection"})}),ii=le.useMemo(function(){return{virtual:ma,dropdownMatchSelectWidth:ia,listHeight:ir,listItemHeight:Ar,treeData:xt,fieldNames:fr,onSelect:Oi,treeExpandAction:cr}},[ma,ia,ir,Ar,xt,fr,Oi,cr]),Ol=le.useMemo(function(){return{checkable:Po,loadData:zr,treeLoadedKeys:Aa,onTreeLoad:dr,checkedKeys:bn,halfCheckedKeys:Ba,treeDefaultExpandAll:or,treeExpandedKeys:Jr,treeDefaultExpandedKeys:Br,onTreeExpand:ar,treeIcon:Hn,treeMotion:hr,showTreeIcon:er,switcherIcon:Pr,treeLine:Qn,treeNodeFilterProp:ua,keyEntities:Lr}},[Po,zr,Aa,dr,bn,Ba,or,Jr,Br,ar,Hn,hr,er,Pr,Qn,ua,Lr]);return le.createElement(mt.Provider,{value:ii},le.createElement($e.Provider,{value:Ol},le.createElement(Oe.Ac,(0,we.Z)({ref:Bn},mr,{id:ja,prefixCls:Be,mode:yr?"multiple":void 0,displayValues:Xo,onDisplayValuesChange:el,searchValue:So,onSearch:zo,OptionList:bt,emptyOptions:!Qo.length,onDropdownVisibleChange:si,dropdownMatchSelectWidth:ia}))))}),Pt=yt;Pt.TreeNode=se,Pt.SHOW_ALL=dn,Pt.SHOW_PARENT=Ce,Pt.SHOW_CHILD=it;var Gn=Pt,Vn=Gn,rn=re(2738),ta=re(53487),Sa=re(62892),Kn=re(19080),Nn=re(36355),ha=re(1684),Oa=re(93891),ka=re(19716),va=re(32441),Ua=re(14154),Za=re(58582),ga=re(84443),Ra=re(66339),qa=re(33234),_n=re(71997),Pn=re(98447),jt=re(37613),on=re(83116),Ca=re(20648);const xa=Nt=>{const{componentCls:Bn,treePrefixCls:na,colorBgElevated:pa}=Nt,Be=`.${na}`;return[{[`${Bn}-dropdown`]:[{padding:`${Nt.paddingXS}px ${Nt.paddingXS/2}px`},(0,Ca.Yk)(na,(0,jt.TS)(Nt,{colorBgContainer:pa})),{[Be]:{borderRadius:0,[`${Be}-list-holder-inner`]:{alignItems:"stretch",[`${Be}-treenode`]:{[`${Be}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Pn.C2)(`${na}-checkbox`,Nt),{"&-rtl":{direction:"rtl",[`${Be}-switcher${Be}-switcher_close`]:{[`${Be}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Ta(Nt,Bn){return(0,on.Z)("TreeSelect",na=>{const pa=(0,jt.TS)(na,{treePrefixCls:Bn});return[xa(pa)]},Ca.TM)(Nt)}var La=function(Nt,Bn){var na={};for(var pa in Nt)Object.prototype.hasOwnProperty.call(Nt,pa)&&Bn.indexOf(pa)<0&&(na[pa]=Nt[pa]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,pa=Object.getOwnPropertySymbols(Nt);Be<pa.length;Be++)Bn.indexOf(pa[Be])<0&&Object.prototype.propertyIsEnumerable.call(Nt,pa[Be])&&(na[pa[Be]]=Nt[pa[Be]]);return na};const za=(Nt,Bn)=>{var na,{prefixCls:pa,size:Be,disabled:at,bordered:ct=!0,className:Ct,rootClassName:St,treeCheckable:vn,multiple:qt,listHeight:ze=256,listItemHeight:qe=26,placement:Qe,notFoundContent:Tt,switcherIcon:gn,treeLine:Sn,getPopupContainer:ua,popupClassName:Jn,dropdownClassName:In,treeIcon:$n=!1,transitionName:Un,choiceTransitionName:Ut="",status:Na,treeExpandAction:nr,builtinPlacements:uo,dropdownMatchSelectWidth:Wa,popupMatchSelectWidth:Vt,allowClear:zr}=Nt,Aa=La(Nt,["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:dr,getPrefixCls:or,renderEmpty:Jr,direction:Br,virtual:ar,popupMatchSelectWidth:cr,popupOverflow:ma}=le.useContext(Nn.E_),an=or(),ir=or("select",pa),Er=or("select-tree",pa),Ar=or("tree-select",pa),{compactSize:Ka,compactItemClassnames:An}=(0,qa.ri)(ir,Br),[ia,Qn]=(0,Ua.Z)(ir),[Hn]=Ta(Ar,Er),er=pe()(Jn||In,`${Ar}-dropdown`,{[`${Ar}-dropdown-rtl`]:Br==="rtl"},St,Qn),Pr=!!(vn||qt),hr=(0,ga.Z)(Aa.suffixIcon,Aa.showArrow),mr=(na=Vt!=null?Vt:Wa)!==null&&na!==void 0?na:cr,{status:ja,hasFeedback:ho,isFormItemInput:Po,feedbackIcon:Ci}=le.useContext(va.aM),yr=(0,Kn.F)(ja,Na),{suffixIcon:Fr,removeIcon:mo,clearIcon:Xr}=(0,Ra.Z)(Object.assign(Object.assign({},Aa),{multiple:Pr,showSuffixIcon:hr,hasFeedback:ho,feedbackIcon:Ci,prefixCls:ir,componentName:"TreeSelect"})),fo=zr===!0?{clearIcon:Xr}:zr;let Vr;Tt!==void 0?Vr=Tt:Vr=(Jr==null?void 0:Jr("Select"))||le.createElement(Oa.Z,{componentName:"Select"});const fr=(0,rn.Z)(Aa,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),_r=le.useMemo(()=>Qe!==void 0?Qe:Br==="rtl"?"bottomRight":"bottomLeft",[Qe,Br]),Go=(0,Za.Z)(uo,ma),So=(0,ka.Z)(ti=>{var Se;return(Se=Be!=null?Be:Ka)!==null&&Se!==void 0?Se:ti}),Qa=le.useContext(ha.Z),zo=at!=null?at:Qa,Qo=pe()(!pa&&Ar,{[`${ir}-lg`]:So==="large",[`${ir}-sm`]:So==="small",[`${ir}-rtl`]:Br==="rtl",[`${ir}-borderless`]:!ct,[`${ir}-in-form-item`]:Po},(0,Kn.Z)(ir,yr,ho),An,Ct,St,Qn),oi=ti=>le.createElement(_n.Z,{prefixCls:Er,switcherIcon:gn,treeNodeProps:ti,showLine:Sn}),Lr=le.createElement(Vn,Object.assign({virtual:ar,disabled:zo},fr,{dropdownMatchSelectWidth:mr,builtinPlacements:Go,ref:Bn,prefixCls:ir,className:Qo,listHeight:ze,listItemHeight:qe,treeCheckable:vn&&le.createElement("span",{className:`${ir}-tree-checkbox-inner`}),treeLine:!!Sn,suffixIcon:Fr,multiple:Pr,placement:_r,removeIcon:mo,allowClear:fo,switcherIcon:oi,showTreeIcon:$n,notFoundContent:Vr,getPopupContainer:ua||dr,treeMotion:null,dropdownClassName:er,choiceTransitionName:(0,Sa.m)(an,"",Ut),transitionName:(0,Sa.m)(an,"slide-up",Un),treeExpandAction:nr}));return ia(Hn(Lr))},$a=le.forwardRef(za),oa=(0,ta.Z)($a);$a.TreeNode=se,$a.SHOW_ALL=dn,$a.SHOW_PARENT=Ce,$a.SHOW_CHILD=it,$a._InternalPanelDoNotUseOrYouWillBeFired=oa;var Mr=$a},24334:function(Et,Mt,re){var b,pe;(function(we,Ae){Et.exports=Ae(we)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof re.g!="undefined"?re.g:this,function(we){"use strict";we=we||{};var Ae=we.Base64,_e="2.6.4",Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",De=function(We){for(var $e={},xe=0,gt=We.length;xe<gt;xe++)$e[We.charAt(xe)]=xe;return $e}(Ue),tt=String.fromCharCode,Oe=function(We){if(We.length<2){var $e=We.charCodeAt(0);return $e<128?We:$e<2048?tt(192|$e>>>6)+tt(128|$e&63):tt(224|$e>>>12&15)+tt(128|$e>>>6&63)+tt(128|$e&63)}else{var $e=65536+(We.charCodeAt(0)-55296)*1024+(We.charCodeAt(1)-56320);return tt(240|$e>>>18&7)+tt(128|$e>>>12&63)+tt(128|$e>>>6&63)+tt(128|$e&63)}},Le=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ke=function(We){return We.replace(Le,Oe)},Ge=function(We){var $e=[0,2,1][We.length%3],xe=We.charCodeAt(0)<<16|(We.length>1?We.charCodeAt(1):0)<<8|(We.length>2?We.charCodeAt(2):0),gt=[Ue.charAt(xe>>>18),Ue.charAt(xe>>>12&63),$e>=2?"=":Ue.charAt(xe>>>6&63),$e>=1?"=":Ue.charAt(xe&63)];return gt.join("")},Je=we.btoa&&typeof we.btoa=="function"?function(We){return we.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,Ge)},le=function(We){return Je(ke(String(We)))},E=function(We){return We.replace(/[+\/]/g,function($e){return $e=="+"?"-":"_"}).replace(/=/g,"")},a=function(We,$e){return $e?E(le(We)):le(We)},x=function(We){return a(We,!0)},y;we.Uint8Array&&(y=function(We,$e){for(var xe="",gt=0,lt=We.length;gt<lt;gt+=3){var At=We[gt],mt=We[gt+1],En=We[gt+2],sn=At<<16|mt<<8|En;xe+=Ue.charAt(sn>>>18)+Ue.charAt(sn>>>12&63)+(typeof mt!="undefined"?Ue.charAt(sn>>>6&63):"=")+(typeof En!="undefined"?Ue.charAt(sn&63):"=")}return $e?E(xe):xe});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(We){switch(We.length){case 4:var $e=(7&We.charCodeAt(0))<<18|(63&We.charCodeAt(1))<<12|(63&We.charCodeAt(2))<<6|63&We.charCodeAt(3),xe=$e-65536;return tt((xe>>>10)+55296)+tt((xe&1023)+56320);case 3:return tt((15&We.charCodeAt(0))<<12|(63&We.charCodeAt(1))<<6|63&We.charCodeAt(2));default:return tt((31&We.charCodeAt(0))<<6|63&We.charCodeAt(1))}},ae=function(We){return We.replace(z,te)},se=function(We){var $e=We.length,xe=$e%4,gt=($e>0?De[We.charAt(0)]<<18:0)|($e>1?De[We.charAt(1)]<<12:0)|($e>2?De[We.charAt(2)]<<6:0)|($e>3?De[We.charAt(3)]:0),lt=[tt(gt>>>16),tt(gt>>>8&255),tt(gt&255)];return lt.length-=[0,0,2,1][xe],lt.join("")},ie=we.atob&&typeof we.atob=="function"?function(We){return we.atob(We)}:function(We){return We.replace(/\S{1,4}/g,se)},he=function(We){return ie(String(We).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(We){return ae(ie(We))},He=function(We){return String(We).replace(/[-_]/g,function($e){return $e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ne=function(We){return be(He(We))},dt;we.Uint8Array&&(dt=function(We){return Uint8Array.from(he(He(We)),function($e){return $e.charCodeAt(0)})});var Re=function(){var We=we.Base64;return we.Base64=Ae,We};if(we.Base64={VERSION:_e,atob:he,btoa:Je,fromBase64:Ne,toBase64:a,utob:ke,encode:a,encodeURI:x,btou:ae,decode:Ne,noConflict:Re,fromUint8Array:y,toUint8Array:dt},typeof Object.defineProperty=="function"){var Ke=function(We){return{value:We,enumerable:!1,writable:!0,configurable:!0}};we.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ke(function(){return Ne(this)})),Object.defineProperty(String.prototype,"toBase64",Ke(function(We){return a(this,We)})),Object.defineProperty(String.prototype,"toBase64URI",Ke(function(){return a(this,!0)}))}}return we.Meteor&&(Base64=we.Base64),Et.exports?Et.exports.Base64=we.Base64:(b=[],pe=function(){return we.Base64}.apply(Mt,b),pe!==void 0&&(Et.exports=pe)),{Base64:we.Base64}})},12921:function(Et,Mt,re){"use strict";re.d(Mt,{Z5:function(){return Yl},_l:function(){return Hd},bK:function(){return ed}});var b=re(59301),pe=re(60039);function we(ee,ne){ee.prototype=Object.create(ne.prototype),ee.prototype.constructor=ee,(0,pe.Z)(ee,ne)}var Ae=re(72308),_e=re(59781),Ue=b.createContext(null),De=null;function tt(ee){ee()}var Oe=tt,Le=function(ne){return Oe=ne},ke=function(){return Oe};function Ge(){var ee=ke(),ne=null,oe=null;return{clear:function(){ne=null,oe=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,ye=oe={callback:fe,next:null,prev:oe};return ye.prev?ye.prev.next=ye:ne=ye,function(){!ve||ne===null||(ve=!1,ye.next?ye.next.prev=ye.prev:oe=ye.prev,ye.prev?ye.prev.next=ye.next:ne=ye.next)}}}}var Je={notify:function(){},get:function(){return[]}};function le(ee,ne){var oe,de=Je;function fe(je){return Ze(),de.subscribe(je)}function ve(){de.notify()}function ye(){Xe.onStateChange&&Xe.onStateChange()}function Fe(){return!!oe}function Ze(){oe||(oe=ne?ne.addNestedSub(ye):ee.subscribe(ye),de=Ge())}function et(){oe&&(oe(),oe=void 0,de.clear(),de=Je)}var Xe={addNestedSub:fe,notifyNestedSubs:ve,handleChangeWrapper:ye,isSubscribed:Fe,trySubscribe:Ze,tryUnsubscribe:et,getListeners:function(){return de}};return Xe}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(ee){var ne=ee.store,oe=ee.context,de=ee.children,fe=(0,b.useMemo)(function(){var Fe=le(ne);return{store:ne,subscription:Fe}},[ne]),ve=(0,b.useMemo)(function(){return ne.getState()},[ne]);E(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 ye=oe||Ue;return b.createElement(ye.Provider,{value:fe},de)}var x=a,y=re(87488),z=re(94266),te=re.n(z),ae=re(53410),se=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],he=[],be=[null,null],He=function(ne){try{return JSON.stringify(ne)}catch(oe){return String(ne)}};function Ne(ee,ne){var oe=ee[1];return[ne.payload,oe+1]}function dt(ee,ne,oe){E(function(){return ee.apply(void 0,ne)},oe)}function Re(ee,ne,oe,de,fe,ve,ye){ee.current=de,ne.current=fe,oe.current=!1,ve.current&&(ve.current=null,ye())}function Ke(ee,ne,oe,de,fe,ve,ye,Fe,Ze,et){if(ee){var Xe=!1,je=null,Ve=function(){if(!Xe){var ea=ne.getState(),sa,fa;try{sa=de(ea,fe.current)}catch(Ma){fa=Ma,je=Ma}fa||(je=null),sa===ve.current?ye.current||Ze():(ve.current=sa,Fe.current=sa,ye.current=!0,et({type:"STORE_UPDATED",payload:{error:fa}}))}};oe.onStateChange=Ve,oe.trySubscribe(),Ve();var st=function(){if(Xe=!0,oe.tryUnsubscribe(),oe.onStateChange=null,je)throw je};return st}}var We=function(){return[null,0]};function $e(ee,ne){ne===void 0&&(ne={});var oe=ne,de=oe.getDisplayName,fe=de===void 0?function(Hr){return"ConnectAdvanced("+Hr+")"}:de,ve=oe.methodName,ye=ve===void 0?"connectAdvanced":ve,Fe=oe.renderCountProp,Ze=Fe===void 0?void 0:Fe,et=oe.shouldHandleStateChanges,Xe=et===void 0?!0:et,je=oe.storeKey,Ve=je===void 0?"store":je,st=oe.withRef,Ht=st===void 0?!1:st,ea=oe.forwardRef,sa=ea===void 0?!1:ea,fa=oe.context,Ma=fa===void 0?Ue:fa,Va=(0,y.Z)(oe,se);if(0)var Xa;var eo=Ma;return function(Fo){var Ni=Fo.displayName||Fo.name||"Component",Do=fe(Ni),Ii=(0,Ae.Z)({},Va,{getDisplayName:fe,methodName:ye,renderCountProp:Ze,shouldHandleStateChanges:Xe,storeKey:Ve,displayName:Do,wrappedComponentName:Ni,WrappedComponent:Fo}),sl=Va.pure;function pl(hl){return ee(hl.dispatch,Ii)}var vu=sl?b.useMemo:function(hl){return hl()};function cu(hl){var xu=(0,b.useMemo)(function(){var Fs=hl.reactReduxForwardedRef,zs=(0,y.Z)(hl,ie);return[hl.context,Fs,zs]},[hl]),hu=xu[0],Ps=xu[1],ju=xu[2],Du=(0,b.useMemo)(function(){return hu&&hu.Consumer&&(0,ae.isContextConsumer)(b.createElement(hu.Consumer,null))?hu:eo},[hu,eo]),Su=(0,b.useContext)(Du),Hu=!!hl.store&&!!hl.store.getState&&!!hl.store.dispatch,xs=!!Su&&!!Su.store,Eu=Hu?hl.store:Su.store,ys=(0,b.useMemo)(function(){return pl(Eu)},[Eu]),Ds=(0,b.useMemo)(function(){if(!Xe)return be;var Fs=le(Eu,Hu?null:Su.subscription),zs=Fs.notifyNestedSubs.bind(Fs);return[Fs,zs]},[Eu,Hu,Su]),ns=Ds[0],ws=Ds[1],Ls=(0,b.useMemo)(function(){return Hu?Su:(0,Ae.Z)({},Su,{subscription:ns})},[Hu,Su,ns]),td=(0,b.useReducer)(Ne,he,We),Yd=td[0],Ns=Yd[0],Kd=td[1];if(Ns&&Ns.error)throw Ns.error;var nd=(0,b.useRef)(),Gs=(0,b.useRef)(ju),Is=(0,b.useRef)(),ad=(0,b.useRef)(!1),js=vu(function(){return Is.current&&ju===Gs.current?Is.current:ys(Eu.getState(),ju)},[Eu,Ns,ju]);dt(Re,[Gs,nd,ad,ju,js,Is,ws]),dt(Ke,[Xe,Eu,ns,ys,Gs,nd,ad,Is,ws,Kd],[Eu,ns,ys]);var Hs=(0,b.useMemo)(function(){return b.createElement(Fo,(0,Ae.Z)({},js,{ref:Ps}))},[Ps,Fo,js]),Jd=(0,b.useMemo)(function(){return Xe?b.createElement(Du.Provider,{value:Ls},Hs):Hs},[Du,Hs,Ls]);return Jd}var Kl=sl?b.memo(cu):cu;if(Kl.WrappedComponent=Fo,Kl.displayName=cu.displayName=Do,sa){var pu=b.forwardRef(function(xu,hu){return b.createElement(Kl,(0,Ae.Z)({},xu,{reactReduxForwardedRef:hu}))});return pu.displayName=Do,pu.WrappedComponent=Fo,te()(pu,Fo)}return te()(Kl,Fo)}}function xe(ee,ne){return ee===ne?ee!==0||ne!==0||1/ee===1/ne:ee!==ee&&ne!==ne}function gt(ee,ne){if(xe(ee,ne))return!0;if(typeof ee!="object"||ee===null||typeof ne!="object"||ne===null)return!1;var oe=Object.keys(ee),de=Object.keys(ne);if(oe.length!==de.length)return!1;for(var fe=0;fe<oe.length;fe++)if(!Object.prototype.hasOwnProperty.call(ne,oe[fe])||!xe(ee[oe[fe]],ne[oe[fe]]))return!1;return!0}function lt(ee,ne){var oe={},de=function(ye){var Fe=ee[ye];typeof Fe=="function"&&(oe[ye]=function(){return ne(Fe.apply(void 0,arguments))})};for(var fe in ee)de(fe);return oe}function At(ee){return function(oe,de){var fe=ee(oe,de);function ve(){return fe}return ve.dependsOnOwnProps=!1,ve}}function mt(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function En(ee,ne){return function(de,fe){var ve=fe.displayName,ye=function(Ze,et){return ye.dependsOnOwnProps?ye.mapToProps(Ze,et):ye.mapToProps(Ze)};return ye.dependsOnOwnProps=!0,ye.mapToProps=function(Ze,et){ye.mapToProps=ee,ye.dependsOnOwnProps=mt(ee);var Xe=ye(Ze,et);return typeof Xe=="function"&&(ye.mapToProps=Xe,ye.dependsOnOwnProps=mt(Xe),Xe=ye(Ze,et)),Xe},ye}}function sn(ee){return typeof ee=="function"?En(ee,"mapDispatchToProps"):void 0}function Gt(ee){return ee?void 0:At(function(ne){return{dispatch:ne}})}function _t(ee){return ee&&typeof ee=="object"?At(function(ne){return lt(ee,ne)}):void 0}var Te=[sn,Gt,_t];function ot(ee){return typeof ee=="function"?En(ee,"mapStateToProps"):void 0}function Rt(ee){return ee?void 0:At(function(){return{}})}var pn=[ot,Rt];function bt(ee,ne,oe){return(0,Ae.Z)({},oe,ee,ne)}function dn(ee){return function(oe,de){var fe=de.displayName,ve=de.pure,ye=de.areMergedPropsEqual,Fe=!1,Ze;return function(Xe,je,Ve){var st=ee(Xe,je,Ve);return Fe?(!ve||!ye(st,Ze))&&(Ze=st):(Fe=!0,Ze=st),Ze}}}function Ce(ee){return typeof ee=="function"?dn(ee):void 0}function it(ee){return ee?void 0:function(){return bt}}var Qt=[Ce,it],nt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ht(ee,ne,oe,de){return function(ve,ye){return oe(ee(ve,ye),ne(de,ye),ye)}}function Tn(ee,ne,oe,de,fe){var ve=fe.areStatesEqual,ye=fe.areOwnPropsEqual,Fe=fe.areStatePropsEqual,Ze=!1,et,Xe,je,Ve,st;function Ht(Va,Xa){return et=Va,Xe=Xa,je=ee(et,Xe),Ve=ne(de,Xe),st=oe(je,Ve,Xe),Ze=!0,st}function ea(){return je=ee(et,Xe),ne.dependsOnOwnProps&&(Ve=ne(de,Xe)),st=oe(je,Ve,Xe),st}function sa(){return ee.dependsOnOwnProps&&(je=ee(et,Xe)),ne.dependsOnOwnProps&&(Ve=ne(de,Xe)),st=oe(je,Ve,Xe),st}function fa(){var Va=ee(et,Xe),Xa=!Fe(Va,je);return je=Va,Xa&&(st=oe(je,Ve,Xe)),st}function Ma(Va,Xa){var eo=!ye(Xa,Xe),Hr=!ve(Va,et,Xa,Xe);return et=Va,Xe=Xa,eo&&Hr?ea():eo?sa():Hr?fa():st}return function(Xa,eo){return Ze?Ma(Xa,eo):Ht(Xa,eo)}}function kt(ee,ne){var oe=ne.initMapStateToProps,de=ne.initMapDispatchToProps,fe=ne.initMergeProps,ve=(0,y.Z)(ne,nt),ye=oe(ee,ve),Fe=de(ee,ve),Ze=fe(ee,ve),et=ve.pure?Tn:ht;return et(ye,Fe,Ze,ee,ve)}var yt=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Pt(ee,ne,oe){for(var de=ne.length-1;de>=0;de--){var fe=ne[de](ee);if(fe)return fe}return function(ve,ye){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+ye.wrappedComponentName+".")}}function Gn(ee,ne){return ee===ne}function Vn(ee){var ne=ee===void 0?{}:ee,oe=ne.connectHOC,de=oe===void 0?$e:oe,fe=ne.mapStateToPropsFactories,ve=fe===void 0?pn:fe,ye=ne.mapDispatchToPropsFactories,Fe=ye===void 0?Te:ye,Ze=ne.mergePropsFactories,et=Ze===void 0?Qt:Ze,Xe=ne.selectorFactory,je=Xe===void 0?kt:Xe;return function(st,Ht,ea,sa){sa===void 0&&(sa={});var fa=sa,Ma=fa.pure,Va=Ma===void 0?!0:Ma,Xa=fa.areStatesEqual,eo=Xa===void 0?Gn:Xa,Hr=fa.areOwnPropsEqual,Fo=Hr===void 0?gt:Hr,Ni=fa.areStatePropsEqual,Do=Ni===void 0?gt:Ni,Ii=fa.areMergedPropsEqual,sl=Ii===void 0?gt:Ii,pl=(0,y.Z)(fa,yt),vu=Pt(st,ve,"mapStateToProps"),cu=Pt(Ht,Fe,"mapDispatchToProps"),Kl=Pt(ea,et,"mergeProps");return de(je,(0,Ae.Z)({methodName:"connect",getDisplayName:function(hl){return"Connect("+hl+")"},shouldHandleStateChanges:!!st,initMapStateToProps:vu,initMapDispatchToProps:cu,initMergeProps:Kl,pure:Va,areStatesEqual:eo,areOwnPropsEqual:Fo,areStatePropsEqual:Do,areMergedPropsEqual:sl},pl))}}var rn=Vn();function ta(){var ee=useContext(ReactReduxContext);return ee}function Sa(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 Kn=null;function Nn(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ne();return de.dispatch}}var ha=null,Oa=function(ne,oe){return ne===oe};function ka(ee,ne,oe,de){var fe=useReducer(function(Ht){return Ht+1},0),ve=fe[1],ye=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Fe=useRef(),Ze=useRef(),et=useRef(),Xe=useRef(),je=oe.getState(),Ve;try{if(ee!==Ze.current||je!==et.current||Fe.current){var st=ee(je);Xe.current===void 0||!ne(st,Xe.current)?Ve=st:Ve=Xe.current}else Ve=Xe.current}catch(Ht){throw Fe.current&&(Ht.message+=`
The error may be correlated with this previous error:
`+Fe.current.stack+`
`),Ht}return useIsomorphicLayoutEffect(function(){Ze.current=ee,et.current=je,Xe.current=Ve,Fe.current=void 0}),useIsomorphicLayoutEffect(function(){function Ht(){try{var ea=oe.getState();if(ea===et.current)return;var sa=Ze.current(ea);if(ne(sa,Xe.current))return;Xe.current=sa,et.current=ea}catch(fa){Fe.current=fa}ve()}return ye.onStateChange=Ht,ye.trySubscribe(),Ht(),function(){return ye.tryUnsubscribe()}},[oe,ye]),Ve}function va(ee){ee===void 0&&(ee=ReactReduxContext);var ne=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,fe){fe===void 0&&(fe=Oa);var ve=ne(),ye=ve.store,Fe=ve.subscription,Ze=ka(de,fe,ye,Fe);return useDebugValue(Ze),Ze}}var Ua=null,Za=re(4676);Le(Za.unstable_batchedUpdates);function ga(ee,ne){if(ee.length!==ne.length)return!1;for(var oe=0;oe<ee.length;oe++)if(ee[oe]!==ne[oe])return!1;return!0}function Ra(ee,ne){var oe=(0,b.useState)(function(){return{inputs:ne,result:ee()}})[0],de=(0,b.useRef)(!0),fe=(0,b.useRef)(oe),ve=de.current||!!(ne&&fe.current.inputs&&ga(ne,fe.current.inputs)),ye=ve?fe.current:{inputs:ne,result:ee()};return(0,b.useEffect)(function(){de.current=!1,fe.current=ye},[ye]),ye.result}function qa(ee,ne){return Ra(function(){return ee},ne)}var _n=Ra,Pn=qa,jt=!0,on="Invariant failed";function Ca(ee,ne){if(!ee){if(jt)throw new Error(on);var oe=typeof ne=="function"?ne():ne,de=oe?"".concat(on,": ").concat(oe):on;throw new Error(de)}}var xa=function(ne){var oe=ne.top,de=ne.right,fe=ne.bottom,ve=ne.left,ye=de-ve,Fe=fe-oe,Ze={top:oe,right:de,bottom:fe,left:ve,width:ye,height:Fe,x:ve,y:oe,center:{x:(de+ve)/2,y:(fe+oe)/2}};return Ze},Ta=function(ne,oe){return{top:ne.top-oe.top,left:ne.left-oe.left,bottom:ne.bottom+oe.bottom,right:ne.right+oe.right}},La=function(ne,oe){return{top:ne.top+oe.top,left:ne.left+oe.left,bottom:ne.bottom-oe.bottom,right:ne.right-oe.right}},za=function(ne,oe){return{top:ne.top+oe.y,left:ne.left+oe.x,bottom:ne.bottom+oe.y,right:ne.right+oe.x}},sr={top:0,right:0,bottom:0,left:0},$a=function(ne){var oe=ne.borderBox,de=ne.margin,fe=de===void 0?sr:de,ve=ne.border,ye=ve===void 0?sr:ve,Fe=ne.padding,Ze=Fe===void 0?sr:Fe,et=xa(Ta(oe,fe)),Xe=xa(La(oe,ye)),je=xa(La(Xe,Ze));return{marginBox:et,borderBox:xa(oe),paddingBox:Xe,contentBox:je,margin:fe,border:ye,padding:Ze}},oa=function(ne){var oe=ne.slice(0,-2),de=ne.slice(-2);if(de!=="px")return 0;var fe=Number(oe);return isNaN(fe)&&Ca(!1),fe},Mr=function(){return{x:window.pageXOffset,y:window.pageYOffset}},Nt=function(ne,oe){var de=ne.borderBox,fe=ne.border,ve=ne.margin,ye=ne.padding,Fe=za(de,oe);return $a({borderBox:Fe,border:fe,margin:ve,padding:ye})},Bn=function(ne,oe){return oe===void 0&&(oe=Mr()),Nt(ne,oe)},na=function(ne,oe){var de={top:oa(oe.marginTop),right:oa(oe.marginRight),bottom:oa(oe.marginBottom),left:oa(oe.marginLeft)},fe={top:oa(oe.paddingTop),right:oa(oe.paddingRight),bottom:oa(oe.paddingBottom),left:oa(oe.paddingLeft)},ve={top:oa(oe.borderTopWidth),right:oa(oe.borderRightWidth),bottom:oa(oe.borderBottomWidth),left:oa(oe.borderLeftWidth)};return $a({borderBox:ne,margin:de,padding:fe,border:ve})},pa=function(ne){var oe=ne.getBoundingClientRect(),de=window.getComputedStyle(ne);return na(oe,de)},Be=Number.isNaN||function(ne){return typeof ne=="number"&&ne!==ne};function at(ee,ne){return!!(ee===ne||Be(ee)&&Be(ne))}function ct(ee,ne){if(ee.length!==ne.length)return!1;for(var oe=0;oe<ee.length;oe++)if(!at(ee[oe],ne[oe]))return!1;return!0}function Ct(ee,ne){ne===void 0&&(ne=ct);var oe,de=[],fe,ve=!1;function ye(){for(var Fe=[],Ze=0;Ze<arguments.length;Ze++)Fe[Ze]=arguments[Ze];return ve&&oe===this&&ne(Fe,de)||(fe=ee.apply(this,Fe),ve=!0,oe=this,de=Fe),fe}return ye}var St=Ct,vn=function(ne){var oe=[],de=null,fe=function(){for(var ye=arguments.length,Fe=new Array(ye),Ze=0;Ze<ye;Ze++)Fe[Ze]=arguments[Ze];oe=Fe,!de&&(de=requestAnimationFrame(function(){de=null,ne.apply(void 0,oe)}))};return fe.cancel=function(){de&&(cancelAnimationFrame(de),de=null)},fe},qt=vn,ze=!0,qe=/[ \t]{2,}/g,Qe=/^[ \t]*/gm,Tt=function(ne){return ne.replace(qe," ").replace(Qe,"").trim()},gn=function(ne){return Tt(`
%creact-beautiful-dnd
%c`+Tt(ne)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},Sn=function(ne){return[gn(ne),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ua="__react-beautiful-dnd-disable-dev-warnings";function Jn(ee,ne){var oe;ze||typeof window!="undefined"&&window[ua]||(oe=console)[ee].apply(oe,Sn(ne))}var In=Jn.bind(null,"warn"),$n=Jn.bind(null,"error");function Un(){}function Ut(ee,ne){return(0,Ae.Z)({},ee,{},ne)}function Na(ee,ne,oe){var de=ne.map(function(fe){var ve=Ut(oe,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 nr=!0,uo="Invariant failed";function Wa(ee){this.message=ee}Wa.prototype.toString=function(){return this.message};function Vt(ee,ne){if(!ee)throw nr?new Wa(uo):new Wa(uo+": "+(ne||""))}var zr=function(ee){we(ne,ee);function ne(){for(var de,fe=arguments.length,ve=new Array(fe),ye=0;ye<fe;ye++)ve[ye]=arguments[ye];return de=ee.call.apply(ee,[this].concat(ve))||this,de.callbacks=null,de.unbind=Un,de.onWindowError=function(Fe){var Ze=de.getCallbacks();Ze.isDragging()&&Ze.tryAbort();var et=Fe.error;et instanceof Wa&&Fe.preventDefault()},de.getCallbacks=function(){if(!de.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return de.callbacks},de.setCallbacks=function(Fe){de.callbacks=Fe},de}var oe=ne.prototype;return oe.componentDidMount=function(){this.unbind=Na(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(fe){if(fe instanceof Wa){this.setState({});return}throw fe},oe.render=function(){return this.props.children(this.setCallbacks)},ne}(b.Component),Aa=`
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
`,dr=function(ne){return ne+1},or=function(ne){return`
You have lifted an item in position `+dr(ne.source.index)+`
`},Jr=function(ne,oe){var de=ne.droppableId===oe.droppableId,fe=dr(ne.index),ve=dr(oe.index);return de?`
You have moved the item from position `+fe+`
to position `+ve+`
`:`
You have moved the item from position `+fe+`
in list `+ne.droppableId+`
to list `+oe.droppableId+`
in position `+ve+`
`},Br=function(ne,oe,de){var fe=oe.droppableId===de.droppableId;return fe?`
The item `+ne+`
has been combined with `+de.draggableId:`
The item `+ne+`
in list `+oe.droppableId+`
has been combined with `+de.draggableId+`
in list `+de.droppableId+`
`},ar=function(ne){var oe=ne.destination;if(oe)return Jr(ne.source,oe);var de=ne.combine;return de?Br(ne.draggableId,ne.source,de):"You are over an area that cannot be dropped on"},cr=function(ne){return`
The item has returned to its starting position
of `+dr(ne.index)+`
`},ma=function(ne){if(ne.reason==="CANCEL")return`
Movement cancelled.
`+cr(ne.source)+`
`;var oe=ne.destination,de=ne.combine;return oe?`
You have dropped the item.
`+Jr(ne.source,oe)+`
`:de?`
You have dropped the item.
`+Br(ne.draggableId,ne.source,de)+`
`:`
The item has been dropped while not over a drop area.
`+cr(ne.source)+`
`},an={dragHandleUsageInstructions:Aa,onDragStart:or,onDragUpdate:ar,onDragEnd:ma},ir={x:0,y:0},Er=function(ne,oe){return{x:ne.x+oe.x,y:ne.y+oe.y}},Ar=function(ne,oe){return{x:ne.x-oe.x,y:ne.y-oe.y}},Ka=function(ne,oe){return ne.x===oe.x&&ne.y===oe.y},An=function(ne){return{x:ne.x!==0?-ne.x:0,y:ne.y!==0?-ne.y:0}},ia=function(ne,oe,de){var fe;return de===void 0&&(de=0),fe={},fe[ne]=oe,fe[ne==="x"?"y":"x"]=de,fe},Qn=function(ne,oe){return Math.sqrt(Math.pow(oe.x-ne.x,2)+Math.pow(oe.y-ne.y,2))},Hn=function(ne,oe){return Math.min.apply(Math,oe.map(function(de){return Qn(ne,de)}))},er=function(ne){return function(oe){return{x:ne(oe.x),y:ne(oe.y)}}},Pr=function(ee,ne){var oe=xa({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 oe.width<=0||oe.height<=0?null:oe},hr=function(ne,oe){return{top:ne.top+oe.y,left:ne.left+oe.x,bottom:ne.bottom+oe.y,right:ne.right+oe.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}]},ja={top:0,right:0,bottom:0,left:0},ho=function(ne,oe){return oe?hr(ne,oe.scroll.diff.displacement):ne},Po=function(ne,oe,de){if(de&&de.increasedBy){var fe;return(0,Ae.Z)({},ne,(fe={},fe[oe.end]=ne[oe.end]+de.increasedBy[oe.line],fe))}return ne},Ci=function(ne,oe){return oe&&oe.shouldClipSubject?Pr(oe.pageMarginBox,ne):xa(ne)},yr=function(ee){var ne=ee.page,oe=ee.withPlaceholder,de=ee.axis,fe=ee.frame,ve=ho(ne.marginBox,fe),ye=Po(ve,de,oe),Fe=Ci(ye,fe);return{page:ne,withPlaceholder:oe,active:Fe}},Fr=function(ee,ne){ee.frame||Vt(!1);var oe=ee.frame,de=Ar(ne,oe.scroll.initial),fe=An(de),ve=(0,Ae.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ne,diff:{value:de,displacement:fe},max:oe.scroll.max}}),ye=yr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:ve}),Fe=(0,Ae.Z)({},ee,{frame:ve,subject:ye});return Fe};function mo(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function Xr(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ne){return ee[ne]})}function fo(ee,ne){if(ee.findIndex)return ee.findIndex(ne);for(var oe=0;oe<ee.length;oe++)if(ne(ee[oe]))return oe;return-1}function Vr(ee,ne){if(ee.find)return ee.find(ne);var oe=fo(ee,ne);if(oe!==-1)return ee[oe]}function fr(ee){return Array.prototype.slice.call(ee)}var _r=St(function(ee){return ee.reduce(function(ne,oe){return ne[oe.descriptor.id]=oe,ne},{})}),Go=St(function(ee){return ee.reduce(function(ne,oe){return ne[oe.descriptor.id]=oe,ne},{})}),So=St(function(ee){return Xr(ee)}),Qa=St(function(ee){return Xr(ee)}),zo=St(function(ee,ne){var oe=Qa(ne).filter(function(de){return ee===de.descriptor.droppableId}).sort(function(de,fe){return de.descriptor.index-fe.descriptor.index});return oe});function Qo(ee){return ee.at&&ee.at.type==="REORDER"?ee.at.destination:null}function oi(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine:null}var Lr=St(function(ee,ne){return ne.filter(function(oe){return oe.descriptor.id!==ee.descriptor.id})}),ti=function(ee){var ne=ee.isMovingForward,oe=ee.draggable,de=ee.destination,fe=ee.insideDestination,ve=ee.previousImpact;if(!de.isCombineEnabled)return null;var ye=Qo(ve);if(!ye)return null;function Fe(ea){var sa={type:"COMBINE",combine:{draggableId:ea,droppableId:de.descriptor.id}};return(0,Ae.Z)({},ve,{at:sa})}var Ze=ve.displaced.all,et=Ze.length?Ze[0]:null;if(ne)return et?Fe(et):null;var Xe=Lr(oe,fe);if(!et){if(!Xe.length)return null;var je=Xe[Xe.length-1];return Fe(je.descriptor.id)}var Ve=fo(Xe,function(ea){return ea.descriptor.id===et});Ve===-1&&Vt(!1);var st=Ve-1;if(st<0)return null;var Ht=Xe[st];return Fe(Ht.descriptor.id)},Se=function(ee,ne){return ee.descriptor.droppableId===ne.descriptor.id},xt={point:ir,value:0},Jt={invisible:{},visible:{},all:[]},yn={displaced:Jt,displacedBy:xt,at:null},Bt=function(ee,ne){return function(oe){return ee<=oe&&oe<=ne}},zn=function(ee){var ne=Bt(ee.top,ee.bottom),oe=Bt(ee.left,ee.right);return function(de){var fe=ne(de.top)&&ne(de.bottom)&&oe(de.left)&&oe(de.right);if(fe)return!0;var ve=ne(de.top)||ne(de.bottom),ye=oe(de.left)||oe(de.right),Fe=ve&&ye;if(Fe)return!0;var Ze=de.top<ee.top&&de.bottom>ee.bottom,et=de.left<ee.left&&de.right>ee.right,Xe=Ze&&et;if(Xe)return!0;var je=Ze&&ye||et&&ve;return je}},Xn=function(ee){var ne=Bt(ee.top,ee.bottom),oe=Bt(ee.left,ee.right);return function(de){var fe=ne(de.top)&&ne(de.bottom)&&oe(de.left)&&oe(de.right);return fe}},hn={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},xn={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Ga=function(ee){return function(ne){var oe=Bt(ne.top,ne.bottom),de=Bt(ne.left,ne.right);return function(fe){return ee===hn?oe(fe.top)&&oe(fe.bottom):de(fe.left)&&de(fe.right)}}},Zn=function(ne,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:ir;return hr(ne,de)},nn=function(ne,oe,de){return oe.subject.active?de(oe.subject.active)(ne):!1},Yt=function(ne,oe,de){return de(oe)(ne)},bn=function(ne){var oe=ne.target,de=ne.destination,fe=ne.viewport,ve=ne.withDroppableDisplacement,ye=ne.isVisibleThroughFrameFn,Fe=ve?Zn(oe,de):oe;return nn(Fe,de,ye)&&Yt(Fe,fe,ye)},Ba=function(ne){return bn((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:zn}))},vr=function(ne){return bn((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Xn}))},to=function(ne){return bn((0,Ae.Z)({},ne,{isVisibleThroughFrameFn:Ga(ne.destination.axis)}))},vo=function(ne,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var fe=oe.invisible,ve=oe.visible;if(fe[ne])return!1;var ye=ve[ne];return ye?ye.shouldAnimate:!0};function Xo(ee,ne){var oe=ee.page.marginBox,de={top:ne.point.y,right:0,bottom:0,left:ne.point.x};return xa(Ta(oe,de))}function Co(ee){var ne=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,fe=ee.viewport,ve=ee.forceShouldAnimate,ye=ee.last;return ne.reduce(function(Ze,et){var Xe=Xo(et,de),je=et.descriptor.id;Ze.all.push(je);var Ve=Ba({target:Xe,destination:oe,viewport:fe,withDroppableDisplacement:!0});if(!Ve)return Ze.invisible[et.descriptor.id]=!0,Ze;var st=vo(je,ye,ve),Ht={draggableId:je,shouldAnimate:st};return Ze.visible[je]=Ht,Ze},{all:[],visible:{},invisible:{}})}function Oi(ee,ne){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ne.inHomeList?oe:oe+1}function si(ee){var ne=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,fe=ee.destination,ve=Oi(ne,{inHomeList:oe});return{displaced:Jt,displacedBy:de,at:{type:"REORDER",destination:{droppableId:fe.descriptor.id,index:ve}}}}function el(ee){var ne=ee.draggable,oe=ee.insideDestination,de=ee.destination,fe=ee.viewport,ve=ee.displacedBy,ye=ee.last,Fe=ee.index,Ze=ee.forceShouldAnimate,et=Se(ne,de);if(Fe==null)return si({insideDestination:oe,inHomeList:et,displacedBy:ve,destination:de});var Xe=Vr(oe,function(ea){return ea.descriptor.index===Fe});if(!Xe)return si({insideDestination:oe,inHomeList:et,displacedBy:ve,destination:de});var je=Lr(ne,oe),Ve=oe.indexOf(Xe),st=je.slice(Ve),Ht=Co({afterDragging:st,destination:de,displacedBy:ve,last:ye,viewport:fe.frame,forceShouldAnimate:Ze});return{displaced:Ht,displacedBy:ve,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Fe}}}}function ii(ee,ne){return!!ne.effected[ee]}var Ol=function(ee){var ne=ee.isMovingForward,oe=ee.destination,de=ee.draggables,fe=ee.combine,ve=ee.afterCritical;if(!oe.isCombineEnabled)return null;var ye=fe.draggableId,Fe=de[ye],Ze=Fe.descriptor.index,et=ii(ye,ve);return et?ne?Ze:Ze-1:ne?Ze+1:Ze},ao=function(ee){var ne=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,fe=ee.location;if(!de.length)return null;var ve=fe.index,ye=ne?ve+1:ve-1,Fe=de[0].descriptor.index,Ze=de[de.length-1].descriptor.index,et=oe?Ze:Ze+1;return ye<Fe||ye>et?null:ye},Ha=function(ee){var ne=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,fe=ee.draggables,ve=ee.destination,ye=ee.insideDestination,Fe=ee.previousImpact,Ze=ee.viewport,et=ee.afterCritical,Xe=Fe.at;if(Xe||Vt(!1),Xe.type==="REORDER"){var je=ao({isMovingForward:ne,isInHomeList:oe,location:Xe.destination,insideDestination:ye});return je==null?null:el({draggable:de,insideDestination:ye,destination:ve,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:je})}var Ve=Ol({isMovingForward:ne,destination:ve,displaced:Fe.displaced,draggables:fe,combine:Xe.combine,afterCritical:et});return Ve==null?null:el({draggable:de,insideDestination:ye,destination:ve,viewport:Ze,last:Fe.displaced,displacedBy:Fe.displacedBy,index:Ve})},bo=function(ee){var ne=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,fe=ee.displacedBy,ve=!!(ne.visible[de]||ne.invisible[de]);return ii(de,oe)?ve?ir:An(fe.point):ve?fe.point:ir},Nr=function(ee){var ne=ee.afterCritical,oe=ee.impact,de=ee.draggables,fe=oi(oe);fe||Vt(!1);var ve=fe.draggableId,ye=de[ve].page.borderBox.center,Fe=bo({displaced:oe.displaced,afterCritical:ne,combineWith:ve,displacedBy:oe.displacedBy});return Er(ye,Fe)},Mi=function(ne,oe){return oe.margin[ne.start]+oe.borderBox[ne.size]/2},ci=function(ne,oe){return oe.margin[ne.end]+oe.borderBox[ne.size]/2},Oo=function(ne,oe,de){return oe[ne.crossAxisStart]+de.margin[ne.crossAxisStart]+de.borderBox[ne.crossAxisSize]/2},Yo=function(ne){var oe=ne.axis,de=ne.moveRelativeTo,fe=ne.isMoving;return ia(oe.line,de.marginBox[oe.end]+Mi(oe,fe),Oo(oe,de.marginBox,fe))},li=function(ne){var oe=ne.axis,de=ne.moveRelativeTo,fe=ne.isMoving;return ia(oe.line,de.marginBox[oe.start]-ci(oe,fe),Oo(oe,de.marginBox,fe))},gi=function(ne){var oe=ne.axis,de=ne.moveInto,fe=ne.isMoving;return ia(oe.line,de.contentBox[oe.start]+Mi(oe,fe),Oo(oe,de.contentBox,fe))},Fl=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.draggables,fe=ee.droppable,ve=ee.afterCritical,ye=zo(fe.descriptor.id,de),Fe=oe.page,Ze=fe.axis;if(!ye.length)return gi({axis:Ze,moveInto:fe.page,isMoving:Fe});var et=ne.displaced,Xe=ne.displacedBy,je=et.all[0];if(je){var Ve=de[je];if(ii(je,ve))return li({axis:Ze,moveRelativeTo:Ve.page,isMoving:Fe});var st=Nt(Ve.page,Xe.point);return li({axis:Ze,moveRelativeTo:st,isMoving:Fe})}var Ht=ye[ye.length-1];if(Ht.descriptor.id===oe.descriptor.id)return Fe.borderBox.center;if(ii(Ht.descriptor.id,ve)){var ea=Nt(Ht.page,An(ve.displacedBy.point));return Yo({axis:Ze,moveRelativeTo:ea,isMoving:Fe})}return Yo({axis:Ze,moveRelativeTo:Ht.page,isMoving:Fe})},tl=function(ee,ne){var oe=ee.frame;return oe?Er(ne,oe.scroll.diff.displacement):ne},nl=function(ne){var oe=ne.impact,de=ne.draggable,fe=ne.droppable,ve=ne.draggables,ye=ne.afterCritical,Fe=de.page.borderBox.center,Ze=oe.at;return!fe||!Ze?Fe:Ze.type==="REORDER"?Fl({impact:oe,draggable:de,draggables:ve,droppable:fe,afterCritical:ye}):Nr({impact:oe,draggables:ve,afterCritical:ye})},al=function(ee){var ne=nl(ee),oe=ee.droppable,de=oe?tl(oe,ne):ne;return de},ou=function(ee,ne){var oe=Ar(ne,ee.scroll.initial),de=An(oe),fe=xa({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:oe,displacement:de}}};return ve};function dl(ee,ne){return ee.map(function(oe){return ne[oe]})}function Ml(ee,ne){for(var oe=0;oe<ne.length;oe++){var de=ne[oe].visible[ee];if(de)return de}return null}var as=function(ee){var ne=ee.impact,oe=ee.viewport,de=ee.destination,fe=ee.draggables,ve=ee.maxScrollChange,ye=ou(oe,Er(oe.scroll.current,ve)),Fe=de.frame?Fr(de,Er(de.frame.scroll.current,ve)):de,Ze=ne.displaced,et=Co({afterDragging:dl(Ze.all,fe),destination:de,displacedBy:ne.displacedBy,viewport:ye.frame,last:Ze,forceShouldAnimate:!1}),Xe=Co({afterDragging:dl(Ze.all,fe),destination:Fe,displacedBy:ne.displacedBy,viewport:oe.frame,last:Ze,forceShouldAnimate:!1}),je={},Ve={},st=[Ze,et,Xe];Ze.all.forEach(function(ea){var sa=Ml(ea,st);if(sa){Ve[ea]=sa;return}je[ea]=!0});var Ht=(0,Ae.Z)({},ne,{displaced:{all:Ze.all,invisible:je,visible:Ve}});return Ht},Rr=function(ee,ne){return Er(ee.scroll.diff.displacement,ne)},Cu=function(ee){var ne=ee.pageBorderBoxCenter,oe=ee.draggable,de=ee.viewport,fe=Rr(de,ne),ve=Ar(fe,oe.page.borderBox.center);return Er(oe.client.borderBox.center,ve)},wu=function(ee){var ne=ee.draggable,oe=ee.destination,de=ee.newPageBorderBoxCenter,fe=ee.viewport,ve=ee.withDroppableDisplacement,ye=ee.onlyOnMainAxis,Fe=ye===void 0?!1:ye,Ze=Ar(de,ne.page.borderBox.center),et=hr(ne.page.borderBox,Ze),Xe={target:et,destination:oe,withDroppableDisplacement:ve,viewport:fe};return Fe?to(Xe):vr(Xe)},rs=function(ee){var ne=ee.isMovingForward,oe=ee.draggable,de=ee.destination,fe=ee.draggables,ve=ee.previousImpact,ye=ee.viewport,Fe=ee.previousPageBorderBoxCenter,Ze=ee.previousClientSelection,et=ee.afterCritical;if(!de.isEnabled)return null;var Xe=zo(de.descriptor.id,fe),je=Se(oe,de),Ve=ti({isMovingForward:ne,draggable:oe,destination:de,insideDestination:Xe,previousImpact:ve})||Ha({isMovingForward:ne,isInHomeList:je,draggable:oe,draggables:fe,destination:de,insideDestination:Xe,previousImpact:ve,viewport:ye,afterCritical:et});if(!Ve)return null;var st=al({impact:Ve,draggable:oe,droppable:de,draggables:fe,afterCritical:et}),Ht=wu({draggable:oe,destination:de,newPageBorderBoxCenter:st,viewport:ye.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Ht){var ea=Cu({pageBorderBoxCenter:st,draggable:oe,viewport:ye});return{clientSelection:ea,impact:Ve,scrollJumpRequest:null}}var sa=Ar(st,Fe),fa=as({impact:Ve,viewport:ye,destination:de,draggables:fe,maxScrollChange:sa});return{clientSelection:Ze,impact:fa,scrollJumpRequest:sa}},Ri=function(ne){var oe=ne.subject.active;return oe||Vt(!1),oe},zu=function(ee){var ne=ee.isMovingForward,oe=ee.pageBorderBoxCenter,de=ee.source,fe=ee.droppables,ve=ee.viewport,ye=de.subject.active;if(!ye)return null;var Fe=de.axis,Ze=Bt(ye[Fe.start],ye[Fe.end]),et=So(fe).filter(function(je){return je!==de}).filter(function(je){return je.isEnabled}).filter(function(je){return!!je.subject.active}).filter(function(je){return zn(ve.frame)(Ri(je))}).filter(function(je){var Ve=Ri(je);return ne?ye[Fe.crossAxisEnd]<Ve[Fe.crossAxisEnd]:Ve[Fe.crossAxisStart]<ye[Fe.crossAxisStart]}).filter(function(je){var Ve=Ri(je),st=Bt(Ve[Fe.start],Ve[Fe.end]);return Ze(Ve[Fe.start])||Ze(Ve[Fe.end])||st(ye[Fe.start])||st(ye[Fe.end])}).sort(function(je,Ve){var st=Ri(je)[Fe.crossAxisStart],Ht=Ri(Ve)[Fe.crossAxisStart];return ne?st-Ht:Ht-st}).filter(function(je,Ve,st){return Ri(je)[Fe.crossAxisStart]===Ri(st[0])[Fe.crossAxisStart]});if(!et.length)return null;if(et.length===1)return et[0];var Xe=et.filter(function(je){var Ve=Bt(Ri(je)[Fe.start],Ri(je)[Fe.end]);return Ve(oe[Fe.line])});return Xe.length===1?Xe[0]:Xe.length>1?Xe.sort(function(je,Ve){return Ri(je)[Fe.start]-Ri(Ve)[Fe.start]})[0]:et.sort(function(je,Ve){var st=Hn(oe,mr(Ri(je))),Ht=Hn(oe,mr(Ri(Ve)));return st!==Ht?st-Ht:Ri(je)[Fe.start]-Ri(Ve)[Fe.start]})[0]},Lu=function(ne,oe){var de=ne.page.borderBox.center;return ii(ne.descriptor.id,oe)?Ar(de,oe.displacedBy.point):de},Pu=function(ne,oe){var de=ne.page.borderBox;return ii(ne.descriptor.id,oe)?hr(de,An(oe.displacedBy.point)):de},Nu=function(ee){var ne=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,fe=ee.insideDestination,ve=ee.afterCritical,ye=fe.filter(function(Fe){return vr({target:Pu(Fe,ve),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Fe,Ze){var et=Qn(ne,tl(de,Lu(Fe,ve))),Xe=Qn(ne,tl(de,Lu(Ze,ve)));return et<Xe?-1:Xe<et?1:Fe.descriptor.index-Ze.descriptor.index});return ye[0]||null},iu=St(function(ne,oe){var de=oe[ne.line];return{value:de,point:ia(ne.line,de)}}),Vu=function(ne,oe,de){var fe=ne.axis;if(ne.descriptor.mode==="virtual")return ia(fe.line,oe[fe.line]);var ve=ne.subject.page.contentBox[fe.size],ye=zo(ne.descriptor.id,de),Fe=ye.reduce(function(Xe,je){return Xe+je.client.marginBox[fe.size]},0),Ze=Fe+oe[fe.line],et=Ze-ve;return et<=0?null:ia(fe.line,et)},Iu=function(ne,oe){return(0,Ae.Z)({},ne,{scroll:(0,Ae.Z)({},ne.scroll,{max:oe})})},Ou=function(ne,oe,de){var fe=ne.frame;Se(oe,ne)&&Vt(!1),ne.subject.withPlaceholder&&Vt(!1);var ve=iu(ne.axis,oe.displaceBy).point,ye=Vu(ne,ve,de),Fe={placeholderSize:ve,increasedBy:ye,oldFrameMaxScroll:ne.frame?ne.frame.scroll.max:null};if(!fe){var Ze=yr({page:ne.subject.page,withPlaceholder:Fe,axis:ne.axis,frame:ne.frame});return(0,Ae.Z)({},ne,{subject:Ze})}var et=ye?Er(fe.scroll.max,ye):fe.scroll.max,Xe=Iu(fe,et),je=yr({page:ne.subject.page,withPlaceholder:Fe,axis:ne.axis,frame:Xe});return(0,Ae.Z)({},ne,{subject:je,frame:Xe})},ki=function(ne){var oe=ne.subject.withPlaceholder;oe||Vt(!1);var de=ne.frame;if(!de){var fe=yr({page:ne.subject.page,axis:ne.axis,frame:null,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:fe})}var ve=oe.oldFrameMaxScroll;ve||Vt(!1);var ye=Iu(de,ve),Fe=yr({page:ne.subject.page,axis:ne.axis,frame:ye,withPlaceholder:null});return(0,Ae.Z)({},ne,{subject:Fe,frame:ye})},Wu=function(ee){var ne=ee.previousPageBorderBoxCenter,oe=ee.moveRelativeTo,de=ee.insideDestination,fe=ee.draggable,ve=ee.draggables,ye=ee.destination,Fe=ee.viewport,Ze=ee.afterCritical;if(!oe){if(de.length)return null;var et={displaced:Jt,displacedBy:xt,at:{type:"REORDER",destination:{droppableId:ye.descriptor.id,index:0}}},Xe=al({impact:et,draggable:fe,droppable:ye,draggables:ve,afterCritical:Ze}),je=Se(fe,ye)?ye:Ou(ye,fe,ve),Ve=wu({draggable:fe,destination:je,newPageBorderBoxCenter:Xe,viewport:Fe.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Ve?et:null}var st=ne[ye.axis.line]<=oe.page.borderBox.center[ye.axis.line],Ht=function(){var sa=oe.descriptor.index;return oe.descriptor.id===fe.descriptor.id||st?sa:sa+1}(),ea=iu(ye.axis,fe.displaceBy);return el({draggable:fe,insideDestination:de,destination:ye,viewport:Fe,displacedBy:ea,last:Jt,index:Ht})},Bu=function(ee){var ne=ee.isMovingForward,oe=ee.previousPageBorderBoxCenter,de=ee.draggable,fe=ee.isOver,ve=ee.draggables,ye=ee.droppables,Fe=ee.viewport,Ze=ee.afterCritical,et=zu({isMovingForward:ne,pageBorderBoxCenter:oe,source:fe,droppables:ye,viewport:Fe});if(!et)return null;var Xe=zo(et.descriptor.id,ve),je=Nu({pageBorderBoxCenter:oe,viewport:Fe,destination:et,insideDestination:Xe,afterCritical:Ze}),Ve=Wu({previousPageBorderBoxCenter:oe,destination:et,draggable:de,draggables:ve,moveRelativeTo:je,insideDestination:Xe,viewport:Fe,afterCritical:Ze});if(!Ve)return null;var st=al({impact:Ve,draggable:de,droppable:et,draggables:ve,afterCritical:Ze}),Ht=Cu({pageBorderBoxCenter:st,draggable:de,viewport:Fe});return{clientSelection:Ht,impact:Ve,scrollJumpRequest:null}},Bi=function(ee){var ne=ee.at;return ne?ne.type==="REORDER"?ne.destination.droppableId:ne.combine.droppableId:null},Au=function(ne,oe){var de=Bi(ne);return de?oe[de]:null},os=function(ee){var ne=ee.state,oe=ee.type,de=Au(ne.impact,ne.dimensions.droppables),fe=!!de,ve=ne.dimensions.droppables[ne.critical.droppable.id],ye=de||ve,Fe=ye.axis.direction,Ze=Fe==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||Fe==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(Ze&&!fe)return null;var et=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",Xe=ne.dimensions.draggables[ne.critical.draggable.id],je=ne.current.page.borderBoxCenter,Ve=ne.dimensions,st=Ve.draggables,Ht=Ve.droppables;return Ze?rs({isMovingForward:et,previousPageBorderBoxCenter:je,draggable:Xe,destination:ye,draggables:st,viewport:ne.viewport,previousClientSelection:ne.current.client.selection,previousImpact:ne.impact,afterCritical:ne.afterCritical}):Bu({isMovingForward:et,previousPageBorderBoxCenter:je,draggable:Xe,isOver:ye,draggables:st,droppables:Ht,viewport:ne.viewport,afterCritical:ne.afterCritical})};function lu(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Jl(ee){var ne=Bt(ee.top,ee.bottom),oe=Bt(ee.left,ee.right);return function(fe){return ne(fe.y)&&oe(fe.x)}}function bl(ee,ne){return ee.left<ne.right&&ee.right>ne.left&&ee.top<ne.bottom&&ee.bottom>ne.top}function Cl(ee){var ne=ee.pageBorderBox,oe=ee.draggable,de=ee.candidates,fe=oe.page.borderBox.center,ve=de.map(function(ye){var Fe=ye.axis,Ze=ia(ye.axis.line,ne.center[Fe.line],ye.page.borderBox.center[Fe.crossAxisLine]);return{id:ye.descriptor.id,distance:Qn(fe,Ze)}}).sort(function(ye,Fe){return Fe.distance-ye.distance});return ve[0]?ve[0].id:null}function is(ee){var ne=ee.pageBorderBox,oe=ee.draggable,de=ee.droppables,fe=So(de).filter(function(ve){if(!ve.isEnabled)return!1;var ye=ve.subject.active;if(!ye||!bl(ne,ye))return!1;if(Jl(ye)(ne.center))return!0;var Fe=ve.axis,Ze=ye.center[Fe.crossAxisLine],et=ne[Fe.crossAxisStart],Xe=ne[Fe.crossAxisEnd],je=Bt(ye[Fe.crossAxisStart],ye[Fe.crossAxisEnd]),Ve=je(et),st=je(Xe);return!Ve&&!st?!0:Ve?et<Ze:Xe>Ze});return fe.length?fe.length===1?fe[0].descriptor.id:Cl({pageBorderBox:ne,draggable:oe,candidates:fe}):null}var Mu=function(ne,oe){return xa(hr(ne,oe))},ls=function(ee,ne){var oe=ee.frame;return oe?Mu(ne,oe.scroll.diff.value):ne};function Ko(ee){var ne=ee.displaced,oe=ee.id;return!!(ne.visible[oe]||ne.invisible[oe])}function us(ee){var ne=ee.draggable,oe=ee.closest,de=ee.inHomeList;return oe?de&&oe.descriptor.index>ne.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var ss=function(ee){var ne=ee.pageBorderBoxWithDroppableScroll,oe=ee.draggable,de=ee.destination,fe=ee.insideDestination,ve=ee.last,ye=ee.viewport,Fe=ee.afterCritical,Ze=de.axis,et=iu(de.axis,oe.displaceBy),Xe=et.value,je=ne[Ze.start],Ve=ne[Ze.end],st=Lr(oe,fe),Ht=Vr(st,function(sa){var fa=sa.descriptor.id,Ma=sa.page.borderBox.center[Ze.line],Va=ii(fa,Fe),Xa=Ko({displaced:ve,id:fa});return Va?Xa?Ve<=Ma:je<Ma-Xe:Xa?Ve<=Ma+Xe:je<Ma}),ea=us({draggable:oe,closest:Ht,inHomeList:Se(oe,de)});return el({draggable:oe,insideDestination:fe,destination:de,viewport:ye,last:ve,displacedBy:et,index:ea})},ds=4,Uu=function(ee){var ne=ee.draggable,oe=ee.pageBorderBoxWithDroppableScroll,de=ee.previousImpact,fe=ee.destination,ve=ee.insideDestination,ye=ee.afterCritical;if(!fe.isCombineEnabled)return null;var Fe=fe.axis,Ze=iu(fe.axis,ne.displaceBy),et=Ze.value,Xe=oe[Fe.start],je=oe[Fe.end],Ve=Lr(ne,ve),st=Vr(Ve,function(ea){var sa=ea.descriptor.id,fa=ea.page.borderBox,Ma=fa[Fe.size],Va=Ma/ds,Xa=ii(sa,ye),eo=Ko({displaced:de.displaced,id:sa});return Xa?eo?je>fa[Fe.start]+Va&&je<fa[Fe.end]-Va:Xe>fa[Fe.start]-et+Va&&Xe<fa[Fe.end]-et-Va:eo?je>fa[Fe.start]+et+Va&&je<fa[Fe.end]+et-Va:Xe>fa[Fe.start]+Va&&Xe<fa[Fe.end]-Va});if(!st)return null;var Ht={displacedBy:Ze,displaced:de.displaced,at:{type:"COMBINE",combine:{draggableId:st.descriptor.id,droppableId:fe.descriptor.id}}};return Ht},Ru=function(ee){var ne=ee.pageOffset,oe=ee.draggable,de=ee.draggables,fe=ee.droppables,ve=ee.previousImpact,ye=ee.viewport,Fe=ee.afterCritical,Ze=Mu(oe.page.borderBox,ne),et=is({pageBorderBox:Ze,draggable:oe,droppables:fe});if(!et)return yn;var Xe=fe[et],je=zo(Xe.descriptor.id,de),Ve=ls(Xe,Ze);return Uu({pageBorderBoxWithDroppableScroll:Ve,draggable:oe,previousImpact:ve,destination:Xe,insideDestination:je,afterCritical:Fe})||ss({pageBorderBoxWithDroppableScroll:Ve,draggable:oe,destination:Xe,insideDestination:je,last:ve.displaced,viewport:ye,afterCritical:Fe})},ku=function(ee,ne){var oe;return(0,Ae.Z)({},ee,(oe={},oe[ne.descriptor.id]=ne,oe))},Qu=function(ne){var oe=ne.previousImpact,de=ne.impact,fe=ne.droppables,ve=Bi(oe),ye=Bi(de);if(!ve||ve===ye)return fe;var Fe=fe[ve];if(!Fe.subject.withPlaceholder)return fe;var Ze=ki(Fe);return ku(fe,Ze)},rl=function(ee){var ne=ee.draggable,oe=ee.draggables,de=ee.droppables,fe=ee.previousImpact,ve=ee.impact,ye=Qu({previousImpact:fe,impact:ve,droppables:de}),Fe=Bi(ve);if(!Fe)return ye;var Ze=de[Fe];if(Se(ne,Ze)||Ze.subject.withPlaceholder)return ye;var et=Ou(Ze,ne,oe);return ku(ye,et)},cl=function(ee){var ne=ee.state,oe=ee.clientSelection,de=ee.dimensions,fe=ee.viewport,ve=ee.impact,ye=ee.scrollJumpRequest,Fe=fe||ne.viewport,Ze=de||ne.dimensions,et=oe||ne.current.client.selection,Xe=Ar(et,ne.initial.client.selection),je={offset:Xe,selection:et,borderBoxCenter:Er(ne.initial.client.borderBoxCenter,Xe)},Ve={selection:Er(je.selection,Fe.scroll.current),borderBoxCenter:Er(je.borderBoxCenter,Fe.scroll.current),offset:Er(je.offset,Fe.scroll.diff.value)},st={client:je,page:Ve};if(ne.phase==="COLLECTING")return(0,Ae.Z)({phase:"COLLECTING"},ne,{dimensions:Ze,viewport:Fe,current:st});var Ht=Ze.draggables[ne.critical.draggable.id],ea=ve||Ru({pageOffset:Ve.offset,draggable:Ht,draggables:Ze.draggables,droppables:Ze.droppables,previousImpact:ne.impact,viewport:Fe,afterCritical:ne.afterCritical}),sa=rl({draggable:Ht,impact:ea,previousImpact:ne.impact,draggables:Ze.draggables,droppables:Ze.droppables}),fa=(0,Ae.Z)({},ne,{current:st,dimensions:{draggables:Ze.draggables,droppables:sa},impact:ea,viewport:Fe,scrollJumpRequest:ye||null,forceShouldAnimate:ye?!1:null});return fa};function yu(ee,ne){return ee.map(function(oe){return ne[oe]})}var Yu=function(ee){var ne=ee.impact,oe=ee.viewport,de=ee.draggables,fe=ee.destination,ve=ee.forceShouldAnimate,ye=ne.displaced,Fe=yu(ye.all,de),Ze=Co({afterDragging:Fe,destination:fe,displacedBy:ne.displacedBy,viewport:oe.frame,forceShouldAnimate:ve,last:ye});return(0,Ae.Z)({},ne,{displaced:Ze})},Ku=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.droppable,fe=ee.draggables,ve=ee.viewport,ye=ee.afterCritical,Fe=al({impact:ne,draggable:oe,draggables:fe,droppable:de,afterCritical:ye});return Cu({pageBorderBoxCenter:Fe,draggable:oe,viewport:ve})},ya=function(ee){var ne=ee.state,oe=ee.dimensions,de=ee.viewport;ne.movementMode!=="SNAP"&&Vt(!1);var fe=ne.impact,ve=de||ne.viewport,ye=oe||ne.dimensions,Fe=ye.draggables,Ze=ye.droppables,et=Fe[ne.critical.draggable.id],Xe=Bi(fe);Xe||Vt(!1);var je=Ze[Xe],Ve=Yu({impact:fe,viewport:ve,destination:je,draggables:Fe}),st=Ku({impact:Ve,draggable:et,droppable:je,draggables:Fe,viewport:ve,afterCritical:ne.afterCritical});return cl({impact:Ve,clientSelection:st,state:ne,dimensions:ye,viewport:ve})},cs=function(ee){return{index:ee.index,droppableId:ee.droppableId}},_u=function(ee){var ne=ee.draggable,oe=ee.home,de=ee.draggables,fe=ee.viewport,ve=iu(oe.axis,ne.displaceBy),ye=zo(oe.descriptor.id,de),Fe=ye.indexOf(ne);Fe===-1&&Vt(!1);var Ze=ye.slice(Fe+1),et=Ze.reduce(function(st,Ht){return st[Ht.descriptor.id]=!0,st},{}),Xe={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:ve,effected:et},je=Co({afterDragging:Ze,destination:oe,displacedBy:ve,last:null,viewport:fe.frame,forceShouldAnimate:!1}),Ve={displaced:je,displacedBy:ve,at:{type:"REORDER",destination:cs(ne.descriptor)}};return{impact:Ve,afterCritical:Xe}},Fu=function(ee,ne){return{draggables:ee.draggables,droppables:ku(ee.droppables,ne)}},Yn=function(ne){},Xl=function(ne){},gs=function(ee){var ne=ee.draggable,oe=ee.offset,de=ee.initialWindowScroll,fe=Nt(ne.client,oe),ve=Bn(fe,de),ye=(0,Ae.Z)({},ne,{placeholder:(0,Ae.Z)({},ne.placeholder,{client:fe}),client:fe,page:ve});return ye},Os=function(ee){var ne=ee.frame;return ne||Vt(!1),ne},ms=function(ee){var ne=ee.additions,oe=ee.updatedDroppables,de=ee.viewport,fe=de.scroll.diff.value;return ne.map(function(ve){var ye=ve.descriptor.droppableId,Fe=oe[ye],Ze=Os(Fe),et=Ze.scroll.diff.value,Xe=Er(fe,et),je=gs({draggable:ve,offset:Xe,initialWindowScroll:de.scroll.initial});return je})},Ju=function(ee){var ne=ee.state,oe=ee.published;Yn();var de=oe.modified.map(function(Va){var Xa=ne.dimensions.droppables[Va.droppableId],eo=Fr(Xa,Va.scroll);return eo}),fe=(0,Ae.Z)({},ne.dimensions.droppables,{},_r(de)),ve=Go(ms({additions:oe.additions,updatedDroppables:fe,viewport:ne.viewport})),ye=(0,Ae.Z)({},ne.dimensions.draggables,{},ve);oe.removals.forEach(function(Va){delete ye[Va]});var Fe={droppables:fe,draggables:ye},Ze=Bi(ne.impact),et=Ze?Fe.droppables[Ze]:null,Xe=Fe.draggables[ne.critical.draggable.id],je=Fe.droppables[ne.critical.droppable.id],Ve=_u({draggable:Xe,home:je,draggables:ye,viewport:ne.viewport}),st=Ve.impact,Ht=Ve.afterCritical,ea=et&&et.isCombineEnabled?ne.impact:st,sa=Ru({pageOffset:ne.current.page.offset,draggable:Fe.draggables[ne.critical.draggable.id],draggables:Fe.draggables,droppables:Fe.droppables,previousImpact:ea,viewport:ne.viewport,afterCritical:Ht});Xl();var fa=(0,Ae.Z)({phase:"DRAGGING"},ne,{phase:"DRAGGING",impact:sa,onLiftImpact:st,dimensions:Fe,afterCritical:Ht,forceShouldAnimate:!1});if(ne.phase==="COLLECTING")return fa;var Ma=(0,Ae.Z)({phase:"DROP_PENDING"},fa,{phase:"DROP_PENDING",reason:ne.reason,isWaiting:!1});return Ma},ql=function(ne){return ne.movementMode==="SNAP"},mi=function(ne,oe,de){var fe=Fu(ne.dimensions,oe);return!ql(ne)||de?cl({state:ne,dimensions:fe}):ya({state:ne,dimensions:fe})};function Tu(ee){return ee.isDragging&&ee.movementMode==="SNAP"?(0,Ae.Z)({phase:"DRAGGING"},ee,{scrollJumpRequest:null}):ee}var Xu={phase:"IDLE",completed:null,shouldFlush:!1},fs=function(ee,ne){if(ee===void 0&&(ee=Xu),ne.type==="FLUSH")return(0,Ae.Z)({},Xu,{shouldFlush:!0});if(ne.type==="INITIAL_PUBLISH"){ee.phase!=="IDLE"&&Vt(!1);var oe=ne.payload,de=oe.critical,fe=oe.clientSelection,ve=oe.viewport,ye=oe.dimensions,Fe=oe.movementMode,Ze=ye.draggables[de.draggable.id],et=ye.droppables[de.droppable.id],Xe={selection:fe,borderBoxCenter:Ze.client.borderBox.center,offset:ir},je={client:Xe,page:{selection:Er(Xe.selection,ve.scroll.initial),borderBoxCenter:Er(Xe.selection,ve.scroll.initial),offset:Er(Xe.selection,ve.scroll.diff.value)}},Ve=So(ye.droppables).every(function(Ls){return!Ls.isFixedOnPage}),st=_u({draggable:Ze,home:et,draggables:ye.draggables,viewport:ve}),Ht=st.impact,ea=st.afterCritical,sa={phase:"DRAGGING",isDragging:!0,critical:de,movementMode:Fe,dimensions:ye,initial:je,current:je,isWindowScrollAllowed:Ve,impact:Ht,afterCritical:ea,onLiftImpact:Ht,viewport:ve,scrollJumpRequest:null,forceShouldAnimate:null};return sa}if(ne.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&Vt(!1);var fa=(0,Ae.Z)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return fa}if(ne.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||Vt(!1),Ju({state:ee,published:ne.payload});if(ne.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||Vt(!1);var Ma=ne.payload.client;return Ka(Ma,ee.current.client.selection)?ee:cl({state:ee,clientSelection:Ma,impact:ql(ee)?ee.impact:null})}if(ne.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="COLLECTING")return Tu(ee);lu(ee)||Vt(!1);var Va=ne.payload,Xa=Va.id,eo=Va.newScroll,Hr=ee.dimensions.droppables[Xa];if(!Hr)return ee;var Fo=Fr(Hr,eo);return mi(ee,Fo,!1)}if(ne.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||Vt(!1);var Ni=ne.payload,Do=Ni.id,Ii=Ni.isEnabled,sl=ee.dimensions.droppables[Do];sl||Vt(!1),sl.isEnabled===Ii&&Vt(!1);var pl=(0,Ae.Z)({},sl,{isEnabled:Ii});return mi(ee,pl,!0)}if(ne.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;lu(ee)||Vt(!1);var vu=ne.payload,cu=vu.id,Kl=vu.isCombineEnabled,pu=ee.dimensions.droppables[cu];pu||Vt(!1),pu.isCombineEnabled===Kl&&Vt(!1);var hl=(0,Ae.Z)({},pu,{isCombineEnabled:Kl});return mi(ee,hl,!0)}if(ne.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;lu(ee)||Vt(!1),ee.isWindowScrollAllowed||Vt(!1);var xu=ne.payload.newScroll;if(Ka(ee.viewport.scroll.current,xu))return Tu(ee);var hu=ou(ee.viewport,xu);return ql(ee)?ya({state:ee,viewport:hu}):cl({state:ee,viewport:hu})}if(ne.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!lu(ee))return ee;var Ps=ne.payload.maxScroll;if(Ka(Ps,ee.viewport.scroll.max))return ee;var ju=(0,Ae.Z)({},ee.viewport,{scroll:(0,Ae.Z)({},ee.viewport.scroll,{max:Ps})});return(0,Ae.Z)({phase:"DRAGGING"},ee,{viewport:ju})}if(ne.type==="MOVE_UP"||ne.type==="MOVE_DOWN"||ne.type==="MOVE_LEFT"||ne.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&Vt(!1);var Du=os({state:ee,type:ne.type});return Du?cl({state:ee,impact:Du.impact,clientSelection:Du.clientSelection,scrollJumpRequest:Du.scrollJumpRequest}):ee}if(ne.type==="DROP_PENDING"){var Su=ne.payload.reason;ee.phase!=="COLLECTING"&&Vt(!1);var Hu=(0,Ae.Z)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:Su});return Hu}if(ne.type==="DROP_ANIMATE"){var xs=ne.payload,Eu=xs.completed,ys=xs.dropDuration,Ds=xs.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||Vt(!1);var ns={phase:"DROP_ANIMATING",completed:Eu,dropDuration:ys,newHomeClientOffset:Ds,dimensions:ee.dimensions};return ns}if(ne.type==="DROP_COMPLETE"){var ws=ne.payload.completed;return{phase:"IDLE",completed:ws,shouldFlush:!1}}return ee},ce=function(ne){return{type:"BEFORE_INITIAL_CAPTURE",payload:ne}},ge=function(ne){return{type:"LIFT",payload:ne}},me=function(ne){return{type:"INITIAL_PUBLISH",payload:ne}},Ie=function(ne){return{type:"PUBLISH_WHILE_DRAGGING",payload:ne}},Me=function(){return{type:"COLLECTION_STARTING",payload:null}},ft=function(ne){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ne}},rt=function(ne){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ne}},It=function(ne){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ne}},Lt=function(ne){return{type:"MOVE",payload:ne}},Ot=function(ne){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ne}},jn=function(ne){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ne}},ln=function(){return{type:"MOVE_UP",payload:null}},cn=function(){return{type:"MOVE_DOWN",payload:null}},Dn=function(){return{type:"MOVE_RIGHT",payload:null}},wn=function(){return{type:"MOVE_LEFT",payload:null}},Dt=function(){return{type:"FLUSH",payload:null}},zt=function(ne){return{type:"DROP_ANIMATE",payload:ne}},On=function(ne){return{type:"DROP_COMPLETE",payload:ne}},un=function(ne){return{type:"DROP",payload:ne}},da=function(ne){return{type:"DROP_PENDING",payload:ne}},Fa=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Ia(ee){if(!(ee.length<=1)){for(var ne=ee.map(function(Fe){return Fe.descriptor.index}),oe={},de=1;de<ne.length;de++){var fe=ne[de],ve=ne[de-1];fe!==ve+1&&(oe[fe]=!0)}if(Object.keys(oe).length)var ye=ne.map(function(Fe){var Ze=!!oe[Fe];return Ze?"[\u{1F525}"+Fe+"]":""+Fe}).join(", ")}}function ba(ee,ne){if(0)var oe}var ca=function(ee){return function(ne){var oe=ne.getState,de=ne.dispatch;return function(fe){return function(ve){if(ve.type!=="LIFT"){fe(ve);return}var ye=ve.payload,Fe=ye.id,Ze=ye.clientSelection,et=ye.movementMode,Xe=oe();Xe.phase==="DROP_ANIMATING"&&de(On({completed:Xe.completed})),oe().phase!=="IDLE"&&Vt(!1),de(Dt()),de(ce({draggableId:Fe,movementMode:et}));var je={shouldPublishImmediately:et==="SNAP"},Ve={draggableId:Fe,scrollOptions:je},st=ee.startPublishing(Ve),Ht=st.critical,ea=st.dimensions,sa=st.viewport;ba(Ht,ea),de(me({critical:Ht,dimensions:ea,clientSelection:Ze,movementMode:et,viewport:sa}))}}}},kr=function(ee){return function(){return function(ne){return function(oe){oe.type==="INITIAL_PUBLISH"&&ee.dragging(),oe.type==="DROP_ANIMATE"&&ee.dropping(oe.payload.completed.result.reason),(oe.type==="FLUSH"||oe.type==="DROP_COMPLETE")&&ee.resting(),ne(oe)}}}},tr={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},xr={opacity:{drop:0,combining:.7},scale:{drop:.75}},qr={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},io=qr.outOfTheWay+"s "+tr.outOfTheWay,Rn={fluid:"opacity "+io,snap:"transform "+io+", opacity "+io,drop:function(ne){var oe=ne+"s "+tr.drop;return"transform "+oe+", opacity "+oe},outOfTheWay:"transform "+io,placeholder:"height "+io+", width "+io+", margin "+io},Jo=function(ne){return Ka(ne,ir)?null:"translate("+ne.x+"px, "+ne.y+"px)"},po={moveTo:Jo,drop:function(ne,oe){var de=Jo(ne);return de?oe?de+" scale("+xr.scale.drop+")":de:null}},Wr=qr.minDropTime,$r=qr.maxDropTime,Bo=$r-Wr,wo=1500,so=.6,gr=function(ee){var ne=ee.current,oe=ee.destination,de=ee.reason,fe=Qn(ne,oe);if(fe<=0)return Wr;if(fe>=wo)return $r;var ve=fe/wo,ye=Wr+Bo*ve,Fe=de==="CANCEL"?ye*so:ye;return Number(Fe.toFixed(2))},ko=function(ee){var ne=ee.impact,oe=ee.draggable,de=ee.dimensions,fe=ee.viewport,ve=ee.afterCritical,ye=de.draggables,Fe=de.droppables,Ze=Bi(ne),et=Ze?Fe[Ze]:null,Xe=Fe[oe.descriptor.droppableId],je=Ku({impact:ne,draggable:oe,draggables:ye,afterCritical:ve,droppable:et||Xe,viewport:fe}),Ve=Ar(je,oe.client.borderBox.center);return Ve},Mo=function(ee){var ne=ee.draggables,oe=ee.reason,de=ee.lastImpact,fe=ee.home,ve=ee.viewport,ye=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Fe=Yu({draggables:ne,impact:ye,destination:fe,viewport:ve,forceShouldAnimate:!0});return{impact:Fe,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var Ze=(0,Ae.Z)({},de,{displaced:Jt});return{impact:Ze,didDropInsideDroppable:!0}},Ai=function(ee){var ne=ee.getState,oe=ee.dispatch;return function(de){return function(fe){if(fe.type!=="DROP"){de(fe);return}var ve=ne(),ye=fe.payload.reason;if(ve.phase==="COLLECTING"){oe(da({reason:ye}));return}if(ve.phase!=="IDLE"){var Fe=ve.phase==="DROP_PENDING"&&ve.isWaiting;Fe&&Vt(!1),ve.phase==="DRAGGING"||ve.phase==="DROP_PENDING"||Vt(!1);var Ze=ve.critical,et=ve.dimensions,Xe=et.draggables[ve.critical.draggable.id],je=Mo({reason:ye,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=je.impact,st=je.didDropInsideDroppable,Ht=st?Qo(Ve):null,ea=st?oi(Ve):null,sa={index:Ze.draggable.index,droppableId:Ze.droppable.id},fa={draggableId:Xe.descriptor.id,type:Xe.descriptor.type,source:sa,reason:ye,mode:ve.movementMode,destination:Ht,combine:ea},Ma=ko({impact:Ve,draggable:Xe,dimensions:et,viewport:ve.viewport,afterCritical:ve.afterCritical}),Va={critical:ve.critical,afterCritical:ve.afterCritical,result:fa,impact:Ve},Xa=!Ka(ve.current.client.offset,Ma)||!!fa.combine;if(!Xa){oe(On({completed:Va}));return}var eo=gr({current:ve.current.client.offset,destination:Ma,reason:ye}),Hr={newHomeClientOffset:Ma,dropDuration:eo,completed:Va};oe(zt(Hr))}}}},qo=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function xi(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ee()}}}function Ur(ee){var ne=ee.onWindowScroll;function oe(){ne(qo())}var de=qt(oe),fe=xi(de),ve=Un;function ye(){return ve!==Un}function Fe(){ye()&&Vt(!1),ve=Na(window,[fe])}function Ze(){ye()||Vt(!1),de.cancel(),ve(),ve=Un}return{start:Fe,stop:Ze,isActive:ye}}var di=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},Pi=function(ee){var ne=Ur({onWindowScroll:function(de){ee.dispatch(Ot({newScroll:de}))}});return function(oe){return function(de){!ne.isActive()&&de.type==="INITIAL_PUBLISH"&&ne.start(),ne.isActive()&&di(de)&&ne.stop(),oe(de)}}},_i=function(ee){var ne=!1,oe=!1,de=setTimeout(function(){oe=!0}),fe=function(ye){ne||oe||(ne=!0,ee(ye),clearTimeout(de))};return fe.wasCalled=function(){return ne},fe},pi=function(){var ee=[],ne=function(ve){var ye=fo(ee,function(et){return et.timerId===ve});ye===-1&&Vt(!1);var Fe=ee.splice(ye,1),Ze=Fe[0];Ze.callback()},oe=function(ve){var ye=setTimeout(function(){return ne(ye)}),Fe={timerId:ye,callback:ve};ee.push(Fe)},de=function(){if(ee.length){var ve=[].concat(ee);ee.length=0,ve.forEach(function(ye){clearTimeout(ye.timerId),ye.callback()})}};return{add:oe,flush:de}},Xi=function(ne,oe){return ne==null&&oe==null?!0:ne==null||oe==null?!1:ne.droppableId===oe.droppableId&&ne.index===oe.index},gl=function(ne,oe){return ne==null&&oe==null?!0:ne==null||oe==null?!1:ne.draggableId===oe.draggableId&&ne.droppableId===oe.droppableId},Gr=function(ne,oe){if(ne===oe)return!0;var de=ne.draggable.id===oe.draggable.id&&ne.draggable.droppableId===oe.draggable.droppableId&&ne.draggable.type===oe.draggable.type&&ne.draggable.index===oe.draggable.index,fe=ne.droppable.id===oe.droppable.id&&ne.droppable.type===oe.droppable.type;return de&&fe},Eo=function(ne,oe){Yn(),oe(),Xl()},Ao=function(ne,oe){return{draggableId:ne.draggable.id,type:ne.droppable.type,source:{droppableId:ne.droppable.id,index:ne.draggable.index},mode:oe}},hi=function(ne,oe,de,fe){if(!ne){de(fe(oe));return}var ve=_i(de),ye={announce:ve};ne(oe,ye),ve.wasCalled()||de(fe(oe))},Ti=function(ee,ne){var oe=pi(),de=null,fe=function(Ve,st){de&&Vt(!1),Eo("onBeforeCapture",function(){var Ht=ee().onBeforeCapture;if(Ht){var ea={draggableId:Ve,mode:st};Ht(ea)}})},ve=function(Ve,st){de&&Vt(!1),Eo("onBeforeDragStart",function(){var Ht=ee().onBeforeDragStart;Ht&&Ht(Ao(Ve,st))})},ye=function(Ve,st){de&&Vt(!1);var Ht=Ao(Ve,st);de={mode:st,lastCritical:Ve,lastLocation:Ht.source,lastCombine:null},oe.add(function(){Eo("onDragStart",function(){return hi(ee().onDragStart,Ht,ne,an.onDragStart)})})},Fe=function(Ve,st){var Ht=Qo(st),ea=oi(st);de||Vt(!1);var sa=!Gr(Ve,de.lastCritical);sa&&(de.lastCritical=Ve);var fa=!Xi(de.lastLocation,Ht);fa&&(de.lastLocation=Ht);var Ma=!gl(de.lastCombine,ea);if(Ma&&(de.lastCombine=ea),!(!sa&&!fa&&!Ma)){var Va=(0,Ae.Z)({},Ao(Ve,de.mode),{combine:ea,destination:Ht});oe.add(function(){Eo("onDragUpdate",function(){return hi(ee().onDragUpdate,Va,ne,an.onDragUpdate)})})}},Ze=function(){de||Vt(!1),oe.flush()},et=function(Ve){de||Vt(!1),de=null,Eo("onDragEnd",function(){return hi(ee().onDragEnd,Ve,ne,an.onDragEnd)})},Xe=function(){if(de){var Ve=(0,Ae.Z)({},Ao(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});et(Ve)}};return{beforeCapture:fe,beforeStart:ve,start:ye,update:Fe,flush:Ze,drop:et,abort:Xe}},ni=function(ee,ne){var oe=Ti(ee,ne);return function(de){return function(fe){return function(ve){if(ve.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(ve.payload.draggableId,ve.payload.movementMode);return}if(ve.type==="INITIAL_PUBLISH"){var ye=ve.payload.critical;oe.beforeStart(ye,ve.payload.movementMode),fe(ve),oe.start(ye,ve.payload.movementMode);return}if(ve.type==="DROP_COMPLETE"){var Fe=ve.payload.completed.result;oe.flush(),fe(ve),oe.drop(Fe);return}if(fe(ve),ve.type==="FLUSH"){oe.abort();return}var Ze=de.getState();Ze.phase==="DRAGGING"&&oe.update(Ze.critical,Ze.impact)}}}},yi=function(ee){return function(ne){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ne(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&Vt(!1),ee.dispatch(On({completed:de.completed}))}}},Bl=function(ee){var ne=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=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 ye={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Ze=ee.getState();Ze.phase==="DROP_ANIMATING"&&ee.dispatch(Fa())}};oe=requestAnimationFrame(function(){oe=null,ne=Na(window,[ye])})}}}},Hi=function(ee){return function(){return function(ne){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ee.stopPublishing(),ne(oe)}}}},zi=function(ee){var ne=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ne=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(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()}}}}}},$l=function(ne){return ne.type==="DROP_COMPLETE"||ne.type==="DROP_ANIMATE"||ne.type==="FLUSH"},uu=function(ee){return function(ne){return function(oe){return function(de){if($l(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var fe=ne.getState();fe.phase!=="DRAGGING"&&Vt(!1),ee.start(fe);return}oe(de),ee.scroll(ne.getState())}}}},Cn=function(ee){return function(ne){return function(oe){if(ne(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(un({reason:de.reason})))}}}},Zi=_e.qC,Sl=function(ee){var ne=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,fe=ee.getResponders,ve=ee.announce,ye=ee.autoScroller;return(0,_e.MT)(fs,Zi((0,_e.md)(kr(de),Hi(ne),ca(ne),Ai,yi,Bl,Cn,uu(ye),Pi,zi(oe),ni(fe,ve))))},Vi=function(){return{additions:{},removals:{},modified:{}}};function eu(ee){var ne=ee.registry,oe=ee.callbacks,de=Vi(),fe=null,ve=function(){fe||(oe.collectionStarting(),fe=requestAnimationFrame(function(){fe=null,Yn();var Xe=de,je=Xe.additions,Ve=Xe.removals,st=Xe.modified,Ht=Object.keys(je).map(function(fa){return ne.draggable.getById(fa).getDimension(ir)}).sort(function(fa,Ma){return fa.descriptor.index-Ma.descriptor.index}),ea=Object.keys(st).map(function(fa){var Ma=ne.droppable.getById(fa),Va=Ma.callbacks.getScrollWhileDragging();return{droppableId:fa,scroll:Va}}),sa={additions:Ht,removals:Object.keys(Ve),modified:ea};de=Vi(),Xl(),oe.publish(sa)}))},ye=function(Xe){var je=Xe.descriptor.id;de.additions[je]=Xe,de.modified[Xe.descriptor.droppableId]=!0,de.removals[je]&&delete de.removals[je],ve()},Fe=function(Xe){var je=Xe.descriptor;de.removals[je.id]=!0,de.modified[je.droppableId]=!0,de.additions[je.id]&&delete de.additions[je.id],ve()},Ze=function(){fe&&(cancelAnimationFrame(fe),fe=null,de=Vi())};return{add:ye,remove:Fe,stop:Ze}}var Rl=function(ee){var ne=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,fe=ee.width,ve=Ar({x:oe,y:ne},{x:fe,y:de}),ye={x:Math.max(0,ve.x),y:Math.max(0,ve.y)};return ye},ol=function(){var ee=document.documentElement;return ee||Vt(!1),ee},$o=function(){var ee=ol(),ne=Rl({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ne},Vo=function(){var ee=qo(),ne=$o(),oe=ee.y,de=ee.x,fe=ol(),ve=fe.clientWidth,ye=fe.clientHeight,Fe=de+ve,Ze=oe+ye,et=xa({top:oe,left:de,right:Fe,bottom:Ze}),Xe={frame:et,scroll:{initial:ee,current:ee,max:ne,diff:{value:ir,displacement:ir}}};return Xe},Wi=function(ee){var ne=ee.critical,oe=ee.scrollOptions,de=ee.registry;Yn();var fe=Vo(),ve=fe.scroll.current,ye=ne.droppable,Fe=de.droppable.getAllByType(ye.type).map(function(je){return je.callbacks.getDimensionAndWatchScroll(ve,oe)}),Ze=de.draggable.getAllByType(ne.draggable.type).map(function(je){return je.getDimension(ve)}),et={draggables:Go(Ze),droppables:_r(Fe)};Xl();var Xe={dimensions:et,critical:ne,viewport:fe};return Xe};function xo(ee,ne,oe){if(oe.descriptor.id===ne.id||oe.descriptor.type!==ne.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var il=function(ee,ne){var oe=null,de=eu({callbacks:{publish:ne.publishWhileDragging,collectionStarting:ne.collectionStarting},registry:ee}),fe=function(st,Ht){ee.droppable.exists(st)||Vt(!1),oe&&ne.updateDroppableIsEnabled({id:st,isEnabled:Ht})},ve=function(st,Ht){oe&&(ee.droppable.exists(st)||Vt(!1),ne.updateDroppableIsCombineEnabled({id:st,isCombineEnabled:Ht}))},ye=function(st,Ht){oe&&(ee.droppable.exists(st)||Vt(!1),ne.updateDroppableScroll({id:st,newScroll:Ht}))},Fe=function(st,Ht){oe&&ee.droppable.getById(st).callbacks.scroll(Ht)},Ze=function(){if(oe){de.stop();var st=oe.critical.droppable;ee.droppable.getAllByType(st.type).forEach(function(Ht){return Ht.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},et=function(st){oe||Vt(!1);var Ht=oe.critical.draggable;st.type==="ADDITION"&&xo(ee,Ht,st.value)&&de.add(st.value),st.type==="REMOVAL"&&xo(ee,Ht,st.value)&&de.remove(st.value)},Xe=function(st){oe&&Vt(!1);var Ht=ee.draggable.getById(st.draggableId),ea=ee.droppable.getById(Ht.descriptor.droppableId),sa={draggable:Ht.descriptor,droppable:ea.descriptor},fa=ee.subscribe(et);return oe={critical:sa,unsubscribe:fa},Wi({critical:sa,registry:ee,scrollOptions:st.scrollOptions})},je={updateDroppableIsEnabled:fe,updateDroppableIsCombineEnabled:ve,scrollDroppable:Fe,updateDroppableScroll:ye,startPublishing:Xe,stopPublishing:Ze};return je},Di=function(ee,ne){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ne?!1:ee.completed.result.reason==="DROP"},Al=function(ee){window.scrollBy(ee.x,ee.y)},Si=St(function(ee){return So(ee).filter(function(ne){return!(!ne.isEnabled||!ne.frame)})}),Gi=function(ne,oe){var de=Vr(Si(oe),function(fe){return fe.frame||Vt(!1),Jl(fe.frame.pageMarginBox)(ne)});return de},zl=function(ee){var ne=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var fe=de[oe];return fe.frame?fe:null}var ve=Gi(ne,de);return ve},jo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ne){return Math.pow(ne,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},qi=function(ee,ne){var oe=ee[ne.size]*jo.startFromPercentage,de=ee[ne.size]*jo.maxScrollAtPercentage,fe={startScrollingFrom:oe,maxScrollValueAt:de};return fe},xl=function(ee){var ne=ee.startOfRange,oe=ee.endOfRange,de=ee.current,fe=oe-ne;if(fe===0)return 0;var ve=de-ne,ye=ve/fe;return ye},aa=1,kl=function(ee,ne){if(ee>ne.startScrollingFrom)return 0;if(ee<=ne.maxScrollValueAt)return jo.maxPixelScroll;if(ee===ne.startScrollingFrom)return aa;var oe=xl({startOfRange:ne.maxScrollValueAt,endOfRange:ne.startScrollingFrom,current:ee}),de=1-oe,fe=jo.maxPixelScroll*jo.ease(de);return Math.ceil(fe)},ml=jo.durationDampening.accelerateAt,fl=jo.durationDampening.stopDampeningAt,_l=function(ee,ne){var oe=ne,de=fl,fe=Date.now(),ve=fe-oe;if(ve>=fl)return ee;if(ve<ml)return aa;var ye=xl({startOfRange:ml,endOfRange:de,current:ve}),Fe=ee*jo.ease(ye);return Math.ceil(Fe)},Dl=function(ee){var ne=ee.distanceToEdge,oe=ee.thresholds,de=ee.dragStartTime,fe=ee.shouldUseTimeDampening,ve=kl(ne,oe);return ve===0?0:fe?Math.max(_l(ve,de),aa):ve},tu=function(ee){var ne=ee.container,oe=ee.distanceToEdges,de=ee.dragStartTime,fe=ee.axis,ve=ee.shouldUseTimeDampening,ye=qi(ne,fe),Fe=oe[fe.end]<oe[fe.start];return Fe?Dl({distanceToEdge:oe[fe.end],thresholds:ye,dragStartTime:de,shouldUseTimeDampening:ve}):-1*Dl({distanceToEdge:oe[fe.start],thresholds:ye,dragStartTime:de,shouldUseTimeDampening:ve})},Vl=function(ee){var ne=ee.container,oe=ee.subject,de=ee.proposedScroll,fe=oe.height>ne.height,ve=oe.width>ne.width;return!ve&&!fe?de:ve&&fe?null:{x:ve?0:de.x,y:fe?0:de.y}},lr=er(function(ee){return ee===0?0:ee}),Da=function(ee){var ne=ee.dragStartTime,oe=ee.container,de=ee.subject,fe=ee.center,ve=ee.shouldUseTimeDampening,ye={top:fe.y-oe.top,right:oe.right-fe.x,bottom:oe.bottom-fe.y,left:fe.x-oe.left},Fe=tu({container:oe,distanceToEdges:ye,dragStartTime:ne,axis:hn,shouldUseTimeDampening:ve}),Ze=tu({container:oe,distanceToEdges:ye,dragStartTime:ne,axis:xn,shouldUseTimeDampening:ve}),et=lr({x:Ze,y:Fe});if(Ka(et,ir))return null;var Xe=Vl({container:oe,subject:de,proposedScroll:et});return Xe?Ka(Xe,ir)?null:Xe:null},Qr=er(function(ee){return ee===0?0:ee>0?1:-1}),_o=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ne){var oe=ne.current,de=ne.max,fe=ne.change,ve=Er(oe,fe),ye={x:ee(ve.x,de.x),y:ee(ve.y,de.y)};return Ka(ye,ir)?null:ye}}(),vl=function(ne){var oe=ne.max,de=ne.current,fe=ne.change,ve={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},ye=Qr(fe),Fe=_o({max:ve,current:de,change:ye});return!Fe||ye.x!==0&&Fe.x===0||ye.y!==0&&Fe.y===0},gu=function(ne,oe){return vl({current:ne.scroll.current,max:ne.scroll.max,change:oe})},ue=function(ne,oe){if(!gu(ne,oe))return null;var de=ne.scroll.max,fe=ne.scroll.current;return _o({current:fe,max:de,change:oe})},Ee=function(ne,oe){var de=ne.frame;return de?vl({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},Pe=function(ne,oe){var de=ne.frame;return!de||!Ee(ne,oe)?null:_o({current:de.scroll.current,max:de.scroll.max,change:oe})},ut=function(ee){var ne=ee.viewport,oe=ee.subject,de=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,ye=Da({dragStartTime:fe,container:ne.frame,subject:oe,center:de,shouldUseTimeDampening:ve});return ye&&gu(ne,ye)?ye:null},pt=function(ee){var ne=ee.droppable,oe=ee.subject,de=ee.center,fe=ee.dragStartTime,ve=ee.shouldUseTimeDampening,ye=ne.frame;if(!ye)return null;var Fe=Da({dragStartTime:fe,container:ye.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:ve});return Fe&&Ee(ne,Fe)?Fe:null},kn=function(ee){var ne=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,fe=ee.scrollWindow,ve=ee.scrollDroppable,ye=ne.current.page.borderBoxCenter,Fe=ne.dimensions.draggables[ne.critical.draggable.id],Ze=Fe.page.marginBox;if(ne.isWindowScrollAllowed){var et=ne.viewport,Xe=ut({dragStartTime:oe,viewport:et,subject:Ze,center:ye,shouldUseTimeDampening:de});if(Xe){fe(Xe);return}}var je=zl({center:ye,destination:Bi(ne.impact),droppables:ne.dimensions.droppables});if(je){var Ve=pt({dragStartTime:oe,droppable:je,subject:Ze,center:ye,shouldUseTimeDampening:de});Ve&&ve(je.descriptor.id,Ve)}},mn=function(ee){var ne=ee.scrollWindow,oe=ee.scrollDroppable,de=qt(ne),fe=qt(oe),ve=null,ye=function(Xe){ve||Vt(!1);var je=ve,Ve=je.shouldUseTimeDampening,st=je.dragStartTime;kn({state:Xe,scrollWindow:de,scrollDroppable:fe,dragStartTime:st,shouldUseTimeDampening:Ve})},Fe=function(Xe){Yn(),ve&&Vt(!1);var je=Date.now(),Ve=!1,st=function(){Ve=!0};kn({state:Xe,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:st,scrollDroppable:st}),ve={dragStartTime:je,shouldUseTimeDampening:Ve},Xl(),Ve&&ye(Xe)},Ze=function(){ve&&(de.cancel(),fe.cancel(),ve=null)};return{start:Fe,stop:Ze,scroll:ye}},Wt=function(ee){var ne=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,fe=function(et,Xe){var je=Er(et.current.client.selection,Xe);ne({client:je})},ve=function(et,Xe){if(!Ee(et,Xe))return Xe;var je=Pe(et,Xe);if(!je)return oe(et.descriptor.id,Xe),null;var Ve=Ar(Xe,je);oe(et.descriptor.id,Ve);var st=Ar(Xe,Ve);return st},ye=function(et,Xe,je){if(!et||!gu(Xe,je))return je;var Ve=ue(Xe,je);if(!Ve)return de(je),null;var st=Ar(je,Ve);de(st);var Ht=Ar(je,st);return Ht},Fe=function(et){var Xe=et.scrollJumpRequest;if(Xe){var je=Bi(et.impact);je||Vt(!1);var Ve=ve(et.dimensions.droppables[je],Xe);if(Ve){var st=et.viewport,Ht=ye(et.isWindowScrollAllowed,st,Ve);Ht&&fe(et,Ht)}}};return Fe},vt=function(ee){var ne=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,fe=mn({scrollWindow:oe,scrollDroppable:ne}),ve=Wt({move:de,scrollWindow:oe,scrollDroppable:ne}),ye=function(et){if(et.phase==="DRAGGING"){if(et.movementMode==="FLUID"){fe.scroll(et);return}et.scrollJumpRequest&&ve(et)}},Fe={scroll:ye,start:fe.start,stop:fe.stop};return Fe},tn="data-rbd",Fn=function(){var ee=tn+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),Ye=function(){var ee=tn+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ft=function(){var ee=tn+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),$t={contextId:tn+"-scroll-container-context-id"},Ln=function(ne){return function(oe){return"["+oe+'="'+ne+'"]'}},Zt=function(ne,oe){return ne.map(function(de){var fe=de.styles[oe];return fe?de.selector+" { "+fe+" }":""}).join(" ")},Kt="pointer-events: none;",Xt=function(ee){var ne=Ln(ee),oe=function(){var Fe=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ne(Fn.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Fe,dragging:Kt,dropAnimating:Fe}}}(),de=function(){var Fe=`
transition: `+Rn.outOfTheWay+`;
`;return{selector:ne(Ye.contextId),styles:{dragging:Fe,dropAnimating:Fe,userCancel:Fe}}}(),fe={selector:ne(Ft.contextId),styles:{always:"overflow-anchor: none;"}},ve={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},ye=[de,oe,fe,ve];return{always:Zt(ye,"always"),resting:Zt(ye,"resting"),dragging:Zt(ye,"dragging"),dropAnimating:Zt(ye,"dropAnimating"),userCancel:Zt(ye,"userCancel")}},fn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,la=function(){var ne=document.querySelector("head");return ne||Vt(!1),ne},wt=function(ne){var oe=document.createElement("style");return ne&&oe.setAttribute("nonce",ne),oe.type="text/css",oe};function Ea(ee,ne){var oe=_n(function(){return Xt(ee)},[ee]),de=(0,b.useRef)(null),fe=(0,b.useRef)(null),ve=Pn(St(function(je){var Ve=fe.current;Ve||Vt(!1),Ve.textContent=je}),[]),ye=Pn(function(je){var Ve=de.current;Ve||Vt(!1),Ve.textContent=je},[]);fn(function(){!de.current&&!fe.current||Vt(!1);var je=wt(ne),Ve=wt(ne);return de.current=je,fe.current=Ve,je.setAttribute(tn+"-always",ee),Ve.setAttribute(tn+"-dynamic",ee),la().appendChild(je),la().appendChild(Ve),ye(oe.always),ve(oe.resting),function(){var st=function(ea){var sa=ea.current;sa||Vt(!1),la().removeChild(sa),ea.current=null};st(de),st(fe)}},[ne,ye,ve,oe.always,oe.resting,ee]);var Fe=Pn(function(){return ve(oe.dragging)},[ve,oe.dragging]),Ze=Pn(function(je){if(je==="DROP"){ve(oe.dropAnimating);return}ve(oe.userCancel)},[ve,oe.dropAnimating,oe.userCancel]),et=Pn(function(){fe.current&&ve(oe.resting)},[ve,oe.resting]),Xe=_n(function(){return{dragging:Fe,dropping:Ze,resting:et}},[Fe,Ze,et]);return Xe}var Ir=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function Tr(ee){return ee instanceof Ir(ee).HTMLElement}function rr(ee,ne){var oe="["+Fn.contextId+'="'+ee+'"]',de=fr(document.querySelectorAll(oe));if(!de.length)return null;var fe=Vr(de,function(ve){return ve.getAttribute(Fn.draggableId)===ne});return!fe||!Tr(fe)?null:fe}function Lo(ee){var ne=(0,b.useRef)({}),oe=(0,b.useRef)(null),de=(0,b.useRef)(null),fe=(0,b.useRef)(!1),ve=Pn(function(Ve,st){var Ht={id:Ve,focus:st};return ne.current[Ve]=Ht,function(){var sa=ne.current,fa=sa[Ve];fa!==Ht&&delete sa[Ve]}},[]),ye=Pn(function(Ve){var st=rr(ee,Ve);st&&st!==document.activeElement&&st.focus()},[ee]),Fe=Pn(function(Ve,st){oe.current===Ve&&(oe.current=st)},[]),Ze=Pn(function(){de.current||fe.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ve=oe.current;Ve&&ye(Ve)}))},[ye]),et=Pn(function(Ve){oe.current=null;var st=document.activeElement;st&&st.getAttribute(Fn.draggableId)===Ve&&(oe.current=Ve)},[]);fn(function(){return fe.current=!0,function(){fe.current=!1;var Ve=de.current;Ve&&cancelAnimationFrame(Ve)}},[]);var Xe=_n(function(){return{register:ve,tryRecordFocus:et,tryRestoreFocusRecorded:Ze,tryShiftRecord:Fe}},[ve,et,Ze,Fe]);return Xe}function ra(){var ee={draggables:{},droppables:{}},ne=[];function oe(je){return ne.push(je),function(){var st=ne.indexOf(je);st!==-1&&ne.splice(st,1)}}function de(je){ne.length&&ne.forEach(function(Ve){return Ve(je)})}function fe(je){return ee.draggables[je]||null}function ve(je){var Ve=fe(je);return Ve||Vt(!1),Ve}var ye={register:function(Ve){ee.draggables[Ve.descriptor.id]=Ve,de({type:"ADDITION",value:Ve})},update:function(Ve,st){var Ht=ee.draggables[st.descriptor.id];Ht&&Ht.uniqueId===Ve.uniqueId&&(delete ee.draggables[st.descriptor.id],ee.draggables[Ve.descriptor.id]=Ve)},unregister:function(Ve){var st=Ve.descriptor.id,Ht=fe(st);Ht&&Ve.uniqueId===Ht.uniqueId&&(delete ee.draggables[st],de({type:"REMOVAL",value:Ve}))},getById:ve,findById:fe,exists:function(Ve){return!!fe(Ve)},getAllByType:function(Ve){return Xr(ee.draggables).filter(function(st){return st.descriptor.type===Ve})}};function Fe(je){return ee.droppables[je]||null}function Ze(je){var Ve=Fe(je);return Ve||Vt(!1),Ve}var et={register:function(Ve){ee.droppables[Ve.descriptor.id]=Ve},unregister:function(Ve){var st=Fe(Ve.descriptor.id);st&&Ve.uniqueId===st.uniqueId&&delete ee.droppables[Ve.descriptor.id]},getById:Ze,findById:Fe,exists:function(Ve){return!!Fe(Ve)},getAllByType:function(Ve){return Xr(ee.droppables).filter(function(st){return st.descriptor.type===Ve})}};function Xe(){ee.draggables={},ee.droppables={},ne.length=0}return{draggable:ye,droppable:et,subscribe:oe,clean:Xe}}function Or(){var ee=_n(ra,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var _a=b.createContext(null),jr=function(){var ee=document.body;return ee||Vt(!1),ee},yo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},No=function(ne){return"rbd-announcement-"+ne};function Wo(ee){var ne=_n(function(){return No(ee)},[ee]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var ve=document.createElement("div");return oe.current=ve,ve.id=ne,ve.setAttribute("aria-live","assertive"),ve.setAttribute("aria-atomic","true"),(0,Ae.Z)(ve.style,yo),jr().appendChild(ve),function(){setTimeout(function(){var Ze=jr();Ze.contains(ve)&&Ze.removeChild(ve),ve===oe.current&&(oe.current=null)})}},[ne]);var de=Pn(function(fe){var ve=oe.current;if(ve){ve.textContent=fe;return}},[]);return de}var Pa=0,Sr={separator:"::"};function Fi(){Pa=0}function Yr(ee,ne){return ne===void 0&&(ne=Sr),_n(function(){return""+ee+ne.separator+Pa++},[ne.separator,ee])}function Mn(ee){var ne=ee.contextId,oe=ee.uniqueId;return"rbd-hidden-text-"+ne+"-"+oe}function ai(ee){var ne=ee.contextId,oe=ee.text,de=Yr("hidden-text",{separator:"-"}),fe=_n(function(){return Mn({contextId:ne,uniqueId:de})},[de,ne]);return(0,b.useEffect)(function(){var ye=document.createElement("div");return ye.id=fe,ye.textContent=oe,ye.style.display="none",jr().appendChild(ye),function(){var Ze=jr();Ze.contains(ye)&&Ze.removeChild(ye)}},[fe,oe]),fe}var Ui=b.createContext(null),fi={react:"^16.8.5","react-dom":"^16.8.5"},wi=/(\d+)\.(\d+)\.(\d+)/,ll=function(ne){var oe=wi.exec(ne);oe==null&&Vt(!1);var de=Number(oe[1]),fe=Number(oe[2]),ve=Number(oe[3]);return{major:de,minor:fe,patch:ve,raw:ne}},ui=function(ne,oe){return oe.major>ne.major?!0:oe.major<ne.major?!1:oe.minor>ne.minor?!0:oe.minor<ne.minor?!1:oe.patch>=ne.patch},El=function(ee,ne){var oe=ll(ee),de=ll(ne);ui(oe,de)},Qi=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,$i=function(ee){var ne=ee.doctype;ne&&(ne.name.toLowerCase(),ne.publicId)};function To(ee){}function vi(ee,ne){}function ul(){vi(function(){El(fi.react,b.version),$i(document)},[])}function Tl(ee){var ne=(0,b.useRef)(ee);return(0,b.useEffect)(function(){ne.current=ee}),ne}function Dr(){var ee=null;function ne(){return!!ee}function oe(ye){return ye===ee}function de(ye){ee&&Vt(!1);var Fe={abandon:ye};return ee=Fe,Fe}function fe(){ee||Vt(!1),ee=null}function ve(){ee&&(ee.abandon(),fe())}return{isClaimed:ne,isActive:oe,claim:de,release:fe,tryAbandon:ve}}var Ro=9,ri=13,Uo=27,Yi=32,Ki=33,Li=34,Zl=35,wl=36,Pl=37,Ei=38,Gl=39,no=40,nu,bu=(nu={},nu[ri]=!0,nu[Ro]=!0,nu),Wl=function(ee){bu[ee.keyCode]&&ee.preventDefault()},mu=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var ne=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],oe=Vr(ne,function(de){return"on"+de in document});return oe||ee}(),en=0,Wn=5;function Zr(ee,ne){return Math.abs(ne.x-ee.x)>=Wn||Math.abs(ne.y-ee.y)>=Wn}var Ja={type:"IDLE"};function pr(ee){var ne=ee.cancel,oe=ee.completed,de=ee.getPhase,fe=ee.setPhase;return[{eventName:"mousemove",fn:function(ye){var Fe=ye.button,Ze=ye.clientX,et=ye.clientY;if(Fe===en){var Xe={x:Ze,y:et},je=de();if(je.type==="DRAGGING"){ye.preventDefault(),je.actions.move(Xe);return}je.type!=="PENDING"&&Vt(!1);var Ve=je.point;if(Zr(Ve,Xe)){ye.preventDefault();var st=je.actions.fluidLift(Xe);fe({type:"DRAGGING",actions:st})}}}},{eventName:"mouseup",fn:function(ye){var Fe=de();if(Fe.type!=="DRAGGING"){ne();return}ye.preventDefault(),Fe.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(ye){de().type==="DRAGGING"&&ye.preventDefault(),ne()}},{eventName:"keydown",fn:function(ye){var Fe=de();if(Fe.type==="PENDING"){ne();return}if(ye.keyCode===Uo){ye.preventDefault(),ne();return}Wl(ye)}},{eventName:"resize",fn:ne},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ne()}},{eventName:"webkitmouseforcedown",fn:function(ye){var Fe=de();if(Fe.type==="IDLE"&&Vt(!1),Fe.actions.shouldRespectForcePress()){ne();return}ye.preventDefault()}},{eventName:mu,fn:ne}]}function ro(ee){var ne=(0,b.useRef)(Ja),oe=(0,b.useRef)(Un),de=_n(function(){return{eventName:"mousedown",fn:function(je){if(!je.defaultPrevented&&je.button===en&&!(je.ctrlKey||je.metaKey||je.shiftKey||je.altKey)){var Ve=ee.findClosestDraggableId(je);if(Ve){var st=ee.tryGetLock(Ve,ye,{sourceEvent:je});if(st){je.preventDefault();var Ht={x:je.clientX,y:je.clientY};oe.current(),et(st,Ht)}}}}}},[ee]),fe=_n(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(je){if(!je.defaultPrevented){var Ve=ee.findClosestDraggableId(je);if(Ve){var st=ee.findOptionsForDraggable(Ve);st&&(st.shouldRespectForcePress||ee.canGetLock(Ve)&&je.preventDefault())}}}}},[ee]),ve=Pn(function(){var je={passive:!1,capture:!0};oe.current=Na(window,[fe,de],je)},[fe,de]),ye=Pn(function(){var Xe=ne.current;Xe.type!=="IDLE"&&(ne.current=Ja,oe.current(),ve())},[ve]),Fe=Pn(function(){var Xe=ne.current;ye(),Xe.type==="DRAGGING"&&Xe.actions.cancel({shouldBlockNextClick:!0}),Xe.type==="PENDING"&&Xe.actions.abort()},[ye]),Ze=Pn(function(){var je={capture:!0,passive:!1},Ve=pr({cancel:Fe,completed:ye,getPhase:function(){return ne.current},setPhase:function(Ht){ne.current=Ht}});oe.current=Na(window,Ve,je)},[Fe,ye]),et=Pn(function(je,Ve){ne.current.type!=="IDLE"&&Vt(!1),ne.current={type:"PENDING",point:Ve,actions:je},Ze()},[Ze]);fn(function(){return ve(),function(){oe.current()}},[ve])}var Ho;function Zo(){}var Ji=(Ho={},Ho[Li]=!0,Ho[Ki]=!0,Ho[wl]=!0,Ho[Zl]=!0,Ho);function bi(ee,ne){function oe(){ne(),ee.cancel()}function de(){ne(),ee.drop()}return[{eventName:"keydown",fn:function(ve){if(ve.keyCode===Uo){ve.preventDefault(),oe();return}if(ve.keyCode===Yi){ve.preventDefault(),de();return}if(ve.keyCode===no){ve.preventDefault(),ee.moveDown();return}if(ve.keyCode===Ei){ve.preventDefault(),ee.moveUp();return}if(ve.keyCode===Gl){ve.preventDefault(),ee.moveRight();return}if(ve.keyCode===Pl){ve.preventDefault(),ee.moveLeft();return}if(Ji[ve.keyCode]){ve.preventDefault();return}Wl(ve)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:mu,fn:oe}]}function jl(ee){var ne=(0,b.useRef)(Zo),oe=_n(function(){return{eventName:"keydown",fn:function(ve){if(ve.defaultPrevented||ve.keyCode!==Yi)return;var ye=ee.findClosestDraggableId(ve);if(!ye)return;var Fe=ee.tryGetLock(ye,Xe,{sourceEvent:ve});if(!Fe)return;ve.preventDefault();var Ze=!0,et=Fe.snapLift();ne.current();function Xe(){Ze||Vt(!1),Ze=!1,ne.current(),de()}ne.current=Na(window,bi(et,Xe),{capture:!0,passive:!1})}}},[ee]),de=Pn(function(){var ve={passive:!1,capture:!0};ne.current=Na(window,[oe],ve)},[oe]);fn(function(){return de(),function(){ne.current()}},[de])}var Ul={type:"IDLE"},qu=120,vs=.15;function ps(ee){var ne=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ne},{eventName:"resize",fn:ne},{eventName:"contextmenu",fn:function(fe){fe.preventDefault()}},{eventName:"keydown",fn:function(fe){if(oe().type!=="DRAGGING"){ne();return}fe.keyCode===Uo&&fe.preventDefault(),ne()}},{eventName:mu,fn:ne}]}function Hl(ee){var ne=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(ve){var ye=de();if(ye.type!=="DRAGGING"){ne();return}ye.hasMoved=!0;var Fe=ve.touches[0],Ze=Fe.clientX,et=Fe.clientY,Xe={x:Ze,y:et};ve.preventDefault(),ye.actions.move(Xe)}},{eventName:"touchend",fn:function(ve){var ye=de();if(ye.type!=="DRAGGING"){ne();return}ve.preventDefault(),ye.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(ve){if(de().type!=="DRAGGING"){ne();return}ve.preventDefault(),ne()}},{eventName:"touchforcechange",fn:function(ve){var ye=de();ye.type==="IDLE"&&Vt(!1);var Fe=ve.touches[0];if(Fe){var Ze=Fe.force>=vs;if(Ze){var et=ye.actions.shouldRespectForcePress();if(ye.type==="PENDING"){et&&ne();return}if(et){if(ye.hasMoved){ve.preventDefault();return}ne();return}ve.preventDefault()}}}},{eventName:mu,fn:ne}]}function hs(ee){var ne=(0,b.useRef)(Ul),oe=(0,b.useRef)(Un),de=Pn(function(){return ne.current},[]),fe=Pn(function(st){ne.current=st},[]),ve=_n(function(){return{eventName:"touchstart",fn:function(st){if(!st.defaultPrevented){var Ht=ee.findClosestDraggableId(st);if(Ht){var ea=ee.tryGetLock(Ht,Fe,{sourceEvent:st});if(ea){var sa=st.touches[0],fa=sa.clientX,Ma=sa.clientY,Va={x:fa,y:Ma};oe.current(),je(ea,Va)}}}}}},[ee]),ye=Pn(function(){var st={capture:!0,passive:!1};oe.current=Na(window,[ve],st)},[ve]),Fe=Pn(function(){var Ve=ne.current;Ve.type!=="IDLE"&&(Ve.type==="PENDING"&&clearTimeout(Ve.longPressTimerId),fe(Ul),oe.current(),ye())},[ye,fe]),Ze=Pn(function(){var Ve=ne.current;Fe(),Ve.type==="DRAGGING"&&Ve.actions.cancel({shouldBlockNextClick:!0}),Ve.type==="PENDING"&&Ve.actions.abort()},[Fe]),et=Pn(function(){var st={capture:!0,passive:!1},Ht={cancel:Ze,completed:Fe,getPhase:de},ea=Na(window,Hl(Ht),st),sa=Na(window,ps(Ht),st);oe.current=function(){ea(),sa()}},[Ze,de,Fe]),Xe=Pn(function(){var st=de();st.type!=="PENDING"&&Vt(!1);var Ht=st.actions.fluidLift(st.point);fe({type:"DRAGGING",actions:Ht,hasMoved:!1})},[de,fe]),je=Pn(function(st,Ht){de().type!=="IDLE"&&Vt(!1);var ea=setTimeout(Xe,qu);fe({type:"PENDING",point:Ht,actions:st,longPressTimerId:ea}),et()},[et,de,fe,Xe]);fn(function(){return ye(),function(){oe.current();var Ht=de();Ht.type==="PENDING"&&(clearTimeout(Ht.longPressTimerId),fe(Ul))}},[de,ye,fe]),fn(function(){var st=Na(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return st},[])}function au(ee){}var Zu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ql(ee,ne){if(ne==null)return!1;var oe=!!Zu[ne.tagName.toLowerCase()];if(oe)return!0;var de=ne.getAttribute("contenteditable");return de==="true"||de===""?!0:ne===ee?!1:Ql(ee,ne.parentElement)}function $u(ee,ne){var oe=ne.target;return Tr(oe)?Ql(ee,oe):!1}var Ss=function(ee){return xa(ee.getBoundingClientRect()).center};function es(ee){return ee instanceof Ir(ee).Element}var Gu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ne=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=Vr(ne,function(de){return de in Element.prototype});return oe||ee}();function ts(ee,ne){return ee==null?null:ee[Gu](ne)?ee:ts(ee.parentElement,ne)}function qn(ee,ne){return ee.closest?ee.closest(ne):ts(ee,ne)}function Ya(ee){return"["+Fn.contextId+'="'+ee+'"]'}function wr(ee,ne){var oe=ne.target;if(!es(oe))return null;var de=Ya(ee),fe=qn(oe,de);return!fe||!Tr(fe)?null:fe}function oo(ee,ne){var oe=wr(ee,ne);return oe?oe.getAttribute(Fn.draggableId):null}function Kr(ee,ne){var oe="["+Ye.contextId+'="'+ee+'"]',de=fr(document.querySelectorAll(oe)),fe=Vr(de,function(ve){return ve.getAttribute(Ye.id)===ne});return!fe||!Tr(fe)?null:fe}function br(ee){ee.preventDefault()}function co(ee){var ne=ee.expected,oe=ee.phase,de=ee.isLockActive,fe=ee.shouldWarn;return!(!de()||ne!==oe)}function Io(ee){var ne=ee.lockAPI,oe=ee.store,de=ee.registry,fe=ee.draggableId;if(ne.isClaimed())return!1;var ve=de.draggable.findById(fe);return!(!ve||!ve.options.isEnabled||!Di(oe.getState(),fe))}function ji(ee){var ne=ee.lockAPI,oe=ee.contextId,de=ee.store,fe=ee.registry,ve=ee.draggableId,ye=ee.forceSensorStop,Fe=ee.sourceEvent,Ze=Io({lockAPI:ne,store:de,registry:fe,draggableId:ve});if(!Ze)return null;var et=fe.draggable.getById(ve),Xe=Kr(oe,et.descriptor.id);if(!Xe||Fe&&!et.options.canDragInteractiveElements&&$u(Xe,Fe))return null;var je=ne.claim(ye||Un),Ve="PRE_DRAG";function st(){return et.options.shouldRespectForcePress}function Ht(){return ne.isActive(je)}function ea(Hr,Fo){co({expected:Hr,phase:Ve,isLockActive:Ht,shouldWarn:!0})&&de.dispatch(Fo())}var sa=ea.bind(null,"DRAGGING");function fa(Hr){function Fo(){ne.release(),Ve="COMPLETED"}Ve!=="PRE_DRAG"&&(Fo(),Ve!=="PRE_DRAG"&&Vt(!1)),de.dispatch(ge(Hr.liftActionArgs)),Ve="DRAGGING";function Ni(Do,Ii){if(Ii===void 0&&(Ii={shouldBlockNextClick:!1}),Hr.cleanup(),Ii.shouldBlockNextClick){var sl=Na(window,[{eventName:"click",fn:br,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(sl)}Fo(),de.dispatch(un({reason:Do}))}return(0,Ae.Z)({isActive:function(){return co({expected:"DRAGGING",phase:Ve,isLockActive:Ht,shouldWarn:!1})},shouldRespectForcePress:st,drop:function(Ii){return Ni("DROP",Ii)},cancel:function(Ii){return Ni("CANCEL",Ii)}},Hr.actions)}function Ma(Hr){var Fo=qt(function(Do){sa(function(){return Lt({client:Do})})}),Ni=fa({liftActionArgs:{id:ve,clientSelection:Hr,movementMode:"FLUID"},cleanup:function(){return Fo.cancel()},actions:{move:Fo}});return(0,Ae.Z)({},Ni,{move:Fo})}function Va(){var Hr={moveUp:function(){return sa(ln)},moveRight:function(){return sa(Dn)},moveDown:function(){return sa(cn)},moveLeft:function(){return sa(wn)}};return fa({liftActionArgs:{id:ve,clientSelection:Ss(Xe),movementMode:"SNAP"},cleanup:Un,actions:Hr})}function Xa(){var Hr=co({expected:"PRE_DRAG",phase:Ve,isLockActive:Ht,shouldWarn:!0});Hr&&ne.release()}var eo={isActive:function(){return co({expected:"PRE_DRAG",phase:Ve,isLockActive:Ht,shouldWarn:!1})},shouldRespectForcePress:st,fluidLift:Ma,snapLift:Va,abort:Xa};return eo}var Ll=[ro,jl,hs];function su(ee){var ne=ee.contextId,oe=ee.store,de=ee.registry,fe=ee.customSensors,ve=ee.enableDefaultSensors,ye=[].concat(ve?Ll:[],fe||[]),Fe=(0,b.useState)(function(){return Dr()})[0],Ze=Pn(function(Ma,Va){Ma.isDragging&&!Va.isDragging&&Fe.tryAbandon()},[Fe]);fn(function(){var Ma=oe.getState(),Va=oe.subscribe(function(){var Xa=oe.getState();Ze(Ma,Xa),Ma=Xa});return Va},[Fe,oe,Ze]),fn(function(){return Fe.tryAbandon},[Fe.tryAbandon]);var et=Pn(function(fa){return Io({lockAPI:Fe,registry:de,store:oe,draggableId:fa})},[Fe,de,oe]),Xe=Pn(function(fa,Ma,Va){return ji({lockAPI:Fe,registry:de,contextId:ne,store:oe,draggableId:fa,forceSensorStop:Ma,sourceEvent:Va&&Va.sourceEvent?Va.sourceEvent:null})},[ne,Fe,de,oe]),je=Pn(function(fa){return oo(ne,fa)},[ne]),Ve=Pn(function(fa){var Ma=de.draggable.findById(fa);return Ma?Ma.options:null},[de.draggable]),st=Pn(function(){Fe.isClaimed()&&(Fe.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Dt()))},[Fe,oe]),Ht=Pn(Fe.isClaimed,[Fe]),ea=_n(function(){return{canGetLock:et,tryGetLock:Xe,findClosestDraggableId:je,findOptionsForDraggable:Ve,tryReleaseLock:st,isLockClaimed:Ht}},[et,Xe,je,Ve,st,Ht]);au(ye);for(var sa=0;sa<ye.length;sa++)ye[sa](ea)}var Cr=function(ne){return{onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragEnd:ne.onDragEnd,onDragUpdate:ne.onDragUpdate}};function wa(ee){return ee.current||Vt(!1),ee.current}function ur(ee){var ne=ee.contextId,oe=ee.setCallbacks,de=ee.sensors,fe=ee.nonce,ve=ee.dragHandleUsageInstructions,ye=(0,b.useRef)(null);ul();var Fe=Tl(ee),Ze=Pn(function(){return Cr(Fe.current)},[Fe]),et=Wo(ne),Xe=ai({contextId:ne,text:ve}),je=Ea(ne,fe),Ve=Pn(function(Do){wa(ye).dispatch(Do)},[]),st=_n(function(){return(0,_e.DE)({publishWhileDragging:Ie,updateDroppableScroll:ft,updateDroppableIsEnabled:rt,updateDroppableIsCombineEnabled:It,collectionStarting:Me},Ve)},[Ve]),Ht=Or(),ea=_n(function(){return il(Ht,st)},[Ht,st]),sa=_n(function(){return vt((0,Ae.Z)({scrollWindow:Al,scrollDroppable:ea.scrollDroppable},(0,_e.DE)({move:Lt},Ve)))},[ea.scrollDroppable,Ve]),fa=Lo(ne),Ma=_n(function(){return Sl({announce:et,autoScroller:sa,dimensionMarshal:ea,focusMarshal:fa,getResponders:Ze,styleMarshal:je})},[et,sa,ea,fa,Ze,je]);ye.current=Ma;var Va=Pn(function(){var Do=wa(ye),Ii=Do.getState();Ii.phase!=="IDLE"&&Do.dispatch(Dt())},[]),Xa=Pn(function(){var Do=wa(ye).getState();return Do.isDragging||Do.phase==="DROP_ANIMATING"},[]),eo=_n(function(){return{isDragging:Xa,tryAbort:Va}},[Xa,Va]);oe(eo);var Hr=Pn(function(Do){return Di(wa(ye).getState(),Do)},[]),Fo=Pn(function(){return lu(wa(ye).getState())},[]),Ni=_n(function(){return{marshal:ea,focus:fa,contextId:ne,canLift:Hr,isMovementAllowed:Fo,dragHandleUsageInstructionsId:Xe,registry:Ht}},[ne,ea,Xe,fa,Hr,Fo,Ht]);return su({contextId:ne,store:Ma,registry:Ht,customSensors:de,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return Va},[Va]),b.createElement(Ui.Provider,{value:Ni},b.createElement(x,{context:_a,store:Ma},ee.children))}var lo=0;function ei(){lo=0}function du(){return _n(function(){return""+lo++},[])}function Nl(){ei(),Fi()}function Yl(ee){var ne=du(),oe=ee.dragHandleUsageInstructions||an.dragHandleUsageInstructions;return b.createElement(zr,null,function(de){return b.createElement(ur,{nonce:ee.nonce,contextId:ne,setCallbacks:de,dragHandleUsageInstructions:oe,enableDefaultSensors:ee.enableDefaultSensors,sensors:ee.sensors,onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragUpdate:ee.onDragUpdate,onDragEnd:ee.onDragEnd},ee.children)})}var Il=function(ne){return function(oe){return ne===oe}},fu=Il("scroll"),ru=Il("auto"),yl=Il("visible"),Es=function(ne,oe){return oe(ne.overflowX)||oe(ne.overflowY)},bs=function(ne,oe){return oe(ne.overflowX)&&oe(ne.overflowY)},Cs=function(ne){var oe=window.getComputedStyle(ne),de={overflowX:oe.overflowX,overflowY:oe.overflowY};return Es(de,fu)||Es(de,ru)},rd=function(){return!1;var ne,oe,de,fe},Vs=function ee(ne){return ne==null?null:ne===document.body?rd()?ne:null:ne===document.documentElement?null:Cs(ne)?ne:ee(ne.parentElement)},Xd=function(ee){if(ee)var ne=Vs(ee.parentElement)},Ms=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},od=function ee(ne){if(!ne)return!1;var oe=window.getComputedStyle(ne);return oe.position==="fixed"?!0:ee(ne.parentElement)},id=function(ee){var ne=Vs(ee),oe=od(ee);return{closestScrollable:ne,isFixedOnPage:oe}},ld=function(ee){var ne=ee.descriptor,oe=ee.isEnabled,de=ee.isCombineEnabled,fe=ee.isFixedOnPage,ve=ee.direction,ye=ee.client,Fe=ee.page,Ze=ee.closest,et=function(){if(!Ze)return null;var st=Ze.scrollSize,Ht=Ze.client,ea=Rl({scrollHeight:st.scrollHeight,scrollWidth:st.scrollWidth,height:Ht.paddingBox.height,width:Ht.paddingBox.width});return{pageMarginBox:Ze.page.marginBox,frameClient:Ht,scrollSize:st,shouldClipSubject:Ze.shouldClipSubject,scroll:{initial:Ze.scroll,current:Ze.scroll,max:ea,diff:{value:ir,displacement:ir}}}}(),Xe=ve==="vertical"?hn:xn,je=yr({page:Fe,withPlaceholder:null,axis:Xe,frame:et}),Ve={descriptor:ne,isCombineEnabled:de,isFixedOnPage:fe,axis:Xe,isEnabled:oe,client:ye,page:Fe,frame:et,subject:je};return Ve},ud=function(ne,oe){var de=pa(ne);if(!oe||ne!==oe)return de;var fe=de.paddingBox.top-oe.scrollTop,ve=de.paddingBox.left-oe.scrollLeft,ye=fe+oe.scrollHeight,Fe=ve+oe.scrollWidth,Ze={top:fe,right:Fe,bottom:ye,left:ve},et=Ta(Ze,de.border),Xe=$a({borderBox:et,margin:de.margin,border:de.border,padding:de.padding});return Xe},sd=function(ee){var ne=ee.ref,oe=ee.descriptor,de=ee.env,fe=ee.windowScroll,ve=ee.direction,ye=ee.isDropDisabled,Fe=ee.isCombineEnabled,Ze=ee.shouldClipSubject,et=de.closestScrollable,Xe=ud(ne,et),je=Bn(Xe,fe),Ve=function(){if(!et)return null;var Ht=pa(et),ea={scrollHeight:et.scrollHeight,scrollWidth:et.scrollWidth};return{client:Ht,page:Bn(Ht,fe),scroll:Ms(et),scrollSize:ea,shouldClipSubject:Ze}}(),st=ld({descriptor:oe,isEnabled:!ye,isCombineEnabled:Fe,isFixedOnPage:de.isFixedOnPage,direction:ve,client:Xe,page:je,closest:Ve});return st},dd={passive:!1},cd={passive:!0},Ws=function(ee){return ee.shouldPublishImmediately?dd:cd};function Bs(ee){var ne=(0,b.useContext)(ee);return ne||Vt(!1),ne}var As=function(ne){return ne&&ne.env.closestScrollable||null};function gd(ee){var ne=(0,b.useRef)(null),oe=Bs(Ui),de=Yr("droppable"),fe=oe.registry,ve=oe.marshal,ye=Tl(ee),Fe=_n(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),Ze=(0,b.useRef)(Fe),et=_n(function(){return St(function(Xa,eo){ne.current||Vt(!1);var Hr={x:Xa,y:eo};ve.updateDroppableScroll(Fe.id,Hr)})},[Fe.id,ve]),Xe=Pn(function(){var Xa=ne.current;return!Xa||!Xa.env.closestScrollable?ir:Ms(Xa.env.closestScrollable)},[]),je=Pn(function(){var Xa=Xe();et(Xa.x,Xa.y)},[Xe,et]),Ve=_n(function(){return qt(je)},[je]),st=Pn(function(){var Xa=ne.current,eo=As(Xa);Xa&&eo||Vt(!1);var Hr=Xa.scrollOptions;if(Hr.shouldPublishImmediately){je();return}Ve()},[Ve,je]),Ht=Pn(function(Xa,eo){ne.current&&Vt(!1);var Hr=ye.current,Fo=Hr.getDroppableRef();Fo||Vt(!1);var Ni=id(Fo),Do={ref:Fo,descriptor:Fe,env:Ni,scrollOptions:eo};ne.current=Do;var Ii=sd({ref:Fo,descriptor:Fe,env:Ni,windowScroll:Xa,direction:Hr.direction,isDropDisabled:Hr.isDropDisabled,isCombineEnabled:Hr.isCombineEnabled,shouldClipSubject:!Hr.ignoreContainerClipping}),sl=Ni.closestScrollable;return sl&&(sl.setAttribute($t.contextId,oe.contextId),sl.addEventListener("scroll",st,Ws(Do.scrollOptions))),Ii},[oe.contextId,Fe,st,ye]),ea=Pn(function(){var Xa=ne.current,eo=As(Xa);return Xa&&eo||Vt(!1),Ms(eo)},[]),sa=Pn(function(){var Xa=ne.current;Xa||Vt(!1);var eo=As(Xa);ne.current=null,eo&&(Ve.cancel(),eo.removeAttribute($t.contextId),eo.removeEventListener("scroll",st,Ws(Xa.scrollOptions)))},[st,Ve]),fa=Pn(function(Xa){var eo=ne.current;eo||Vt(!1);var Hr=As(eo);Hr||Vt(!1),Hr.scrollTop+=Xa.y,Hr.scrollLeft+=Xa.x},[]),Ma=_n(function(){return{getDimensionAndWatchScroll:Ht,getScrollWhileDragging:ea,dragStopped:sa,scroll:fa}},[sa,Ht,ea,fa]),Va=_n(function(){return{uniqueId:de,descriptor:Fe,callbacks:Ma}},[Ma,Fe,de]);fn(function(){return Ze.current=Va.descriptor,fe.droppable.register(Va),function(){ne.current&&sa(),fe.droppable.unregister(Va)}},[Ma,Fe,sa,Va,ve,fe.droppable]),fn(function(){ne.current&&ve.updateDroppableIsEnabled(Ze.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,ve]),fn(function(){ne.current&&ve.updateDroppableIsCombineEnabled(Ze.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,ve])}function Rs(){}var Us={width:0,height:0,margin:ja},md=function(ne){var oe=ne.isAnimatingOpenOnMount,de=ne.placeholder,fe=ne.animate;return oe||fe==="close"?Us:{height:de.client.borderBox.height,width:de.client.borderBox.width,margin:de.client.margin}},fd=function(ne){var oe=ne.isAnimatingOpenOnMount,de=ne.placeholder,fe=ne.animate,ve=md({isAnimatingOpenOnMount:oe,placeholder:de,animate:fe});return{display:de.display,boxSizing:"border-box",width:ve.width,height:ve.height,marginTop:ve.margin.top,marginRight:ve.margin.right,marginBottom:ve.margin.bottom,marginLeft:ve.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:fe!=="none"?Rn.placeholder:null}};function vd(ee){var ne=(0,b.useRef)(null),oe=Pn(function(){ne.current&&(clearTimeout(ne.current),ne.current=null)},[]),de=ee.animate,fe=ee.onTransitionEnd,ve=ee.onClose,ye=ee.contextId,Fe=(0,b.useState)(ee.animate==="open"),Ze=Fe[0],et=Fe[1];(0,b.useEffect)(function(){return Ze?de!=="open"?(oe(),et(!1),Rs):ne.current?Rs:(ne.current=setTimeout(function(){ne.current=null,et(!1)}),oe):Rs},[de,Ze,oe]);var Xe=Pn(function(Ve){Ve.propertyName==="height"&&(fe(),de==="close"&&ve())},[de,ve,fe]),je=fd({isAnimatingOpenOnMount:Ze,animate:ee.animate,placeholder:ee.placeholder});return b.createElement(ee.placeholder.tagName,{style:je,"data-rbd-placeholder-context-id":ye,onTransitionEnd:Xe,ref:ee.innerRef})}var pd=b.memo(vd),ks=b.createContext(null);function Qs(ee){ee&&Tr(ee)||Vt(!1)}function _s(ee){return typeof ee=="boolean"}function Ts(ee,ne){ne.forEach(function(oe){return oe(ee)})}var hd=[function(ne){var oe=ne.props;oe.droppableId||Vt(!1),typeof oe.droppableId!="string"&&Vt(!1)},function(ne){var oe=ne.props;_s(oe.isDropDisabled)||Vt(!1),_s(oe.isCombineEnabled)||Vt(!1),_s(oe.ignoreContainerClipping)||Vt(!1)},function(ne){var oe=ne.getDroppableRef;Qs(oe())}],Sd=[function(ne){var oe=ne.props,de=ne.getPlaceholderRef;if(oe.placeholder)var fe=de()}],Ed=[function(ne){var oe=ne.props;oe.renderClone||Vt(!1)},function(ne){var oe=ne.getPlaceholderRef;oe()&&Vt(!1)}];function Pd(ee){vi(function(){Ts(ee,hd),ee.props.mode==="standard"&&Ts(ee,Sd),ee.props.mode==="virtual"&&Ts(ee,Ed)})}var yd=function(ee){we(ne,ee);function ne(){for(var de,fe=arguments.length,ve=new Array(fe),ye=0;ye<fe;ye++)ve[ye]=arguments[ye];return de=ee.call.apply(ee,[this].concat(ve))||this,de.state={isVisible:!!de.props.on,data:de.props.on,animate:de.props.shouldAnimate&&de.props.on?"open":"none"},de.onClose=function(){de.state.animate==="close"&&de.setState({isVisible:!1})},de}ne.getDerivedStateFromProps=function(fe,ve){return fe.shouldAnimate?fe.on?{isVisible:!0,data:fe.on,animate:"open"}:ve.isVisible?{isVisible:!0,data:ve.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!fe.on,data:fe.on,animate:"none"}};var oe=ne.prototype;return oe.render=function(){if(!this.state.isVisible)return null;var fe={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(fe)},ne}(b.PureComponent),Ys={dragging:5e3,dropAnimating:4500},Fd=function(ne,oe){return oe?Rn.drop(oe.duration):ne?Rn.snap:Rn.fluid},bd=function(ne,oe){return ne?oe?xr.opacity.drop:xr.opacity.combining:null},Cd=function(ne){return ne.forceShouldAnimate!=null?ne.forceShouldAnimate:ne.mode==="SNAP"};function Bd(ee){var ne=ee.dimension,oe=ne.client,de=ee.offset,fe=ee.combineWith,ve=ee.dropping,ye=!!fe,Fe=Cd(ee),Ze=!!ve,et=Ze?po.drop(de,ye):po.moveTo(de),Xe={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:Fd(Fe,ve),transform:et,opacity:bd(ye,Ze),zIndex:Ze?Ys.dropAnimating:Ys.dragging,pointerEvents:"none"};return Xe}function Ad(ee){return{transform:po.moveTo(ee.offset),transition:ee.shouldAnimateDisplacement?null:"none"}}function xd(ee){return ee.type==="DRAGGING"?Bd(ee):Ad(ee)}function Dd(ee,ne,oe){oe===void 0&&(oe=ir);var de=window.getComputedStyle(ne),fe=ne.getBoundingClientRect(),ve=na(fe,de),ye=Bn(ve,oe),Fe={client:ve,tagName:ne.tagName.toLowerCase(),display:de.display},Ze={x:ve.marginBox.width,y:ve.marginBox.height},et={descriptor:ee,placeholder:Fe,displaceBy:Ze,client:ve,page:ye};return et}function wd(ee){var ne=Yr("draggable"),oe=ee.descriptor,de=ee.registry,fe=ee.getDraggableRef,ve=ee.canDragInteractiveElements,ye=ee.shouldRespectForcePress,Fe=ee.isEnabled,Ze=_n(function(){return{canDragInteractiveElements:ve,shouldRespectForcePress:ye,isEnabled:Fe}},[ve,Fe,ye]),et=Pn(function(st){var Ht=fe();return Ht||Vt(!1),Dd(oe,Ht,st)},[oe,fe]),Xe=_n(function(){return{uniqueId:ne,descriptor:oe,options:Ze,getDimension:et}},[oe,et,Ze,ne]),je=(0,b.useRef)(Xe),Ve=(0,b.useRef)(!0);fn(function(){return de.draggable.register(je.current),function(){return de.draggable.unregister(je.current)}},[de.draggable]),fn(function(){if(Ve.current){Ve.current=!1;return}var st=je.current;je.current=Xe,de.draggable.update(Xe,st)},[Xe,de.draggable])}function Ld(ee,ne,oe){vi(function(){function de(ve){return"Draggable[id: "+ve+"]: "}var fe=ee.draggableId;fe||Vt(!1),typeof fe!="string"&&Vt(!1),mo(ee.index)||Vt(!1),ee.mapped.type!=="DRAGGING"&&(Qs(oe()),ee.isEnabled&&(rr(ne,fe)||Vt(!1)))})}function Nd(ee){}function Id(ee){ee.preventDefault()}function Od(ee){var ne=(0,b.useRef)(null),oe=Pn(function(Do){ne.current=Do},[]),de=Pn(function(){return ne.current},[]),fe=Bs(Ui),ve=fe.contextId,ye=fe.dragHandleUsageInstructionsId,Fe=fe.registry,Ze=Bs(ks),et=Ze.type,Xe=Ze.droppableId,je=_n(function(){return{id:ee.draggableId,index:ee.index,type:et,droppableId:Xe}},[ee.draggableId,ee.index,et,Xe]),Ve=ee.children,st=ee.draggableId,Ht=ee.isEnabled,ea=ee.shouldRespectForcePress,sa=ee.canDragInteractiveElements,fa=ee.isClone,Ma=ee.mapped,Va=ee.dropAnimationFinished;if(Ld(ee,ve,de),Nd(fa),!fa){var Xa=_n(function(){return{descriptor:je,registry:Fe,getDraggableRef:de,canDragInteractiveElements:sa,shouldRespectForcePress:ea,isEnabled:Ht}},[je,Fe,de,sa,ea,Ht]);wd(Xa)}var eo=_n(function(){return Ht?{tabIndex:0,role:"button","aria-describedby":ye,"data-rbd-drag-handle-draggable-id":st,"data-rbd-drag-handle-context-id":ve,draggable:!1,onDragStart:Id}:null},[ve,ye,st,Ht]),Hr=Pn(function(Do){Ma.type==="DRAGGING"&&Ma.dropping&&Do.propertyName==="transform"&&Va()},[Va,Ma]),Fo=_n(function(){var Do=xd(Ma),Ii=Ma.type==="DRAGGING"&&Ma.dropping?Hr:null,sl={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":ve,"data-rbd-draggable-id":st,style:Do,onTransitionEnd:Ii},dragHandleProps:eo};return sl},[ve,eo,st,Ma,Hr,oe]),Ni=_n(function(){return{draggableId:je.id,type:je.type,source:{index:je.index,droppableId:je.droppableId}}},[je.droppableId,je.id,je.index,je.type]);return Ve(Fo,Ma.snapshot,Ni)}var Ks=function(ee,ne){return ee===ne},Js=function(ee){var ne=ee.combine,oe=ee.destination;return oe?oe.droppableId:ne?ne.droppableId:null},Md=function(ne){return ne.combine?ne.combine.draggableId:null},Rd=function(ne){return ne.at&&ne.at.type==="COMBINE"?ne.at.combine.draggableId:null};function kd(){var ee=St(function(fe,ve){return{x:fe,y:ve}}),ne=St(function(fe,ve,ye,Fe,Ze){return{isDragging:!0,isClone:ve,isDropAnimating:!!Ze,dropAnimation:Ze,mode:fe,draggingOver:ye,combineWith:Fe,combineTargetFor:null}}),oe=St(function(fe,ve,ye,Fe,Ze,et,Xe){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Ze,combineWith:et,mode:ve,offset:fe,dimension:ye,forceShouldAnimate:Xe,snapshot:ne(ve,Fe,Ze,et,null)}}}),de=function(ve,ye){if(ve.isDragging){if(ve.critical.draggable.id!==ye.draggableId)return null;var Fe=ve.current.client.offset,Ze=ve.dimensions.draggables[ye.draggableId],et=Bi(ve.impact),Xe=Rd(ve.impact),je=ve.forceShouldAnimate;return oe(ee(Fe.x,Fe.y),ve.movementMode,Ze,ye.isClone,et,Xe,je)}if(ve.phase==="DROP_ANIMATING"){var Ve=ve.completed;if(Ve.result.draggableId!==ye.draggableId)return null;var st=ye.isClone,Ht=ve.dimensions.draggables[ye.draggableId],ea=Ve.result,sa=ea.mode,fa=Js(ea),Ma=Md(ea),Va=ve.dropDuration,Xa={duration:Va,curve:tr.drop,moveTo:ve.newHomeClientOffset,opacity:Ma?xr.opacity.drop:null,scale:Ma?xr.scale.drop:null};return{mapped:{type:"DRAGGING",offset:ve.newHomeClientOffset,dimension:Ht,dropping:Xa,draggingOver:fa,combineWith:Ma,mode:sa,forceShouldAnimate:null,snapshot:ne(sa,st,fa,Ma,Xa)}}}return null};return de}function Xs(ee){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ee,combineWith:null}}var _d={mapped:{type:"SECONDARY",offset:ir,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Xs(null)}};function Td(){var ee=St(function(ye,Fe){return{x:ye,y:Fe}}),ne=St(Xs),oe=St(function(ye,Fe,Ze){return Fe===void 0&&(Fe=null),{mapped:{type:"SECONDARY",offset:ye,combineTargetFor:Fe,shouldAnimateDisplacement:Ze,snapshot:ne(Fe)}}}),de=function(Fe){return Fe?oe(ir,Fe,!0):null},fe=function(Fe,Ze,et,Xe){var je=et.displaced.visible[Fe],Ve=!!(Xe.inVirtualList&&Xe.effected[Fe]),st=oi(et),Ht=st&&st.draggableId===Fe?Ze:null;if(!je){if(!Ve)return de(Ht);if(et.displaced.invisible[Fe])return null;var ea=An(Xe.displacedBy.point),sa=ee(ea.x,ea.y);return oe(sa,Ht,!0)}if(Ve)return de(Ht);var fa=et.displacedBy.point,Ma=ee(fa.x,fa.y);return oe(Ma,Ht,je.shouldAnimate)},ve=function(Fe,Ze){if(Fe.isDragging)return Fe.critical.draggable.id===Ze.draggableId?null:fe(Ze.draggableId,Fe.critical.draggable.id,Fe.impact,Fe.afterCritical);if(Fe.phase==="DROP_ANIMATING"){var et=Fe.completed;return et.result.draggableId===Ze.draggableId?null:fe(Ze.draggableId,et.result.draggableId,et.impact,et.afterCritical)}return null};return ve}var Zd=function(){var ne=kd(),oe=Td(),de=function(ve,ye){return ne(ve,ye)||oe(ve,ye)||_d};return de},Gd={dropAnimationFinished:Fa},jd=rn(Zd,Gd,null,{context:_a,pure:!0,areStatePropsEqual:Ks})(Od);function qs(ee){var ne=Bs(ks),oe=ne.isUsingCloneFor;return oe===ee.draggableId&&!ee.isClone?null:b.createElement(jd,ee)}function Hd(ee){var ne=typeof ee.isDragDisabled=="boolean"?!ee.isDragDisabled:!0,oe=!!ee.disableInteractiveElementBlocking,de=!!ee.shouldRespectForcePress;return b.createElement(qs,(0,Ae.Z)({},ee,{isClone:!1,isEnabled:ne,canDragInteractiveElements:oe,shouldRespectForcePress:de}))}function zd(ee){var ne=(0,b.useContext)(Ui);ne||Vt(!1);var oe=ne.contextId,de=ne.isMovementAllowed,fe=(0,b.useRef)(null),ve=(0,b.useRef)(null),ye=ee.children,Fe=ee.droppableId,Ze=ee.type,et=ee.mode,Xe=ee.direction,je=ee.ignoreContainerClipping,Ve=ee.isDropDisabled,st=ee.isCombineEnabled,Ht=ee.snapshot,ea=ee.useClone,sa=ee.updateViewportMaxScroll,fa=ee.getContainerForClone,Ma=Pn(function(){return fe.current},[]),Va=Pn(function(pl){fe.current=pl},[]),Xa=Pn(function(){return ve.current},[]),eo=Pn(function(pl){ve.current=pl},[]);Pd({props:ee,getDroppableRef:Ma,getPlaceholderRef:Xa});var Hr=Pn(function(){de()&&sa({maxScroll:$o()})},[de,sa]);gd({droppableId:Fe,type:Ze,mode:et,direction:Xe,isDropDisabled:Ve,isCombineEnabled:st,ignoreContainerClipping:je,getDroppableRef:Ma});var Fo=b.createElement(yd,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(pl){var vu=pl.onClose,cu=pl.data,Kl=pl.animate;return b.createElement(pd,{placeholder:cu,onClose:vu,innerRef:eo,animate:Kl,contextId:oe,onTransitionEnd:Hr})}),Ni=_n(function(){return{innerRef:Va,placeholder:Fo,droppableProps:{"data-rbd-droppable-id":Fe,"data-rbd-droppable-context-id":oe}}},[oe,Fe,Fo,Va]),Do=ea?ea.dragging.draggableId:null,Ii=_n(function(){return{droppableId:Fe,type:Ze,isUsingCloneFor:Do}},[Fe,Do,Ze]);function sl(){if(!ea)return null;var pl=ea.dragging,vu=ea.render,cu=b.createElement(qs,{draggableId:pl.draggableId,index:pl.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Kl,pu){return vu(Kl,pu,pl)});return Za.createPortal(cu,fa())}return b.createElement(ks.Provider,{value:Ii},ye(Ni,Ht),sl())}var Zs=function(ne,oe){return ne===oe.droppable.type},$s=function(ne,oe){return oe.draggables[ne.draggable.id]},Vd=function(){var ne={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},oe=(0,Ae.Z)({},ne,{shouldAnimatePlaceholder:!1}),de=St(function(ye){return{draggableId:ye.id,type:ye.type,source:{index:ye.index,droppableId:ye.droppableId}}}),fe=St(function(ye,Fe,Ze,et,Xe,je){var Ve=Xe.descriptor.id,st=Xe.descriptor.droppableId===ye;if(st){var Ht=je?{render:je,dragging:de(Xe.descriptor)}:null,ea={isDraggingOver:Ze,draggingOverWith:Ze?Ve:null,draggingFromThisWith:Ve,isUsingPlaceholder:!0};return{placeholder:Xe.placeholder,shouldAnimatePlaceholder:!1,snapshot:ea,useClone:Ht}}if(!Fe)return oe;if(!et)return ne;var sa={isDraggingOver:Ze,draggingOverWith:Ve,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Xe.placeholder,shouldAnimatePlaceholder:!0,snapshot:sa,useClone:null}}),ve=function(Fe,Ze){var et=Ze.droppableId,Xe=Ze.type,je=!Ze.isDropDisabled,Ve=Ze.renderClone;if(Fe.isDragging){var st=Fe.critical;if(!Zs(Xe,st))return oe;var Ht=$s(st,Fe.dimensions),ea=Bi(Fe.impact)===et;return fe(et,je,ea,ea,Ht,Ve)}if(Fe.phase==="DROP_ANIMATING"){var sa=Fe.completed;if(!Zs(Xe,sa.critical))return oe;var fa=$s(sa.critical,Fe.dimensions);return fe(et,je,Js(sa.result)===et,Bi(sa.impact)===et,fa,Ve)}if(Fe.phase==="IDLE"&&Fe.completed&&!Fe.shouldFlush){var Ma=Fe.completed;if(!Zs(Xe,Ma.critical))return oe;var Va=Bi(Ma.impact)===et,Xa=!!(Ma.impact.at&&Ma.impact.at.type==="COMBINE"),eo=Ma.critical.droppable.id===et;return Va?Xa?ne:oe:eo?ne:oe}return oe};return ve},Wd={updateViewportMaxScroll:jn};function Ud(){return document.body||Vt(!1),document.body}var Qd={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Ud},ed=rn(Vd,Wd,null,{context:_a,pure:!0,areStatePropsEqual:Ks})(zd);ed.defaultProps=Qd},38486:function(Et,Mt){"use strict";var re;var b=60103,pe=60106,we=60107,Ae=60108,_e=60114,Ue=60109,De=60110,tt=60112,Oe=60113,Le=60120,ke=60115,Ge=60116,Je=60121,le=60122,E=60117,a=60129,x=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;b=y("react.element"),pe=y("react.portal"),we=y("react.fragment"),Ae=y("react.strict_mode"),_e=y("react.profiler"),Ue=y("react.provider"),De=y("react.context"),tt=y("react.forward_ref"),Oe=y("react.suspense"),Le=y("react.suspense_list"),ke=y("react.memo"),Ge=y("react.lazy"),Je=y("react.block"),le=y("react.server.block"),E=y("react.fundamental"),a=y("react.debug_trace_mode"),x=y("react.legacy_hidden")}function z(Ke){if(typeof Ke=="object"&&Ke!==null){var We=Ke.$$typeof;switch(We){case b:switch(Ke=Ke.type,Ke){case we:case _e:case Ae:case Oe:case Le:return Ke;default:switch(Ke=Ke&&Ke.$$typeof,Ke){case De:case tt:case Ge:case ke:case Ue:return Ke;default:return We}}case pe:return We}}}var te=Ue,ae=b,se=tt,ie=we,he=Ge,be=ke,He=pe,Ne=_e,dt=Ae,Re=Oe;re=De,re=te,re=ae,re=se,re=ie,re=he,re=be,re=He,re=Ne,re=dt,re=Re,re=function(){return!1},re=function(){return!1},Mt.isContextConsumer=function(Ke){return z(Ke)===De},re=function(Ke){return z(Ke)===Ue},re=function(Ke){return typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===b},re=function(Ke){return z(Ke)===tt},re=function(Ke){return z(Ke)===we},re=function(Ke){return z(Ke)===Ge},re=function(Ke){return z(Ke)===ke},re=function(Ke){return z(Ke)===pe},re=function(Ke){return z(Ke)===_e},re=function(Ke){return z(Ke)===Ae},re=function(Ke){return z(Ke)===Oe},re=function(Ke){return typeof Ke=="string"||typeof Ke=="function"||Ke===we||Ke===_e||Ke===a||Ke===Ae||Ke===Oe||Ke===Le||Ke===x||typeof Ke=="object"&&Ke!==null&&(Ke.$$typeof===Ge||Ke.$$typeof===ke||Ke.$$typeof===Ue||Ke.$$typeof===De||Ke.$$typeof===tt||Ke.$$typeof===E||Ke.$$typeof===Je||Ke[0]===le)},re=z},53410:function(Et,Mt,re){"use strict";Et.exports=re(38486)},32637:function(Et,Mt,re){"use strict";Et.exports=re.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII="},36413:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAAAXNSR0IArs4c6QAABPRJREFUSEudlXtQVGUYxp/vnLOcXcDltsACCyjesAypbMbQEpsxCyfDZtbyMqOMgZPSaDOYXUaGSzhoNXkBBbRGpXEGCx1Xa1KsTDTJQcUQyJ3RVEA22GUX3N2zl3POV7sMTCuE1Tdz5vzxvuf3fs97OwSPOHNnL13IgDwDyGGUIY0XLh8/9ahvfHYyllNmZibnHVDHcAo2WZZpL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