diff --git a/index.html b/index.html index 0d60c18c6c..ecac1ad1f1 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Detail__index.2c4bf2b5.async.js b/p__Classrooms__Lists__Exercise__Detail__index.30a21f54.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Detail__index.2c4bf2b5.async.js rename to p__Classrooms__Lists__Exercise__Detail__index.30a21f54.async.js index a6198eaf1e..54a8737665 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.2c4bf2b5.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.30a21f54.async.js @@ -97,7 +97,7 @@ `;for(let Su=0;Su{switch(fr){case Fn:return a.createElement(Kt,{callback:Ar,onCancel:Ro});case wa:return a.createElement(mt.Z,{callback:Ar,onCancel:Ro});case Ot:return a.createElement(Je.Z,{callback:Ar,onCancel:Ro});case _t:return a.createElement(xt,{callback:Ar,onCancel:Ro});case Ga:return a.createElement(xe,{callback:Ar,onCancel:Ro});case"maths-latex":return a.createElement(Qn,{showSaveButton:!0,callback:Ar});case"inline-latex":return a.createElement(_n.Z,{showSaveButton:!0,callback:Ar});default:return null}},[fr]);function Ro(){co("")}(0,a.useEffect)(()=>{if(Da.current){let qr=function(il){si=!0,Xi=il.pageY},Mr=function(){si=!1},Qr=function(il){if(si){let ml=il.pageY-Xi;ml<0&&(ml=0),ml>300&&(ml=300);let Vl=qe+ml+"px";oi(Vl)}},Kr=Da.current,si=!1,Xi=0;return Kr.addEventListener("mousedown",qr),document.addEventListener("mousemove",Qr),document.addEventListener("mouseup",Mr),()=>{Kr.removeEventListener("mousedown",qr),document.removeEventListener("mousemove",Qr),document.removeEventListener("mouseup",Mr)}}},[Kn,Da]),(0,a.useEffect)(()=>{oi(qe)},[qe]);const Oi=Ln(Ie),Qo=Ln($r),Eo={width:Oi,height:Qo},Io=(0,a.useMemo)(()=>{if(Do){let qr=new Date(Do),Mr=qr.getHours(),Qr=qr.getMinutes(),Kr=qr.getSeconds();return Mr=Mr<10?"0"+Mr:Mr,Qr=Qr<10?"0"+Qr:Qr,Kr=Kr<10?"0"+Kr:Kr,`${Mr}:${Qr}:${Kr}`}return 0},[Do]),ii=qr=>{const Mr=[];if(ya){let Qr=-1;qr=qr.replace(/(@▁▁@|@▁@)/g,function(Kr,si,Xi){Mr.push({multiLine:Kr!==En})})}return Mr};function ol(){window.sessionStorage.removeItem(qt),al(!1),io(0)}function nl(){al(!1),io(0),Kn.setValue(window.sessionStorage.getItem(qt))}(0,a.useEffect)(()=>{dn[fr]&&fr!==Cn&&fr!==_t&&setTimeout(()=>{const qr=document.getElementsByClassName("markdown-popup-form")[0],Mr=window.innerWidth/2-qr.offsetWidth/2,Qr=window.innerHeight/2-qr.offsetHeight/2;Gi(Mr),Lo(Qr)},0)},[fr]);const Ol=qr=>{qr.preventDefault();const Mr=qr.clientX-Ri,Qr=qr.clientY-zi;document.body.onmousemove=Kr=>{let si=Kr.clientX-Mr,Xi=Kr.clientY-Qr;const il=document.getElementsByClassName("markdown-popup-form")[0],ml=window.innerWidth-il.offsetWidth,Vl=window.innerHeight-il.offsetHeight;si=Math.max(0,Math.min(si,ml)),Xi=Math.max(0,Math.min(Xi,Vl)),Nl(Kr.clientX,Kr.clientY,Mr,Qr)&&(Gi(si),Lo(Xi))},document.body.onmouseup=function(){document.body.onmousemove=null}},Nl=(qr,Mr,Qr,Kr)=>{const si=document.body.clientHeight,Xi=document.body.clientWidth;return qr<20&&Qr>qr||qr>Xi-20&&QrMr||Mr>si-20&&KrTe in Se?ze(Se,Te,{enumerable:!0,configurable:!0,writable:!0,value:we}):Se[Te]=we,ee=(Se,Te)=>{for(var we in Te||(Te={}))E.call(Te,we)&&b(Se,we,Te[we]);if(y)for(var we of y(Te))z.call(Te,we)&&b(Se,we,Te[we]);return Se},te=(Se,Te)=>Ce(Se,re(Te));const{useForm:ne}=a.default,ue={width:280,marginRight:10},se={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:Se,onCancel:Te})=>{const[we]=ne();let ot=(0,De.useRef)();function Ze(lt){ot.current.width=we.getFieldValue("width"),ot.current.align=we.getFieldValue("align"),Se(lt,ot.current)}function it(lt,Pt){if(lt.status===-1){fe.ZP.error(lt.message);return}we.setFieldsValue({src:`/api/attachments/${lt.id}`,type:Pt.type})}function Ve(lt){let Pt=lt.target.files[0];ot.current=Pt,Ae(Pt,it)}return Me.createElement(a.default,te(ee({form:we},se),{className:"upload-image-panel",onFinish:Ze,style:{width:470,overflow:"hidden"}}),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Me.createElement("div",{className:"flex-container"},Me.createElement(a.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Me.createElement(Le.default,{style:ue})),Me.createElement(pe,{onFileChange:Ve}))),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Me.createElement(Le.default,{style:{width:264}})),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Me.createElement(ye.Z,null,Me.createElement(a.default.Item,{name:"width",style:{margin:0}},Me.createElement(Fe.Z,{style:{width:264}})),Me.createElement("span",{className:"ml8"},"%"))),Me.createElement(a.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Me.createElement(Be.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Me.createElement("aside",null,Me.createElement(a.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Me.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Me.createElement(oe.ZP,{type:"default",onClick:Te},"\u53D6\u6D88"))))};function pe({onFileChange:Se}){return Me.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Me.createElement("input",{type:"file",onChange:Se}))}function Ae(Se,Te){if(!Se)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,be.bg)())throw fe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",Se),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var ot=new window.XMLHttpRequest;ot.withCredentials=!0,ot.addEventListener("load",function(Ze){Te(JSON.parse(Ze.target.responseText),Se)},!1),ot.addEventListener("error",function(Ze){console.error(Ze)},!1),ot.open("POST",`${Re.KI}/api/attachments.json`),ot.send(we)}},74254:function(Nt,st,x){"use strict";x.d(st,{Z:function(){return Le}});var a=x(59301),fe=x(4676);class Le extends a.Component{constructor(Fe){super(Fe);const Be=window.document;this.node=Be.createElement("div"),Be.body.appendChild(this.node)}render(){const{children:Fe}=this.props;return(0,fe.createPortal)(Fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},53253:function(Nt,st,x){"use strict";x.d(st,{i:function(){return se},Z:function(){return pe}});var a={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},fe=x(71418),Le=x(6848),ye=x(93948),Fe=x(92310),Be=x.n(Fe),oe=x(94601),Re=x(62556),De=x(47141),be=x(79005),Me=x(20345),ze=x(77882),Ce=x(31081),re=x(75309),y=x(71979),E=x(47558),z=x(42922),b=x(66832),ee=x(96593),te=x(19664),ne=x(91833),ue=x(59301);const se=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:be,swimg:Me},{name:"101\u8BA1\u5212",ptimg:ze,swimg:Ce},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:re,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:z},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:ee},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:ne}];var pe=({className:Ae,dataSource:Se=[],col:Te=4,right:we,bottom:ot=23,precision:Ze=0,wrapWidth:it=1200,trackEventItems:Ve,loading:lt,onRemove:Pt=()=>{},isCurrent:ht=!0,showAlias:Et=!1,showProgress:Lt=!1})=>{const kt=Math.floor((it-(Te-1)*we)/Te),Kt=[{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(mt=>(window.ENV==="build"&&(mt.ptimg=`/react/build${mt.ptimg}`,mt.swimg=`/react/build${mt.swimg}`),mt));return ue.createElement(fe.Z,{spinning:lt},ue.createElement("div",{className:Be()(a.list,Ae)},!!(Se!=null&&Se.length)&&(Se==null?void 0:Se.map((mt,Je)=>{var ut,Mt,$t,Ut,Sn,We;const{name:en,id:Tn,identifier:hn,featured:sn,school_name:rt,image_url:vt,excellent:$e,is_plan:He}=mt;return ue.createElement("div",{key:Tn,className:ht&&Lt?a.wrapisCurrent:a.wrap,style:{width:kt,marginRight:(1+Je)%Te===0?0:we+Ze,marginBottom:ot}},ue.createElement("a",{className:a.li,onClick:yt=>{yt.preventDefault(),yt.stopPropagation(),Ve&&(0,oe.L9)([Ve]),(0,oe.xg)(`/paths/${hn}`)}},ue.createElement("div",{className:a.img},ue.createElement("img",{className:a.cover,src:`${vt}`}),ht&&(0,De.bg)()&&(mt==null?void 0:mt.studying)&&ue.createElement("div",{className:`${a.movebq} user-path-items`,onClick:yt=>{yt.stopPropagation(),Pt(mt)}},ue.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ue.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ut=mt==null?void 0:mt.subject_tags)==null?void 0:ut.map((yt,xt)=>{var Ye,Qe;if(xt===0){const Xe=(Ye=Kt.find(xe=>xe.name==yt))==null?void 0:Ye.swimg;return ue.createElement("img",{className:a.sign,src:Xe,style:{left:"-4px"}})}const gt=(Qe=Kt.find(Xe=>Xe.name==yt))==null?void 0:Qe.ptimg;return ue.createElement("img",{className:a.sign,src:gt,style:{left:`${48+52*(xt-1)+2*xt}px`}})}),ue.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(mt==null?void 0:mt.excellent)&&ue.createElement("div",{className:a.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:a.name},ue.createElement(Le.Z,{title:Et&&(mt!=null&&mt.excellent_alias_name)?ue.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${en}`,ue.createElement("br",null),ue.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${mt==null?void 0:mt.excellent_alias_name}`)):en},ue.createElement("span",{className:a.e},Et&&(mt==null?void 0:mt.excellent_alias_name)||en))),ht&&Lt&&((Mt=mt==null?void 0:mt.progress)==null?void 0:Mt.all_score)!=0&&ue.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ue.createElement(ye.Z,{strokeColor:"#44d7b6",gap:"small",percent:((($t=mt==null?void 0:mt.progress)==null?void 0:$t.my_score)/((Ut=mt==null?void 0:mt.progress)==null?void 0:Ut.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Sn=mt==null?void 0:mt.progress)==null?void 0:Sn.my_score,"/",(We=mt==null?void 0:mt.progress)==null?void 0:We.all_score),(!ht||!Lt)&&ue.createElement("div",{className:a.tags},ue.createElement("div",null,ue.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ue.createElement("span",null,mt.stages_count))),ue.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ue.createElement("span",null,mt.members_count)))))))})),!Se.length&&ue.createElement(Re.Z,null)))}},15817:function(Nt,st,x){"use strict";x.d(st,{jL:function(){return Fe},w9:function(){return Dn},dN:function(){return Tt},QD:function(){return on},cQ:function(){return Ut.Z},Oz:function(){return Xe},op:function(){return Ie},O5:function(){return Ur},_b:function(){return ma},t7:function(){return Se},Gi:function(){return tn},YG:function(){return Cn},kT:function(){return Ga},qp:function(){return z},K3:function(){return te},vr:function(){return Xt},qE:function(){return Rt},Je:function(){return ot},wb:function(){return Je},lB:function(){return $t},cq:function(){return Hr},tp:function(){return se},Si:function(){return gr},k8:function(){return tl},Du:function(){return oi}});var a=x(59301),fe={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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s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Fe=({dataSource:Da=[],img:ba,imgWidth:Wa=346,title:Br,sunTitle:lr,bannerExtraContent:mo})=>a.createElement("div",{className:fe.banner},a.createElement("div",{className:fe.content},a.createElement("aside",null,a.createElement("p",null,a.createElement("b",null,Br),a.createElement("span",null,lr)),Da.length>0&&a.createElement("div",{className:fe.btns},Da.map((Ar,zo)=>a.createElement("div",{key:zo,onClick:Ar.click},Ar.name,Ar.sign?a.createElement("img",{src:Le,width:39}):null))),mo),ba&&a.createElement("img",{style:{marginTop:33,marginRight:38},src:ba,width:Wa}))),Be={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"},oe=x(92310),Re=x.n(oe),De=x(89392),be=Object.defineProperty,Me=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,re=(Da,ba,Wa)=>ba in Da?be(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,y=(Da,ba)=>{for(var Wa in ba||(ba={}))ze.call(ba,Wa)&&re(Da,Wa,ba[Wa]);if(Me)for(var Wa of Me(ba))Ce.call(ba,Wa)&&re(Da,Wa,ba[Wa]);return Da},z=({dataSource:Da=[],value:ba,onChange:Wa,onTitleChange:Br,className:lr,title:mo,titleWidth:Ar=41,style:zo={},fontColor:Ro="#6A7283",showCount:Oi,classNameActive:Qo,styleItem:Eo={}})=>{const[Io,ii]=(0,a.useState)(0),[ol,nl]=(0,a.useState)(!1),Ol=(0,a.useRef)(null),Nl=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var qr;Da.length!==0&&(((qr=Ol==null?void 0:Ol.current)==null?void 0:qr.clientHeight)>97?ii(1):ii(0)),Da.length===0&&ii(0),nl(!1)},[Da]),a.createElement("div",{className:Re()(Be.row,lr),style:zo},a.createElement("div",{onClick:(0,De.throttle)(()=>Br==null?void 0:Br(),2e3),style:{width:Ar,marginTop:ol?12:4},className:`${Be.title} ${Br?"current":""}`},mo),a.createElement("div",{className:ol?`${Be.tagsWrap} ${Be.tagsBorderWrap}`:Be.tagsWrap},a.createElement("div",{className:Be.bar,ref:Nl,style:Io>0?{height:Io===1?97:"auto",overflow:Io===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},a.createElement("div",{className:Be.tag,ref:Ol},Da==null?void 0:Da.map(qr=>a.createElement("span",{onClick:()=>Wa(qr.id),key:qr.id,style:y(y({color:Ro},Eo),(qr==null?void 0:qr.style)||{}),className:ba===qr.id?Re()(Qo||Be.active,qr.classNameActive):""},a.createElement("span",{title:qr.name,className:Be.name},qr.name),!!Oi&&a.createElement("span",{className:Be.num},qr.count))))),!!Io&&a.createElement(a.Fragment,null,Io===1?a.createElement("div",{onClick:()=>{var qr;ii(2),((qr=Ol==null?void 0:Ol.current)==null?void 0:qr.clientHeight)>245?nl(!0):nl(!1)},className:Be.action},"\u5C55\u5F00",a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):a.createElement("div",{onClick:()=>{Nl.current.scrollTop=0,ii(1),nl(!1)},className:Be.action},"\u6536\u8D77",a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Da=[],value:ba,onChange:Wa,onTitleChange:Br,className:lr,title:mo,titleWidth:Ar=41,style:zo={},fontColor:Ro="#6A7283",showCount:Oi,expand:Qo=!0})=>{const[Eo,Io]=(0,a.useState)(0),[ii,ol]=(0,a.useState)(!1),nl=(0,a.useRef)(null),Ol=(0,a.useRef)(null),[Nl,qr]=(0,a.useState)(Qo);return a.createElement("div",{className:Re()(b.row,lr),style:zo},a.createElement("div",{className:"flex item-center justify-between"},a.createElement("div",{onClick:(0,De.throttle)(()=>Br==null?void 0:Br(),2e3),style:{width:Ar,marginTop:ii?12:4},className:`${b.title} ${Br?"current":""}`},mo),a.createElement("i",{className:`iconfont ${Nl?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Nl?8:10},onClick:()=>qr(!Nl)})),Nl&&a.createElement("div",{className:ii?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},a.createElement("div",{className:b.fenge}),a.createElement("div",{className:b.bar,ref:Ol},a.createElement("div",{className:b.tag,ref:nl},Da==null?void 0:Da.map(Mr=>a.createElement("span",{onClick:()=>Wa(Mr.id),key:Mr.id,style:{color:Ro},className:ba===Mr.id?b.active:""},a.createElement("span",{title:Mr.name,className:b.name},Mr.name),!!Oi&&a.createElement("span",{className:b.num},Mr.count)))))))},ne={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},se=({dataSource:Da=[],value:ba,onChange:Wa,className:Br,style:lr={}})=>a.createElement("div",{style:lr,className:Re()(ne.tabs,Br)},Da.map(mo=>a.createElement("span",{onClick:()=>Wa(mo.id),className:ba===mo.id?ne.active:"",key:mo.id},mo.name))),de={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},pe=x(92832),Se=({dataSource:Da=[],value:ba="",onChange:Wa,onInputChange:Br=()=>{},className:lr,style:mo={},placeholder:Ar,allowClear:zo=!1})=>{var Ro;const[Oi,Qo]=(0,a.useState)(""),[Eo,Io]=(0,a.useState)("");(0,a.useEffect)(()=>{var nl;let Ol=ba;(nl=JSON.stringify(ba))!=null&&nl.includes("{")&&(Qo(ba.id),Ol=ba.value||"");try{Io(decodeURIComponent(Ol||""))}catch(Nl){Io(decodeURIComponent(Ol||""))}},[ba]);const ii=()=>{Wa(encodeURIComponent(Eo),Oi||null)},ol=nl=>{nl!==Oi&&(Qo(nl),Wa(encodeURIComponent(Eo),nl))};return a.createElement("div",{className:Re()(de.input,lr),style:mo},!!Da.length&&a.createElement("div",{className:de.dropdown},a.createElement("div",{className:de.text},(Ro=Da.find(nl=>nl.id===Oi))==null?void 0:Ro.name,a.createElement("i",{className:"iconfont icon-zhankai4"}),a.createElement("b",{className:de.b1}),a.createElement("b",{className:de.b2})),a.createElement("div",{className:de.menu},Da.map((nl,Ol)=>a.createElement("div",{key:Ol,onClick:()=>ol(nl.id)},nl.name)))),a.createElement(pe.default,{onPressEnter:ii,value:Eo,onChange:nl=>{Io(nl.target.value),Br(encodeURIComponent(nl.target.value),Oi||null)},bordered:!1,placeholder:Ar}),a.createElement("i",{onClick:ii,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Te={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"},ot=({value:Da,onChange:ba,className:Wa,total:Br,pageSize:lr,style:mo={}})=>{const Ar=Da<2,zo=Da>=Math.ceil(Br/lr);return Br<=lr?a.createElement(a.Fragment,null):a.createElement("div",{className:Re()(Te.quickPager,Wa),style:mo},a.createElement("div",{onClick:()=>{Ar||ba(Da-1,"prev")},className:Ar?Te.disabled:""},"\u4E0A\u4E00\u9875"),a.createElement("div",{onClick:()=>{zo||ba(Da+1,"next")},className:zo?Te.disabled:""},"\u4E0B\u4E00\u9875"))},Ze={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"},it=x(71418),Ve=x(6848),lt=x(13570),Pt=x(85386),ht=x(94601),Et=x(96908),Lt=x(57177),kt=x(81378),Kt=x(62556),Je=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,trackEventItems:zo,loading:Ro})=>{const Oi=Math.floor((Ar-(Wa-1)*Br)/Wa);return a.createElement(it.Z,{spinning:Ro},a.createElement("div",{className:Re()(Ze.list,Da)},!!ba.length&&ba.map((Qo,Eo)=>{const{name:Io,id:ii,identifier:ol,power:nl,cover_image_id:Ol,pic:Nl}=Qo;return a.createElement("div",{className:Ze.wrap,key:ii,style:{width:Oi,marginRight:(1+Eo)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{target:"_blank",href:`/shixuns/${ol}/challenges`,className:Ze.li,onClick:qr=>{qr.preventDefault(),zo&&(0,ht.L9)([zo]),nl&&(0,ht.xg)(`/shixuns/${ol}/challenges`)}},a.createElement("div",{className:Ze.img},a.createElement("img",{className:Ze.cover,src:`${Nl}`}),Qo.is_jupyter&&a.createElement("img",{className:Ze.sign,src:Et}),Qo.is_jupyter_lab&&a.createElement("img",{className:Ze.sign,src:Lt}),Qo.is_unity_3d&&a.createElement("img",{className:Ze.sign,src:kt})),a.createElement("div",{className:Ze.name},a.createElement(Ve.Z,{title:Io||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:Ze.e},Io||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{className:Ze.tags},a.createElement(Ve.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),a.createElement("span",null,Qo.challenges_count))),!!Qo.myshixuns_count&&a.createElement(Ve.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),a.createElement("span",null,Qo.myshixuns_count))),a.createElement(Ve.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},a.createElement("span",null,a.createElement("span",null,Qo.level))),a.createElement("div",{className:Ze.rate},a.createElement(lt.Z,{allowHalf:!0,disabled:!0,defaultValue:Qo.score_info}),a.createElement("span",null,"\xA0",Qo.score_info?`${Qo.score_info}\u5206`:"5\u5206")))),!nl&&a.createElement("div",{className:Ze.lockWrap},a.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ba.length&&a.createElement(Kt.Z,null)))},ut={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},$t=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,wrapClassName:zo,trackEventItems:Ro,loading:Oi})=>{const Qo=Math.floor((Ar-(Wa-1)*Br)/Wa);return a.createElement(it.Z,{spinning:Oi},a.createElement("div",{className:Re()(ut.list,Da)},!!ba.length&&ba.map((Eo,Io)=>{const{name:ii,id:ol,identifier:nl,power:Ol,cover_image_id:Nl,pic:qr}=Eo;return a.createElement("div",{className:Re()(ut.wrap,zo),key:ol,style:{width:Qo,marginRight:(1+Io)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{target:"_blank",href:`/shixuns/${nl}/challenges`,className:ut.li,onClick:Mr=>{Mr.preventDefault(),Ro&&(0,ht.L9)([Ro]),Ol&&(0,ht.xg)(`/shixuns/${nl}/challenges`)}},a.createElement("img",{src:x(47621),className:ut.titleBg}),a.createElement("div",{className:ut.name},a.createElement(Ve.Z,{title:ii||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:ut.e},ii||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:ut.img},a.createElement("img",{className:ut.cover,src:Nl?`${Pt.Z.API_SERVER}/api/attachments/${Nl}`:`${Pt.Z.IMG_SERVER+qr}`}),Eo.is_jupyter&&a.createElement("div",{className:ut.bq},"Jupyter"),Eo.is_jupyter_lab&&a.createElement("div",{className:ut.bq},"JupyterLab"),Eo.is_unity_3d&&a.createElement("div",{className:ut.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),a.createElement("div",{className:"mt20 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:ut.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:ut.value},Eo.myshixuns_count)),a.createElement("div",null,a.createElement("span",{className:ut.text},"\u56F0\u96BE\u7B49\u7EA7"),a.createElement("span",{className:ut.value},Eo.level))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:ut.text},"\u5173\u5361\u6570"),a.createElement("span",{className:ut.value},Eo.challenges_count)),a.createElement("div",{className:ut.rate},a.createElement(lt.Z,{allowHalf:!0,disabled:!0,defaultValue:Eo.score_info}),a.createElement("span",{className:ut.value,style:{color:"#FF9C00"}},"\xA0",Eo.score_info?`${Eo.score_info}\u5206`:"5\u5206"))))),!Ol&&a.createElement("div",{className:ut.lockWrap},a.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ba.length&&a.createElement(Kt.Z,null)))},Ut=x(53253),Sn={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},We=x(79005),en=x(20345),Tn=x(77882),hn=x(31081),sn=x(75309),rt=x(71979),vt=x(47558),$e=x(42922),He=x(66832),yt=x(96593),xt=x(19664),Ye=x(91833);const Qe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:We,swimg:en},{name:"101\u8BA1\u5212",ptimg:Tn,swimg:hn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:sn,swimg:rt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vt,swimg:$e},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:He,swimg:yt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:xt,swimg:Ye}];var Xe=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,trackEventItems:zo,loading:Ro,wrapClassName:Oi,imgClassName:Qo,isArrow:Eo=!1})=>{const Io=Math.floor((Ar-(Wa-1)*Br)/Wa),[ii,ol]=(0,a.useState)(),[nl,Ol]=(0,a.useState)(),Nl=Mr=>ol(Mr),qr=()=>ol(-1);return a.createElement(it.Z,{spinning:Ro},a.createElement("div",{className:Re()(Sn.list,Da)},!!(ba!=null&&ba.length)&&(ba==null?void 0:ba.map((Mr,Qr)=>{var Kr;const{name:si,id:Xi,identifier:il,featured:ml,school_name:Vl,image_url:Rl,excellent:xu,is_plan:iu}=Mr;return a.createElement("div",{key:Xi,className:Re()(Sn.wrap,Oi),style:{width:Io,marginRight:(1+Qr)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{target:"_blank",href:`/paths/${il}`,className:Sn.li,onClick:Bi=>{Bi.preventDefault(),zo&&(0,ht.L9)([zo]),(0,ht.xg)(`/paths/${il}`)}},a.createElement("img",{src:x(39057),className:Sn.titleBg}),a.createElement("div",{className:Sn.name},a.createElement(Ve.Z,{title:si},a.createElement("span",{className:Sn.e,style:{color:Eo&&ii===Qr?"#145DFF":"#000000"},onMouseEnter:()=>{Nl(Qr)},onMouseLeave:qr},si))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:Re()(Sn.img,Qo)},a.createElement("img",{className:Sn.cover,src:`${Pt.Z.IMG_SERVER+Rl}`}),(Kr=Mr==null?void 0:Mr.subject_tags)==null?void 0:Kr.map((Bi,Ti)=>{var ci,Po;if(Ti===0){const fi=(ci=Qe.find(ul=>ul.name==Bi))==null?void 0:ci.swimg;return a.createElement("img",{className:Sn.sign,src:fi,style:{left:"-4px"}})}const ll=(Po=Qe.find(fi=>fi.name==Bi))==null?void 0:Po.ptimg;return a.createElement("img",{className:Sn.sign,src:ll,style:{left:`${48+52*(Ti-1)+2*Ti}px`}})}),a.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Mr==null?void 0:Mr.excellent)&&a.createElement("div",{className:Sn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Sn.text},"\u7AE0\u8282\u6570"),a.createElement("span",{className:Sn.value},Mr.stages_count)),a.createElement("div",null,a.createElement("span",{className:Sn.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:Sn.value},Mr.members_count))))))})),!ba.length&&a.createElement(Kt.Z,null)))},xe={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"},Ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZf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pqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Rn=x(59301),Dn=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,trackEventItems:zo,loading:Ro})=>{const Oi=Math.floor((Ar-(Wa-1)*Br)/Wa);return Rn.createElement(it.Z,{spinning:Ro},Rn.createElement("div",{className:Re()(xe.list,Da)},!!ba.length&&ba.map((Qo,Eo)=>{const{subject_identifier:Io,id:ii,identifier:ol,power:nl}=Qo,Ol=Qo.is_public!=0&&Qo.is_public;return Rn.createElement("div",{className:xe.wrap,key:ii,style:{width:Oi,marginRight:(1+Eo)%Wa===0?0:Br+mo,marginBottom:lr}},Rn.createElement("a",{className:xe.li,onClick:Nl=>{Nl.preventDefault(),zo&&(0,ht.L9)([zo]),(0,ht.xg)(Qo.first_category_url)}},Rn.createElement("div",{className:xe.top},Rn.createElement(Ve.Z,{title:Qo.name},Rn.createElement("div",{className:xe.name},Qo.name)),Rn.createElement("img",{className:xe.img,src:Pt.Z.IMG_SERVER+"/images/"+Qo.avatar_url}),Rn.createElement("div",{className:xe.text,title:Qo.creator},Qo.creator),Io&&Rn.createElement("div",{className:xe.btns},Rn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Rn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ol&&Rn.createElement("div",{className:xe.sign},"\u516C\u5F00")),Rn.createElement("div",{className:xe.bottom},Qo.visits>0&&Rn.createElement(Ve.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Rn.createElement("span",null,Rn.createElement("i",{className:"iconfont icon-liulanyan"}),Rn.createElement("span",null,Qo.visits))),Qo.course_members_count>0&&Rn.createElement(Ve.Z,{title:"\u6210\u5458",placement:"bottom"},Rn.createElement("span",null,Rn.createElement("i",{className:"iconfont icon-chengyuan"}),Qo.course_members_count)),Qo.tasks_count>0&&Rn.createElement(Ve.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Rn.createElement("span",null,Rn.createElement("i",{className:"iconfont icon-zuoye"}),Qo.tasks_count)),Qo.is_end?Rn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Rn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Qo.is_accessible&&Rn.createElement("div",{className:xe.lockWrap},Rn.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Rn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ba.length&&Rn.createElement(Kt.Z,null)))},Qn={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},_n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSr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JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Tt=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,wrapClassName:zo,trackEventItems:Ro,loading:Oi})=>{const Qo=Math.floor((Ar-(Wa-1)*Br)/Wa);return a.createElement(it.Z,{spinning:Oi},a.createElement("div",{className:Re()(Qn.list,Da)},!!ba.length&&ba.map((Eo,Io)=>{const{subject_identifier:ii,id:ol,identifier:nl,power:Ol}=Eo,Nl=Eo.is_public!=0&&Eo.is_public;return a.createElement("div",{className:Re()(`${Qn.wrap} ${Eo.is_accessible?"":Qn.warpStyle}`,zo),key:ol,style:{width:Qo,marginRight:(1+Io)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{className:Qn.li,onClick:qr=>{qr.preventDefault(),Ro&&(0,ht.L9)([Ro]),(0,ht.xg)(Eo.first_category_url)}},a.createElement("div",{className:Qn.creator},a.createElement("img",{className:Qn.img,src:Pt.Z.IMG_SERVER+"/images/"+Eo.avatar_url}),a.createElement("div",{className:Qn.text,title:Eo.creator},Eo.creator)),a.createElement("div",{className:Qn.top},a.createElement(Ve.Z,{title:Eo.name},a.createElement("div",{className:Qn.name},Eo.name)),Nl&&a.createElement("div",{className:Qn.sign},"\u516C\u5F00")),a.createElement("div",{className:Qn.middle},a.createElement("div",{className:Qn.row,style:{marginBottom:6}},a.createElement("div",null,a.createElement("span",{className:Qn.text},"\u8BBF\u95EE\u91CF"),a.createElement("span",{className:Qn.value},(Eo==null?void 0:Eo.visits)||0)),a.createElement("div",null,a.createElement("span",{className:Qn.text},"\u6210\u5458"),a.createElement("span",{className:Qn.value},(Eo==null?void 0:Eo.course_members_count)||0))),a.createElement("div",{className:Qn.row},a.createElement("div",null,a.createElement("span",{className:Qn.text,style:{width:42}},"\u4F5C",a.createElement("span",{style:{marginLeft:14}},"\u4E1A")),a.createElement("span",{className:Qn.value},(Eo==null?void 0:Eo.tasks_count)||0)),a.createElement("div",null,a.createElement("span",{className:Qn.text},"\u72B6\u6001"),Eo.is_end?a.createElement("span",{className:Qn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):a.createElement("span",{className:Qn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ii&&a.createElement("div",{className:Qn.btns},a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Eo.is_accessible&&a.createElement("div",{className:Qn.lockWrap},a.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ba.length&&a.createElement(Kt.Z,null)))},Fn={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"},Ot=x(92123),Cn=({dataSource:Da=[],value:ba,onChange:Wa,className:Br,style:lr={},tabBarExtraContent:mo})=>a.createElement("div",{className:Re()(Fn.tabs,Br),style:lr},a.createElement("div",{className:Fn.tabsWrap},Da.map((Ar,zo)=>a.createElement("aside",{className:Fn.tab,onClick:()=>{Wa(Ar.id),Ar.link&&Ot.history.push(Ar.link)},key:zo},a.createElement("div",{className:ba===Ar.id?Fn.active:""},Ar.name),(Ar==null?void 0:Ar.resetCount)==null&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement("span",null,"\uFF08",Ar==null?void 0:Ar.total,"\uFF09"),(Ar==null?void 0:Ar.resetCount)!==void 0&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement(Ve.Z,{title:(Ar==null?void 0:Ar.tip)!=null?Ar==null?void 0:Ar.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ar==null?void 0:Ar.resetCount),"/",a.createElement("span",null,Ar==null?void 0:Ar.total),"\uFF09"))))),a.createElement("div",{className:Fn.tabBar},mo)),In={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Ga=({dataSource:Da=[],value:ba,onChange:Wa,className:Br,style:lr={},tabBarExtraContent:mo})=>a.createElement("div",{className:Re()(In.tabs,Br),style:lr},a.createElement("div",{className:In.tabsWrap},Da.map((Ar,zo)=>a.createElement("aside",{className:In.tab,onClick:()=>{Wa(Ar.id),Ar.link&&Ot.history.push(Ar.link)},key:zo},a.createElement("div",{className:ba===Ar.id?In.active:""},Ar.name),(Ar==null?void 0:Ar.resetCount)==null&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement("span",null,"\uFF08",Ar==null?void 0:Ar.total,"\uFF09"),(Ar==null?void 0:Ar.resetCount)!==void 0&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement(Ve.Z,{title:(Ar==null?void 0:Ar.tip)!=null?Ar==null?void 0:Ar.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ar==null?void 0:Ar.resetCount),"/",a.createElement("span",null,Ar==null?void 0:Ar.total),"\uFF09"))))),a.createElement("div",{className:In.tabBar},mo)),tn=({className:Da,style:ba={},children:Wa})=>a.createElement("div",{className:Re()(Da),style:ba},Wa),Un={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"},Ea=x(38854),Va=x(20834);const Ra=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Hr=({sortValue:Da,dropValue:ba,className:Wa,onSort:Br,onDrop:lr,dataSource:mo=Ra})=>{var Ar;return a.createElement("div",{className:Re()(Un.orderWrap,Wa)},a.createElement(Ea.Z,{dropdownRender:()=>a.createElement(Va.default,null,mo.map((zo,Ro)=>a.createElement(Va.default.Item,{key:Ro,onClick:()=>lr(zo.id)},zo.name)))},a.createElement("span",{className:Un.orderTextWrap},(Ar=mo.find(zo=>ba===zo.id))==null?void 0:Ar.name)),a.createElement("span",{className:Un.orderIconWrap},a.createElement("span",{className:Un.orderAsc},a.createElement("i",{className:Da==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Un.cursorPointer} ${Un.active}`:`iconfont icon-sanjiaoxing-up font12 ${Un.cursorPointer}`,onClick:()=>Br(Da==="asc"?"desc":"asc")})),a.createElement("span",{className:Un.orderDesc},a.createElement("i",{className:Da==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Un.cursorPointer} ${Un.active}`:`iconfont icon-sanjiaoxing-down font12 ${Un.cursorPointer}`,onClick:()=>Br(Da==="asc"?"desc":"asc")}))))},bt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},En=x(3113),yr=x(21585),zt=Object.defineProperty,Ln=Object.getOwnPropertySymbols,Ma=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,rr=(Da,ba,Wa)=>ba in Da?zt(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,dn=(Da,ba)=>{for(var Wa in ba||(ba={}))Ma.call(ba,Wa)&&rr(Da,Wa,ba[Wa]);if(Ln)for(var Wa of Ln(ba))Na.call(ba,Wa)&&rr(Da,Wa,ba[Wa]);return Da},ce=(Da,ba)=>{var Wa={};for(var Br in Da)Ma.call(Da,Br)&&ba.indexOf(Br)<0&&(Wa[Br]=Da[Br]);if(Da!=null&&Ln)for(var Br of Ln(Da))ba.indexOf(Br)<0&&Na.call(Da,Br)&&(Wa[Br]=Da[Br]);return Wa},ge=(Da,ba,Wa)=>new Promise((Br,lr)=>{var mo=Ro=>{try{zo(Wa.next(Ro))}catch(Oi){lr(Oi)}},Ar=Ro=>{try{zo(Wa.throw(Ro))}catch(Oi){lr(Oi)}},zo=Ro=>Ro.done?Br(Ro.value):Promise.resolve(Ro.value).then(mo,Ar);zo((Wa=Wa.apply(Da,ba)).next())}),Ie=Da=>{var ba=Da,{className:Wa,style:Br,children:lr,loading:mo=!1,openLoading:Ar,onClick:zo=()=>{},size:Ro="middle",shape:Oi="round",theme:Qo}=ba,Eo=ce(ba,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Io,ii]=(0,a.useState)(!1),ol=(0,a.useMemo)(()=>{switch(Qo){case yr.Fy.THEMEONE:return bt.ThemeOne;case yr.Fy.DEFAULT:default:return bt.btn}},[Qo]);return a.createElement(En.ZP,dn({onClick:(0,De.throttle)(nl=>ge(void 0,null,function*(){Ar&&ii(!0);try{yield zo(nl)}catch(Ol){console.log("error",Ol)}Ar&&ii(!1)}),2e3,{leading:!0,trailing:!1}),className:Re()(ol,bt[`${Ro}-${Oi}`],Wa),style:Br,size:Ro,shape:Oi,loading:Io||mo},Eo),lr)},qe={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"},Rt=({className:Da,style:ba,children:Wa=null,onClick:Br,title:lr})=>a.createElement("div",{className:Re()(qe.head,Da),style:ba},a.createElement("span",{className:"primary-hover",onClick:Br},a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),a.createElement("b",{title:lr},lr),a.createElement("div",{className:qe.node},Wa)),xa={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"},on=({confirmShow:Da=!0,confirmTitle:ba,confirmClick:Wa,cancelShow:Br=!0,cancelTitle:lr,cancelClick:mo,className:Ar,style:zo,confirmLoading:Ro=!1})=>a.createElement("div",{className:Re()(xa.btns,Ar),style:zo},Da&&a.createElement(En.ZP,{loading:Ro,onClick:Wa,type:"primary",className:xa.confirm},ba),Br&&a.createElement(En.ZP,{onClick:mo,className:xa.cancel},lr)),qt={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"},Xt=({className:Da,style:ba={},LeftContent:Wa,children:Br,RightContent:lr})=>a.createElement("div",{className:Re()(qt.fixedBottom,Da),style:ba},a.createElement("div",{className:qt.wrap},a.createElement("div",{className:qt.left},Wa),a.createElement("div",{className:qt.center},Br),a.createElement("div",{className:qt.right},lr))),la={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"},ma=({className:Da,style:ba={},dataSource:Wa=[]})=>a.createElement("div",{className:Re()(la.crumbs,Da),style:ba},Wa.map((Br,lr)=>lrOt.history.push(Br.path)},Br.name):a.createElement("span",null,Br.name),a.createElement("span",null,"\xA0",">","\xA0")):a.createElement("span",{key:lr,style:{color:"#5F6368"}},Br.name))),bn=x(31797),ct=Object.defineProperty,ln=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,pt=(Da,ba,Wa)=>ba in Da?ct(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,na=(Da,ba)=>{for(var Wa in ba||(ba={}))zn.call(ba,Wa)&&pt(Da,Wa,ba[Wa]);if(cn)for(var Wa of cn(ba))pn.call(ba,Wa)&&pt(Da,Wa,ba[Wa]);return Da},er=(Da,ba)=>ln(Da,fn(ba)),cr=(Da,ba)=>{var Wa={};for(var Br in Da)zn.call(Da,Br)&&ba.indexOf(Br)<0&&(Wa[Br]=Da[Br]);if(Da!=null&&cn)for(var Br of cn(Da))ba.indexOf(Br)<0&&pn.call(Da,Br)&&(Wa[Br]=Da[Br]);return Wa};const{Countdown:Kn}=bn.default;var Ur=Da=>{var ba=Da,{onChange:Wa}=ba,Br=cr(ba,["onChange"]);const[lr,mo]=(0,a.useState)(null);(0,a.useEffect)(()=>{typeof lr=="number"&&lr>=0&&Wa(lr)},[lr]);const Ar=zo=>{const Ro=Math.floor(zo/1e3);mo(Ro)};return a.createElement(Kn,er(na({},Br),{onChange:Ar}))},uo={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},gr=({DataProps:Da,className:ba,style:Wa={}})=>{var Br;return a.createElement("div",{className:Re()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",uo.ClassRoomItem,ba),style:Wa,onClick:()=>{(0,ht.xg)(Da==null?void 0:Da.first_category_url)}},a.createElement("div",{className:"flex flex-col item-center"},a.createElement("img",{src:`${(Br=Pt.Z)==null?void 0:Br.IMG_SERVER}/images/${Da==null?void 0:Da.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Da==null?void 0:Da.subject_identifier)&&a.createElement("div",{className:"mt-40px"},a.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),a.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},a.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Da!=null&&Da.is_public)&&a.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),a.createElement("span",{className:Re()("text-16px font-medium",uo.TitleDom)},Da==null?void 0:Da.name)),a.createElement("div",{className:"c-grey-333 font-medium"},Da==null?void 0:Da.creator),a.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Da==null?void 0:Da.course_members_count),a.createElement("div",{className:"c-grey-333 flex item-center justify-between"},a.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Da==null?void 0:Da.tasks_count),Da!=null&&Da.is_end?a.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):a.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ir=Object.defineProperty,Cr=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Do=(Da,ba,Wa)=>ba in Da?Ir(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,io=(Da,ba)=>{for(var Wa in ba||(ba={}))fr.call(ba,Wa)&&Do(Da,Wa,ba[Wa]);if(Cr)for(var Wa of Cr(ba))co.call(ba,Wa)&&Do(Da,Wa,ba[Wa]);return Da},oi=({DataProps:Da=[],selectValue:ba,onChange:Wa,className:Br,style:lr={},extra:mo,classNameItem:Ar,styleItem:zo={},barHidden:Ro})=>{const[Oi,Qo]=(0,a.useState)();return(0,a.useEffect)(()=>{Qo(Array.isArray(ba)?ba:[ba])},[ba]),a.createElement("div",{className:Re()("flex px-20px py-10px gap-40px",Br),style:io({borderBottom:"1px solid #D3F0FF"},lr)},Da==null?void 0:Da.map(Eo=>a.createElement("div",{key:Eo==null?void 0:Eo.id,className:Re()("flex item-center justify-center current c-grey-333 text-16 relative",Ar,Eo==null?void 0:Eo.className),style:io(io({color:Oi!=null&&Oi.includes(Eo==null?void 0:Eo.id)?"#1890FF":"",minWidth:88},zo),(Eo==null?void 0:Eo.style)||{}),onClick:Io=>{Wa==null||Wa({domEvent:Io,item:Eo}),Eo!=null&&Eo.link&&Ot.history.push(Eo==null?void 0:Eo.link)}},Eo==null?void 0:Eo.name,!Ro&&(Oi==null?void 0:Oi.includes(Eo==null?void 0:Eo.id))&&a.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),a.createElement("div",{className:"ml-auto"},mo))},cl=Object.defineProperty,al=Object.defineProperties,Ci=Object.getOwnPropertyDescriptors,bi=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Gi=(Da,ba,Wa)=>ba in Da?cl(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,zi=(Da,ba)=>{for(var Wa in ba||(ba={}))zr.call(ba,Wa)&&Gi(Da,Wa,ba[Wa]);if(bi)for(var Wa of bi(ba))Ri.call(ba,Wa)&&Gi(Da,Wa,ba[Wa]);return Da},Lo=(Da,ba)=>al(Da,Ci(ba)),tl=({value:Da,onChange:ba,onInputChange:Wa,className:Br,style:lr={},InputProps:mo})=>{const[Ar,zo]=(0,a.useState)(Da);return a.createElement("div",{className:Re()("flex item-center rounded-full px-10px py-2px",Br),style:zi({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},lr)},a.createElement(pe.default,Lo(zi({bordered:!1},mo),{onChange:Ro=>{zo(Ro.target.value),Wa==null||Wa(encodeURIComponent(Ro.target.value))},onPressEnter:Ro=>{ba==null||ba({domEvent:Ro,item:{value:Ar}})}})),a.createElement("img",{className:"h-22px current",src:x(25365),height:22,onClick:Ro=>{ba==null||ba({domEvent:Ro,item:{value:Ar}})}}))}},61346:function(Nt,st,x){"use strict";x.d(st,{Z:function(){return fe}});var a=x(59301);function fe(Le,ye){const Fe=(0,a.useRef)();(0,a.useEffect)(()=>{Fe.current=Le}),(0,a.useEffect)(()=>{function Be(){Fe.current()}if(ye!==null){let oe=setInterval(Be,ye);return()=>clearInterval(oe)}},[ye])}},58781:function(Nt,st,x){"use strict";x.d(st,{Z:function(){return ot}});var a=x(78241),fe=x(8591),Le=x(43418),ye=x(71418),Fe=x(6848),Be=x(57809),oe=x(5112),Re=x(92832),De=x(1710),be=x(59301),Me=x(92123),ze=x(43597),Ce=x(94601),re={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},y=x(47141),E=x(55659),z=x(17410),b=x(59301),ee=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,pe=(Ze,it,Ve)=>it in Ze?ee(Ze,it,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Ze[it]=Ve,Ae=(Ze,it)=>{for(var Ve in it||(it={}))se.call(it,Ve)&&pe(Ze,Ve,it[Ve]);if(ue)for(var Ve of ue(it))de.call(it,Ve)&&pe(Ze,Ve,it[Ve]);return Ze},Se=(Ze,it)=>te(Ze,ne(it)),Te=(Ze,it,Ve)=>new Promise((lt,Pt)=>{var ht=kt=>{try{Lt(Ve.next(kt))}catch(Kt){Pt(Kt)}},Et=kt=>{try{Lt(Ve.throw(kt))}catch(Kt){Pt(Kt)}},Lt=kt=>kt.done?lt(kt.value):Promise.resolve(kt.value).then(ht,Et);Lt((Ve=Ve.apply(Ze,it)).next())});const we=({shixunHomeworks:Ze,exercise:it,loading:Ve,dispatch:lt})=>{var Pt,ht,Et;const{commonHeader:Lt}=it,[kt,Kt]=(0,be.useState)([]),[mt,Je]=(0,be.useState)(Se(Ae({},(0,Me.useParams)()),{page:1,limit:10})),[ut,Mt]=(0,be.useState)([]),[$t,Ut]=(0,be.useState)(""),[Sn,We]=(0,be.useState)(1),[en]=a.default.useForm(),[Tn,hn]=(0,be.useState)({}),[sn,rt]=(0,be.useState)(null),[vt,$e]=(0,be.useState)(!1),[He,yt]=(0,be.useState)([]),[xt,Ye]=(0,be.useState)(null),[Qe,gt]=(0,be.useState)(0),[Xe,xe]=(0,be.useState)(0),[Ht,Rn]=(0,be.useState)(!1),vn=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Cn,In,wa)=>(mt.page-1)*mt.limit+wa+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Cn=>Cn||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Cn,In)=>b.createElement("div",{className:re.banding,title:Cn||"--"},Cn||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Cn,In)=>Cn===0?b.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Cn===1?b.createElement("span",{style:{color:"#DF3042"}},!In.is_make_up&&"\u8003\u8BD5\u4E2D",In.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Cn===2?b.createElement("span",{style:{color:"#5AB891"}},!In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377",In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):b.createElement("span",{style:{color:"#5AB891"}},!In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(Lt==null?void 0:Lt.exercise_type)==2&&!(0,y.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(Cn,In)=>In.commit_status===0||In.commit_status===1?"--":!In.open_total_score&&(0,y.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Cn=typeof Cn=="number"?Number(Cn):Cn,console.log(typeof Cn),Cn||(Cn=0),Cn===100?b.createElement("span",{className:"c-green"},Cn):Cn>60?b.createElement("span",{className:"c-orange"},Cn):Cn==Xe*.6?b.createElement("span",{className:"c-red"},Cn):b.createElement("span",null,Cn))}].filter(Cn=>!!Cn);(0,be.useEffect)(()=>{var Cn;((Cn=it.actionTabs)==null?void 0:Cn.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(yt([]),Ye(null),Dn(),_n(mt))},[(Pt=it.actionTabs)==null?void 0:Pt.key]);const Dn=()=>Te(void 0,null,function*(){var Cn;if(!((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion))return;const In=yield(0,ze.ZP)(`/api/exercises/${mt==null?void 0:mt.categoryId}/all_subj_questions.json`,{method:"get"});In.status==0&&yt(In.data)}),Qn=(Cn,In)=>{mt.page=Cn,mt.limit=In,Je(Ae({},mt)),_n(mt)},_n=Cn=>Te(void 0,null,function*(){Rn(!0);const In=yield(0,ze.ZP)(`/api/exercises/${mt.categoryId||(mt==null?void 0:mt.exerciseId)}/exercise_users.json`,{method:"get",params:Cn});In.status==0&&(gt(In.data.total_count),Je(Se(Ae({},mt),{total:In.data.total_count})),Kt(In.data.exercise_users),xe(In.data.total_score)),Rn(!1)}),Ft=Cn=>{mt.search=Cn,mt.page=1,en.resetFields(),hn({}),Mt([]),rt(null),Je(Ae({},mt)),_n(mt)},Tt=Cn=>Te(void 0,null,function*(){var In,wa;const Ga=Ae({},Tn);if(!((In=Cn==null?void 0:Cn.content)!=null&&In.trim())){fe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}Ga.content=Cn==null?void 0:Cn.content,Ga.attachment_ids=(wa=Cn==null?void 0:Cn.attachment_ids)==null?void 0:wa.map(wr=>wr.response.id),Fn(Ga)}),Fn=Cn=>Te(void 0,null,function*(){var In;$e(!0);const{showSelectQuestion:wa,ai_review_settings:Ga}=it.actionTabs,wr=yield(0,ze.ZP)(`/api/exercises/${(mt==null?void 0:mt.categoryId)||(mt==null?void 0:mt.exerciseId)}/test_ai_review.json`,{method:"post",body:Se(Ae({},Cn),{exercise_question_id:wa?xt:(In=it.actionTabs)==null?void 0:In.questionId,ai_review_settings:Ga})});if([0,-3].includes(wr.status)){wr.status==0&&fe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),rt(wr);const tn=document.querySelector(".modal-ai-pfcs");if(tn){const Un=tn.querySelector(".ant-modal-body");Un&&(Un.scrollTop=Un.scrollHeight)}}$e(!1)}),Ot=()=>{lt({type:"exercise/setActionTabs",payload:{key:""}}),We(1),_t()},_t=()=>{en.resetFields(),hn({}),Mt([]),Ut(""),rt(null)};return b.createElement(Le.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:vt,open:((ht=it.actionTabs)==null?void 0:ht.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>Ot(),okText:sn?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Cn;if((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion&&!xt)return fe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(Sn==1){if(ut.length==0)return fe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");Fn({exercise_user_id:ut[0]})}else Sn==2&&en.submit()}},b.createElement(ye.Z,{spinning:vt,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((Et=it.actionTabs)==null?void 0:Et.showSelectQuestion)&&b.createElement("div",{className:"flex item-center justify-between mb10"},b.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},b.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",b.createElement(Fe.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},b.createElement("i",{className:`iconfont icon-tishixiaowenhao ${re.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),b.createElement(Be.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:xt,onChange:Cn=>Ye(Cn)},He==null?void 0:He.map(Cn=>b.createElement(Be.default.Option,{key:Cn==null?void 0:Cn.id,value:Cn==null?void 0:Cn.id},Cn==null?void 0:Cn.question_title)))),b.createElement("div",{className:re.radio_con},b.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),b.createElement(oe.ZP.Group,{onChange:Cn=>{Cn.target.value==1&&Qn(1,10),We(Cn.target.value),_t()},value:Sn,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),Sn==1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"flex justify-between item-center mb10"},b.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),b.createElement(Re.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:$t,onChange:Cn=>Ut(Cn.target.value),onSearch:Ft})),b.createElement(De.default,{rowSelection:{type:"radio",selectedRowKeys:ut,onChange:(Cn,In)=>{Mt(Cn)},getCheckboxProps:Cn=>({disabled:[0,1].includes(Cn==null?void 0:Cn.commit_status)})},loading:Ht,rowKey:"exercise_user_id",dataSource:kt||[],columns:vn,pagination:{current:mt.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:mt.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:Qe,size:"default",showTotal:Ce.rU,onChange:Qn},onChange:(Cn,In,wa)=>{mt.page=1,wa.order===void 0?(mt.order_type=null,mt.order=null):(mt.order_type=wa.order==="descend"?"desc":"asc",mt.order=wa.field),Je(Ae({},mt)),_n(mt)}})),Sn==2&&b.createElement("div",{style:{marginTop:20}},b.createElement(a.default,{form:en,className:re.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{hn(Ae({},en.getFieldsValue()))},onFinish:Tt},b.createElement(a.default.Item,{name:"content",label:"",style:{marginBottom:0}},b.createElement(E.Z,{watch:!0})))),sn&&b.createElement("div",{className:re.result_con},b.createElement("div",{className:re.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(sn==null?void 0:sn.status)==0&&b.createElement("div",{className:"p20"},b.createElement("div",{className:"mb5"},b.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),sn==null?void 0:sn.score),b.createElement("div",{className:"flex"},b.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),b.createElement(z.Z,{value:sn==null?void 0:sn.content,style:{fontSize:"14px"}}))),(sn==null?void 0:sn.status)==-3&&b.createElement("div",{className:"p20"},b.createElement(z.Z,{value:sn==null?void 0:sn.message,style:{fontSize:"14px"}})))))};var ot=(0,Me.connect)(({shixunHomeworks:Ze,exercise:it,loading:Ve,user:lt})=>({shixunHomeworks:Ze,exercise:it,loading:Ve.effects,user:lt}))(we)},12411:function(Nt,st,x){"use strict";x.r(st),x.d(st,{default:function(){return $f}});var a=x(59301),fe=x(43597),Le=x(85386),ye=x(92123),Fe=x(43418),Be=x(20834),oe=x(8591),Re=x(24905),De=x(6848),be=x(5112),Me=x(81327),ze=x(66104),Ce=x(3113),re=x(95237),y=x(38854),E=x(99313),z=x(1710),b=x(87169),ee=x(27812),te=x(89489),ne=x(39598),ue=x(94601),se=x(18167),de=x(78241),pe=x(43604),Ae=x(78673),Se=x(92832),Te=x(5871),we=x(58421),ot=x(56656),Ze=x.n(ot),it=Object.defineProperty,Ve=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,ht=(me,ve,le)=>ve in me?it(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Et=(me,ve)=>{for(var le in ve||(ve={}))lt.call(ve,le)&&ht(me,le,ve[le]);if(Ve)for(var le of Ve(ve))Pt.call(ve,le)&&ht(me,le,ve[le]);return me},Lt=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const kt=({shixunHomeworks:me,dispatch:ve})=>{const le=(0,ye.useParams)();return a.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){(yield(0,fe.ZP)(`/api/myshixuns/${me.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"post",body:{course_id:le.coursesId}})).status===0&&(oe.ZP.success("\u5220\u9664\u6210\u529F"),ve({type:"shixunHomeworks/setActionTabs",payload:{}}),ve({type:"shixunHomeworks/getWorkList",payload:Et({},me.actionTabs.params)}))}),onCancel:()=>{ve({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),a.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};var Kt=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(kt),mt=Object.defineProperty,Je=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,Sn=(me,ve,le)=>ve in me?mt(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,We=(me,ve)=>{for(var le in ve||(ve={}))$t.call(ve,le)&&Sn(me,le,ve[le]);if(Mt)for(var le of Mt(ve))Ut.call(ve,le)&&Sn(me,le,ve[le]);return me},en=(me,ve)=>Je(me,ut(ve)),Tn=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const hn=({exercise:me,dispatch:ve})=>{var le,dt,Dt,_e,Wt,at,Oe,Pe;const xn=(0,ye.useParams)(),[jn,Vn]=(0,a.useState)(!0),[an]=de.default.useForm(),{actionTabs:wn}=me;(0,a.useEffect)(()=>{var pa,$n,Wn,Qa;me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605"&&(an.resetFields(),an.setFieldsValue({subjective_score:($n=(pa=wn==null?void 0:wn.selectArrs)==null?void 0:pa.record)==null?void 0:$n.subjective_score,objective_score:(Qa=(Wn=wn==null?void 0:wn.selectArrs)==null?void 0:Wn.record)==null?void 0:Qa.objective_score}))},[me.actionTabs.key]);const aa=()=>{ve({type:"exercise/setActionTabs",payload:{}})};return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u8BC4\u9605",open:me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605",onCancel:aa,footer:a.createElement(re.Z,{align:"middle",justify:"end"},a.createElement(Ce.ZP,{className:"ml10",onClick:aa}," \u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml10",onClick:()=>Tn(void 0,null,function*(){var pa,$n;yield an.validateFields();const Wn=an.getFieldValue();(yield(0,ne.oS)(en(We({},Wn),{id:xn.categoryId,user_id:($n=(pa=wn==null?void 0:wn.selectArrs)==null?void 0:pa.record)==null?void 0:$n.user_id}))).status===0&&(oe.ZP.success("\u8BC4\u9605\u6210\u529F"),an.resetFields(),ve({type:"exercise/setActionTabs",payload:{}}),ve({type:"exercise/setUpdateIndex"}))}),type:"primary"}," \u786E\u8BA4"))},a.createElement("div",{className:"pl30"},a.createElement(de.default,{form:an},a.createElement(re.Z,null,a.createElement(pe.Z,null,a.createElement(de.default.Item,{name:"subjective_score",label:"\u4E3B\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((dt=(le=wn==null?void 0:wn.selectArrs)==null?void 0:le.exercise_types)==null?void 0:dt.subjective_score)*1,style:{width:150},placeholder:"\u8BF7\u586B\u5199\u4E3B\u89C2\u9898\u6210\u7EE9"}))),a.createElement(pe.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(_e=(Dt=wn==null?void 0:wn.selectArrs)==null?void 0:Dt.exercise_types)==null?void 0:_e.subjective_score,"\u5206")))),a.createElement(re.Z,null,a.createElement(pe.Z,null,a.createElement(de.default.Item,{name:"objective_score",label:"\u5BA2\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((at=(Wt=wn==null?void 0:wn.selectArrs)==null?void 0:Wt.exercise_types)==null?void 0:at.objective_score)*1,style:{width:150},width:150,placeholder:"\u8BF7\u586B\u5199\u5BA2\u89C2\u9898\u6210\u7EE9"}))),a.createElement(pe.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(Pe=(Oe=wn==null?void 0:wn.selectArrs)==null?void 0:Oe.exercise_types)==null?void 0:Pe.objective_score,"\u5206"))))))))};var sn=(0,ye.connect)(({exercise:me})=>({exercise:me}))(hn);const rt=[{name:"\u672A\u8BC4\u9605",id:0,type:"unreview_counts"},{name:"\u8BC4\u9605\u4E2D",id:2,type:"reviewing_counts"},{name:"\u5DF2\u8BC4\u9605",id:1,type:"review_counts"}],vt=[{name:"\u672A\u5F00\u59CB",id:0,type:"unanswer_users"},{name:"\u8003\u8BD5\u4E2D",id:1,type:"answering_users"},{name:"\u5DF2\u4EA4\u5377",id:2,type:"answer_users"},{name:"\u5DF2\u4EA4\u5377/\u672A\u7B54",id:3,type:"commit_with_no_answers_users"}],$e=[{name:"\u65E0\u9700\u8865\u8003",id:0,type:"unmake_up_users_count"},{name:"\u53C2\u52A0\u8865\u8003",id:1,type:"make_up_users_count"}];var He=x(62556),yt=x(71418),xt=x(18581),Ye=x(59301),Qe=Object.defineProperty,gt=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,vn=(me,ve,le)=>ve in me?Qe(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Dn=(me,ve)=>{for(var le in ve||(ve={}))Ht.call(ve,le)&&vn(me,le,ve[le]);if(xe)for(var le of xe(ve))Rn.call(ve,le)&&vn(me,le,ve[le]);return me},Qn=(me,ve)=>gt(me,Xe(ve)),_n=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Ft=({exercise:me,dispatch:ve})=>{var le,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),Wt=de.default.useWatch("time",_e),[at,Oe]=(0,a.useState)(!1),{actionTabs:Pe,commonHeader:xn}=me,[,jn,Vn,an]=(0,xt.U)(ne.n7,{id:Dt.categoryId}),wn=an!=null&&an.user_end_time?Ze()(an==null?void 0:an.user_end_time).add(1,"minutes"):Ze()(),aa=Ze()(an==null?void 0:an.user_total_end_time)>wn?Math.round(Ze().duration(Ze()(an==null?void 0:an.user_total_end_time).diff(wn.startOf("minute"))).asMinutes()):0,pa=((an==null?void 0:an.student_left_minutes)||0)+(Wt||0);(0,a.useEffect)(()=>{var Wn;Pe.key==="\u5EF6\u65F6"?(ve({type:"exercise/getWorkSetting",payload:Dn({},Dt)}),Vn({user_id:Pe!=null&&Pe.isBatch?Pe==null?void 0:Pe.user_ids:[(Wn=Pe==null?void 0:Pe.selectArrs)==null?void 0:Wn.user_id]})):_e.resetFields()},[Pe.key]);const $n=()=>{ve({type:"exercise/setActionTabs",payload:{}})};return Ye.createElement(Ye.Fragment,null,Ye.createElement(Fe.default,{width:640,centered:!0,title:Pe!=null&&Pe.isBatch?"\u6279\u91CF\u5EF6\u65F6":"\u5EF6\u65F6",open:Pe.key==="\u5EF6\u65F6",okText:"\u786E\u8BA4\u5EF6\u65F6",cancelText:"\u53D6\u6D88",confirmLoading:at,onOk:()=>_n(void 0,null,function*(){_e.submit()}),onCancel:$n},Ye.createElement(yt.Z,{spinning:jn},Ye.createElement(de.default,{form:_e,colon:!1,labelCol:{span:4},onFinish:Wn=>_n(void 0,null,function*(){Oe(!0);const Qa=yield(0,ne.qz)(Qn(Dn({},Wn),{id:Dt.categoryId,exercise_user_id:Pe==null?void 0:Pe.exercise_user_id}));Oe(!1),Qa.status===0&&(oe.ZP.success("\u5EF6\u65F6\u6210\u529F"),ve({type:"exercise/setUpdateIndex"}),$n())})},Ye.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"\u5EF6\u65F6\u8BF4\u660E\uFF1A",Ye.createElement("br",null),"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",Ye.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1B",Ye.createElement("br",null),"3.\u82E5\u5C06\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u5EF6\u540E\uFF0C\u5C06\u5BF9\u6240\u6709\u8003\u8BD5\u8FDF\u5230\u7684\u5B66\u751F\u8FDB\u884C\u7EDF\u4E00\u5EF6\u65F6\uFF08\u5B66\u751F\u5DF2\u7B54\u9898\u65F6\u95F4+\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4+\u7EDF\u4E00\u5EF6\u65F6\u65F6\u95F4\u2264\u8003\u8BD5\u7B54\u9898\u65F6\u957F\uFF09\u3002"),Pe!=null&&Pe.isBatch?Ye.createElement("div",null,"\u5F53\u524D\u9009\u4E2D",Ye.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},Pe==null?void 0:Pe.exercise_user_id.length),"\u540D\u5B66\u751F"):Ye.createElement(re.Z,{align:"middle",gutter:40},Ye.createElement(pe.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",Ye.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(le=Pe==null?void 0:Pe.selectArrs)==null?void 0:le.user_name)),Ye.createElement(pe.Z,null,"\u5B66\u53F7",Ye.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=Pe==null?void 0:Pe.selectArrs)==null?void 0:dt.student_id))),Ye.createElement(de.default.Item,{className:"mt30",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u957F\u65F6\u95F4"}],name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},Ye.createElement(Te.Z,{min:0,precision:0,max:aa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${aa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(Pe!=null&&Pe.isBatch)&&Ye.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",Ye.createElement("span",{className:"ml5"},pa),"\u5206\u949F",pa!==0&&(an==null?void 0:an.user_end_time)&&Ye.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",Ye.createElement("span",{className:"ml5"},Ze()(an==null?void 0:an.user_end_time).add(Wt||0,"m").format("YYYY-MM-DD HH:mm:ss")))),(xn==null?void 0:xn.screen_open)&&Ye.createElement(de.default.Item,{style:{marginLeft:98,marginBottom:0},name:"is_clear",initialValue:!1,valuePropName:"checked"},Ye.createElement(Re.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570"))))))};var Tt=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Ft),Fn=x(5083),Ot=x(50564),_t=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Cn=({exercise:me,dispatch:ve})=>{var le,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),[Wt,at]=(0,a.useState)(!1),{actionTabs:Oe}=me;return(0,a.useEffect)(()=>{me.actionTabs.key==="teacher-unlock"&&(at(!1),_e.resetFields())},[me.actionTabs.key]),a.createElement(a.Fragment,null,a.createElement(Fe.default,{width:600,centered:!0,title:`\u8003\u8BD5\u89E3\u9501\uFF08${(le=Oe==null?void 0:Oe.selectArrs)==null?void 0:le.user_name}\uFF09`,open:me.actionTabs.key==="teacher-unlock",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",keyboard:!1,confirmLoading:Wt,onOk:()=>_t(void 0,null,function*(){var Pe,xn;yield _e.validateFields();const jn=_e.getFieldsValue();if(at(!0),(yield(0,ne.ZD)(Dt.categoryId,{exercise_user_id:(Pe=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pe.exercise_user_id,unlock_key:jn.unlock_key})).status===0){if(jn.time){const an={time:Ze()(jn.time).format("YYYY-MM-DD HH:mm"),exercise_user_id:(xn=Oe==null?void 0:Oe.selectArrs)==null?void 0:xn.exercise_user_id,id:Dt.categoryId};yield(0,ne.qz)(an)}oe.ZP.success("\u89E3\u9664\u9501\u5B9A\u6210\u529F"),ve({type:"exercise/setUpdateIndex"}),ve({type:"exercise/setActionTabs",payload:{}})}at(!1)}),onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:""},a.createElement(de.default,{form:_e,layout:"vertical",autoComplete:"off"},a.createElement(de.default.Item,{className:"ml10",label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},a.createElement(Se.default.Password,{autoComplete:"off",style:{width:270},placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),a.createElement(de.default.Item,{label:a.createElement("span",null,"\u5EF6\u957F\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF08",a.createElement("span",{className:"c-grey-999"},"\u4E0D\u80FD\u8D85\u8FC7\u5F53\u524D\u8BD5\u5377\u622A\u6B62\u65F6\u95F4",Ze()((dt=Oe==null?void 0:Oe.selectArrs)==null?void 0:dt.exercise_end_at).format("YYYY-MM-DD HH:mm")),"\uFF09"),name:"time",className:"ml10"},a.createElement(Fn.default,{style:{width:270},placeholder:"\u8BF7\u9009\u62E9\u4EA4\u5377\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:Pe=>{var xn;return(0,Ot.Q8)(Pe,(xn=Oe==null?void 0:Oe.selectArrs)==null?void 0:xn.exercise_end_at)},disabledTime:Pe=>{var xn;const jn=(xn=Oe==null?void 0:Oe.selectArrs)==null?void 0:xn.exercise_end_at;if(Ze()(Pe).isSame(Ze()(jn),"day")){const Vn=Ze()(jn).hours(),an=Ze()(jn).minutes();return console.log(Vn,an),{disabledHours:()=>(0,Ot.w6)(0,24).slice(Vn+1),disabledMinutes:()=>Ze()(Pe).isSame(Ze()(jn),"hour")?(0,Ot.w6)(an,60):[]}}return(0,Ot.d0)(Pe)},allowClear:!1}))))))};var In=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Cn),wa=x(85554),Ga=x(29724),wr=x(85208),tn=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Va=(me,ve)=>{var le={};for(var dt in me)Un.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&tn)for(var dt of tn(me))ve.indexOf(dt)<0&&Ea.call(me,dt)&&(le[dt]=me[dt]);return le},Ra=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Wr=me=>{var ve=me,{shixunHomeworks:le,dispatch:dt}=ve,Dt=Va(ve,["shixunHomeworks","dispatch"]);const _e=(0,ye.useParams)(),[Wt,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)([]);(0,a.useEffect)(()=>{le.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&xn()},[le.actionTabs.key]);function xn(){return Ra(this,null,function*(){const Vn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/group_list.json`,{method:"GET"});at(Vn)})}const jn=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:le.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ra(void 0,null,function*(){const Vn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/code_quality_analysis.json`,{method:"POST",body:{group_ids:Oe}});(Vn==null?void 0:Vn.status)===0&&(ye.history.replace(`/classrooms/${_e.coursesId}/exercise/${_e.categoryId}/detail?tabs=7`),window.location.reload(),dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Pe([]))}),onCancel:()=>{Pe([]),dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement(z.default,{rowSelection:{type:"checkbox",onChange:(Vn,an)=>{Pe([...Vn])},selectedRowKeys:Oe,getCheckboxProps:Vn=>({disabled:Vn.status==="\u8FDB\u884C\u4E2D"||Vn.works_count===0})},rowKey:Vn=>Vn.key||Vn.id,scroll:{y:300},pagination:!1,columns:jn,dataSource:Wt==null?void 0:Wt.group_list})))};var Hr=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(Wr),bt=x(47141),En={flex_box_center:"flex_box_center____uOEt",flex_space_between:"flex_space_between___J8U9e",flex_box_vertical_center:"flex_box_vertical_center___M1l_z",flex_box_center_end:"flex_box_center_end___UsRsw",flex_box_column:"flex_box_column___gcanz",rightFilter:"rightFilter___KnaoF",classwidth:"classwidth___QPkdW",operationCol:"operationCol___hiIyI",unlockBtn:"unlockBtn___QvP_V",recordScreenModal:"recordScreenModal___tLQo7",operationLink:"operationLink___vj72A",banding:"banding___BLx2S",noShow:"noShow___mrV9r",btn_review:"btn_review___b6mDf"},yr=x(59301),zt=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())}),Ma=({item:me,renderText:ve})=>{const le=(0,ye.useParams)(),[dt,Dt]=(0,a.useState)(),_e=Wt=>zt(void 0,null,function*(){if(!Wt)return;const at=yield(0,ne.UH)({id:le.categoryId,user_id:me==null?void 0:me.user_id});at&&Dt(at)});return yr.createElement(De.Z,{onOpenChange:Wt=>_e(Wt),title:yr.createElement("div",null,"\u5355\u9009\u9898 ",(dt==null?void 0:dt.single_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u591A\u9009\u9898 ",(dt==null?void 0:dt.multiple_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u5224\u65AD\u9898 ",(dt==null?void 0:dt.judgement_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u586B\u7A7A\u9898 ",(dt==null?void 0:dt.completion_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u5B9E\u8BAD\u9898 ",(dt==null?void 0:dt.shixun_question_score)||0,"\u5206")},ve)},Na=x(89392),rr=x.n(Na),dn=x(57809),ce=x(90852),ge=x(59301),Ee=Object.defineProperty,Ie=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Jn=(me,ve,le)=>ve in me?Ee(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,on=(me,ve)=>{for(var le in ve||(ve={}))Rt.call(ve,le)&&Jn(me,le,ve[le]);if(wt)for(var le of wt(ve))xa.call(ve,le)&&Jn(me,le,ve[le]);return me},qt=(me,ve)=>Ie(me,qe(ve)),Mn=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Xt=({exercise:me,dispatch:ve})=>{var le,dt;const Dt=(0,ye.useParams)(),{actionTabs:_e,commonHeader:Wt}=me,[at]=de.default.useForm(),Oe=de.default.useWatch("time",at),[,Pe,xn,jn]=(0,xt.U)(ne.n7,{id:Dt.categoryId}),[,Vn,an]=(0,xt.U)(ne.Xo,{id:Dt.categoryId}),wn=(0,a.useRef)(null),aa=jn!=null&&jn.user_end_time?Ze()(jn==null?void 0:jn.user_end_time).add(1,"minutes"):Ze()(),pa=Ze()(jn==null?void 0:jn.user_total_end_time)>aa?Math.round(Ze().duration(Ze()(jn==null?void 0:jn.user_total_end_time).diff(aa.startOf("minute"))).asMinutes()):0,$n=((jn==null?void 0:jn.student_left_minutes)||0)+(Oe||0);(0,a.useEffect)(()=>{var Qa,On;_e.key=="\u8C03\u6574\u72B6\u6001"?(ve({type:"exercise/getWorkSetting",payload:on({},Dt)}),xn({user_id:_e!=null&&_e.isBatch?_e==null?void 0:_e.user_ids:[(Qa=_e==null?void 0:_e.selectArrs)==null?void 0:Qa.user_id]})):(at.resetFields(),wn.current&&((On=wn.current)==null||On.changeCode({target:{value:""}})))},[_e.key]);const Wn=()=>{ve({type:"exercise/setActionTabs",payload:{}})};return ge.createElement(Fe.default,{centered:!0,title:_e!=null&&_e.isBatch?"\u6279\u91CF\u8C03\u6574\u8003\u8BD5\u72B6\u6001":"\u8C03\u6574\u8003\u8BD5\u72B6\u6001",open:_e.key=="\u8C03\u6574\u72B6\u6001",width:650,okText:"\u786E\u5B9A\u8C03\u6574",confirmLoading:Vn,onOk:()=>Mn(void 0,null,function*(){at.submit()}),onCancel:Wn},ge.createElement(yt.Z,{spinning:Pe},ge.createElement(de.default,{initialValues:{status:"1"},form:at,colon:!1,labelCol:{span:4},onFinish:Qa=>Mn(void 0,null,function*(){if(console.log("allValue",Qa),wn.current.onVerify())return Promise.reject();(yield an(qt(on({},Qa),{exercise_user_id:_e==null?void 0:_e.exercise_user_id}))).status==0&&(oe.ZP.success("\u8C03\u6574\u6210\u529F"),Wn(),ve({type:"exercise/setUpdateIndex"}))})},_e!=null&&_e.isBatch?ge.createElement("div",{className:"mb20"},"\u5F53\u524D\u9009\u4E2D",ge.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},_e==null?void 0:_e.exercise_user_id.length),"\u540D\u5B66\u751F"):ge.createElement(re.Z,{className:"mb20",align:"middle",gutter:40},ge.createElement(pe.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(le=_e==null?void 0:_e.selectArrs)==null?void 0:le.user_name)),ge.createElement(pe.Z,null,"\u5B66\u53F7",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=_e==null?void 0:_e.selectArrs)==null?void 0:dt.student_id))),(Wt==null?void 0:Wt.is_locked)&&ge.createElement(de.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ge.createElement(Se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),ge.createElement(de.default.Item,{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"}],name:"status",label:"\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default.Option,{value:"1"},"\u8003\u8BD5\u4E2D\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u7EE7\u7EED\u8003\u8BD5\uFF09"),ge.createElement(dn.default.Option,{value:"2"},"\u5DF2\u4EA4\u5377\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u8FDB\u884C\u4EA4\u5377\uFF09"))),(Wt==null?void 0:Wt.time)!==-1&&ge.createElement(ge.Fragment,null,ge.createElement(de.default.Item,{className:"mt20 mb20",name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},ge.createElement(Te.Z,{min:0,precision:0,max:pa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${pa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(_e!=null&&_e.isBatch)&&ge.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},$n),"\u5206\u949F",$n!==0&&(jn==null?void 0:jn.user_end_time)&&ge.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},Ze()(jn==null?void 0:jn.user_end_time).add(Oe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))),(Wt==null?void 0:Wt.screen_open)&&ge.createElement(de.default.Item,{style:{marginLeft:100},name:"is_clear",initialValue:!1,valuePropName:"checked"},ge.createElement(Re.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570")),ge.createElement(de.default.Item,{label:"\u9A8C\u8BC1\u7801",required:!0,style:{marginBottom:0}},ge.createElement(ce.Z,{ref:Qa=>wn.current=Qa})))))};var la=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Xt),ya=x(19950),ma=Object.defineProperty,bn=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,fn=(me,ve,le)=>ve in me?ma(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,cn=(me,ve)=>{for(var le in ve||(ve={}))ct.call(ve,le)&&fn(me,le,ve[le]);if(bn)for(var le of bn(ve))ln.call(ve,le)&&fn(me,le,ve[le]);return me};const zn=me=>React.createElement("svg",cn({width:17,height:10,xmlns:"http://www.w3.org/2000/svg"},me),React.createElement("title",null,"new"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"-5%",y1:"37.065%",x2:"100%",y2:"67.301%",id:"new_svg__a"},React.createElement("stop",{stopColor:"#FF420B",offset:"0%"}),React.createElement("stop",{stopColor:"#FF9B44",offset:"100%"}))),React.createElement("path",{d:"M700.618 185h-14.236c-.781 0-1.382.629-1.382 1.447v7.106c0 .818.6 1.447 1.382 1.447h14.236c.781 0 1.382-.629 1.382-1.447v-7.106c0-.818-.6-1.447-1.382-1.447Zm-10.692 7.358h-.961l-1.863-3.836v3.836h-.6v-4.59h.84l1.923 3.962h.06v-3.963h.6v4.591Zm1.502-2.641h2.342v.629h-2.342v.126c0 .817.24 1.195.72 1.195h1.682v.629h-1.682c-.36 0-.66-.126-.9-.44-.24-.315-.361-.818-.361-1.384v-1.07c0-1.069.66-1.509 1.321-1.635h1.622v.63h-1.561c-.24.062-.781.25-.781 1.006-.06.125-.06.188-.06.314Zm7.809 2.641h-.841l-.841-3.647-.961 3.647h-.901l-1.262-4.59h.66l1.082 3.773h.06l.961-3.774h.721l.961 3.963 1.142-3.963h.6l-1.381 4.591Z",transform:"translate(-685 -185)",fill:"url(#new_svg__a)",fillRule:"nonzero"}));var pn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItNSUiIHkxPSIzNy4wNjUlIiB4Mj0iMTAwJSIgeTI9IjY3LjMwMSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkY0MjBCIiBvZmZzZXQ9IjAlI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Kn=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,uo=(me,ve,le)=>ve in me?na(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,pr=(me,ve)=>{for(var le in ve||(ve={}))no.call(ve,le)&&uo(me,le,ve[le]);if(Kn)for(var le of Kn(ve))Ur.call(ve,le)&&uo(me,le,ve[le]);return me},gr=(me,ve)=>er(me,cr(ve)),Ir=(me,ve)=>{var le={};for(var dt in me)no.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Kn)for(var dt of Kn(me))ve.indexOf(dt)<0&&Ur.call(me,dt)&&(le[dt]=me[dt]);return le},Cr=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const fr=me=>{var ve=me,{exercise:le,loading:dt,dispatch:Dt,globalSetting:_e,checkDomainAuthority:Wt,getparams:at,user:Oe,classroomList:Pe}=ve,xn=Ir(ve,["exercise","loading","dispatch","globalSetting","checkDomainAuthority","getparams","user","classroomList"]),jn,Vn,an,wn,aa,pa,$n,Wn,Qa;const[On]=(0,ye.useSearchParams)(),ga=(0,ye.useParams)();let[Yt,da]=(0,a.useState)(pr({page:1,limit:20},ga));const{commonHeader:oa,updateIndex:Ta}=le,{userInfo:Jt}=Oe,[va,ra]=(0,a.useState)({}),[ir,eo]=(0,a.useState)(0),[Pr,Dr]=(0,a.useState)(0),[Qt,tt]=(0,a.useState)(!1),[ka,fa]=(0,a.useState)("alert"),[ja,vr]=(0,a.useState)(0),[Sa,Xr]=(0,a.useState)(!1),[za,Oa]=(0,a.useState)(!1),[Fr]=de.default.useForm(),[xr,qa]=(0,a.useState)([]),[ea,Ua]=(0,a.useState)(1),[Ca,ta]=(0,a.useState)(""),[Ba,qn]=(0,a.useState)(),[$a,mr]=(0,a.useState)(!1),[Or,Co]=(0,a.useState)(!1),[po,Gr]=(0,a.useState)({name:"",id:"",list:[]}),[ar,oo]=(0,a.useState)({}),[So,Mi]=(0,a.useState)({}),[Gl,zl]=(0,a.useState)(!0),[ji,hu]=(0,a.useState)(""),[Bu,eu]=(0,a.useState)(""),[to,Li]=(0,a.useState)(""),[Wl,tu]=(0,a.useState)([]),[,,Iu]=(0,xt.U)(ne.N0,{}),[nu,Zi]=(0,a.useState)([]),[Ru,is]=(0,a.useState)(!0);(0,a.useEffect)(()=>{let Zn={};if(On.get("exercise_group_id")&&!Ta){if(On.get("statistics")){let Yn=[];const _r=On.get("scope");_r==="0"&&(Yn=["all"]),_r==="1"&&(Yn=[1,2,3]),_r==="2"&&(Yn=[2,3]),Zn={exercise_group_id:On.get("exercise_group_id"),commit_status:Yn}}else Zn={review:[0,2],commit_status:[2,3]},On.get("exercise_group_id")!=="0"&&(Zn.exercise_group_id=[Number(On.get("exercise_group_id"))]);Fr.setFieldsValue(pr({},Zn))}return Yt=pr(pr({},Yt),Zn),da(pr({},Yt)),Ou(),Nr(Yt),tu([]),()=>{Dt({type:"exercise/setUpdateIndex",payload:"clear"})}},[Ta]);const Ou=()=>Cr(void 0,null,function*(){var Zn,Yn;const _r=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/header_info.json`,{method:"get"});(_r==null?void 0:_r.status)===0&&(oo((_r==null?void 0:_r.data)||{}),console.log((Zn=_r==null?void 0:_r.data)==null?void 0:Zn.course_groups),Dt({type:"exercise/save",payload:{course_groups:(Yn=_r==null?void 0:_r.data)==null?void 0:Yn.course_groups}}))}),Nr=Zn=>Cr(void 0,null,function*(){var Yn,_r,pu,Ju,Mu,Ys,Nc,js,Md,S0,rg;zl(!0);const $u=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/exercise_users.json`,{method:"get",params:Zn});if(($u==null?void 0:$u.status)===0){let og=(pu=(_r=(Yn=$u==null?void 0:$u.data)==null?void 0:Yn.exercise_users)==null?void 0:_r[0])==null?void 0:pu.commit_status;is(og==2||og==3),Mi({exercise_users:((Ju=$u==null?void 0:$u.data)==null?void 0:Ju.exercise_users)||[],current_answer_user:((Mu=$u==null?void 0:$u.data)==null?void 0:Mu.current_answer_user)||{}}),hu(((Ys=$u==null?void 0:$u.data)==null?void 0:Ys.appraise_user_login)||""),eu(((Nc=$u==null?void 0:$u.data)==null?void 0:Nc.first_export_user_login)||""),eo((js=$u==null?void 0:$u.data)==null?void 0:js.total_count),Dr(typeof((Md=$u==null?void 0:$u.data)==null?void 0:Md.total_score)=="string"?Number((S0=$u==null?void 0:$u.data)==null?void 0:S0.total_score):(rg=$u==null?void 0:$u.data)==null?void 0:rg.total_score)}Li($u==null?void 0:$u.status),zl(!1)});(0,a.useEffect)(()=>{Dt({type:"exercise/setSaveExerciseDownUsers",payload:Il})},[Bu,ir,JSON.stringify(Yt)]);function gi(Zn){return Cr(this,null,function*(){var Yn,_r,pu,Ju;qn(Zn==null?void 0:Zn.exercise_user_id),mr(Zn.commit_status===2||Zn.commit_status===3),Xr(!0);let Mu=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/student_info.json`,{method:"get",params:{exercise_user_id:Zn==null?void 0:Zn.exercise_user_id}});((_r=(Yn=Mu==null?void 0:Mu.data)==null?void 0:Yn.exercise_user_photos)==null?void 0:_r.length)>0?tt(!0):oe.ZP.info("\u5F53\u524D\u6682\u65E0\u7167\u7247"),qa((pu=Mu==null?void 0:Mu.data)==null?void 0:pu.exercise_user_photos),vr((Ju=Mu==null?void 0:Mu.data)==null?void 0:Ju.alert_count),Xr(!1)})}const hl=Zn=>{Yt.page=1;const Yn=Object.assign({},Fr.getFieldsValue());Object.keys(Yn).map(function(_r){_r==="objective_score_gte"||_r==="objective_score_lte"||(Yn[_r].includes("all")?(delete Yt[_r],Fr.setFieldsValue({[_r]:"all"})):(Yt[_r]=Yn[_r],Yn[_r]==""||!Yn[_r]?Fr.setFieldsValue({[_r]:"all"}):Fr.setFieldsValue({[_r]:Yt[_r]})))}),("objective_score_gte"in Zn||"objective_score_lte"in Zn)&&(Yn.objective_score_gte&&Yn.objective_score_lte&&Yn.objective_score_gte>Yn.objective_score_lte?(Fr.setFieldsValue({objective_score_lte:Yn.objective_score_gte}),Yt.objective_score_lte=Yn.objective_score_gte||null,Yt.objective_score_gte=Yn.objective_score_gte||null):(Yt.objective_score_lte=Yn.objective_score_lte||null,Yt.objective_score_gte=Yn.objective_score_gte||null)),da(pr({},Yt)),Nr(Yt),at(pr({},Yt))},Yu=(Zn=1,Yn=20)=>{Yt.page=Zn,Yt.limit=Yn,da(pr({},Yt)),Nr(Yt)};let Jr=new Date().getTime();const Zo=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",render:(Zn,Yn,_r)=>pt.createElement(De.Z,{title:((Yt.page||1)-1)*Yt.limit+_r+1},pt.createElement("span",null,((Yt.page||1)-1)*Yt.limit+_r+1))},{title:"\u59D3\u540D",dataIndex:"user_name",fixed:"left",align:"left",render:(Zn,Yn)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"},onClick:()=>{var _r;if(Zn&&(0,bt.GJ)()){if((0,bt.Rm)()&&!((_r=Pe.AssistantObject.exercise)!=null&&_r.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}switch(Yn.commit_status){case 0:if(!(0,bt.Ny)()){oe.ZP.warning("\u5B66\u751F\u672A\u5F00\u59CB\u8003\u8BD5\uFF0C\u60A8\u65E0\u6743\u67E5\u770B");return}break;default:console.log("\u5F53\u524D\u63D0\u4EA4\u72B6\u6001",Yn.commit_status)}Zn&&(0,bt.GJ)()&&(Nu(),(0,ue.xg)(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${Yn==null?void 0:Yn.login}`))}}},pt.createElement("span",{className:Zn&&(0,bt.GJ)()?En.operationLink:""},Zn||"--"),!!(Yn!=null&&Yn.delayed_at)&&oa.time!==-1&&pt.createElement(De.Z,{title:pt.createElement("div",null,"\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u8C03\u6574\u81F3",pt.createElement("span",{className:"ml5"},Ze()(Yn.delayed_at).format("YYYY-MM-DD HH:mm")))},pt.createElement("span",{className:"iconfont icon-shizhong c-blue"})))},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Zn=>Zn||"--"},!(ar!=null&&ar.is_excellent)&&(ar==null?void 0:ar.groups_count)!==0&&{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Zn,Yn)=>pt.createElement("div",{className:En.banding,title:Zn||"--"},Zn||"--")},{title:(oa==null?void 0:oa.exercise_type)==2&&!(0,bt.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",sorter:!0,render:(Zn,Yn)=>Yn.commit_status===0||Yn.commit_status===1?"--":!Yn.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Zn=typeof Zn=="number"?Number(Zn):Zn,console.log(typeof Zn),Zn||(Zn=0),Zn===100?pt.createElement("span",{className:"c-green"},Zn):Zn>60?pt.createElement("span",{className:"c-orange"},Zn):Zn==Pr*.6?pt.createElement("span",{className:"c-red"},Zn):pt.createElement("span",null,Zn))},!((ar==null?void 0:ar.objective)!==1||(ar==null?void 0:ar.objective)===1&&(ar==null?void 0:ar.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let _r;return Zn>=0&&Zn<=60?_r=pt.createElement("span",null,Zn):Zn===100?_r=pt.createElement("span",{className:"c-green"},Zn):Zn>60?_r=pt.createElement("span",{className:"c-orange"},Zn):_r="--",pt.createElement(Ma,{renderText:_r,item:Yn})}}},!((ar==null?void 0:ar.subjective)!==1||(ar==null?void 0:ar.subjective)===1&&(ar==null?void 0:ar.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{let _r;ar!=null&&ar.appraise_setting&&(ar!=null&&ar.sealed_review)&&new Date(ar==null?void 0:ar.appraise_end_time).getTime()>Jr&&(_r="--"),!(Yn!=null&&Yn.has_comment)&&Yn.review_status&&(_r="\u8BC4\u9605\u4E2D"),Yn!=null&&Yn.has_comment?_r="\u5DF2\u8BC4\u9605":_r="\u672A\u8BC4\u9605",Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let pu;return Zn===0?pu=pt.createElement("span",null,Zn," ",_r==="\u672A\u8BC4\u9605"&&pt.createElement("span",{className:"c-red"}," (\u5F85\u8BC4\u9605)")):Zn>0&&Zn<=60?pu=pt.createElement("span",null,Zn):Zn===100?pu=pt.createElement("span",{className:"c-green"},Zn):Zn>60?pu=pt.createElement("span",{className:"c-orange"},Zn):pu="--",pu}}},(oa==null?void 0:oa.open_make_up)&&{title:"\u8865\u8003\u6263\u5206",dataIndex:"make_up_score",render:(Zn,Yn)=>[1,2].includes(Yn==null?void 0:Yn.commit_status)?Zn:"--"},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"left",render:(Zn,Yn)=>Zn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Zn===1?pt.createElement("span",{style:{color:"#DF3042"}},!Yn.is_make_up&&"\u8003\u8BD5\u4E2D",Yn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Zn===2?pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"left",sorter:!0,render:Zn=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",sorter:!0,render:(Zn,Yn)=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"},(0,bt.GJ)()&&(oa==null?void 0:oa.exercise_type)===2&&{title:pt.createElement("span",null,"\u8003\u8BD5\u6B21\u6570",pt.createElement(De.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u7684\u5DF2\u8003\u8BD5\u6B21\u6570/\u53EF\u8003\u8BD5\u6B21\u6570\uFF0C\u53EF\u70B9\u51FB\u67E5\u770B\u5B66\u751F\u7684\u8003\u8BD5\u8BB0\u5F55"},pt.createElement("i",{className:"iconfont icon-xiaowenhao font14 current"}))),dataIndex:"exercise_user_redo_count",render:(Zn,Yn)=>{var _r;return pt.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{const pu={name:Yn==null?void 0:Yn.user_name,id:Yn==null?void 0:Yn.student_id,list:Yn==null?void 0:Yn.simulate_exercise_records};Gr(pr({},pu)),Co(!0)}},(_r=Yn==null?void 0:Yn.simulate_exercise_records)==null?void 0:_r.length,"/",oa==null?void 0:oa.simulate_exercise_num)||"--"}},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"exercise_user_redo_count",className:((jn=Jt==null?void 0:Jt.course)==null?void 0:jn.course_role)===15||(oa==null?void 0:oa.exercise_type)==2?En.noShow:"",align:"left",render:(Zn,Yn)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"}},pt.createElement("span",{className:En.operationLink,onClick:()=>{Dt({type:"exercise/setActionTabs",payload:{key:"\u6253\u56DE\u8BB0\u5F55",student_id:Yn.user_id}})}},Zn||"0"))},(oa==null?void 0:oa.screen_open)&&{title:pt.createElement("span",null,"\u5207\u5C4F\u6B21\u6570",pt.createElement(De.Z,{title:"\u7EA2\u8272\u4EE3\u8868\u5B66\u751F\u5207\u5C4F\u8D85\u8FC7\u89C4\u5B9A\u6B21\u6570\u88AB\u5F3A\u5236\u4EA4\u5377"},pt.createElement("span",{className:"icon-xiaowenhao"}))),dataIndex:"screen_used_num",align:"center",render:(Zn,Yn)=>pt.createElement("span",{style:Zn>0?{cursor:"pointer"}:{},className:Zn>(Yn==null?void 0:Yn.screen_total_num)?"c-red":"",onClick:()=>Cr(void 0,null,function*(){if(Zn===0)return;const _r=yield(0,ne.Yu)(ga.categoryId,{exercise_user_id:Yn.exercise_user_id});Fe.default.info({title:`\u5207\u5C4F\u8BB0\u5F55\uFF08${Yn==null?void 0:Yn.user_name}\uFF09`,icon:null,closable:!0,className:En.recordScreenModal,maskClosable:!0,width:616,centered:!0,content:pt.createElement(z.default,{style:{marginTop:14},bordered:!0,pagination:!1,rowKey:"time",columns:[{title:"\u5F00\u59CB\u5207\u5C4F\u65F6\u95F4",align:"center",dataIndex:"time"},{title:"\u5207\u5C4F\u65F6\u957F\uFF08\u79D2\uFF09",align:"center",dataIndex:"time_long"},{title:"\u5224\u5B9A\u5207\u5C4F\u6B21\u6570",align:"center",dataIndex:"count"}],dataSource:_r==null?void 0:_r.data})})})},Zn,"/",Yn==null?void 0:Yn.screen_total_num)},(oa==null?void 0:oa.exercise_status)>1&&(oa==null?void 0:oa.open_camera)&&(0,bt.GJ)()&&!((Vn=_e.setting)!=null&&Vn.is_local)&&{title:"\u8003\u8BD5\u7167\u7247",dataIndex:"photo_count",align:"center",render:(Zn,Yn)=>Yn.commit_status>0?pt.createElement("a",{onClick:()=>{gi(Yn)}},`${Zn||0}/${oa==null?void 0:oa.photo_count}`):"--"},(oa==null?void 0:oa.ip_bind)&&(0,bt.Gg)()&&{title:"\u8003\u8BD5IP",dataIndex:"last_ip",align:"center",render:(Zn,Yn)=>pt.createElement(pt.Fragment,null,Zn||"--",Yn.commit_status<=1&&oa.ip_bind&&Yn.last_ip&&pt.createElement(Ce.ZP,{type:"link",onClick:()=>Cr(void 0,null,function*(){const _r=Fe.default.confirm({title:pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"1"},"\u89E3\u9664\u7ED1\u5B9A"),pt.createElement(pe.Z,null,pt.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>_r.destroy()}))),width:500,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",className:"custom-modal-divider",content:pt.createElement("div",null,"\u4E3A\u5B66\u751F\u89E3\u9664\u8003\u8BD5IP\u7ED1\u5B9A\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u4F7F\u7528\u65B0\u7684IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002",pt.createElement("span",{className:"c-red"},"\u5982\u679C\u8BE5\u5B66\u751F\u6B63\u5728\u8003\u8BD5\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u4F5C\u7B54\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u5165\u8003\u8BD5\u3002"),"\u60A8\u786E\u5B9A\u8981\u89E3\u9664\u8BE5\u5B66\u751F\u7684\u8003\u8BD5IP\u7ED1\u5B9A\uFF1F"),onOk:()=>Cr(void 0,null,function*(){(yield(0,ne.ab)({id:Yt.categoryId,exercise_user_id:Yn.exercise_user_id})).status===0&&(oe.ZP.success("\u89E3\u7ED1\u6210\u529F"),Nr(Yt))})})})},"\u89E3\u7ED1"))},(oa==null?void 0:oa.open_camera)&&(0,bt.Gg)()&&oa.exercise_status<3&&!((an=_e.setting)!=null&&an.is_local)&&{title:"\u5141\u8BB8\u4E0D\u62CD\u6444",dataIndex:"close_camera",align:"center",render:(Zn,Yn)=>pt.createElement(Ae.Z,{checked:Zn,onClick:()=>Cr(void 0,null,function*(){Zn?Fe.default.info({title:"\u63D0\u793A",content:pt.createElement("div",null,"\u4E0D\u5141\u8BB8\u4FEE\u6539"),okText:"\u786E\u8BA4"}):Fe.default.confirm({title:"\u5141\u8BB8\u4E0D\u6444\u50CF\u8B66\u544A",content:pt.createElement("div",null,"\u4E3A\u4FDD\u8BC1\u8003\u8BD5\u516C\u5E73\uFF0C\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7684\u6444\u50CF\u5934\u3002\u5982\u5B66\u751F\u786C\u4EF6\u8BBE\u65BD\u786E\u6709\u95EE\u9898\uFF0C\u4E3A\u4FDD\u8BC1\u5B66\u751F\u8003\u8BD5\u6743\u5229\uFF0C\u6559\u5E08\u53EF\u4E34\u65F6\u53D6\u6D88\u9650\u5236\uFF0C\u5141\u8BB8\u5B66\u751F\u53C2\u8003\u3002 \u672C\u64CD\u4F5C\u4E0D\u53EF\u64A4\u56DE\uFF0C\u4E0D\u53EF\u4FEE\u6539\u3002 \u60A8\u786E\u8BA4\u540C\u610F\u8BE5\u5B66\u751F\u4E0D\u5F00\u542F\u6444\u50CF\u5934\u53C2\u52A0\u8003\u8BD5\u5417\uFF1F"),onOk:()=>Cr(void 0,null,function*(){const _r=yield(0,ne.cC)(gr(pr({},Yt),{exercise_user_id:Yn.exercise_user_id}));(_r==null?void 0:_r.status)===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),Nr(Yt))})})})})},(0,bt.GJ)()&&{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"has_comment",align:"center",render:(Zn,Yn)=>ar!=null&&ar.appraise_setting&&(ar!=null&&ar.sealed_review)&&new Date(ar==null?void 0:ar.appraise_end_time).getTime()>Jr?"--":!Zn&&Yn.review_status?"\u8BC4\u9605\u4E2D":Zn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},((oa==null?void 0:oa.assistant_auth)||(0,bt.GJ)()||(0,bt.dE)())&&Wt&&{title:"\u64CD\u4F5C",fixed:"right",dataInex:"action",align:"left",className:En.operationCol,render:(Zn,Yn)=>{var _r,pu;return(oa==null?void 0:oa.exercise_status)===-1?pt.createElement("div",null," ",(0,bt.GJ)()&&pt.createElement("a",{onClick:Ju=>{Ju.stopPropagation(),Dt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Yn==null?void 0:Yn.exercise_user_id,type:"exercise"}})}},"\u4FEE\u6539\u6210\u7EE9"),pt.createElement("a",{style:{marginLeft:(0,bt.GJ)()&&10},onClick:(0,Na.debounce)(Ju=>Cr(void 0,null,function*(){var Mu,Ys,Nc;Ju.stopPropagation();let js=yield(0,fe.ZP)(`/api/exercises/${Yt==null?void 0:Yt.categoryId}/exercise_user/view_detail.json`,{method:"get",params:{exercise_user_id:Yn==null?void 0:Yn.exercise_user_id}});Fe.default.confirm({title:"\u8003\u8BD5\u8BE6\u60C5",closable:!0,width:1200,icon:null,content:pt.createElement("div",null,pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",null,pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),pt.createElement("span",{style:{marginLeft:10}},(Mu=js==null?void 0:js.data)==null?void 0:Mu.user_name)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),pt.createElement("span",{style:{marginLeft:10}},(Ys=js==null?void 0:js.data)==null?void 0:Ys.student_id)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),pt.createElement("span",{style:{marginLeft:10}},(Nc=js==null?void 0:js.data)==null?void 0:Nc.group_name))),pt.createElement("div",{style:{marginTop:22,marginBottom:20}},pt.createElement(z.default,{columns:[{title:"\u9898\u578B",dataIndex:"type_name",align:"center",render:()=>"\u5F97\u5206"},{title:"\u5355\u9009\u9898",dataIndex:"single_score",align:"center"},{title:"\u591A\u9009\u9898",dataIndex:"multiple_score",align:"center"},{title:"\u586B\u7A7A\u9898",dataIndex:"completion_score",align:"center"},{title:"\u5224\u65AD\u9898",dataIndex:"judgment_score",align:"center"},{title:"\u7F16\u7A0B\u9898",dataIndex:"program_score",align:"center"},{title:"\u5B9E\u8BAD\u9898",dataIndex:"practical_score",align:"center"},{title:"\u7EC4\u5408\u9898",dataIndex:"combination_socre",align:"center"},{title:"\u7B80\u7B54\u9898",dataIndex:"subjective_score",align:"center"},{title:"\u7A0B\u5E8F\u586B\u7A7A\u9898",dataIndex:"bprogram_score",align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",align:"center",render:(Md,S0)=>pt.createElement("span",{style:{color:(S0==null?void 0:S0.type_name)=="\u5B9E\u5F97\u5206"?"#FA2121":""}},Md)}],pagination:!1,dataSource:[pr({},js==null?void 0:js.data)]}))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):pt.createElement("div",{className:"flex gap-10px"},(0,bt.GJ)()&&(Yn==null?void 0:Yn.commit_status)===1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:(Yn==null?void 0:Yn.commit_status)!==1,onClick:()=>{(0,ue.xg)(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${Yn.login}`)}},"\u67E5\u9605"),(0,bt.GJ)()&&(Yn==null?void 0:Yn.commit_status)!==1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:Yn.commit_status<2,onClick:Ju=>Cr(void 0,null,function*(){var Mu,Ys;if(Ju.preventDefault(),yield(0,wr.w)(ga.coursesId,ga.categoryId),Yn.commit_status===2){if((0,bt.Rm)()&&!((Mu=Pe.AssistantObject.exercise)!=null&&Mu.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nu(),window.location.href=`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${Yn.login}`}if(Yn.commit_status===3){if((0,bt.Rm)()&&!((Ys=Pe.AssistantObject.exercise)!=null&&Ys.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u66F4\u6539\u8BC4\u9605",saveExerciseUsers:Nu,selectArrs:{record:pr({},Yn),exercise_types:pr({},ar)},params:pr({},Yt)}})}})},ar!=null&&ar.appraise_setting&&(ar!=null&&ar.sealed_review)&&new Date(ar==null?void 0:ar.appraise_end_time).getTime()>Jr?"\u8BC4\u9605":Yn.has_comment?"\u66F4\u6539\u8BC4\u9605":!Yn.has_comment&&"\u8BC4\u9605"),(0,bt.GJ)()&&pt.createElement(Ce.ZP,{disabled:(Yn==null?void 0:Yn.commit_status)==0,ghost:!0,type:"primary",size:"small",onClick:()=>{(0,ue.xg)(`/zbstatistics/detail/4305265?callbackUrl=/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/detail?random=${On.get("random")==="true"}`)}},"\u8003\u60C5\u53EF\u89C6\u5316"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:(Yn==null?void 0:Yn.commit_status)===0,onClick:()=>{var Ju,Mu;if((0,bt.Rm)()&&!((Mu=(Ju=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Ju.exercise)!=null&&Mu.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",selectArrs:Yn,exercise_user_id:[Yn.exercise_user_id]}})}},"\u8C03\u6574\u72B6\u6001"),(0,bt.dE)()&&pt.createElement("span",{style:{color:ar!=null&&ar.answered_open&&((_r=So==null?void 0:So.current_answer_user)==null?void 0:_r.login)===(Yn==null?void 0:Yn.login)?"#0152d9":"#000000",marginRight:"5px",cursor:"pointer"},onClick:()=>Cr(void 0,null,function*(){if(!(ar!=null&&ar.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,wr.w)(ga.coursesId,ga.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,ue.xg)(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/users/${Yn==null?void 0:Yn.login}?check=true`)})},ar!=null&&ar.answered_open&&((pu=So==null?void 0:So.current_answer_user)==null?void 0:pu.login)===(Yn==null?void 0:Yn.login)?"\u67E5\u770B":"- -"),(oa==null?void 0:oa.exercise_time)>0&&(oa==null?void 0:oa.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(De.Z,{title:oa.exercise_status===3?"\u672C\u8BD5\u5377\u5DF2\u622A\u6B62\uFF0C\u8BF7\u5148\u4FEE\u6539\u622A\u6B62\u65F6\u95F4\u4F7F\u672C\u8BD5\u5377\u5904\u4E8E\u201C\u8003\u8BD5\u4E2D\u201D":!1},pt.createElement(Ce.ZP,{danger:!0,ghost:!0,size:"small",disabled:oa.exercise_status===3||oa.exercise_status===5||(oa==null?void 0:oa.appraise_label)||(Yn==null?void 0:Yn.commit_status)===0,onClick:()=>{var Ju,Mu;if((0,bt.Rm)()&&!((Mu=(Ju=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Ju.exercise)!=null&&Mu.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:[Yn.exercise_user_id],selectArrs:Yn,exercise_time:oa.exercise_time,params:pr({},Yt)}})}},"\u5EF6\u65F6")))}}].filter(Zn=>!!Zn),xl=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",width:60,render:(Zn,Yn,_r)=>pt.createElement(De.Z,{title:((Yt.page||1)-1)*20+_r+1},pt.createElement("span",null,((Yt.page||1)-1)*20+_r+1))},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",width:100,render:(Zn,Yn)=>Yn.commit_status===0||Yn.commit_status===1?"--":!Yn.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0),Zn===100?pt.createElement("span",{className:"c-green"},Zn):Zn>60?pt.createElement("span",{className:"c-orange"},Zn):pt.createElement("span",null,Zn))},!((ar==null?void 0:ar.objective)!==1||(ar==null?void 0:ar.objective)===1&&(ar==null?void 0:ar.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let _r;return Zn>=0&&Zn<=60?_r=pt.createElement("span",null,Zn):Zn===100?_r=pt.createElement("span",{className:"c-green"},Zn):Zn>60?_r=pt.createElement("span",{className:"c-orange"},Zn):_r="--",pt.createElement(Ma,{renderText:_r,item:Yn})}}},!((ar==null?void 0:ar.subjective)!==1||(ar==null?void 0:ar.subjective)===1&&(ar==null?void 0:ar.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let _r;return Zn==0||Zn>0&&Zn<=60?_r=pt.createElement("span",null,Zn):Zn===100?_r=pt.createElement("span",{className:"c-green"},Zn):Zn>60?_r=pt.createElement("span",{className:"c-orange"},Zn):_r="--",_r}}},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"center",width:200,render:(Zn,Yn)=>Zn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Zn===1?pt.createElement("span",{style:{color:"#DF3042"}},!Yn.is_make_up&&"\u8003\u8BD5\u4E2D",Yn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Zn===2?pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"center",width:200,render:Zn=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",align:"center",width:200,render:Zn=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"}].filter(Zn=>!!Zn),Ui=[...Zo];Ui[0]=pr({},Ui[0]),Ui[(Ui==null?void 0:Ui.length)-1]=pr({},Ui[(Ui==null?void 0:Ui.length)-1]),Ui[0].render=()=>"\u6211",Ui[(Ui==null?void 0:Ui.length)-1].render=()=>{var Zn;return(Zn=So==null?void 0:So.current_answer_user)!=null&&Zn.login?pt.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:()=>Cr(void 0,null,function*(){var Yn,_r;if(!(ar!=null&&ar.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,wr.w)(ga.coursesId,ga.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E...");let pu=`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/users/${(Yn=So==null?void 0:So.current_answer_user)==null?void 0:Yn.login}`;((_r=So==null?void 0:So.current_answer_user)==null?void 0:_r.commit_status)>1&&(pu=pu+"?check=true"),ye.history.push(pu)})},"\u67E5\u770B"):"--"};const Nu=()=>{var Zn;try{const Yn=pr({},Yt);delete Yn.page,delete Yn.limit,localStorage[`${(Zn=Oe==null?void 0:Oe.userInfo)==null?void 0:Zn.login}-${Yt.coursesId}-${Yt.categoryId}-filter`]=JSON.stringify(Yn)}catch(Yn){}},Il=()=>{var Zn;try{const Yn=gr(pr({},Yt),{firstTargetLogin:Bu,totalCount:ir});delete Yn.page,delete Yn.limit,localStorage[`${(Zn=Oe==null?void 0:Oe.userInfo)==null?void 0:Zn.login}-${Yt.coursesId}-${Yt.categoryId}-downFilter`]=JSON.stringify(Yn)}catch(Yn){}};return pt.createElement("section",{className:"mb20"},(ar==null?void 0:ar.score_open)&&(0,bt.dE)()&&pt.createElement(z.default,{pagination:!1,showHeader:!1,dataSource:[pr({},So==null?void 0:So.current_answer_user)],columns:Ui,scroll:{x:"max-content"}}),!(0,bt.GJ)()&&pt.createElement("div",{className:"bg-white pt10 mt15"},!!(ar!=null&&ar.answer_users)&&pt.createElement("span",{className:"mr10"},pt.createElement("span",{style:{color:"#FF954C"}},ar==null?void 0:ar.answer_users," "),"\u5DF2\u4EA4"),!!(ar!=null&&ar.unanswer_users)&&pt.createElement("span",{className:"mr10"},ar==null?void 0:ar.unanswer_users,"\u672A\u4EA4"),(ar==null?void 0:ar.exercise_end_time)!=="--"&&(oa!=null&&oa.before_start?"":pt.createElement("span",null,"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},ar==null?void 0:ar.exercise_end_time))),(oa==null?void 0:oa.before_start)&&pt.createElement("span",null,"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u8FD8\u6709\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},oa==null?void 0:oa.before_start))),!(ar!=null&&ar.exercise_all_users)&&!(0,bt.dE)()&&pt.createElement(He.Z,{styles:{margin:"0 auto",padding:200}}),(!!(ar!=null&&ar.exercise_all_users)||(0,bt.dE)())&&pt.createElement("aside",null,(0,bt.GJ)()&&pt.createElement("aside",{className:"pt20"},pt.createElement(de.default,{form:Fr,onValuesChange:hl,initialValues:{commit_status:"all",exercise_group_id:"all",review:"all",is_make_up:"all"}},pt.createElement(de.default.Item,{name:"exercise_group_id"},pt.createElement(Re.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u9009\u62E9\u73ED\u7EA7:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((wn=va.course_group)!=null&&wn.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},(ar==null?void 0:ar.course_groups)&&(ar==null?void 0:ar.course_groups.map((Zn,Yn)=>pt.createElement(Re.default,{value:Zn.exercise_group_id,className:"ml0 mr8",key:Zn.exercise_group_id},Zn.exercise_group_name,"(",Zn.exercise_group_students,")"))))))),pt.createElement(de.default.Item,{name:"commit_status"},pt.createElement(Re.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u63D0\u4EA4\u72B6\u6001:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((aa=va.commit_status)!=null&&aa.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},vt.map((Zn,Yn)=>pt.createElement(Re.default,{name:"commit_status",value:Zn.id,key:Zn.id},Zn.name,"(",ar==null?void 0:ar[Zn.type],")")))))),pt.createElement(de.default.Item,{name:"review"},pt.createElement(Re.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u8BC4\u9605\u72B6\u6001:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((pa=va.review)!=null&&pa.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},($n=rt)==null?void 0:$n.map((Zn,Yn)=>pt.createElement(Re.default,{value:Zn.id,key:Yn},Zn.name,"(",ar==null?void 0:ar[Zn.type],")")))))),(ar==null?void 0:ar.open_make_up)&&pt.createElement(de.default.Item,{name:"is_make_up"},pt.createElement(Re.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u8865\u8003\u72B6\u6001:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((Wn=va.is_make_up)!=null&&Wn.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},$e.map((Zn,Yn)=>pt.createElement(Re.default,{name:"is_make_up",value:Zn.id},Zn.name,"(",ar==null?void 0:ar[Zn.type],")")))))),pt.createElement(re.Z,{align:"middle"},pt.createElement(pe.Z,{flex:"1"},pt.createElement(re.Z,{align:"middle"},pt.createElement(pe.Z,null,pt.createElement(Se.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Zn=>{Yt.search=Zn==null?void 0:Zn.trim(),Yt.page=1,da(pr({},Yt)),Nr(Yt)},onChange:Zn=>{Yt.search=Zn.target.value},style:{width:240}})))),!(oa!=null&&oa.is_random)&&pt.createElement(pe.Z,{className:["tr",En.rightFilter].join(" ")},(ar==null?void 0:ar.objective)===1&&(ar==null?void 0:ar.subjective)===1&&pt.createElement(pt.Fragment,null,"\u6309\u5BA2\u89C2\u9898\u5F97\u5206\u5206\u7EC4",pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_gte"},pt.createElement(Te.Z,{min:0,max:ar==null?void 0:ar.objective_score,placeholder:"\u6700\u4F4E"}))),pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_lte"},pt.createElement(Te.Z,{min:(Yt==null?void 0:Yt.objective_score_gte)||0,max:ar==null?void 0:ar.objective_score,placeholder:"\u6700\u9AD8"})))),["\u8003\u8BD5\u4E2D","\u5DF2\u622A\u6B62"].includes(ue.ju[oa.exercise_status])&&pt.createElement(y.Z,{menu:{onClick:Zn=>Cr(void 0,[Zn],function*({key:Yn,domEvent:_r}){var pu,Ju;if(Yn==="1"){let Mu=null;const Ys=Fe.default.confirm({title:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605",icon:null,centered:!0,width:560,closable:!0,content:pt.createElement("div",{className:"flex flex-col gap-20px"},pt.createElement("div",null,"\u63D0\u793A\uFF1A\u8BE5\u64CD\u4F5C\u4F1A\u5C06\u6240\u6709\u5DF2\u4F5C\u7B54\u4E14\u672A\u8BC4\u9605\u5B66\u751F\u7684\u8BD5\u5377\u8BC4\u9605\u72B6\u6001\u4FEE\u6539\u4E3A\u201C\u5DF2\u8BC4\u9605\u201D\u3002"),pt.createElement("div",null,pt.createElement("div",null,"\u8003\u8BD5\u8BC4\u4EF7\uFF1A"),pt.createElement(Se.default.TextArea,{className:"mt10",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u8BC4\u4EF7\uFF0C\u8BC4\u9605\u4E4B\u540E\u652F\u6301\u5355\u72EC\u8FDB\u884C\u4FEE\u6539",rows:4,onChange:Nc=>{Mu=Nc.target.value}}))),onOk:()=>Cr(void 0,null,function*(){(yield Iu({review_all:!0,exercise_id:ga==null?void 0:ga.categoryId,analysis:Mu})).status===0&&(oe.ZP.success("\u6279\u91CF\u5B8C\u6210\u8BC4\u9605"),Nr(Yt))}),onCancel:()=>{Ys.destroy()}})}if(Yn==="2"){if(_r.preventDefault(),(0,bt.Rm)()&&!((Ju=(pu=Pe==null?void 0:Pe.AssistantObject)==null?void 0:pu.exercise)!=null&&Ju.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,wr.w)(ga.coursesId,ga.categoryId),Nu(),ye.history.push(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/reviews/group`)}Yn==="3"&&(window.location.href=`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/detail?random=${oa==null?void 0:oa.is_random}&tabs=2`)}),items:[{key:"1",label:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605"},!(oa!=null&&oa.is_random)&&(ar==null?void 0:ar.subjective)===1&&Wt&&{key:"2",label:"\u7B80\u7B54\u9898\u6279\u91CF\u8BC4\u9605",disabled:!ji||!Ru},!((0,bt.dE)()||oa!=null&&oa.is_random||(oa==null?void 0:oa.exercise_type)==2)&&{key:"3",label:pt.createElement("div",null,"\u7B80\u7B54\u9898\u667A\u80FD\u8BC4\u9605",pt.createElement("img",{src:pn,style:{margin:"0 0 4px 4px"}}))}].filter(Zn=>Zn)},className:"ml10"},pt.createElement("div",{className:`${En.btn_review}`},pt.createElement("img",{src:ya.Z,className:"mr5",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),(ar==null?void 0:ar.subjective)===1&&Wt&&pt.createElement(pt.Fragment,null,pt.createElement(Ce.ZP,{type:"default",disabled:!ji},pt.createElement("a",{onClick:Zn=>Cr(void 0,null,function*(){var Yn,_r;if(Zn.preventDefault(),(0,bt.Rm)()&&!((_r=(Yn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Yn.exercise)!=null&&_r.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,wr.w)(ga.coursesId,ga.categoryId),Nu(),ye.history.push(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${ji}`)})},pt.createElement("span",{className:"iconfont icon-filesync3x"}),pt.createElement("span",null,"\u7EC4\u5185\u987A\u5E8F\u8BC4\u9605"))))),pt.createElement(pe.Z,null,(oa==null?void 0:oa.exercise_status)===3&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8D28\u91CF\u68C0\u6D4B",params:Yt}})}},pt.createElement("i",{className:"iconfont icon-a-08zhiliang-xianxing font14 pr5"}),"\u8D28\u91CF\u8BC4\u5206")),pt.createElement(pe.Z,null,(oa==null?void 0:oa.exercise_time)>0&&(oa==null?void 0:oa.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",disabled:oa.exercise_status===3||oa.exercise_status===5||(oa==null?void 0:oa.appraise_label),onClick:()=>{var Zn,Yn;if((0,bt.Rm)()&&!((Yn=(Zn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Zn.exercise)!=null&&Yn.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Wl.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:Wl,user_ids:nu,isBatch:!0,exercise_time:oa.exercise_time,params:pr({},Yt)}})}},"\u6279\u91CF\u5EF6\u65F6"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var Zn,Yn;if((0,bt.Rm)()&&!((Yn=(Zn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Zn.exercise)!=null&&Yn.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Wl.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",exercise_user_id:Wl,user_ids:nu,isBatch:!0}})}},"\u6279\u91CF\u8C03\u6574\u72B6\u6001"))))),to===-3&&!(0,bt.dE)()&&pt.createElement(He.Z,{customText:"\u4FEE\u6539\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u5224\u5206\u4E2D\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85...",styles:{margin:"0 auto",padding:100}}),to!==-3&&pt.createElement(z.default,{className:"mt30",loading:Gl,hideOnSinglePage:!0,pagination:!1,dataSource:(0,bt.dE)()?ar!=null&&ar.score_open?So==null?void 0:So.exercise_users:[(So==null?void 0:So.current_answer_user)||{}]:So==null?void 0:So.exercise_users,columns:Zo,rowSelection:!(0,bt.dE)()&&{selectedRowKeys:Wl,onChange:(Zn,Yn)=>{tu(Zn),Zi((Yn==null?void 0:Yn.map(_r=>_r==null?void 0:_r.user_id))||[])},getCheckboxProps:Zn=>({disabled:Zn.commit_status===0})},rowKey:"exercise_user_id",scroll:{x:"max-content"},size:"middle",onChange:(Zn,Yn,_r)=>{Yt.page=1,_r.order===void 0?(Yt.order_type=null,Yt.order=null):(Yt.order_type=_r.order==="descend"?"desc":"asc",Yt.order=_r.field),da(pr({},Yt)),Nr(Yt)}}),ir>20&&pt.createElement("aside",{className:"tc pb30 mt30"},pt.createElement(we.Z,{onChange:Yu,current:Yt.page||1,pageSize:Yt.limit,total:ir,showQuickJumper:!0,hideOnSinglePage:!0,showTotal:Zn=>pt.createElement("span",{className:"mr10"},"\u5171",pt.createElement("span",{className:"c-orange"},Zn),"\u6761\u6570\u636E")}))),pt.createElement(Fe.default,{open:Or,title:pt.createElement("span",null,"\u8003\u8BD5\u8BB0\u5F55\uFF08",po==null?void 0:po.name," ",po==null?void 0:po.id,"\uFF09"),centered:!0,width:1e3,footer:null,onCancel:()=>{Co(!1)}},((Qa=po==null?void 0:po.list)==null?void 0:Qa.length)===0?pt.createElement(He.Z,{styles:{margin:"0 auto"},customText:"\u6682\u65E0\u6570\u636E"}):pt.createElement(z.default,{dataSource:po==null?void 0:po.list,columns:xl,pagination:!1})),pt.createElement(sn,null),pt.createElement(Kt,null),pt.createElement(Tt,null),pt.createElement(In,null),Qt&&pt.createElement(Fe.default,{title:"\u9632\u4F5C\u5F0A\u5934\u50CF",open:Qt,centered:!0,onCancel:()=>{Ua(1),tt(!1),qa([]),fa("alert"),ta("")},footer:pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",{style:{flex:1,textAlign:"left"}}," ",pt.createElement(Ce.ZP,{onClick:()=>Cr(void 0,null,function*(){if(!Ca){oe.ZP.info("\u8F93\u5165\u6846\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A");return}Oa(!0);let Zn=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/send_alert.json`,{method:"post",body:{content:Ca,clazz:ka,exercise_user_id:Ba}});(Zn==null?void 0:Zn.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),Ua(1),tt(!1),qa([]),fa("alert"),ta("")),Oa(!1)}),disabled:$a,loading:za},"\u53D1\u9001")),pt.createElement(Ce.ZP,{disabled:(xr==null?void 0:xr.length)===0,style:{marginRight:"10px"},onClick:()=>Cr(void 0,null,function*(){yield Ua(ea-1===0?xr==null?void 0:xr.length:ea-1)})},"\u4E0A\u4E00\u5F20"),pt.createElement(Ce.ZP,{disabled:(xr==null?void 0:xr.length)===0,type:"primary",onClick:()=>Cr(void 0,null,function*(){yield Ua(ea===(xr==null?void 0:xr.length)?1:ea+1)})},"\u4E0B\u4E00\u5F20"))},pt.createElement("img",{style:{width:"234px !important",height:"132px",borderRadius:"5px"},src:xr[ea-1]}),pt.createElement("span",{onClick:()=>{Ga.Z.publish("preview-image",xr[ea-1])},style:{background:"#0152d9",color:"#fff",display:"inline-flex",width:"54px",height:"20px",borderRadius:"10px",justifyContent:"center",lineHeight:"20px",alignItems:"center",position:"absolute",top:"70px",left:"130px",zIndex:5,cursor:"pointer"}},"\u9884\u89C8"),pt.createElement("span",{style:{color:"#0152d9",marginTop:"16px",width:"234px",justifyContent:"center",display:"flex"}},ea+"/"+(xr==null?void 0:xr.length)),pt.createElement(be.ZP,{className:"mt20",checked:ka==="alert",onChange:()=>fa("alert")},"\u53D1\u9001\u8B66\u544A",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(be.ZP,{className:"mt10",checked:ka==="notice",onChange:()=>fa("notice")},"\u53D1\u9001\u901A\u77E5",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(Se.default.TextArea,{className:"mt20",value:Ca,onChange:Zn=>ta(Zn.target.value),placeholder:`\u8BF7\u8F93\u5165${ka==="alert"?"\u8B66\u544A":"\u901A\u77E5"}\u5185\u5BB9${ka==="alert"?"\uFF0C\u5982\uFF1A\u626D\u5934\u4F4E\u5934\u5927\u5E45\u5EA6\u52A8\u4F5C\u68C0\u6D4B":""}`}),pt.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",ja,"\u6B21\u8B66\u544A")),pt.createElement(wa.Z,null),pt.createElement(Hr,null),pt.createElement(la,null))};var co=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le,classroomList:dt,user:Dt})=>({classroomList:dt,exercise:me,loading:ve.effects,globalSetting:le,user:Dt}))(fr),Do=x(84105),io=x(87395),$r={flex_box_center:"flex_box_center___Hpswl",flex_space_between:"flex_space_between___ywvKM",flex_box_vertical_center:"flex_box_vertical_center___SItpZ",flex_box_center_end:"flex_box_center_end___WIAL3",flex_box_column:"flex_box_column___FMKJn",wrap:"wrap___AW_2A",control:"control___w5xQm",btn:"btn___as1xd",customTable:"customTable___gGVV3",bgH:"bgH___J0V1_",cusModal:"cusModal___2fPK2",imgWrap:"imgWrap___crzTi",img:"img___iwJRL",iBtn:"iBtn___L11V_",text:"text___INAg4",no:"no___H7kcX",textP:"textP___Rdbzv",video:"video___yjo5C",sys:"sys___o3w4h",li:"li___WQQil",d1:"d1___KQ9j6",b1:"b1___PA3Kc",es:"es___j13_3"},oi=x(96640),cl=x(44523);const al=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;var Ci=(0,a.forwardRef)(({src:me,videoId:ve,logWatchHistory:le,courseId:dt=null,startTime:Dt,handlePause:_e=()=>{},handlePlay:Wt=()=>{},handlePlayEnded:at=()=>{},videoSpeed:Oe=1},Pe)=>{var xn;const Vn=((xn=me==null?void 0:me.split("."))==null?void 0:xn.pop())==="flv",an=(0,a.useRef)(),wn=(0,a.useRef)(),aa=(0,a.useRef)(0),pa=(0,a.useRef)(0),[$n,Wn]=(0,a.useState)(0),Qa=navigator.userAgent.toLowerCase().match(al),On=Qa?Qa[0]:"pc";(0,a.useImperativeHandle)(Pe,()=>({getLastUpdatedTime:()=>an.current.currentTime,getDuration:()=>an.current.duration})),(0,a.useEffect)(()=>{pa.current=void 0;try{oi.Z.isSupported&&Vn&&me&&(me==null?void 0:me.indexOf(".m3u8"))<0?(pa.current=oi.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:me+"?t="+Date.now(),muted:!1,isLive:!0}),pa.current.on("play",function(){console.log(21111)}),an.current&&(pa.current.detachMediaElement(an.current),pa.current.attachMediaElement(an.current),pa.current.load(),pa.current.play())):an.current.setAttribute("src",me+"?t="+Date.now())}catch(Yt){setTimeout(()=>{Wn($n+1)},1e3)}return console.log("src:",me),()=>{var Yt,da,oa,Ta,Jt,va,ra,ir;pa.current&&((da=(Yt=pa.current)==null?void 0:Yt.unload)==null||da.call(Yt),(Ta=(oa=pa.current)==null?void 0:oa.pause)==null||Ta.call(oa),(va=(Jt=pa.current)==null?void 0:Jt.destroy)==null||va.call(Jt),(ir=(ra=pa.current)==null?void 0:ra.detachMediaElement)==null||ir.call(ra,an.current),pa.current=void 0,an.current.src="")}},[an,Vn,me,$n]),(0,a.useEffect)(()=>(wn.current=setInterval(()=>{aa.current>0&&aa.current===an.current.currentTime&&(console.log("\u64AD\u653E\u4E00\u6B21"),Wn($n+1)),aa.current=an.current.currentTime},3e3),()=>{clearInterval(wn.current)}),[]);const ga=Yt=>{setTimeout(()=>{Wn($n+1)},1e3)};return a.createElement("video",{ref:an,onerr:!0,onErrorCapture:()=>{Wn($n+1)},autoPlay:!0,muted:!0})}),bi=Object.defineProperty,zr=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,zi=(me,ve,le)=>ve in me?bi(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Lo=(me,ve)=>{for(var le in ve||(ve={}))Ri.call(ve,le)&&zi(me,le,ve[le]);if(zr)for(var le of zr(ve))Gi.call(ve,le)&&zi(me,le,ve[le]);return me},Cl=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const tl=({exercise:me,dispatch:ve,user:le})=>{var dt;const Dt=(0,ye.useParams)(),[_e,Wt]=(0,a.useState)({page:1,limit:20,sort_by:null,sort_direction:null,state:null,audit:null,name:"",save_name:"",exercise_id:Dt==null?void 0:Dt.categoryId}),[at]=de.default.useForm(),[Oe,Pe]=(0,a.useState)(),[xn,jn]=(0,a.useState)(!1),{exerciseList:Vn,commonHeader:an}=me,[wn,aa]=(0,a.useState)([]),[pa,$n]=(0,a.useState)([]),[Wn,Qa]=(0,a.useState)(0),[On,ga]=(0,a.useState)(!0),[Yt,da]=(0,a.useState)(!1),oa=(0,a.useRef)(null);(0,a.useEffect)(()=>{Ta(_e)},[]),(0,a.useEffect)(()=>(clearInterval(oa.current),(an==null?void 0:an.exercise_status)===2&&(oa.current=setInterval(()=>{Ta(_e)},3e4)),()=>{clearInterval(oa.current)}),[an==null?void 0:an.exercise_status,_e]);const Ta=ja=>Cl(void 0,null,function*(){const vr=rr().cloneDeep(ja);console.log(vr,"sendData"),ga(!0),aa([]);const Sa=yield(0,fe.ZP)(`/api/exercises/${ja==null?void 0:ja.exercise_id}/exercise_identity_photos.json`,{method:"get",params:vr});$n([]),ga(!1),Qa(Sa==null?void 0:Sa.count),aa((Sa==null?void 0:Sa.exercise_users)||[])}),Jt=(ja,vr)=>{_e.page=1,_e[vr]=ja,Wt(Lo({},_e)),Ta(_e)},va=ja=>{_e.page=1,_e.save_name=ja,Wt(Lo({},_e))},ra=()=>{_e.page=1;const ja=Object.assign({},at.getFieldsValue());Object.keys(ja).map(function(vr){switch(vr){case"exercise_group_id":ja[vr].includes("all")||!ja[vr].length?(delete _e.course_group,at.setFieldsValue({exercise_group_id:"all"})):(_e.course_group=ja[vr],at.setFieldsValue({exercise_group_id:_e.course_group}));break}}),Wt(Lo({},_e)),Ta(_e)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Pe(47),jn(!0))},[document.getElementById("divhe"),Vn]);const ir=(ja,vr,Sa)=>{_e.page=ja==null?void 0:ja.current,_e.limit=ja==null?void 0:ja.pageSize,Sa!=null&&Sa.order?(_e.sort_by=Sa==null?void 0:Sa.field,_e.sort_direction=(Sa==null?void 0:Sa.order)==="ascend"?"asc":"desc"):(_e.sort_by=null,_e.sort_direction=null),Wt(Lo({},_e)),Ta(_e)},eo=[{title:"\u5E8F\u53F7",dataIndex:"number",width:80,render:(ja,vr,Sa)=>_e.limit*(_e.page-1)+Sa+1},{title:"\u59D3\u540D",dataIndex:"user_name",width:110,ellipsis:{showTitle:!1},render:ja=>a.createElement(De.Z,{placement:"bottomLeft",title:ja},a.createElement("span",null,ja))},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,width:140,showSorterTooltip:!1,ellipsis:{showTitle:!1},render:ja=>a.createElement(De.Z,{placement:"bottomLeft",title:ja||"--"},a.createElement("span",null,ja||"--"))},{title:"\u5206\u73ED",dataIndex:"user_group_name",ellipsis:{showTitle:!1},render:(ja,vr)=>ja?a.createElement(De.Z,{placement:"bottom",title:ja},a.createElement("span",{className:$r.es},ja)):"--"},{title:"\u4EBA\u8138\u7167\u7247",dataIndex:"photo_url",width:90,ellipsis:{showTitle:!1},render:(ja,vr)=>a.createElement("img",{width:40,style:{maxHeight:30},src:ja,className:"current",onClick:()=>{ka(vr)}})},{title:"\u5BA1\u6838\u72B6\u6001",width:100,dataIndex:"exercise_identity_photo_state",ellipsis:{showTitle:!1},render:(ja,vr)=>a.createElement(a.Fragment,null,ja==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),ja==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),ja==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:180,ellipsis:{showTitle:!1},render:ja=>a.createElement("span",null,ja||"--")},{title:"\u5BA1\u6838\u7C7B\u578B",dataIndex:"audit_clazz",width:90,ellipsis:{showTitle:!1},render:ja=>a.createElement("span",null,ja||"--")},{title:"\u64CD\u4F5C",dataIndex:"action",width:180,ellipsis:{showTitle:!1},render:(ja,vr)=>{var Sa;return a.createElement(a.Fragment,null,(vr==null?void 0:vr.exercise_identity_photo_state)==="submitted"?a.createElement("span",{className:"c-light-primary current",onClick:()=>da(vr)},"\u5BA1\u6838"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u5BA1\u6838"),(vr==null?void 0:vr.exercise_identity_photo_state)!=="submitted"?a.createElement("span",{className:"c-light-primary current ml10 mr10",onClick:()=>Qt(vr)},"\u5BA1\u6838\u8BB0\u5F55"):a.createElement("span",{className:"c-grey-999 ml10 mr10 cursorNotAllowed"},"\u5BA1\u6838\u8BB0\u5F55"),(vr==null?void 0:vr.exercise_identity_photo_state)==="passed"&&((Sa=vr==null?void 0:vr.play_url)!=null&&Sa.length)?a.createElement("span",{className:"c-light-primary current",onClick:()=>tt(vr)},"\u6444\u50CF\u76D1\u63A7"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u6444\u50CF\u76D1\u63A7"))}}],Pr=ja=>{$n(ja)},Dr=()=>{da(!1),Ta(_e)},Qt=ja=>{const vr=[{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:170,render:(Xr,za)=>a.createElement("span",null,Xr||"--")},{title:"\u5BA1\u6838\u72B6\u6001",dataIndex:"exercise_identity_photo_state",width:110,render:(Xr,za)=>a.createElement(a.Fragment,null,Xr==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),Xr==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),Xr==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u610F\u89C1",dataIndex:"comment",render:(Xr,za)=>Xr?a.createElement(De.Z,{placement:"bottom",title:Xr},a.createElement("span",null,Xr)):"--"},{title:"\u91C7\u96C6\u7167\u7247",dataIndex:"photo_url",width:90,render:(Xr,za)=>a.createElement("span",{className:"current c-light-primary",onClick:()=>{Ga.Z.publish("preview-image",Xr)}},"\u67E5\u770B")}],Sa=Fe.default.confirm({icon:null,width:700,className:`${$r.cusModal} custom-modal-divider`,centered:!0,title:a.createElement(re.Z,null,a.createElement(pe.Z,{flex:"1"},"\u5BA1\u6838\u8BB0\u5F55"),a.createElement(pe.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Sa.destroy()}))),content:a.createElement("div",null,a.createElement(z.default,{className:$r.customTable,dataSource:[Lo({},ja)],bordered:!1,columns:vr,rowKey:"exercise_identity_photo_id",rowClassName:$r.row,pagination:!1}))})},tt=ja=>{var vr,Sa;const Xr=Fe.default.confirm({icon:null,className:`${$r.cusModal} custom-modal-divider`,centered:!0,width:((vr=ja==null?void 0:ja.play_url)==null?void 0:vr.length)<6?724:744,title:a.createElement(re.Z,null,a.createElement(pe.Z,{flex:"1"},"\u89C6\u9891"),a.createElement(pe.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Xr.destroy()}))),content:a.createElement("ul",{className:$r.sys},(Sa=ja==null?void 0:ja.play_url)==null?void 0:Sa.map((za,Oa)=>a.createElement("li",{className:$r.li,key:Oa},a.createElement("div",{className:$r.d1},a.createElement("div",{className:$r.img},a.createElement(Ci,{src:za==null?void 0:za.replace(".m3u8",".flv"),autoPlay:!0})),a.createElement("div",{className:$r.btn},a.createElement("div",{className:$r.b1},"\u56DE\u653E\u89C6\u9891",Oa+1))))))})},ka=ja=>{const vr=Fe.default.confirm({icon:null,className:`${$r.cusModal} custom-modal-divider`,centered:!0,width:710,title:a.createElement(re.Z,null,a.createElement(pe.Z,{flex:"1"},"\u4EBA\u8138\u7167\u7247"),a.createElement(pe.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>vr.destroy()}))),content:a.createElement(re.Z,null,a.createElement("aside",{className:$r.imgWrap,style:{marginBottom:40}},a.createElement("div",{className:$r.img},a.createElement("img",{width:326,src:(0,ue.Tv)(ja==null?void 0:ja.photo_url)}),a.createElement("div",{className:$r.textP},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:$r.img,style:{marginLeft:20}},ja!=null&&ja.identity_url?a.createElement("img",{width:326,src:(0,ue.Tv)(ja==null?void 0:ja.identity_url)}):a.createElement("div",{className:$r.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),a.createElement("div",{className:$r.textP},"\u8BC1\u4EF6\u7167\u7247"))))})},fa={selectedRowKeys:pa,columnWidth:40,onChange:Pr,getCheckboxProps:ja=>({disabled:(ja==null?void 0:ja.exercise_identity_photo_state)==="passed"})};return a.createElement("section",{className:$r.wrap},a.createElement(de.default,{form:at,onChange:ra,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Re.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(pe.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(pe.Z,{flex:"80px"},a.createElement(Re.default,{value:"all"},"\u5168\u90E8")),a.createElement(pe.Z,{flex:"1",id:"divhe",style:{height:Oe+"px",overflow:"hidden"}},(dt=Vn.course_groups)==null?void 0:dt.map((ja,vr)=>a.createElement(Re.default,{key:vr,value:ja.exercise_group_id,className:"ml0 mr8"},ja.exercise_group_name,"(",ja.exercise_group_students,")"))),xn&&a.createElement("span",{onClick:()=>{let ja=document.getElementById("divhe").scrollHeight;Oe>47?Pe(47):Pe(ja)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Oe===47?"\u5C55\u5F00":"\u6536\u8D77",Oe===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(io.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:$r.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:_e==null?void 0:_e.save_name,onChange:ja=>va(ja.target.value),onSearch:()=>{_e.page=1,_e.name=_e.save_name,Wt(Lo({},_e)),Ta(_e)}}),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",value:_e==null?void 0:_e.state,onChange:ja=>Jt(ja,"state")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:"submitted"},"\u5F85\u5BA1\u6838"),a.createElement(dn.default.Option,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(dn.default.Option,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7")),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u7C7B\u578B",value:_e==null?void 0:_e.audit,onChange:ja=>Jt(ja,"audit")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:1},"\u81EA\u52A8\u5BA1\u6838"),a.createElement(dn.default.Option,{value:2},"\u4EBA\u5DE5\u5BA1\u6838")),a.createElement("span",{className:$r.btn,style:{cursor:"pointer"},onClick:()=>{if(!pa.length){oe.ZP.warning("\u8BF7\u9009\u62E9\u5B66\u751F");return}da(!0)}},a.createElement("i",{className:"iconfont icon-piliangcaozuo font14 mr5"}),"\u6279\u91CF\u5BA1\u6838")),a.createElement("div",{className:$r.bgH}),a.createElement(z.default,{rowSelection:fa,className:$r.customTable,dataSource:wn,bordered:!1,columns:eo,rowKey:"exercise_identity_photo_id",rowClassName:$r.row,loading:On,onChange:ir,pagination:{pageSize:_e.limit,total:Wn,current:_e.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,position:["bottomCenter"],showTotal:ja=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},ja),"\u6761\u6570\u636E")}}),a.createElement(ba,{selectIds:pa,visible:Yt,onCancel:()=>da(!1),onOk:Dr,params:_e}),a.createElement(wa.Z,null))};var Da=(0,ye.connect)(({exercise:me,user:ve})=>({exercise:me,user:ve}))(tl);const ba=({visible:me,onOk:ve,onCancel:le,selectIds:dt,params:Dt})=>{const[_e,Wt]=(0,a.useState)(!1),[at,Oe]=(0,a.useState)({}),[Pe]=de.default.useForm(),xn=jn=>Cl(void 0,null,function*(){Wt(!0);let Vn;me===!0?Vn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/batch_audit_identity_photo.json`,{method:"post",body:Lo({identity_photo_ids:dt},jn)}):Vn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/audit_identity_photo.json`,{method:"post",body:Lo({identity_photo_id:me==null?void 0:me.exercise_identity_photo_id},jn)}),(Vn==null?void 0:Vn.status)===0&&ve(),Wt(!1)});return a.createElement(Fe.default,{title:me!==!0?"\u4EBA\u8138\u8EAB\u4EFD\u5BA1\u6838":"\u6279\u91CF\u5BA1\u6838",open:!!me,centered:!0,width:650,destroyOnClose:!0,onCancel:()=>{le()},afterClose:()=>{Pe.resetFields(),Oe({})},confirmLoading:_e,onOk:()=>Pe.submit()},a.createElement(de.default,{className:$r.formWrap,form:Pe,labelCol:{span:4},wrapperCol:{span:18},onFinish:xn,onValuesChange:()=>{Oe(Lo({},Pe.getFieldsValue()))}},me!==!0&&a.createElement(re.Z,{style:{marginLeft:28,marginBottom:38}},a.createElement(pe.Z,null,"\u91C7\u96C6\u7167\u7247\uFF1A"),a.createElement(pe.Z,null,a.createElement("aside",{className:$r.imgWrap},a.createElement("div",{className:$r.img},a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.photo_url)}),a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",me==null?void 0:me.photo_url)},className:$r.iBtn},"\u9884\u89C8"),a.createElement("div",{className:$r.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:$r.img,style:{marginLeft:20}},me!=null&&me.identity_url?a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.identity_url)}):a.createElement("div",{className:$r.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(me!=null&&me.identity_url)&&a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",(0,ue.Tv)(me==null?void 0:me.identity_url))},className:$r.iBtn},"\u9884\u89C8"),a.createElement("div",{className:$r.text},"\u8BC1\u4EF6\u7167\u7247"))))),a.createElement(de.default.Item,{label:"\u5BA1\u6838\u72B6\u6001",name:"state",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u72B6\u6001"}]},a.createElement(be.ZP.Group,null,a.createElement(be.ZP,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(be.ZP,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7"))),(at==null?void 0:at.state)==="rejected"&&a.createElement(de.default.Item,{label:"\u5BA1\u6838\u610F\u89C1",name:"comment",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u610F\u89C1"}]},a.createElement(Se.default,{placeholder:"\u5982\uFF1A\u4F60\u7684\u4E2A\u4EBA\u4FE1\u606F\u4E0E\u7167\u7247\u4E0D\u4E00\u81F4\u3002",maxLength:30})),a.createElement("div",{style:{color:"#FA6400",paddingLeft:32}},"\u6CE8\u610F\uFF1A\u5BA1\u6838\u901A\u8FC7\u540E\uFF0C\u8BE5\u5B66\u751F\u5728\u672C\u573A\u8003\u8BD5\u7684\u8BA4\u8BC1\u72B6\u6001\u5C06\u66F4\u65B0\u4E3A\u201C\u5BA1\u6838\u901A\u8FC7\u201D\uFF0C\u4E14\u80FD\u591F\u8FDB\u5165\u8003\u8BD5\u3002")))};var Wa=x(61621),Br=x(64165),lr={flex_box_center:"flex_box_center___t6Zg2",flex_space_between:"flex_space_between___YFTSU",flex_box_vertical_center:"flex_box_vertical_center___qbDmM",flex_box_center_end:"flex_box_center_end___Bj6kw",flex_box_column:"flex_box_column___Ou9DO",wrap:"wrap___foAmP",control:"control___q0ttm",bgH:"bgH___NAS04",sys:"sys___rqcXV",li:"li___blFPM",d1:"d1___Xzld0",img:"img___ckn7G",btn:"btn___fSMGG",b1:"b1___zoANu",b2:"b2___bqZaY",big:"big___nQ5gf",cusModal:"cusModal___rTXoc",video:"video___E4J_7",imgWrap:"imgWrap___ENwuy",iBtn:"iBtn___bXnJy",text:"text___CK5up",no:"no___MBT10",textP:"textP___ibKK1",l:"l___Gi38o",r:"r___HNibN",fo:"fo___DQwO8",b:"b___z8B9p"},mo=Object.defineProperty,Ar=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,Ro=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,Qo=Object.prototype.propertyIsEnumerable,Eo=(me,ve,le)=>ve in me?mo(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Io=(me,ve)=>{for(var le in ve||(ve={}))Oi.call(ve,le)&&Eo(me,le,ve[le]);if(Ro)for(var le of Ro(ve))Qo.call(ve,le)&&Eo(me,le,ve[le]);return me},ii=(me,ve)=>Ar(me,zo(ve)),ol=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const nl=({exercise:me,dispatch:ve,user:le})=>{var dt,Dt,_e,Wt,at,Oe,Pe,xn,jn;const Vn=(0,ye.useParams)(),[an,wn]=(0,a.useState)({page:1,limit:10,name:"",save_name:"",exercise_id:Vn==null?void 0:Vn.categoryId}),[aa]=de.default.useForm(),[pa,$n]=(0,a.useState)(),[Wn,Qa]=(0,a.useState)(!1),{exerciseList:On}=me,[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)(0),[Ta,Jt]=(0,a.useState)(!0),[va,ra]=(0,a.useState)(!1),[ir,eo]=(0,a.useState)("1"),[Pr,Dr]=(0,a.useState)(1),[Qt,tt]=(0,a.useState)("alert"),[ka,fa]=(0,a.useState)(1),[ja,vr]=(0,a.useState)(""),[Sa,Xr]=(0,a.useState)(!1),[za,Oa]=(0,a.useState)(!1),[Fr,xr]=(0,a.useState)([]);(0,a.useEffect)(()=>{qa(an)},[]);const qa=Gr=>ol(void 0,null,function*(){const ar=rr().cloneDeep(Gr);Jt(!0),Yt([]);const oo=yield(0,fe.ZP)(`/api/exercises/${Gr==null?void 0:Gr.exercise_id}/exercise_videos.json`,{method:"get",params:ar});Jt(!1),oa(oo==null?void 0:oo.count),Yt((oo==null?void 0:oo.exercise_users)||[])}),ea=(Gr,ar)=>{an.page=Gr,an.limit=ar,wn(Io({},an)),qa(an)},Ua=Gr=>{an.page=1,an.save_name=Gr,wn(Io({},an))},Ca=()=>{an.page=1;const Gr=Object.assign({},aa.getFieldsValue());Object.keys(Gr).map(function(ar){switch(ar){case"exercise_group_id":Gr[ar].includes("all")||!Gr[ar].length?(delete an.course_group,aa.setFieldsValue({exercise_group_id:"all"})):(an.course_group=Gr[ar],aa.setFieldsValue({exercise_group_id:an.course_group}));break}}),qa(an)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&($n(47),Qa(!0))},[document.getElementById("divhe"),On]);const ta=Gr=>ol(void 0,null,function*(){Xr(!0),ra({});const ar=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/student_info.json`,{method:"get",params:{exercise_user_id:Gr==null?void 0:Gr.exercise_user_id}}),oo=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/video_push_logs.json`,{method:"get",params:{exercise_user_id:Gr==null?void 0:Gr.exercise_user_id}});oo!=null&&oo.data&&xr((oo==null?void 0:oo.data)||[]),ar!=null&&ar.data&&ra(ii(Io({},ar==null?void 0:ar.data),{exercise_user_id:Gr==null?void 0:Gr.exercise_user_id,datas:Gr})),Xr(!1)}),Ba=Gr=>{var ar,oo;Dr(Gr==="prev"?Pr-1===0?(ar=va==null?void 0:va.exercise_user_photos)==null?void 0:ar.length:Pr-1:Pr===((oo=va==null?void 0:va.exercise_user_photos)==null?void 0:oo.length)?1:Pr+1)},qn=()=>{Dr(1),tt("alert"),vr(""),eo("1"),fa(1)},$a=Gr=>{fa(Gr)},mr=Gr=>{tt(Gr),fa(1),vr("")},Or=[{key:1,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:2,value:"\u8BF7\u52FF\u79BB\u5F00\u76D1\u63A7\u8303\u56F4\uFF01"},{key:3,value:"\u8BF7\u4E0D\u8981\u4E0E\u5176\u4ED6\u4EBA\u4EA4\u8C08\uFF01"},{key:4,value:"\u8BF7\u4E0D\u8981\u505A\u4E0E\u8003\u8BD5\u65E0\u5173\u7684\u884C\u4E3A\uFF01"},{key:5,value:"\u8BF7\u52FF\u5207\u5C4F\uFF0C\u8D85\u8FC73\u6B21\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF01"},{key:6,value:"\u8BF7\u52FF\u906E\u6321\u6216\u5173\u95ED\u7535\u8111\u6444\u50CF\u76D1\u63A7\uFF01"},{key:0,value:"\u5176\u4ED6"}],Co=[{key:1,value:"\u8BF7\u5C06\u624B\u673A\u653E\u7F6E\u4E8E\u4FA7\u540E\u65B945\xB0\uFF0C\u79BB\u684C\u97621\u7C73\u5DE6\u53F3\uFF0C\u4FDD\u8BC1\u80FD\u62CD\u6444\u5230\u4E0A\u534A\u8EAB\u3001\u7535\u8111\u5C4F\u5E55\u548C\u684C\u9762\u3002"},{key:2,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:0,value:"\u5176\u4ED6"}],po=Qt==="alert"?Or:Co;return a.createElement("section",{className:lr.wrap},a.createElement(de.default,{form:aa,onChange:Ca,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Re.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(pe.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(pe.Z,{flex:"80px"},a.createElement(Re.default,{value:"all"},"\u5168\u90E8")),a.createElement(pe.Z,{flex:"1",id:"divhe",style:{height:pa+"px",overflow:"hidden"}},(dt=On.course_groups)==null?void 0:dt.map((Gr,ar)=>a.createElement(Re.default,{key:ar,value:Gr.exercise_group_id,className:"ml0 mr8"},Gr.exercise_group_name,"(",Gr.exercise_group_students,")"))),Wn&&a.createElement("span",{onClick:()=>{let Gr=document.getElementById("divhe").scrollHeight;pa>47?$n(47):$n(Gr)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},pa===47?"\u5C55\u5F00":"\u6536\u8D77",pa===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(io.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:lr.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:an==null?void 0:an.save_name,onChange:Gr=>Ua(Gr.target.value),onSearch:()=>{an.page=1,an.name=an.save_name,wn(Io({},an)),qa(an)}})),a.createElement("div",{className:lr.bgH}),a.createElement("div",{className:lr.warpList},a.createElement(Wa.Z,{loading:Ta,active:!0,paragraph:{rows:5}},a.createElement("div",{className:"c-grey-666 mb20 mt20"},"\u5171",a.createElement("span",{className:"c-orange"},da),"\u540D\u5B66\u751F\u5DF2\u5F00\u542F\u624B\u673A\u6444\u5F71"),ga.length?a.createElement("ul",{className:lr.sys},ga.map((Gr,ar)=>{const{user_name:oo,user_group_name:So,video_url:Mi,login:Gl,student_id:zl}=Gr;return a.createElement("li",{className:lr.li,key:ar},a.createElement("div",{className:lr.d1},a.createElement("div",{className:lr.img},a.createElement("iframe",{style:{height:340,width:"100%",border:"none"},src:`/live-play.html?key=${ar}&video_url=${Mi==null?void 0:Mi.replace(".m3u8",".flv")}`})),a.createElement(De.Z,{title:"\u59D3\u540D+\u5B66\u53F7"},a.createElement("div",{className:lr.btn,onClick:()=>(0,ue.RG)(`${an.exercise_id}-${Gl}`,!0)},a.createElement("div",{title:oo,className:lr.b1},oo),a.createElement("div",{title:So,className:lr.b2},"(",zl,")"))),a.createElement("div",{onClick:()=>ta(Gr),className:lr.big},"\u67E5\u770B")))})):a.createElement(Br.Z,null)),a.createElement(we.Z,{showTotal:Gr=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},Gr),"\u6761\u6570\u636E"),className:"tc",showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,onChange:ea,pageSize:an==null?void 0:an.limit,current:an.page,total:da})),a.createElement(Fe.default,{title:"\u67E5\u770B\u8BE6\u7EC6\u4FE1\u606F",open:va,centered:!0,width:850,destroyOnClose:!0,onCancel:()=>{ra(!1)},afterClose:qn,footer:null},a.createElement(Wa.Z,{loading:Sa,active:!0,paragraph:{rows:5}},a.createElement("div",null,a.createElement("span",null,"\u59D3\u540D:",(Dt=va==null?void 0:va.datas)==null?void 0:Dt.user_name),a.createElement("span",{className:"ml20"},"\u5B66\u53F7:",(_e=va==null?void 0:va.datas)==null?void 0:_e.student_id),a.createElement("span",{className:"ml20"},"\u73ED\u7EA7:",(Wt=va==null?void 0:va.datas)==null?void 0:Wt.user_group_name)),a.createElement(E.default,{className:"mt10",defaultActiveKey:ir,onChange:Gr=>{eo(Gr)}},a.createElement(E.default.TabPane,{tab:"\u9632\u4F5C\u5F0A\u5934\u50CF",key:"1"},a.createElement("aside",{className:lr.imgWrap},a.createElement("div",{className:lr.img,style:{width:234,marginLeft:30,textAlign:"center"}},(at=va==null?void 0:va.exercise_user_photos)!=null&&at.length?a.createElement(a.Fragment,null,a.createElement("img",{height:131,src:(Oe=va==null?void 0:va.exercise_user_photos)==null?void 0:Oe[Pr-1]}),a.createElement("div",{onClick:()=>{var Gr;Ga.Z.publish("preview-image",(Gr=va==null?void 0:va.exercise_user_photos)==null?void 0:Gr[Pr-1])},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u8003\u8BD5\u4E2D\u7167\u7247",a.createElement("span",{className:"c-light-primary"},Pr,"/",(Pe=va==null?void 0:va.exercise_user_photos)==null?void 0:Pe.length)),Pr===1?a.createElement("div",{style:{color:"#ccc",cursor:"not-allowed"},className:lr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})):a.createElement("div",{onClick:()=>Ba("prev"),className:lr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})),a.createElement("div",{onClick:()=>Ba("next"),className:lr.r},a.createElement("i",{className:"iconfont icon-lujing"}))):a.createElement("div",{className:lr.no},a.createElement("span",null,"\u6682\u65E0\u8003\u8BD5\u4E2D\u7167\u7247"))),a.createElement("div",{className:lr.img,style:{marginLeft:60,width:234,textAlign:"center"}},va!=null&&va.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(va==null?void 0:va.identity_url)}):a.createElement("div",{className:lr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(va!=null&&va.identity_url)&&a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",(0,ue.Tv)(va==null?void 0:va.identity_url))},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u4EBA\u8138\u7167\u7247",key:"2"},a.createElement("aside",{className:lr.imgWrap,style:{marginLeft:70}},a.createElement("div",{className:lr.img},a.createElement("img",{width:234,src:va==null?void 0:va.exercise_identity_photo}),a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",va==null?void 0:va.exercise_identity_photo)},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:lr.img,style:{marginLeft:20,width:234,textAlign:"center"}},va!=null&&va.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(va==null?void 0:va.identity_url)}):a.createElement("div",{className:lr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(va!=null&&va.identity_url)&&a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",(0,ue.Tv)(va==null?void 0:va.identity_url))},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u8B66\u544A\u548C\u901A\u77E5",key:"3"},a.createElement("div",{className:lr.fo},a.createElement(be.ZP,{className:"mt20",checked:Qt==="alert",onChange:()=>mr("alert")},"\u53D1\u9001\u8B66\u544A",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement(be.ZP,{className:"mt10",checked:Qt==="notice",onChange:()=>mr("notice")},"\u53D1\u9001\u901A\u77E5",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement("div",{className:"mt20"},a.createElement("span",{className:"mr10"},"\u539F\u56E0:"),a.createElement(dn.default,{style:{width:570},value:ka,onChange:$a},po==null?void 0:po.map(Gr=>a.createElement(dn.default.Option,{key:Gr.key,value:Gr.key},Gr.value)))),ka===0&&a.createElement(Se.default.TextArea,{className:"mt20",value:ja,onChange:Gr=>vr(Gr.target.value),placeholder:"\u8BF7\u586B\u5199\u5176\u4ED6\u539F\u56E0"}),a.createElement(re.Z,{className:"mt10",align:"middle"},a.createElement("div",{className:"mr10"},"\u53D1\u9001\u8BB0\u5F55"),a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",va==null?void 0:va.alert_count,"\u6B21\u8B66\u544A\u548C",((xn=va==null?void 0:va.alerts)==null?void 0:xn.length)-(va==null?void 0:va.alert_count),"\u6B21\u901A\u77E5")),a.createElement(z.default,{dataSource:(va==null?void 0:va.alerts)||[],bordered:!1,scroll:((jn=va==null?void 0:va.alerts)==null?void 0:jn.length)>4?{y:200}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"created_at",width:164},{title:"\u53D1\u9001\u4EBA",dataIndex:"sender",width:100,ellipsis:{showTitle:!1},render:Gr=>Gr?a.createElement("span",{title:Gr},Gr):"--"},{title:"\u53D1\u9001\u7C7B\u578B",dataIndex:"clazz",width:80,render:Gr=>Gr==="alert"?"\u8B66\u544A":"\u901A\u77E5"},{title:"\u53D1\u9001\u5185\u5BB9",dataIndex:"content",ellipsis:!0}],pagination:!1}),a.createElement(Ce.ZP,{className:lr.b,onClick:()=>ol(void 0,null,function*(){if(!ja&&ka===0){oe.ZP.info("\u8BF7\u8F93\u5165\u5176\u4ED6\u539F\u56E0");return}let Gr=ja;ka&&(Gr=(Qt==="alert"?Or:Co).find(So=>So.key===ka).value),Oa(!0);let ar=yield(0,fe.ZP)(`/api/exercises/${an.exercise_id}/send_alert.json`,{method:"post",body:{content:Gr,clazz:Qt,exercise_user_id:va==null?void 0:va.exercise_user_id}});(ar==null?void 0:ar.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),ra(!1)),Oa(!1)}),loading:za,type:"primary"},a.createElement("i",{className:"iconfont icon-fasongtongzhi mr5"}),"\u53D1\u9001"))),a.createElement(E.default.TabPane,{tab:"\u65AD\u6D41\u8BB0\u5F55",key:"4"},a.createElement(z.default,{dataSource:Fr,bordered:!1,scroll:Fr.length>7?{y:300}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"start_time",width:164},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"end_time",width:164,render:Gr=>Ze()(Gr).format("YYYY-MM-DD HH:mm:ss")||"--"},{title:"\u63A8\u6D41\u65F6\u957F",dataIndex:"push_duration",ellipsis:!0,width:120,render:Gr=>Gr&&(0,ue.li)(Number(Gr)/1e3)||0},{title:"\u65AD\u6D41\u539F\u56E0",dataIndex:"msg",ellipsis:!0}]}))))),a.createElement(wa.Z,null))};var Ol=(0,ye.connect)(({exercise:me,user:ve})=>({exercise:me,user:ve}))(nl),Nl={flex_box_center:"flex_box_center___xF1ge",flex_space_between:"flex_space_between___YGq9c",flex_box_vertical_center:"flex_box_vertical_center___wd_iR",flex_box_center_end:"flex_box_center_end___HoL5p",flex_box_column:"flex_box_column___Oy7FC",warp:"warp____YDkr",header:"header___BRNBu",empty:"empty___iwhMt"},qr={flex_box_center:"flex_box_center___Xa_jj",flex_space_between:"flex_space_between___N_2qI",flex_box_vertical_center:"flex_box_vertical_center___wGZOw",flex_box_center_end:"flex_box_center_end___GYY4W",flex_box_column:"flex_box_column___jR_ZX",subjectTable:"subjectTable___WrGqf",title:"title___ZCcfg",customTable:"customTable___xSvZm",row:"row___Acnda",line:"line___nmQeX"},Mr=Object.defineProperty,Qr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptors,si=Object.getOwnPropertySymbols,Xi=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,ml=(me,ve,le)=>ve in me?Mr(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Vl=(me,ve)=>{for(var le in ve||(ve={}))Xi.call(ve,le)&&ml(me,le,ve[le]);if(si)for(var le of si(ve))il.call(ve,le)&&ml(me,le,ve[le]);return me},Rl=(me,ve)=>Qr(me,Kr(ve)),xu=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())}),Bi=({index:me,bottomLine:ve,gather:le,search:dt})=>{const[Dt,_e]=(0,a.useState)([]),[Wt,at]=(0,a.useState)(!1),[Oe,Pe]=(0,a.useState)(!1),xn=(0,ye.useParams)(),jn=(0,ye.useLocation)(),[Vn]=(0,ye.useSearchParams)(),[an,wn]=(0,a.useState)({page:1,limit:6,total:0});(0,a.useEffect)(()=>{console.log(le,"gather"),me===0&&Pe(!0)},[]),(0,a.useEffect)(()=>{Oe&&pa()},[Oe]);const aa=[{title:"\u5E8F\u53F7",dataIndex:"index",key:"index",align:"left",ellipsis:!0,render:(Qa,On,ga)=>an.limit*(an.page-1)+ga+1},{title:"\u59D3\u540D",dataIndex:"username",key:"username",align:"left",ellipsis:!0},{title:"\u73ED\u7EA7",dataIndex:"user_group_name",key:"user_group_name",align:"left",render:Qa=>Qa||"--"},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",align:"left"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",key:"code_rate",align:"left",render:Qa=>Qa+"%"},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",align:"left",render:Qa=>{let On=`/classrooms/${xn==null?void 0:xn.coursesId}/exercise/${xn==null?void 0:xn.categoryId}/detail/${Qa}/review_detail`;return Vn.get("random")&&(On=On+`?random=${Vn.get("random")}`),a.createElement(ye.Link,{to:On,target:"_blank"},"\u67E5\u770B")}}],pa=Qa=>xu(void 0,null,function*(){at(!0);const On=Qa||{page:1,limit:10,total:0},ga=Vl({id:xn==null?void 0:xn.categoryId,question_id:le==null?void 0:le.question_id,search:dt},On),Yt=yield(0,fe.ZP)(`/api/courses/${xn==null?void 0:xn.coursesId}/exercises/code_review_users.json`,{method:"get",params:ga});Yt&&(_e(Yt==null?void 0:Yt.users),at(!1),wn(Rl(Vl({},On),{total:(Yt==null?void 0:Yt.count)||0})))}),$n=Qa=>{const On=Rl(Vl({},an),{page:Qa});wn(On),pa(On)},Wn=()=>{Pe(!Oe)};return a.createElement("div",{className:qr.subjectTable},a.createElement("aside",{className:qr.title},a.createElement("span",{className:"c-light-primary"},me+1,"\u3001",le.name||((le==null?void 0:le.question_type)===5?"\u5B9E\u8BAD\u9898":"\u7F16\u7A0B\u9898")),a.createElement("span",{className:"c-grey-333"},"\uFF08",le==null?void 0:le.score,"\u5206\uFF09\uFF1A",le==null?void 0:le.question_title),a.createElement("span",{className:"ml40 c-grey-999"},a.createElement("b",{className:"c-red-ee4"},le==null?void 0:le.checked_count),"\xA0\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08\u5171",le==null?void 0:le.total_count,"\u4E2A\u4F5C\u54C1\uFF09"),a.createElement("span",{onClick:Wn,style:{marginLeft:"auto",cursor:"pointer",color:"#0152d9"}},Oe?"\u6536\u8D77":"\u5C55\u5F00",Oe?a.createElement(io.Z,null):a.createElement(Do.Z,null)),(le==null?void 0:le.question_type)===5&&a.createElement("a",{style:{marginLeft:20},target:"_blank",href:`/shixuns/${le==null?void 0:le.shixun_identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5")),a.createElement(z.default,{className:qr.customTable,style:{display:Oe?"block":"none"},dataSource:Dt,bordered:!1,rowKey:Qa=>Qa.id,rowClassName:qr.row,columns:aa,loading:Wt,pagination:{pageSize:an.limit,total:an.total,current:an.page,onChange:$n,showQuickJumper:!0,showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomCenter"]}}),a.createElement("div",{className:qr.line,style:{visibility:ve?"hidden":"visible"}}))},Ti=x(22910),ci=x(59301),Po=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const ll=({exercise:me,globalSetting:ve,dispatch:le})=>{const[dt,Dt]=(0,a.useState)(""),[_e,Wt]=(0,a.useState)([]),[at,Oe]=(0,a.useState)(""),[Pe,xn]=(0,a.useState)(!1),[jn,Vn]=(0,a.useState)(!1),an=(0,ye.useParams)();(0,a.useEffect)(()=>{wn()},[]);const wn=$n=>Po(void 0,null,function*(){xn(!0);const Wn=yield(0,fe.ZP)(`/api/courses/${an==null?void 0:an.coursesId}/exercises/code_review_results.json`,{method:"get",params:{id:an==null?void 0:an.categoryId,search:dt}});if((Wn==null?void 0:Wn.status)===-2){Vn(!0),wn();return}Wn&&(Vn(!1),xn(!1),Wt((Wn==null?void 0:Wn.exercise_questions)||[]),Oe(Wn==null?void 0:Wn.last_review_time))}),aa=()=>{wn()},pa=()=>ci.createElement("div",{className:Nl.empty},ci.createElement("img",{src:Ti.x7,width:"258"}),ci.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E"));return ci.createElement("section",{className:Nl.warp},ci.createElement("aside",{className:Nl.header},ci.createElement("div",null,"\u67E5\u91CD\u65F6\u95F4\uFF1A",at||"--"),!!at&&ci.createElement(Se.default,{value:dt,onChange:$n=>Dt($n.target.value),suffix:ci.createElement("i",{onClick:aa,className:"iconfont icon-sousuo2 c-grey-c"}),bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onPressEnter:aa})),jn&&ci.createElement(He.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),!jn&&ci.createElement(Wa.Z,{loading:Pe,active:!0,paragraph:{rows:5}},_e.length>0?ci.createElement("aside",{className:Nl.subject},_e.map(($n,Wn)=>ci.createElement(Bi,{key:Wn,index:Wn,bottomLine:Wn===_e.length-1,gather:$n,search:dt}))):pa()))};var fi=(0,ye.connect)(({exercise:me,globalSetting:ve})=>({exercise:me,globalSetting:ve}))(ll),ul=x(28103),Ul=x(55659),Lu=x(6905),Tu=x(40981),hr={flex_box_center:"flex_box_center___epJYP",flex_space_between:"flex_space_between___SU6BD",flex_box_vertical_center:"flex_box_vertical_center___Qes2t",flex_box_center_end:"flex_box_center_end___hGppz",flex_box_column:"flex_box_column___uzhhO",wrap:"wrap___rEjJ0",modal:"modal___gRDV9",titleWrap:"titleWrap___MK_OO",required:"required___Hja3H",title:"title___vMFKz",colorGray:"colorGray___hNhIL",choiceWrap:"choiceWrap___Xx5du",answer:"answer___cbuNE",activeAnswer:"activeAnswer___LwFG7",deleteIcon:"deleteIcon____HG4s",addIcon:"addIcon___r_Vhy",editorWrap:"editorWrap___OYwur",htmlWrap:"htmlWrap___qXHYn",radio:"radio___urtyZ",color333:"color333___Lah7k",color999:"color999___TmkZt",questionType:"questionType___r_bKw",questionChoices:"questionChoices___LA7VM",action:"action___fTTDM",difficult:"difficult___Mg7lT",fold:"fold___oVjRI",head:"head___fpwmn",divname:"divname___O7KlL"},rl=x(17410),Su=x(49667),ss=x(39257),pi=x(59301),Rs=Object.defineProperty,cs=Object.getOwnPropertySymbols,hc=Object.prototype.hasOwnProperty,Yc=Object.prototype.propertyIsEnumerable,Lc=(me,ve,le)=>ve in me?Rs(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Fs=(me,ve)=>{for(var le in ve||(ve={}))hc.call(ve,le)&&Lc(me,le,ve[le]);if(cs)for(var le of cs(ve))Yc.call(ve,le)&&Lc(me,le,ve[le]);return me},Xc=(me,ve)=>{var le={};for(var dt in me)hc.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&cs)for(var dt of cs(me))ve.indexOf(dt)<0&&Yc.call(me,dt)&&(le[dt]=me[dt]);return le},ds=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Xs=null,pd="\u2581",Au=(me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,editData:Oe,editKey:Pe,setEditKey:xn=()=>{},cancelAdd:jn=()=>{},addCallback:Vn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=le,aa=Xc(le,["problemset","globalSetting","exercise","loading","dispatch","editData","editKey","setEditKey","cancelAdd","addCallback","reload","setIsClaer"]);const[pa,$n]=(0,a.useState)(""),[Wn,Qa]=(0,a.useState)(""),[On,ga]=(0,a.useState)([]),[Yt,da]=(0,a.useState)(""),[oa,Ta]=(0,a.useState)(),[Jt,va]=(0,a.useState)(!1),[ra,ir]=(0,a.useState)(),[eo,Pr]=(0,a.useState)(0),[Dr,Qt]=(0,a.useState)(!1),[tt,ka]=(0,a.useState)(!1),[fa,ja]=(0,a.useState)([]),[vr,Sa]=(0,a.useState)(1),[Xr,za]=(0,a.useState)(!1),Oa=(0,a.useRef)(!1),Fr=(0,ye.useParams)(),[xr,qa]=(0,a.useState)([]),ea=oo=>{qa([...xr,Fs({},oo)])};(0,a.useEffect)(()=>{var oo;if(Oa.current)return;if(!(Oe!=null&&Oe.question_title)){Qt(!0),$n(""),Ta(!1),ir(2),ga([]),da(""),va(!1);return}$n(Oe==null?void 0:Oe.question_title),Ta(Oe==null?void 0:Oe.is_ordered),Sa(Oe==null?void 0:Oe.difficulty),za(!(Oe!=null&&Oe.repeat_answer)),ir(Oe==null?void 0:Oe.question_score);const So=(oo=Oe==null?void 0:Oe.standard_answers)==null?void 0:oo.map(Mi=>Mi.answer_text);ga([...So]),ja(Oe.tag_discipline_ids),Qa(Oe==null?void 0:Oe.analysis)},[Oe,Dr]),(0,a.useEffect)(()=>{va(!1),Dr&&oo();function oo(){return ds(this,null,function*(){var So,Mi;const Gl=yield(0,ne.YY)({sub_discipline_id:(Mi=(So=_e.editData)==null?void 0:So.exercise)==null?void 0:Mi.sub_discipline_id});qa(Gl.tag_disciplines)})}},[Dr]),(0,a.useImperativeHandle)(ve,()=>({onSave:Ca,isEdit:Dr})),(0,a.useEffect)(()=>{var oo;const So=(oo=_e==null?void 0:_e.tagDisciplineData)!=null&&oo.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];qa(So)},[_e.tagDisciplineData]);const Ua=oo=>{(oo==null?void 0:oo.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Qt(!1),xn(-1),Oa.current=!1,an())},Ca=()=>ds(void 0,null,function*(){var oo,So,Mi,Gl;let zl=[],ji=!1;if(ka(!0),On.forEach((Bu,eu)=>{zl.push({choice_id:eu+1,answer_text:[]}),Bu.forEach((to,Li)=>{zl[eu].answer_text.push(to),(!to||!(0,ue.eR)(to,1e4))&&(da(`${eu}-${Li}`),oe.ZP.info(to?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),ji=!0)})}),ji)return ka(!1),!1;Oa.current=!0;let hu;return Oe.question_id?(Oe==null?void 0:Oe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>ds(void 0,null,function*(){var Bu,eu;hu=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(eu=(Bu=_e.editData)==null?void 0:Bu.exercise)==null?void 0:eu.sub_discipline_id,difficulty:vr,is_cover:1,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)}),onCancel:()=>ds(void 0,null,function*(){var Bu,eu;hu=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(eu=(Bu=_e.editData)==null?void 0:Bu.exercise)==null?void 0:eu.sub_discipline_id,difficulty:vr,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)})}):(hu=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(So=(oo=_e.editData)==null?void 0:oo.exercise)==null?void 0:So.sub_discipline_id,difficulty:vr,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)):(hu=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:Fr.categoryId,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(Gl=(Mi=_e.editData)==null?void 0:Mi.exercise)==null?void 0:Gl.sub_discipline_id,difficulty:vr,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)),ka(!1),{name:pa,analysis:Wn,standard_answers:zl,is_ordered:oa}}),ta=(oo,So,Mi)=>{const Gl=On.slice();if(So&&Gl.splice(oo,So),Mi&&Jt||!Oe.question_id)for(let zl=0;zl{da("");let Gl=On.slice();Gl[oo][So]=Mi,ga(Gl)},qn=oo=>{let So=On.slice();So[oo]=[...So[oo],""],ga(So)},$a=(oo,So)=>{let Mi=On.slice();if(!Mi[oo][So]){Mi[oo]=Mi[oo].filter((Gl,zl)=>zl!==So),ga(Mi);return}Fe.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:hr.modal,onOk:()=>{Mi[oo]=Mi[oo].filter((Gl,zl)=>zl!==So),ga(Mi)}})},mr=oo=>{Fe.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:hr.modal,onOk:()=>{let So=0;$n(pa.replace(/\▁/g,function(Mi){return So++,So-1===oo?"":Mi})),setTimeout(()=>{let Mi=On.slice();Mi=On.filter((Gl,zl)=>oo!==zl),ga(Mi)},500)}})},Or=()=>{},Co=()=>{var oo,So,Mi,Gl,zl,ji;return console.log(On,"answers"),pi.createElement("aside",null,pi.createElement("div",{className:hr.questionType},pi.createElement("div",null,pi.createElement("span",{className:"font16 c-blue"},"\u586B\u7A7A\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848 \uFF1B\u652F\u6301\u6700\u591A5\u4E2A\u7A7A\uFF0C\u6BCF\u7A7A\u5F97\u5206\u6309\u7167\u672C\u9898\u7684\u603B\u5206\u5E73\u5747\u8BA1\u7B97\uFF09")),pi.createElement("div",null,pi.createElement(Lu.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:pa,onChange:hu=>$n(hu),showNullButton:((So=(oo=_e.editData)==null?void 0:oo.exercise)==null?void 0:So.exercise_status)===1,deleteEmptyDisabled:((Gl=(Mi=_e.editData)==null?void 0:Mi.exercise)==null?void 0:Gl.exercise_status)!==1||tt,onPlaceholderChange:ta})),pi.createElement("div",{className:"mt20"},On.map((hu,Bu)=>{var eu,to;return pi.createElement(Tu.Z,{key:Bu,answers:hu,index:Bu,is_md:!0,exerciseIsPublish:((to=(eu=_e.editData)==null?void 0:eu.exercise)==null?void 0:to.exercise_status)!==1,activeOptionErrorIndex:Yt,onAnswerChange:Ba,addChildAnswer:qn,deleteChildAnswer:$a,deleteChildAnswermain:mr})})),pi.createElement("div",{className:"mt20"},On.length>1&&pi.createElement("span",null,pi.createElement(Re.default,{checked:oa,onChange:hu=>Ta(hu.target.checked),className:`${hr.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),pi.createElement("span",{className:`${hr.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),pi.createElement("p",{className:hr.titleWrap},pi.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),pi.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Wn,onChange:hu=>Qa(hu)}),pi.createElement("p",{className:""},pi.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C\uFF1A",pi.createElement(Te.Z,{value:ra,max:1e4,min:0,onChange:hu=>{ir(hu)}})," \u5206 \xA0 ",!!ra&&!!eo&&pi.createElement("span",{style:{color:"red"}},"(\u6839\u636E\u5747\u5206\u89C4\u5219\uFF0C\u672C\u9898\u6BCF\u7A7A",(ra/eo).toFixed(1),"\u5206)"),pi.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},pi.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",pi.createElement(be.ZP.Group,{value:vr,onChange:hu=>{Sa(hu.target.value)}},pi.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),pi.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),pi.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),pi.createElement("p",{className:hr.titleWrap},pi.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",pi.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),pi.createElement("div",{className:"mt5"},pi.createElement(Su.N,{value:fa,selectvalues:Oe==null?void 0:Oe.tag_discipline_ids,onChange:ja,subId:(ji=(zl=_e.editData)==null?void 0:zl.exercise)==null?void 0:ji.sub_discipline_id,knowledgeOptions:xr,onAddKnowledgeFinish:ea})),pi.createElement("div",{style:{marginTop:10}},pi.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),pi.createElement(Ae.Z,{checked:Xr,onChange:hu=>{za(hu)}}))),pi.createElement("aside",{className:"tr"},(Pe!==-1||Oe.question_id)&&pi.createElement(Ce.ZP,{type:"default",onClick:()=>{jn(),Qt(!1)}},"\u53D6\u6D88"),pi.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Ca()}},"\u4FDD\u5B58")))},po=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(oo=>{var So,Mi;return((Mi=(So=_e==null?void 0:_e.editData)==null?void 0:So.exercise)==null?void 0:Mi.exercise_status)===1?oo:oo.id!=="del"&&oo.id!=="add"}),Gr=oo=>ds(void 0,null,function*(){if(Pe!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(oo.id){case"del":let So;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return ds(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:Fs({},Fr)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:oo.id}}),at({type:"exercise/editExercise",payload:Fs({},Fr)});break;case"edit":xn(Oe.dragKey),Qt(!0);break;case"add":Vn({key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:3});break}}),ar=()=>{var oo;return pi.createElement("aside",null,pi.createElement("div",{className:hr.questionType},!(Oe!=null&&Oe.isPreview)&&pi.createElement("div",null,pi.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u586B\u7A7A\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?pi.createElement("div",{style:{display:"flex"}},pi.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),pi.createElement(rl.Z,{value:Oe.question_title}),pi.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09")):pi.createElement("div",{className:"mt5"},pi.createElement(rl.Z,{value:Oe.question_title})),pi.createElement("div",{className:hr.questionChoices},(oo=Oe==null?void 0:Oe.standard_answers)==null?void 0:oo.map(function(So,Mi){return pi.createElement(re.Z,{key:Mi,align:"middle"},pi.createElement(pe.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",So.choice_id,"\uFF09\uFF1A"),pi.createElement(pe.Z,{flex:"1"},pi.createElement(re.Z,{align:"middle",gutter:[1,1]},So.answer_text.map(function(Gl,zl){return pi.createElement(pe.Z,{span:24,key:zl},So.model===1?pi.createElement(Se.default,{key:Mi,checked:Oe.standard_answers.includes(Mi),disabled:!0,value:Gl}):pi.createElement(ss.Z,{value:Gl,disabled:!0,style:{color:"rgba(0, 0, 0, 0.25)",backgroundColor:"rgba(0, 0, 0, 0.04)"}}))}))))})),pi.createElement("div",{className:hr.action},!Oe.hideAction&&po.map(function(So,Mi){return So.id==="up"&&Oe.key===1||So.id==="down"&&Oe.key===Oe.len?null:pi.createElement(De.Z,{key:Mi,placement:"bottom",title:So.name},pi.createElement("span",{onClick:()=>Gr(So),className:So.icon}))})))};return pi.createElement("section",{className:hr.wrap},!Dr&&ar(),Dr&&Co())};var Es=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Au)),Ec=Object.defineProperty,Bs=Object.getOwnPropertySymbols,Js=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,Ac=(me,ve,le)=>ve in me?Ec(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,qs=(me,ve)=>{for(var le in ve||(ve={}))Js.call(ve,le)&&Ac(me,le,ve[le]);if(Bs)for(var le of Bs(ve))Ss.call(ve,le)&&Ac(me,le,ve[le]);return me},Cc=(me,ve)=>{var le={};for(var dt in me)Js.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Bs)for(var dt of Bs(me))ve.indexOf(dt)<0&&Ss.call(me,dt)&&(le[dt]=me[dt]);return le},Is=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Rc=["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"],Os=(me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,editKey:xn,setEditKey:jn=()=>{},cancelAdd:Vn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=le,pa=Cc(le,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","editKey","setEditKey","cancelAdd","reload","addCallback","setIsClaer"]);const[$n,Wn]=(0,a.useState)(),[Qa,On]=(0,a.useState)(""),[ga,Yt]=(0,a.useState)(!1),[da,oa]=(0,a.useState)(),[Ta,Jt]=(0,a.useState)([]),[va,ra]=(0,a.useState)([]),[ir,eo]=(0,a.useState)(1),[Pr,Dr]=(0,a.useState)(!1),[Qt,tt]=(0,a.useState)(""),ka=(0,a.useRef)(!1),fa=xr=>{ra([...va,qs({},xr)])},ja=(0,ye.useParams)();(0,a.useEffect)(()=>{if(!ka.current){if(!(Pe!=null&&Pe.question_choices)){Yt(!0),On(""),oa(2),Wn("");return}Dr(!(Pe!=null&&Pe.repeat_answer)),On(Pe==null?void 0:Pe.question_title),oa(Pe==null?void 0:Pe.question_score),eo(Pe==null?void 0:Pe.difficulty),Wn(Pe.standard_answer[0]+""),Jt(Pe.tag_discipline_ids),tt(Pe==null?void 0:Pe.analysis)}},[Pe,ga]),(0,a.useEffect)(()=>{ga&&xr();function xr(){return Is(this,null,function*(){var qa,ea;const Ua=yield(0,ne.YY)({sub_discipline_id:(ea=(qa=_e.editData)==null?void 0:qa.exercise)==null?void 0:ea.sub_discipline_id});ra(Ua.tag_disciplines)})}},[ga]),(0,a.useImperativeHandle)(ve,()=>({onSave:Sa,isEdit:ga})),(0,a.useEffect)(()=>{var xr;const qa=(xr=_e==null?void 0:_e.tagDisciplineData)!=null&&xr.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];ra(qa)},[_e.tagDisciplineData]);const vr=xr=>{(xr==null?void 0:xr.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Yt(!1),jn(-1),ka.current=!1,an())},Sa=()=>Is(void 0,null,function*(){var xr,qa,ea,Ua;if(!Qa)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(!$n)return oe.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1;const Ca=[{choice_text:"\u6B63\u786E",is_answer:$n==="1"?1:0},{choice_text:"\u9519\u8BEF",is_answer:$n==="2"?2:0}];ka.current=!0;let ta;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Is(void 0,null,function*(){var Ba,qn;ta=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map($a=>$a.choice_text),standard_answers:Ca.filter($a=>$a.is_answer).map($a=>$a.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(qn=(Ba=_e.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id,difficulty:ir,is_cover:1,repeat_answer:!Pr,analysis:Qt}}),vr(ta)}),onCancel:()=>Is(void 0,null,function*(){var Ba,qn;ta=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map($a=>$a.choice_text),standard_answers:Ca.filter($a=>$a.is_answer).map($a=>$a.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(qn=(Ba=_e.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qt}}),vr(ta)})}):(ta=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map(Ba=>Ba.choice_text),standard_answers:Ca.filter(Ba=>Ba.is_answer).map(Ba=>Ba.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(qa=(xr=_e.editData)==null?void 0:xr.exercise)==null?void 0:qa.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qt}}),vr(ta)):(ta=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ja.categoryId,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map(Ba=>Ba.choice_text),standard_answers:Ca.filter(Ba=>Ba.is_answer).map(Ba=>Ba.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(Ua=(ea=_e.editData)==null?void 0:ea.exercise)==null?void 0:Ua.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qt}}),vr(ta)),{name:Qa,choices:Ca}}),Xr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(xr=>{var qa,ea;return((ea=(qa=_e==null?void 0:_e.editData)==null?void 0:qa.exercise)==null?void 0:ea.exercise_status)===1?xr:xr.id!=="del"&&xr.id!=="add"}),za=xr=>Is(void 0,null,function*(){if(xn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(xr.id){case"del":let qa;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Is(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:qs({},ja)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:xr.id}}),at({type:"exercise/editExercise",payload:qs({},ja)});break;case"edit":jn(Pe.dragKey),Yt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:2});break}}),Oa=()=>{var xr;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5224\u65AD\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},(xr=Pe==null?void 0:Pe.question_choices)==null?void 0:xr.map(function(qa,ea){return a.createElement(be.ZP,{key:ea,checked:Pe.standard_answer.includes(ea+1),disabled:!0},Rc[ea],". ",a.createElement("span",{className:"c-black font14"},qa.choice_text))})),a.createElement("div",{className:hr.action},!Pe.hideAction&&Xr.map(function(qa,ea){return qa.id==="up"&&Pe.key===1||qa.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:ea,placement:"bottom",title:qa.name},a.createElement("span",{onClick:()=>za(qa),className:qa.icon}))})))},Fr=()=>{var xr,qa;return a.createElement("aside",null,a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u5224\u65AD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Qa,onChange:ea=>On(ea)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),a.createElement(be.ZP.Group,{buttonStyle:"solid",value:$n,onChange:ea=>Wn(ea.target.value)},a.createElement(be.ZP.Button,{value:"1",className:`${hr.radio} mr40`},"\u6B63\u786E"),a.createElement(be.ZP.Button,{value:"2",className:hr.radio},"\u9519\u8BEF")),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Qt,onChange:ea=>tt(ea)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:da,max:1e4,min:0,onChange:ea=>{oa(ea)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:ir,onChange:ea=>{eo(ea.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{value:Ta,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:Jt,subId:(qa=(xr=_e.editData)==null?void 0:xr.exercise)==null?void 0:qa.sub_discipline_id,knowledgeOptions:va,onAddKnowledgeFinish:fa})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Pr,onChange:ea=>{Dr(ea)}}))),a.createElement("aside",{className:"tr"},(xn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Vn(),Yt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Sa()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:hr.wrap},!ga&&Oa(),ga&&Fr())};var ku=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Os)),yc=Object.defineProperty,_s=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,Zs=(me,ve,le)=>ve in me?yc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,fs=(me,ve)=>{for(var le in ve||(ve={}))ms.call(ve,le)&&Zs(me,le,ve[le]);if(_s)for(var le of _s(ve))gs.call(ve,le)&&Zs(me,le,ve[le]);return me},Jc=(me,ve)=>{var le={};for(var dt in me)ms.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&_s)for(var dt of _s(me))ve.indexOf(dt)<0&&gs.call(me,dt)&&(le[dt]=me[dt]);return le},Wu=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const zs=["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"],Hs=(0,a.forwardRef)((me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},setIsClaer:an=()=>{},addCallback:wn=Ca=>{},reload:aa=()=>{}}=le,pa=Jc(le,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload"]);const[$n,Wn]=(0,a.useState)([]),[Qa,On]=(0,a.useState)(),[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)(""),[Ta,Jt]=(0,a.useState)(),[va,ra]=(0,a.useState)(!1),[ir,eo]=(0,a.useState)([]),[Pr,Dr]=(0,a.useState)(1),[Qt,tt]=(0,a.useState)(!1),[ka,fa]=(0,a.useState)(""),[ja,vr]=(0,a.useState)([]),Sa=(0,a.useRef)(!1),Xr=Ca=>{vr([...ja,fs({},Ca)])},za=(0,ye.useParams)();(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Sa.current)return;if(!(Pe!=null&&Pe.question_choices)){ra(!0),oa(""),Jt(5),Wn(["","","",""]),Yt([]);return}oa(Pe==null?void 0:Pe.question_title),Jt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),Dr(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(ta=>ta.choice_text));const Ca=[];Pe==null||Pe.standard_answer.map((ta,Ba)=>{Ca.push(ta-1)}),Yt(Ca),eo(Pe.tag_discipline_ids),fa(Pe==null?void 0:Pe.analysis)},[Pe,va]),(0,a.useEffect)(()=>{va&&Ca();function Ca(){return Wu(this,null,function*(){var ta,Ba;const qn=yield(0,ne.YY)({sub_discipline_id:(Ba=(ta=_e.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id});vr(qn.tag_disciplines)})}},[va]),(0,a.useImperativeHandle)(ve,()=>({onSave:Fr,isEdit:va})),(0,a.useEffect)(()=>{var Ca;const ta=(Ca=_e==null?void 0:_e.tagDisciplineData)!=null&&Ca.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];vr(ta)},[_e.tagDisciplineData]);const Oa=Ca=>{(Ca==null?void 0:Ca.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ra(!1),Vn(-1),Sa.current=!1,aa())},Fr=()=>Wu(void 0,null,function*(){var Ca,ta,Ba,qn;if(!da)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const $a=$n.findIndex(Co=>!Co);if($a>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${zs[$a]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!ga.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(ga.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const mr=$n.map((Co,po)=>({choice_text:Co,is_answer:ga.includes(po)?po+1:0}));Sa.current=!0;let Or;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Wu(void 0,null,function*(){var Co,po;Or=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Gr=>Gr.choice_text),standard_answers:mr.filter(Gr=>Gr.is_answer).map(Gr=>Gr.is_answer),tag_discipline_ids:ir,sub_discipline_id:(po=(Co=_e.editData)==null?void 0:Co.exercise)==null?void 0:po.sub_discipline_id,difficulty:Pr,is_cover:1,repeat_answer:!Qt,analysis:ka}}),Oa(Or)}),onCancel:()=>Wu(void 0,null,function*(){var Co,po;Or=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Gr=>Gr.choice_text),standard_answers:mr.filter(Gr=>Gr.is_answer).map(Gr=>Gr.is_answer),tag_discipline_ids:ir,sub_discipline_id:(po=(Co=_e.editData)==null?void 0:Co.exercise)==null?void 0:po.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Oa(Or)})}):(Or=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Co=>Co.choice_text),standard_answers:mr.filter(Co=>Co.is_answer).map(Co=>Co.is_answer),tag_discipline_ids:ir,sub_discipline_id:(ta=(Ca=_e.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Oa(Or)):(Or=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:za.categoryId,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Co=>Co.choice_text),standard_answers:mr.filter(Co=>Co.is_answer).map(Co=>Co.is_answer),tag_discipline_ids:ir,sub_discipline_id:(qn=(Ba=_e.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Oa(Or))}),xr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(Ca=>{var ta,Ba;return((Ba=(ta=_e==null?void 0:_e.editData)==null?void 0:ta.exercise)==null?void 0:Ba.exercise_status)===1?Ca:Ca.id!=="del"&&Ca.id!=="add"}),qa=Ca=>Wu(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(Ca.id){case"del":let ta;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Wu(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:fs({},za)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:Ca.id}}),at({type:"exercise/editExercise",payload:fs({},za)});break;case"edit":Vn(Pe.dragKey),ra(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:1});break}}),ea=()=>{var Ca;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u591A\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},(Ca=Pe==null?void 0:Pe.question_choices)==null?void 0:Ca.map(function(ta,Ba){return a.createElement(re.Z,{key:Ba},a.createElement(pe.Z,null,a.createElement(Re.default,{key:Ba,checked:Pe.standard_answer.includes(Ba+1),disabled:!0},zs[Ba],".")),a.createElement(pe.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(rl.Z,{value:ta.choice_text}))))})),a.createElement("div",{className:hr.action},!Pe.hideAction&&xr.map(function(ta,Ba){return ta.id==="up"&&Pe.key===1||ta.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:Ba,placement:"bottom",title:ta.name},a.createElement("span",{onClick:()=>qa(ta),className:ta.icon}))})))},Ua=()=>{var Ca,ta;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:da,onChange:Ba=>oa(Ba)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),$n.map((Ba,qn)=>{var $a,mr;return a.createElement("div",{className:hr.choiceWrap,key:qn},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${hr.answer} ${ga.includes(qn)?hr.activeAnswer:""}`,onClick:()=>{ga.includes(qn)?Yt(ga.filter(Or=>Or!==qn)):Yt([...ga,qn])}},zs[qn])),a.createElement("div",{className:hr.editorWrap},Qa===qn?a.createElement(Ul.Z,{id:`single-question-option-${qn}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Ba,onChange:Or=>{$n[qn]=Or,Wn($n)}}):a.createElement("div",{className:hr.htmlWrap,onClick:()=>On(qn)},a.createElement(rl.Z,{value:Ba}))),((mr=($a=_e.editData)==null?void 0:$a.exercise)==null?void 0:mr.exercise_status)===1&&a.createElement(a.Fragment,null,qn>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${hr.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn($n.filter((Or,Co)=>Co!==qn))})),qn<7&&qn===$n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${hr.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([...$n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:ka,onChange:Ba=>fa(Ba)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:Ta,max:1e4,min:0,onChange:Ba=>{Jt(Ba)}})," ","\u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Pr,onChange:Ba=>{Dr(Ba.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{value:ir,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:eo,subId:(ta=(Ca=_e.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,knowledgeOptions:ja,onAddKnowledgeFinish:Xr})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Qt,onChange:Ba=>{tt(Ba)}}))),a.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),ra(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Fr()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:hr.wrap},!va&&ea(),va&&Ua())});var Fc=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})(Hs),$i=x(59301),Bc=Object.defineProperty,es=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,qc=(me,ve,le)=>ve in me?Bc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,$s=(me,ve)=>{for(var le in ve||(ve={}))ps.call(ve,le)&&qc(me,le,ve[le]);if(es)for(var le of es(ve))Hu.call(ve,le)&&qc(me,le,ve[le]);return me},jt=(me,ve)=>{var le={};for(var dt in me)ps.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&es)for(var dt of es(me))ve.indexOf(dt)<0&&Hu.call(me,dt)&&(le[dt]=me[dt]);return le},rn=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Bn=null,ha=(me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,editData:Oe,cancelAdd:Pe=()=>{},editKey:xn,setEditKey:jn=()=>{},addCallback:Vn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=le,aa=jt(le,["problemset","globalSetting","exercise","loading","dispatch","editData","cancelAdd","editKey","setEditKey","addCallback","reload","setIsClaer"]);const[pa,$n]=(0,a.useState)(""),[Wn,Qa]=(0,a.useState)(""),[On,ga]=(0,a.useState)(""),[Yt,da]=(0,a.useState)([]),[oa,Ta]=(0,a.useState)(""),[Jt,va]=(0,a.useState)(),[ra,ir]=(0,a.useState)(!1),[eo,Pr]=(0,a.useState)([]),[Dr,Qt]=(0,a.useState)(!1),[tt,ka]=(0,a.useState)(!1),fa=(0,ye.useParams)(),ja=(0,a.useRef)(!1),[vr,Sa]=(0,a.useState)([]);(0,a.useEffect)(()=>{var ea;if(ja.current)return;Oe.edit&&(Qt(!0),Qa(""),$n(""),Pr([])),$n(Oe.shixun_name),Qa(Oe.question_title);const Ua=[];(ea=Oe.shixun)==null||ea.map(Ca=>{Ua.push(Ca.challenge_score),vr.push({challenge_id:Ca.challenge_id,open:!0})}),Sa(vr),Pr(Ua)},[Oe]),(0,a.useEffect)(()=>{ir(!1)},[Dr]),(0,a.useImperativeHandle)(ve,()=>({onSave:za,isEdit:Dr}));const Xr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Qt(!1),jn(-1),ja.current=!1,an())},za=()=>rn(void 0,null,function*(){let ea=[];if(!1)return!1;ja.current=!0,ka(!0);let Ca;return Oe.question_id?Ca=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Wn,shixun_name:pa,shixun_id:Oe.shixun_id,question_type:5,question_scores:eo}}):Ca=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:fa.categoryId,question_title:Wn,shixun_name:pa,shixun_id:Oe.shixun_id,question_type:5,question_scores:eo,is_copy:Oe.is_copy}}),Xr(Ca),ka(!1),{name:Wn,analysis:On,standard_answers:ea,is_ordered:Jt}}),Oa=()=>{var ea;return $i.createElement("aside",null,$i.createElement("div",{className:hr.questionType},$i.createElement("div",null,$i.createElement("span",{className:"font16 c-blue"},"\u5B9E\u8BAD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF09")),$i.createElement("div",{className:"mt10"},$i.createElement(Se.default,{defaultValue:pa,onChange:Ua=>{$n(Ua.target.value)}})),$i.createElement("div",{className:"mt10"},$i.createElement(Ul.Z,{id:"single-question-option-0",height:155,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u9898\u5B8C\u6210\u8981\u6C42",defaultValue:Wn,onChange:Ua=>{Qa(Ua)}})),$i.createElement("div",{className:"mt20"},(ea=Oe.shixun)==null?void 0:ea.map((Ua,Ca)=>$i.createElement(re.Z,{gutter:[20,20]},$i.createElement(pe.Z,{flex:"1"},Ca+1,".",Ua.challenge_name),$i.createElement(pe.Z,null,$i.createElement(Te.Z,{defaultValue:eo[Ca],onChange:ta=>{eo[Ca]=ta,Pr(eo),console.log("srore:L",eo[Ca])}})," \u5206")))),$i.createElement("div",{className:"mt20"},Yt.length>1&&$i.createElement("span",null,$i.createElement(Re.default,{checked:Jt,onChange:Ua=>va(Ua.target.checked),className:`${hr.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),$i.createElement("span",{className:`${hr.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),$i.createElement("aside",{className:"tr"},(xn!==-1||!(Oe!=null&&Oe.edit))&&$i.createElement(Ce.ZP,{type:"default",onClick:()=>{Pe(),Qt(!1)}},"\u53D6\u6D88"),$i.createElement(Ce.ZP,{loading:tt,className:"ml20",type:"primary",onClick:()=>{za()}},"\u4FDD\u5B58")))},Fr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5B9E\u8BAD\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var Ua,Ca;return((Ca=(Ua=_e==null?void 0:_e.editData)==null?void 0:Ua.exercise)==null?void 0:Ca.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),xr=ea=>rn(void 0,null,function*(){if(xn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let Ua;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return rn(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:$s({},fa)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:$s({},fa)});break;case"edit":jn(Oe.dragKey),Qt(!0);break;case"add":at({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",editData:{key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:5}}});break}}),qa=()=>{var ea,Ua;return $i.createElement("aside",null,$i.createElement("div",{className:hr.questionType},!(Oe!=null&&Oe.isPreview)&&$i.createElement("div",null,$i.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u5B9E\u8BAD\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?$i.createElement("div",{style:{display:"flex"}},$i.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),$i.createElement(rl.Z,{value:Oe.question_title}),$i.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09"),!!((ea=Oe.schools)!=null&&ea.length)&&$i.createElement(De.Z,{title:"\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},$i.createElement("i",{className:"iconfont icon-zhidinggongkai1 font18 line24 c-orange"}))):$i.createElement("div",{className:"mt5"},$i.createElement(rl.Z,{value:Oe.question_title})),$i.createElement("div",{className:"mt30"}),(Ua=Oe.shixun)==null?void 0:Ua.map(function(Ca,ta){var Ba,qn,$a,mr,Or,Co,po,Gr,ar,oo;return $i.createElement("div",null,$i.createElement("div",{key:ta,style:{background:"#F0F7FD",color:"#3061D0",fontSize:18,padding:10,display:"flex",justifyContent:"space-between",marginBottom:(!((Ba=vr[ta])!=null&&Ba.open)||!(($a=(qn=_e==null?void 0:_e.editData)==null?void 0:qn.exercise)!=null&&$a.show_challenge_task_pass))&&10}},$i.createElement("div",null,$i.createElement("i",{className:"iconfont icon-renwuguanka1",style:{marginRight:5}}),"\u7B2C",ta+1,"\u5173 ",$i.createElement("span",{className:"ml10"},Ca.challenge_name)," ",$i.createElement("span",{className:"ml10"},Ca.challenge_score," \u5206")),((Or=(mr=_e==null?void 0:_e.editData)==null?void 0:mr.exercise)==null?void 0:Or.show_challenge_task_pass)&&$i.createElement("div",{style:{cursor:"pointer",color:"#666666",fontSize:14},onClick:()=>{var So;vr[ta].open=!((So=vr[ta])!=null&&So.open),Sa([...vr])}},(Co=vr[ta])!=null&&Co.open?"\u6536\u8D77":"\u5C55\u5F00",(po=vr[ta])!=null&&po.open?$i.createElement(io.Z,{style:{marginLeft:8}}):$i.createElement(Do.Z,{style:{marginLeft:8}}))),((ar=(Gr=_e==null?void 0:_e.editData)==null?void 0:Gr.exercise)==null?void 0:ar.show_challenge_task_pass)&&$i.createElement(rl.Z,{style:{border:"1px solid #F1F4F9",borderTop:"none",padding:10,display:!((oo=vr[ta])!=null&&oo.open)&&"none"},value:(Ca==null?void 0:Ca.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))}),$i.createElement("div",{className:hr.action},$i.createElement(ye.Link,{target:"_blank",to:`/shixuns/${Oe.shixun_identifier}/challenges?exercise=true`},"\u5B9E\u8BAD\u8BE6\u60C5"),!Oe.hideAction&&Fr.map(function(Ca,ta){return Ca.id==="up"&&Oe.key===1||Ca.id==="down"&&Oe.key===Oe.len?null:$i.createElement(De.Z,{key:ta,placement:"bottom",title:Ca.name},$i.createElement("span",{onClick:()=>xr(Ca),className:Ca.icon}))})))};return $i.createElement("section",{className:hr.wrap},!Dr&&qa(),Dr&&Oa())};var di=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(ha)),Er=x(21585),xi=Object.defineProperty,ko=Object.getOwnPropertySymbols,jo=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,vi=(me,ve,le)=>ve in me?xi(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Ji=(me,ve)=>{for(var le in ve||(ve={}))jo.call(ve,le)&&vi(me,le,ve[le]);if(ko)for(var le of ko(ve))ki.call(ve,le)&&vi(me,le,ve[le]);return me},wl=(me,ve)=>{var le={};for(var dt in me)jo.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&ko)for(var dt of ko(me))ve.indexOf(dt)<0&&ki.call(me,dt)&&(le[dt]=me[dt]);return le},Hi=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Vr=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},setIsClaer:an=()=>{},reload:wn=()=>{},addCallback:aa=ta=>{}}=le,pa=wl(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","reload","addCallback"]);const[$n,Wn]=(0,a.useState)([]),[Qa,On]=(0,a.useState)(),[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)(""),[Ta,Jt]=(0,a.useState)(),[va,ra]=(0,a.useState)([]),[ir,eo]=(0,a.useState)(!1),[Pr,Dr]=(0,a.useState)(1),[Qt,tt]=(0,a.useState)(!1),[ka,fa]=(0,a.useState)(""),ja=(0,ye.useParams)(),vr=(0,a.useRef)(null),Sa=(0,a.useRef)(!1),[Xr,za]=(0,a.useState)([]),Oa=ta=>{za([...Xr,Ji({},ta)])};(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Sa.current)return;if(!(Pe!=null&&Pe.question_choices)){eo(!0),oa(""),Jt(5),Wn(["","","",""]),Yt([]);return}oa(Pe==null?void 0:Pe.question_title),Jt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),fa(Pe==null?void 0:Pe.analysis),Dr(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(Ba=>Ba.choice_text));const ta=[];Pe==null||Pe.standard_answer.map((Ba,qn)=>{ta.push(Ba-1)}),ra(Pe.tag_discipline_ids),Yt(ta)},[Pe,ir]),(0,a.useEffect)(()=>{ir&&ta();function ta(){return Hi(this,null,function*(){var Ba,qn;const $a=yield(0,ne.YY)({sub_discipline_id:(qn=(Ba=Dt.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id});za($a.tag_disciplines)})}},[ir]),(0,a.useEffect)(()=>{var ta;const Ba=(ta=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ta.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];za(Ba)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(ve,()=>({onSave:xr,isEdit:ir}));const Fr=ta=>{(ta==null?void 0:ta.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),eo(!1),Vn(-1),Sa.current=!1,wn())},xr=()=>Hi(void 0,null,function*(){var ta,Ba,qn,$a;if(!da)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const mr=$n.findIndex(po=>!po);if(mr>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Er.k4[mr]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!ga.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(ga.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const Or=$n.map((po,Gr)=>({choice_text:po,is_answer:ga.includes(Gr)?Gr+1:0}));Sa.current=!0;let Co;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Hi(void 0,null,function*(){var po,Gr;Co=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(ar=>ar.choice_text),standard_answers:Or.filter(ar=>ar.is_answer).map(ar=>ar.is_answer),tag_discipline_ids:va,sub_discipline_id:(Gr=(po=Dt.editData)==null?void 0:po.exercise)==null?void 0:Gr.sub_discipline_id,difficulty:Pr,is_cover:1,repeat_answer:!Qt,analysis:ka}}),Fr(Co)}),onCancel:()=>Hi(void 0,null,function*(){var po,Gr;Co=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(ar=>ar.choice_text),standard_answers:Or.filter(ar=>ar.is_answer).map(ar=>ar.is_answer),tag_discipline_ids:va,sub_discipline_id:(Gr=(po=Dt.editData)==null?void 0:po.exercise)==null?void 0:Gr.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Fr(Co)})}):(Co=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(po=>po.choice_text),standard_answers:Or.filter(po=>po.is_answer).map(po=>po.is_answer),tag_discipline_ids:va,sub_discipline_id:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Fr(Co)):(Co=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ja.categoryId,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(po=>po.choice_text),standard_answers:Or.filter(po=>po.is_answer).map(po=>po.is_answer),tag_discipline_ids:va,sub_discipline_id:($a=(qn=Dt.editData)==null?void 0:qn.exercise)==null?void 0:$a.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Fr(Co))}),qa=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ta=>{var Ba,qn;return((qn=(Ba=Dt==null?void 0:Dt.editData)==null?void 0:Ba.exercise)==null?void 0:qn.exercise_status)===1?ta:ta.id!=="del"&&ta.id!=="add"}),ea=ta=>Hi(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ta.id){case"del":let Ba;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Hi(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Ji({},ja)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ta.id}}),at({type:"exercise/editExercise",payload:Ji({},ja)});break;case"edit":Vn(Pe.dragKey),eo(!0);break;case"add":aa({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),Ua=()=>{var ta;return a.createElement("aside",{ref:vr},a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5355\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},(ta=Pe==null?void 0:Pe.question_choices)==null?void 0:ta.map(function(Ba,qn){return a.createElement(re.Z,{key:qn},a.createElement(pe.Z,null,a.createElement(be.ZP,{key:qn,checked:Pe.standard_answer.includes(qn+1),disabled:!0},Er.k4[qn],".")),a.createElement(pe.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(rl.Z,{value:Ba.choice_text}))))})),a.createElement("div",{className:hr.action},!Pe.hideAction&&qa.map(function(Ba,qn){return Ba.id==="up"&&Pe.key===1||Ba.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:qn,placement:"bottom",title:Ba.name},a.createElement("span",{onClick:()=>ea(Ba),className:Ba.icon}))})))},Ca=()=>{var ta,Ba;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:da,onChange:qn=>oa(qn)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),$n.map((qn,$a)=>{var mr,Or;return a.createElement("div",{className:hr.choiceWrap,key:$a},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${hr.answer} ${ga.includes($a)?hr.activeAnswer:""}`,onClick:()=>{ga.includes($a)?Yt(ga.filter(Co=>Co!==$a)):Yt([...ga,$a])}},Er.k4[$a])),a.createElement("div",{className:hr.editorWrap},Qa===$a?a.createElement(Ul.Z,{id:`single-question-option-${$a}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:qn,onChange:Co=>{$n[$a]=Co,Wn($n)}}):a.createElement("div",{className:hr.htmlWrap,onClick:()=>On($a)},a.createElement(rl.Z,{value:qn}))),((Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.exercise_status)===1&&a.createElement(a.Fragment,null,$a>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${hr.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn($n.filter((Co,po)=>po!==$a))})),$a<7&&$a===$n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${hr.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([...$n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:ka,onChange:qn=>fa(qn)}),a.createElement("div",{style:{marginBottom:14}},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:Ta,max:1e4,min:0,onChange:qn=>{Jt(qn)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Pr,onChange:qn=>{Dr(qn.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("div",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:va,onChange:ra,subId:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id,knowledgeOptions:Xr,onAddKnowledgeFinish:Oa})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Qt,onChange:qn=>{tt(qn)}}))),a.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),eo(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{xr()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:hr.wrap},!ir&&Ua(),ir&&Ca())};var Wo=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Vr)),wi=x(12563),ni=({value:me=[[],[]],onChange:ve})=>{var le,dt;const[Dt,_e]=(0,a.useState)(""),[Wt,at]=(0,a.useState)(""),Oe=Pe=>{if(!Pe)return!1;let xn=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 Pe==="|"?(oe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0};return a.createElement("div",null,a.createElement("p",{className:"font14"},"\u5173\u952E\u8BCD",a.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u952E\u8BCD\u53EF\u7528\u4E8E\u81EA\u52A8\u5224\u5206\uFF09"),a.createElement(De.Z,{overlayStyle:{maxWidth:350},title:a.createElement("div",null,a.createElement("div",null,"\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD\u7684\u5206\u6570\u662F\u666E\u901A\u5173\u952E\u8BCD\u5206\u6570\u7684\u4E24\u500D"),a.createElement("div",null,"\u4F8B\u5982\uFF1A"),a.createElement("div",null,"\u672C\u989810\u5206\uFF0C\u666E\u901A\u5173\u952E\u8BCD1\u4E2A\uFF0C\u6838\u5FC3\u5173\u952E\u8BCD2\u4E2A\uFF0C\u5219\u6BCF\u4E2A"),a.createElement("div",null,"\u666E\u901A\u5173\u952E\u8BCD2\u5206\uFF0C\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD4\u5206"))},a.createElement("span",{className:"iconfont icon-a-wenhaobeifen2 font14"}))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u666E\u901A\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Dt,onChange:Pe=>{_e(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var xn,jn,Vn;const an=(xn=Pe.target)==null?void 0:xn.value;Oe(an)&&((Vn=me[0])==null||Vn.push((jn=an==null?void 0:an.split("|"))==null?void 0:jn.filter(wn=>!!wn)),ve([...me]),_e(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(le=me==null?void 0:me[0])==null?void 0:le.map((Pe,xn)=>a.createElement(wi.default,{className:"mb10",key:xn,closable:!0,onClose:jn=>{var Vn;jn.preventDefault(),me[0]=(Vn=me[0])==null?void 0:Vn.filter((an,wn)=>wn!==xn),ve([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u6838\u5FC3\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Wt,onChange:Pe=>{at(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var xn,jn,Vn;const an=(xn=Pe.target)==null?void 0:xn.value;Oe(an)&&((Vn=me[1])==null||Vn.push((jn=an==null?void 0:an.split("|"))==null?void 0:jn.filter(wn=>!!wn)),ve([...me]),at(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(dt=me==null?void 0:me[1])==null?void 0:dt.map((Pe,xn)=>a.createElement(wi.default,{className:"mb10",key:xn,closable:!0,onClose:jn=>{var Vn;jn.preventDefault(),me[1]=(Vn=me[1])==null?void 0:Vn.filter((an,wn)=>wn!==xn),ve([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))))},Ne=Object.defineProperty,Ke=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,At=(me,ve,le)=>ve in me?Ne(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Vt=(me,ve)=>{for(var le in ve||(ve={}))Ue.call(ve,le)&&At(me,le,ve[le]);if(Ke)for(var le of Ke(ve))St.call(ve,le)&&At(me,le,ve[le]);return me},gn=(me,ve)=>{var le={};for(var dt in me)Ue.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Ke)for(var dt of Ke(me))ve.indexOf(dt)<0&&St.call(me,dt)&&(le[dt]=me[dt]);return le},sa=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Fa=null,Ka=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=le,pa=gn(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","reload","addCallback","setIsClaer"]);const[$n,Wn]=(0,a.useState)(""),[Qa,On]=(0,a.useState)(""),[ga,Yt]=(0,a.useState)(""),[da,oa]=(0,a.useState)(),[Ta,Jt]=(0,a.useState)(!1),[va,ra]=(0,a.useState)([]),[ir,eo]=(0,a.useState)(1),[Pr,Dr]=(0,a.useState)(!1),[Qt,tt]=(0,a.useState)([[],[]]),ka=(0,a.useRef)(!1),fa=(0,ye.useParams)(),[ja,vr]=(0,a.useState)([]),Sa=ea=>{vr([...ja,Vt({},ea)])};(0,a.useEffect)(()=>{var ea;if(!ka.current){if(!(Pe!=null&&Pe.question_title)){Jt(!0),Wn(""),Yt(""),oa(10);return}Dr(!(Pe!=null&&Pe.repeat_answer)),Wn(Pe==null?void 0:Pe.question_title),Yt((ea=Pe==null?void 0:Pe.standard_answer)==null?void 0:ea[0]),oa(Pe==null?void 0:Pe.question_score),ra(Pe.tag_discipline_ids),eo(Pe==null?void 0:Pe.difficulty),On(Pe==null?void 0:Pe.analysis),tt([Pe==null?void 0:Pe.normal_keywords,Pe==null?void 0:Pe.main_keywords])}},[dt.editData,Ta]),(0,a.useEffect)(()=>{var ea;const Ua=(ea=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ea.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];vr(Ua)},[Dt.tagDisciplineData]),(0,a.useEffect)(()=>{Ta&&ea();function ea(){return sa(this,null,function*(){var Ua,Ca;const ta=yield(0,ne.YY)({sub_discipline_id:(Ca=(Ua=Dt.editData)==null?void 0:Ua.exercise)==null?void 0:Ca.sub_discipline_id});vr(ta.tag_disciplines)})}},[Ta]),(0,a.useImperativeHandle)(ve,()=>({onSave:za,isEdit:Ta}));const Xr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Jt(!1),Vn(-1),ka.current=!1,an())},za=()=>sa(void 0,null,function*(){var ea,Ua,Ca,ta;if(!$n)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Ba=Qt[0],qn=Qt[1];ka.current=!0;let $a;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>sa(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:ir,is_cover:1,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)}),onCancel:()=>sa(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)})}):($a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(Ua=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:Ua.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)):($a=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:fa.categoryId,exercise_bank_id:fa.categoryId,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(ta=(Ca=Dt.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)),{name:$n,answer_texts:[ga],analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Oa=()=>{var ea,Ua;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u4E3B\u89C2\u9898"),"\uFF08\u4E3B\u89C2\u9898\uFF0C\u672A\u4F5C\u7B54\u7684\u60C5\u51B5\u4E0B\u81EA\u52A8\u8BC4\u4E3A\u96F6\u5206\uFF09")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:$n,onChange:Ca=>Wn(Ca)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(Ul.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:ga,onChange:Ca=>Yt(Ca)}),a.createElement(ni,{value:Qt,onChange:tt}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Qa,onChange:Ca=>On(Ca)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:da,max:1e4,min:0,onChange:Ca=>{oa(Ca)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:ir,onChange:Ca=>{eo(Ca.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{value:va,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:ra,subId:(Ua=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:Ua.sub_discipline_id,knowledgeOptions:ja,onAddKnowledgeFinish:Sa})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Pr,onChange:Ca=>{Dr(Ca)}}))),a.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),Jt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{za()}},"\u4FDD\u5B58")))},Fr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var Ua,Ca;return((Ca=(Ua=Dt==null?void 0:Dt.editData)==null?void 0:Ua.exercise)==null?void 0:Ca.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),xr=ea=>sa(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let Ua;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return sa(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Vt({},fa)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:Vt({},fa)});break;case"edit":Vn(Pe.dragKey),Jt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:4});break}}),qa=()=>a.createElement("aside",null,a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7B80\u7B54\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},a.createElement("p",null,a.createElement("strong",null,"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(rl.Z,{value:ga||""})),a.createElement("div",{className:hr.action},!Pe.hideAction&&Fr.map(function(ea,Ua){return ea.id==="up"&&Pe.key===1||ea.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:Ua,placement:"bottom",title:ea.name},a.createElement("span",{onClick:()=>xr(ea),className:ea.icon}))})));return a.createElement("section",{className:hr.wrap},!Ta&&qa(),Ta&&Oa())};var Ya=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Ka)),Aa=x(59301),or=Object.defineProperty,_a=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable,Za=(me,ve,le)=>ve in me?or(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,br=(me,ve)=>{for(var le in ve||(ve={}))sr.call(ve,le)&&Za(me,le,ve[le]);if(_a)for(var le of _a(ve))ca.call(ve,le)&&Za(me,le,ve[le]);return me},bo=(me,ve)=>{var le={};for(var dt in me)sr.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&_a)for(var dt of _a(me))ve.indexOf(dt)<0&&ca.call(me,dt)&&(le[dt]=me[dt]);return le},so=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Oo=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Mo=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},addCallback:an=()=>{},setIsClaer:wn=()=>{}}=le,aa=bo(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","addCallback","setIsClaer"]);const[pa,$n]=(0,a.useState)([]),[Wn,Qa]=(0,a.useState)(),[On,ga]=(0,a.useState)([]),[Yt,da]=(0,a.useState)(""),[oa,Ta]=(0,a.useState)(5),[Jt,va]=(0,a.useState)(!1),ra=(0,ye.useParams)();(0,a.useEffect)(()=>{$n(["","","",""])},[]),(0,a.useEffect)(()=>{if(!(Pe!=null&&Pe.question_choices)){va(!0),da(""),Ta(5),$n(["","","",""]),ga([]);return}da(Pe==null?void 0:Pe.question_title),Ta(Pe==null?void 0:Pe.question_score),$n(Pe==null?void 0:Pe.question_choices.map(ka=>ka.choice_text));const tt=[];Pe==null||Pe.standard_answer.map((ka,fa)=>{tt.push(ka-1)}),ga(tt)},[Pe]),(0,a.useImperativeHandle)(ve,()=>({onSave:ir,isEdit:Jt}));const ir=()=>so(void 0,null,function*(){if(!Yt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const tt=pa.findIndex(ja=>!ja);if(tt>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Oo[tt]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!On.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(On.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const ka=pa.map((ja,vr)=>({choice_text:ja,is_answer:On.includes(vr)?vr+1:0}));let fa;Pe.question_id?fa=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Yt,question_type:1,question_score:oa,question_choices:ka.map(ja=>ja.choice_text),standard_answers:ka.filter(ja=>ja.is_answer).map(ja=>ja.is_answer)}}):fa=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ra.categoryId,question_title:Yt,question_type:1,question_score:"5.0",question_choices:ka.map(ja=>ja.choice_text),standard_answers:ka.filter(ja=>ja.is_answer).map(ja=>ja.is_answer)}}),fa.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),va(!1),at({type:"exercise/editExercise",payload:br({},ra)}))}),eo=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(tt=>{var ka,fa;return((fa=(ka=Dt==null?void 0:Dt.editData)==null?void 0:ka.exercise)==null?void 0:fa.exercise_status)===1?tt:tt.id!=="del"&&tt.id!=="add"}),Pr=tt=>so(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(tt.id){case"del":let ka;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return so(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:br({},ra)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:tt.id}}),at({type:"exercise/editExercise",payload:br({},ra)});break;case"edit":ye.history.push(`/problems/${Pe==null?void 0:Pe.hack_identifier}/edit?type=exercises&express_id=${ra.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=${location.pathname}`);break;case"add":an({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:6});break}}),Dr=tt=>so(void 0,null,function*(){tt.preventDefault();const ka=yield(0,ne.nF)({id:Pe==null?void 0:Pe.hack_identifier});ka.status===0&&(0,ue.xg)(`/myproblems/${ka==null?void 0:ka.identifier}`)}),Qt=()=>{var tt,ka,fa,ja,vr,Sa,Xr;return Aa.createElement("aside",null,Aa.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&Aa.createElement("div",null,Aa.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7F16\u7A0B\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Aa.createElement(Aa.Fragment,null,Aa.createElement("div",{style:{display:"flex"}},Aa.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Aa.createElement(rl.Z,{value:Pe.question_title}),Aa.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")),Aa.createElement("div",{style:{fontWeight:600,marginTop:10,fontSize:16}},"\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00\uFF1A",(tt=Pe==null?void 0:Pe.languages)==null?void 0:tt.join("/")),((fa=(ka=Dt==null?void 0:Dt.editData)==null?void 0:ka.exercise)==null?void 0:fa.show_hack_sets)&&Aa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Aa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Aa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Aa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(za,Oa,Fr)=>Fr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)},Aa.createElement("div",{className:hr.divname},za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)}," ",Aa.createElement("div",{className:hr.divname},za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))):Aa.createElement("div",{className:"mt5"},Aa.createElement(rl.Z,{value:Pe.question_title}),((vr=(ja=Dt==null?void 0:Dt.editData)==null?void 0:ja.exercise)==null?void 0:vr.show_hack_sets)&&Aa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Aa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Aa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Aa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(za,Oa,Fr)=>Fr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)},Aa.createElement("div",{className:hr.divname},za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)}," ",Aa.createElement("div",{className:hr.divname},za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))),((Xr=(Sa=Dt==null?void 0:Dt.editData)==null?void 0:Sa.exercise)==null?void 0:Xr.show_hack_description)&&Aa.createElement("div",{className:hr.questionChoices},Aa.createElement(rl.Z,{value:Pe.description||""})),Aa.createElement("div",{className:hr.action},Aa.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{(0,ue.xg)(`/problems/newedit/${Pe==null?void 0:Pe.hack_identifier}?type=exercises&express_id=${ra.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=/classrooms/${ra.coursesId}/exercise/add/${ra.categoryId}?type=2`)}},"\u67E5\u770B\u8BE6\u60C5"),!Pe.hideAction&&eo.map(function(za,Oa){return za.id==="up"&&Pe.key===1||za.id==="down"&&Pe.key===Pe.len?null:Aa.createElement(De.Z,{key:Oa,placement:"bottom",title:za.name},Aa.createElement("span",{onClick:()=>Pr(za),className:za.icon}))})))};return Aa.createElement("section",{className:hr.wrap},Qt())};var No=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Mo)),vo=x(67835),Si={ai_review_warp:"ai_review_warp___xdNyj",under_review:"under_review___LPpOL",btn_operate:"btn_operate___owqg5",btn_review:"btn_review___RoZoh",is_disabled:"is_disabled___T2_8u",title_sty:"title_sty___nTv6u",btns_pfbz:"btns_pfbz___kGOTA"},yi=x(37618),Uo=x(59301),pl=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const yl=({exercise:me,globalSetting:ve,user:le,loading:dt,questionInfo:Dt,dispatch:_e})=>{var Wt;const at=(0,ye.useParams)(),{is_open_ai_review:Oe,zero_commit_student_works:Pe,unified_ai_setting:xn,ai_review_settings:jn,is_random:Vn}=me.commonHeader,[an,wn]=(0,a.useState)({}),[aa,pa]=(0,a.useState)(!1),[$n,Wn]=(0,a.useState)(0),[Qa,On]=(0,a.useState)(!1),ga=xn?jn:((Wt=Dt==null?void 0:Dt.ai_review_settings)==null?void 0:Wt.length)>0?Dt.ai_review_settings:jn;(0,a.useEffect)(()=>{!dt["exercise/getCommonHeader"]&&Oe&&!(0,bt.dE)()&&Yt()},[dt["exercise/getCommonHeader"]]),(0,a.useEffect)(()=>{if((an==null?void 0:an.status)=="running"){const Jt=setInterval(()=>{Yt()},3e3);return()=>clearInterval(Jt)}},[an==null?void 0:an.status]);const Yt=()=>pl(void 0,null,function*(){const Jt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit_status.json",{method:"get",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Jt==null?void 0:Jt.status)===0&&wn(Jt==null?void 0:Jt.data)}),da=Jt=>{_e({type:"exercise/setActionTabs",payload:{key:"\u667A\u80FD\u8BC4\u9605\u7ED3\u679C",id:an==null?void 0:an.id,status:Jt,questionId:Dt==null?void 0:Dt.question_id,onOK:()=>{Yt()}}})},oa=()=>{_e({type:"exercise/setActionTabs",payload:{key:"AI\u8BC4\u9605\u64CD\u4F5C\u8BB0\u5F55",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}}})},Ta=()=>pl(void 0,null,function*(){if(Oe){if(Pe)return oe.ZP.warning("\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u6570\u4E3A0\uFF0C\u65E0\u6CD5\u667A\u80FD\u8BC4\u9605!")}else return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!");On(!0);const Jt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit.json",{method:"post",body:{exercise_id:at==null?void 0:at.categoryId,range:$n,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Jt==null?void 0:Jt.status)===0&&(pa(!1),Yt()),On(!1)});return Uo.createElement("div",{className:Si.ai_review_warp},Uo.createElement("div",null,Oe&&(an==null?void 0:an.status)=="running"&&Uo.createElement("div",{className:Si.under_review},Uo.createElement(yt.Z,{spinning:!0,className:"mr6",size:"small"}),Uo.createElement("span",{className:"ml10"},"\u667A\u80FD\u8BC4\u9605\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6"),Uo.createElement("span",{className:"ml5",style:{color:"#3061D0"}},an==null?void 0:an.rate,(an==null?void 0:an.rate)=="0.0%"&&Uo.createElement("span",{className:"ml10"},"\u4EFB\u52A1\u6392\u961F\u4E2D\uFF0C\u9884\u8BA1\u7A0D\u540E\u5F00\u59CB\u8BC4\u9605!"))),Oe&&["success","failed"].includes(an==null?void 0:an.status)&&Uo.createElement("div",{className:Si.under_review},"\u667A\u80FD\u8BC4\u9605\u6210\u529F",Uo.createElement("span",{style:{color:"#3061D0"},onClick:()=>da(1)},an==null?void 0:an.success_count),"\u4EBA\uFF0C \u5931\u8D25",Uo.createElement("span",{style:{color:"#ff0000"},onClick:()=>da(0)},an==null?void 0:an.fail_count),"\u4EBA")),Uo.createElement("div",{className:"flex"},Uo.createElement("div",{className:Si.btn_operate,onClick:oa},Uo.createElement("i",{className:"iconfont icon-lishijilu mr8"}),"\u64CD\u4F5C\u8BB0\u5F55"),Uo.createElement("div",{className:`${Si.btn_review} ${(an==null?void 0:an.status)=="running"&&Si.is_disabled}`,onClick:()=>{if((an==null?void 0:an.status)!="running"){if(!Oe)return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!"),!1;Wn(0),pa(!0)}}},Uo.createElement("img",{src:ya.Z,className:"mr8",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),Uo.createElement(Fe.default,{width:1150,centered:!0,title:"\u667A\u80FD\u8BC4\u9605",open:aa,destroyOnClose:!0,onCancel:()=>pa(!1),okText:"\u5F00\u59CB\u8BC4\u9605",confirmLoading:Qa,onOk:()=>Ta()},Uo.createElement("div",{className:"flex item-center justify-between mb10"},Uo.createElement("div",{className:Si.title_sty,style:{marginBottom:0}},"\u8BC4\u5206\u6807\u51C6"),Uo.createElement("div",{className:"flex"},Uo.createElement("div",{className:Si.btns_pfbz,onClick:()=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:Dt==null?void 0:Dt.question_id,ai_review_settings:ga}})}},Uo.createElement("img",{src:yi.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"),Uo.createElement("div",{className:Si.btns_pfbz,onClick:()=>{xn?window.location.href=`/classrooms/${at.coursesId}/exercise/${at.categoryId}/detail?random=${Vn}&tabs=11`:ye.history.push(`/classrooms/${at.coursesId}/exercise/add/${at.categoryId}?random=${Vn}&type=2`)}},Uo.createElement("i",{className:"iconfont icon-bianji15 font14 mr5"}),"\u4FEE\u6539\u8BC4\u5206\u6807\u51C6"))),Uo.createElement(z.default,{pagination:!1,dataSource:ga,columns:[{title:"\u8BC4\u5206\u9879\u76EE",dataIndex:"name",width:236},{title:"\u8BC4\u5206\u6807\u51C6",dataIndex:"content",width:684,ellipsis:!0},{title:"\u6743\u91CD\uFF08%\uFF09",dataIndex:"weight",width:140}]}),Uo.createElement("div",{className:Si.title_sty,style:{marginTop:30}},"\u8BC4\u9605\u8303\u56F4"),Uo.createElement("div",{className:Si.znpy,style:{background:"#F6F7F9",padding:"13px 20px"}},Uo.createElement(be.ZP.Group,{style:{display:"flex",flexDirection:"column",gap:18},onChange:Jt=>Wn(Jt.target.value),value:$n,options:[{value:0,label:"\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u672A\u8BC4\u9605\u7684\u5B66\u751F"},{value:1,label:"\u6240\u6709\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F"}]}))))};var jl=(0,ye.connect)(({exercise:me,globalSetting:ve,loading:le,user:dt})=>({exercise:me,globalSetting:ve,loading:le.effects,user:dt}))(yl),Tr=x(59301),Ml=Object.defineProperty,gl=Object.defineProperties,El=Object.getOwnPropertyDescriptors,Tl=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Hn=(me,ve,le)=>ve in me?Ml(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Zr=(me,ve)=>{for(var le in ve||(ve={}))Zl.call(ve,le)&&Hn(me,le,ve[le]);if(Tl)for(var le of Tl(ve))Dl.call(ve,le)&&Hn(me,le,ve[le]);return me},Ko=(me,ve)=>gl(me,El(ve)),Ge=(me,ve)=>{var le={};for(var dt in me)Zl.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Tl)for(var dt of Tl(me))ve.indexOf(dt)<0&&Dl.call(me,dt)&&(le[dt]=me[dt]);return le},je=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Bt=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},setIsClaer:an=()=>{},addCallback:wn=Ca=>{},reload:aa=()=>{},markBtnVisible:pa,handleMarkWrongQuestion:$n,handleAddCorrectAnswers:Wn}=le,Qa=Ge(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload","markBtnVisible","handleMarkWrongQuestion","handleAddCorrectAnswers"]);const[On,ga]=(0,a.useState)([]),[Yt,da]=(0,a.useState)(!1),[oa,Ta]=(0,a.useState)(!0),[Jt,va]=(0,a.useState)(1),[ra,ir]=(0,a.useState)(!1),[eo,Pr]=(0,a.useState)([]),Dr=(0,ye.useParams)(),Qt=(0,a.useRef)(null),[tt,ka]=(0,a.useState)(""),[fa,ja]=(0,a.useState)([]),vr=(0,a.useRef)(!1),Sa=Ca=>{Pr([...eo,Zr({},Ca)])};(0,a.useEffect)(()=>{var Ca;if(vr.current)return;if(!(Pe!=null&&Pe.question_title)){da(!0),ka("");return}ka(Pe==null?void 0:Pe.question_title),ir(!(Pe!=null&&Pe.repeat_answer)),va(Pe==null?void 0:Pe.difficulty),ga(Pe.tag_discipline_ids);const ta=(Ca=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:Ca.map(Ba=>{var qn,$a,mr;return Ko(Zr({},Ba),{id:Ba.question_id,name:Ba.question_title,open:!1,score:Ba.question_score,qusList:(qn=Ba==null?void 0:Ba.question_choices)==null?void 0:qn.map(Or=>Or.choice_text),activeQusEditor:null,qusAnswer:(mr=[($a=Ba==null?void 0:Ba.question_choices)==null?void 0:$a.findIndex(Or=>Or.standard_boolean)])==null?void 0:mr.filter(Or=>Or!==-1)})});ja(ta)},[Pe,Yt]),(0,a.useEffect)(()=>{Yt&&Ca();function Ca(){return je(this,null,function*(){var ta,Ba;const qn=yield(0,ne.YY)({sub_discipline_id:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id});Pr(qn.tag_disciplines)})}},[Yt]),(0,a.useEffect)(()=>{var Ca;const ta=(Ca=Dt==null?void 0:Dt.tagDisciplineData)!=null&&Ca.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];Pr(ta)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(ve,()=>({onSave:za,isEdit:Yt}));const Xr=Ca=>{(Ca==null?void 0:Ca.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),da(!1),Vn(-1),vr.current=!1,aa())},za=()=>je(void 0,null,function*(){var Ca,ta,Ba;if(!tt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(fa.length===0)return oe.ZP.info("\u8BF7\u60A8\u6DFB\u52A0\u5C0F\u9898"),!1;for(let mr=0;mr!po);if(Co>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165\u7B2C${mr+1}\u5C0F\u9898${Er.k4[Co]}\u9009\u9879\u7684\u5185\u5BB9`),!1;if(!(Or!=null&&Or.qusAnswer.length))return oe.ZP.info(`\u8BF7\u8BBE\u7F6E\u7B2C${mr+1}\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E`),!1}const qn=fa.map(mr=>{var Or;return{id:mr.id>1?mr.id:null,question_title:mr.name,question_type:1,question_choices:mr.qusList,question_score:mr.score,standard_answers:[((Or=mr.qusAnswer)==null?void 0:Or[0])+1]}});vr.current=!0;let $a;Pe.question_id&&((Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>je(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:Jt,is_cover:1,repeat_answer:!ra}}),Xr($a)}),onCancel:()=>je(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:Jt,repeat_answer:!ra}}),Xr($a)})}):($a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id,difficulty:Jt,repeat_answer:!ra}}),Xr($a)))}),Oa=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(Ca=>{var ta,Ba;return((Ba=(ta=Dt==null?void 0:Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.exercise_status)===1?Ca:Ca.id!=="del"&&Ca.id!=="add"}),Fr=Ca=>je(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(Ca.id){case"del":let ta;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return je(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Zr({},Dr)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:Ca.id}}),at({type:"exercise/editExercise",payload:Zr({},Dr)});break;case"edit":Vn(Pe.dragKey),da(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),xr=()=>{var Ca;return Tr.createElement("aside",{ref:Qt},Tr.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&Tr.createElement("div",null,Tr.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7EC4\u5408\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Tr.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},Tr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Tr.createElement(rl.Z,{value:Pe.question_title}),Tr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08\u5171",Pe==null?void 0:Pe.sub_q_count,"\u5C0F\u9898\uFF0C",Pe.question_score,"\u5206\uFF09")):Tr.createElement("div",{className:"mt5"},Tr.createElement(rl.Z,{value:Pe.question_title})),Tr.createElement("div",{style:{display:oa?"block":"none"},className:hr.questionChoices},(Ca=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:Ca.map((ta,Ba)=>{var qn,$a,mr,Or;return Tr.createElement("div",{key:Ba,style:{marginBottom:"20px"}},Tr.createElement("div",{style:{display:"flex",alignItems:"flex-start",marginBottom:"15px"}},Tr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,".",Ba+1,(ta==null?void 0:ta.question_type)==0?"\uFF08\u5355\u9009\u9898\uFF09":(ta==null?void 0:ta.question_type)==1?"\uFF08\u591A\u9009\u9898\uFF09":(ta==null?void 0:ta.question_type)==2?"\uFF08\u5224\u65AD\u9898\uFF09":(ta==null?void 0:ta.question_type)==3?"\uFF08\u586B\u7A7A\u9898\uFF09":"\uFF08\u7B80\u7B54\u9898\uFF09"),Tr.createElement(rl.Z,{value:ta.question_title}),Tr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",ta.question_score,"\u5206\uFF09")),(ta==null?void 0:ta.question_type)==3&&((qn=ta==null?void 0:ta.standard_answers)==null?void 0:qn.map(function(Co,po){return Tr.createElement(re.Z,{key:po,align:"middle",justify:"start",style:{marginBottom:"5px"}},Tr.createElement(pe.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",Co==null?void 0:Co.choice_id,"\uFF09\uFF1A"),Tr.createElement(pe.Z,{flex:"1"},Tr.createElement(re.Z,{align:"middle",gutter:[1,1]},Co.answer_text.map(function(Gr,ar){var oo;return Tr.createElement(pe.Z,{span:24,key:ar},Tr.createElement(Se.default,{key:po,checked:(oo=ta==null?void 0:ta.standard_answers)==null?void 0:oo.includes(po),disabled:!0,value:Gr}))}))))})),(ta==null?void 0:ta.question_type)==4&&Tr.createElement(rl.Z,{value:(($a=ta==null?void 0:ta.answer_texts)==null?void 0:$a[0])||""}),((ta==null?void 0:ta.question_type)==0||(ta==null?void 0:ta.question_type)==1||(ta==null?void 0:ta.question_type)==2)&&((mr=ta==null?void 0:ta.question_choices)==null?void 0:mr.map(function(Co,po){return Tr.createElement(re.Z,{key:po,align:"middle"},Tr.createElement(pe.Z,null,Tr.createElement(be.ZP,{key:po,checked:ta.standard_answer.includes(po+1),disabled:!0},Er.k4[po],".")),Tr.createElement(pe.Z,{flex:"1"},Tr.createElement("span",{className:"c-black font14"},Tr.createElement(rl.Z,{value:Co.choice_text}))))})),pa&&Tr.createElement(re.Z,{className:"mt20",align:"middle",gutter:20},Tr.createElement(pe.Z,null,Tr.createElement(vo.Z,{state:ta==null?void 0:ta.is_wrong,onClick:()=>$n({value:ta,type:ta==null?void 0:ta.question_type})})),(ta==null?void 0:ta.question_type)==0&&Tr.createElement(pe.Z,null,Tr.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{Wn==null||Wn({value:ta})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),(ta==null?void 0:ta.question_type)==4&&((Or=Dt==null?void 0:Dt.commonHeader)==null?void 0:Or.teacher_permission)&&Tr.createElement(jl,{questionInfo:ta}))})),Tr.createElement("div",{className:hr.action},Tr.createElement("span",{className:"c-light-primary current",onClick:()=>Ta(!oa),style:{}},oa?"\u6536\u8D77":"\u5C55\u5F00"),!Pe.hideAction&&Oa.map(function(ta,Ba){return ta.id==="up"&&Pe.key===1||ta.id==="down"&&Pe.key===Pe.len?null:Tr.createElement(De.Z,{key:Ba,placement:"bottom",title:ta.name},Tr.createElement("span",{onClick:()=>Fr(ta),className:ta.icon}))})))},qa=()=>{var Ca,ta;return Tr.createElement("aside",null,Tr.createElement("div",{className:hr.questionType},Tr.createElement("div",null,Tr.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),Tr.createElement("section",{className:hr.wrap,style:{padding:0}},Tr.createElement("p",{className:hr.titleWrap},Tr.createElement("span",{className:hr.required},"*"),Tr.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),Tr.createElement(Ul.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:tt,onChange:Ba=>ka(Ba)}),Tr.createElement("p",null,"\u5C0F\u9898\u6570\uFF1A",fa==null?void 0:fa.length),fa==null?void 0:fa.map((Ba,qn)=>{var $a;return Tr.createElement("div",{className:hr.fold,key:Ba.id},Tr.createElement("div",{onClick:()=>Ua("open",qn),className:hr.head},Tr.createElement("i",{className:"iconfont icon-sanjiaoxing",style:{transform:Ba.open?"initial":"rotate(270deg) translate(2px, 4px)"}}),Tr.createElement("span",null,"\u7B2C",qn+1,"\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"),Tr.createElement("b",{onClick:mr=>{mr.stopPropagation(),Ua("delete",qn)},className:"iconfont icon-shanchu8"})),Tr.createElement("div",{className:"mb10",style:{display:Ba.open?"block":"none"}},Tr.createElement(Ul.Z,{watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Ba==null?void 0:Ba.name,onChange:mr=>Ua("value",qn,mr)}),Tr.createElement("p",{className:hr.titleWrap},Tr.createElement("span",{className:hr.required},"*"),Tr.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",Tr.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),($a=Ba==null?void 0:Ba.qusList)==null?void 0:$a.map((mr,Or)=>{var Co,po;return Tr.createElement("div",{className:hr.choiceWrap,key:Or},Tr.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},Tr.createElement("div",{className:`${hr.answer} ${(Co=Ba==null?void 0:Ba.qusAnswer)!=null&&Co.includes(Or)?hr.activeAnswer:""}`,onClick:()=>Ua("answer",qn,Or)},Er.k4[Or])),Tr.createElement("div",{className:hr.editorWrap},(Ba==null?void 0:Ba.activeQusEditor)===Or?Tr.createElement(Ul.Z,{id:`single-question-option-${Or}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:mr,onChange:Gr=>Ua("details",qn,Gr)}):Tr.createElement("div",{className:hr.htmlWrap,onClick:()=>Ua("edit",qn,Or)},Tr.createElement(rl.Z,{value:mr}))),Or>1&&Tr.createElement(De.Z,{title:"\u5220\u9664"},Tr.createElement("i",{className:`${hr.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Ua("deleteQus",qn,Or)})),Or<7&&Or===((po=Ba==null?void 0:Ba.qusList)==null?void 0:po.length)-1&&Tr.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Tr.createElement("i",{className:`${hr.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Ua("addQus",qn)})))}),Tr.createElement("p",{className:"mt10"},"\u5206\u503C\uFF1A",Tr.createElement(Te.Z,{value:Ba.score,max:1e4,min:0,onChange:mr=>Ua("score",qn,mr)})," ","\u5206")))}),fa.length<20&&Tr.createElement(Ce.ZP,{type:"primary",onClick:ea},Tr.createElement("i",{className:"iconfont icon-tianjiatimu mr5 font14"}),"\u6DFB\u52A0\u5C0F\u9898")),Tr.createElement("p",{className:"mt10"},Tr.createElement("span",{className:hr.difficult},Tr.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",Tr.createElement(be.ZP.Group,{value:Jt,onChange:Ba=>{va(Ba.target.value)}},Tr.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),Tr.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),Tr.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),Tr.createElement("p",{className:hr.titleWrap},Tr.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",Tr.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),Tr.createElement("div",{className:"mt5"},Tr.createElement(Su.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:On,onChange:ga,subId:(ta=(Ca=Dt.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,knowledgeOptions:eo,onAddKnowledgeFinish:Sa}))),Tr.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&Tr.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),da(!1)}},"\u53D6\u6D88"),Tr.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{za()}},"\u4FDD\u5B58")))},ea=()=>{const Ca={id:Math.random(),item_type:"SINGLE",open:!1,name:"",qusList:["","","",""],activeQusEditor:null,qusAnswer:[],analysis:""};ja(fa.concat(Ca))},Ua=(Ca,ta,Ba)=>{var qn;const $a=(0,Na.cloneDeep)(fa);Ca==="open"&&($a[ta].open=!$a[ta].open),Ca==="delete"&&$a.splice(ta,1),Ca==="value"&&($a[ta].name=Ba),Ca==="answer"&&($a[ta].qusAnswer=[Ba]),Ca==="edit"&&($a[ta].activeQusEditor=Ba),Ca==="details"&&($a[ta].qusList[$a[ta].activeQusEditor]=Ba),Ca==="addQus"&&($a[ta].qusList=$a[ta].qusList.concat("")),Ca==="deleteQus"&&($a[ta].qusList=$a[ta].qusList.filter((mr,Or)=>Or!==Ba),$a[ta].qusAnswer=(qn=$a[ta].qusAnswer)==null?void 0:qn.filter(mr=>mr!==Ba)),Ca==="analysis"&&($a[ta].analysis=Ba),Ca==="score"&&($a[ta].score=Ba),ja($a)};return Tr.createElement("section",{className:hr.wrap},!Yt&&xr(),Yt&&qa())};var It=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Bt)),Gt=x(11414),Zt={flex_box_center:"flex_box_center___dDNpp",flex_space_between:"flex_space_between___ovpjv",flex_box_vertical_center:"flex_box_vertical_center___oqAEt",flex_box_center_end:"flex_box_center_end___mHCIK",flex_box_column:"flex_box_column___GZMP2",posWarp:"posWarp___ZUxXl",pos:"pos___A7NKx",tips:"tips___ap6NV"},kn=x(86962),Pn=x(24334),Gn=Object.defineProperty,Pa=Object.defineProperties,An=Object.getOwnPropertyDescriptors,ia=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,ur=(me,ve,le)=>ve in me?Gn(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Sr=(me,ve)=>{for(var le in ve||(ve={}))tr.call(ve,le)&&ur(me,le,ve[le]);if(ia)for(var le of ia(ve))Ja.call(ve,le)&&ur(me,le,ve[le]);return me},Lr=(me,ve)=>Pa(me,An(ve)),jr=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const kr=({data:me,exercise:ve,isDragDisabled:le=!1,editorProps:dt={},onDragEnd:Dt=()=>{},dispatch:_e,markBtnVisible:Wt=!1,batchScore:at=[],reload:Oe=()=>{}})=>{const Pe=(0,a.useRef)(),xn=(0,ye.useParams)(),[jn,Vn]=Fe.default.useModal(),an=()=>{var da,oa,Ta,Jt,va,ra,ir,eo,Pr,Dr,Qt,tt,ka,fa,ja,vr;return[{name:"\u5355\u9009\u9898",type:0,count:(da=me==null?void 0:me.exercise_types)==null?void 0:da.q_singles,score:(oa=me==null?void 0:me.exercise_types)==null?void 0:oa.q_singles_scores,items:[]},{name:"\u591A\u9009\u9898",type:1,count:(Ta=me==null?void 0:me.exercise_types)==null?void 0:Ta.q_doubles,score:(Jt=me==null?void 0:me.exercise_types)==null?void 0:Jt.q_doubles_scores,items:[]},{name:"\u5224\u65AD\u9898",type:2,count:(va=me==null?void 0:me.exercise_types)==null?void 0:va.q_judges,score:(ra=me==null?void 0:me.exercise_types)==null?void 0:ra.q_judges_scores,items:[]},{name:"\u586B\u7A7A\u9898",type:3,count:(ir=me==null?void 0:me.exercise_types)==null?void 0:ir.q_nulls,score:(eo=me==null?void 0:me.exercise_types)==null?void 0:eo.q_nulls_scores,items:[]},{name:"\u7B80\u7B54\u9898",type:4,count:(Pr=me==null?void 0:me.exercise_types)==null?void 0:Pr.q_mains,score:(Dr=me==null?void 0:me.exercise_types)==null?void 0:Dr.q_mains_scores,items:[]},{name:"\u5B9E\u8BAD\u9898",type:5,count:(Qt=me==null?void 0:me.exercise_types)==null?void 0:Qt.q_shixuns,score:(tt=me==null?void 0:me.exercise_types)==null?void 0:tt.q_shixuns_scores,items:[]},{name:"\u7F16\u7A0B\u9898",type:6,count:(ka=me==null?void 0:me.exercise_types)==null?void 0:ka.q_pros,score:(fa=me==null?void 0:me.exercise_types)==null?void 0:fa.q_pros_scores,items:[]},{name:"\u7EC4\u5408\u9898",type:7,count:(ja=me==null?void 0:me.exercise_types)==null?void 0:ja.q_combinations,score:(vr=me==null?void 0:me.exercise_types)==null?void 0:vr.q_combination_scores,items:[]}]},wn=(da,oa,Ta)=>{const Jt=Array.from(da),[va]=Jt.splice(oa,1);return Jt.splice(Ta,0,va),Jt},aa=(da,oa,Ta)=>{if(!da.destination)return;const Jt=wn(oa,da.source.index,da.destination.index);Dt(Jt,Ta)},pa=da=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6807\u8BB0\u9519\u9898",params:da}})},$n=(da,oa)=>{var Ta,Jt,va;if(oa===0)return a.createElement(Wo,Sr({reload:Oe,editData:da},da));if(oa===1)return a.createElement(Fc,Sr({reload:Oe,editData:da},da));if(oa===2)return a.createElement(ku,Sr({reload:Oe,editData:da},da));if(oa===3)return a.createElement(Es,Sr({reload:Oe,editData:da},da));if(oa===4)return a.createElement(Ya,Sr({reload:Oe,editData:da},da));if(oa===5)return a.createElement(di,Sr({reload:Oe,editData:da},da));if(oa===6)return a.createElement(No,Sr({editData:da},da));if(oa===7)return a.createElement(It,Sr({handleAddCorrectAnswers:ga,handleMarkWrongQuestion:pa,markBtnVisible:Wt,reload:Oe,editData:da},da));if(oa===8)return a.createElement("div",{style:{padding:"20px 30px"}},a.createElement(rl.Z,{value:da.key+"."+((Ta=da==null?void 0:da.program_attr)==null?void 0:Ta.description)}),a.createElement(rl.Z,{style:{paddingLeft:10},showProgramFill:!0,disabledFill:!0,value:Pn.Base64.decode(((Jt=da==null?void 0:da.program_attr)==null?void 0:Jt.code)||"")}),(va=da==null?void 0:da.standard_answer)==null?void 0:va.map(function(ra,ir){return a.createElement(re.Z,{key:ir,align:"middle",style:{marginTop:20}},a.createElement(pe.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",ra.choice_id,"\uFF09\uFF1A"),a.createElement(pe.Z,{flex:"1"},a.createElement(re.Z,{align:"middle",gutter:[1,1]},a.createElement(Se.default,{key:ir,disabled:!0,value:ra.answer_text||"- -"}))))}))},Wn=(da,oa,Ta)=>a.createElement(Gt.Z5,{onDragEnd:Jt=>aa(Jt,da,oa)},a.createElement(Gt.bK,{droppableId:"droppable"},(Jt,va)=>a.createElement("div",Lr(Sr({ref:Jt.innerRef},Jt.droppableProps),{style:{width:"100%"}}),da==null?void 0:da.map((ra,ir)=>{var eo;const Pr=Sr(Lr(Sr({},ra),{key:ir+1,hideAction:!0,isPreview:!0,dragKey:oa+"-"+ir}),dt);return a.createElement(Gt._l,{key:Pr==null?void 0:Pr.question_id,draggableId:(eo=Pr==null?void 0:Pr.question_id)==null?void 0:eo.toString(),index:ir,isDragDisabled:le},(Dr,Qt)=>{var tt;return a.createElement("aside",Sr(Sr({ref:Dr.innerRef},Dr.draggableProps),Dr.dragHandleProps),a.createElement("div",{className:Zt.posWarp,id:Pr.dragKey},$n(Pr,oa),a.createElement(re.Z,{className:"pl30",align:"middle",gutter:20},Wt&&![5,6,7,8].includes(oa)&&a.createElement(pe.Z,null,a.createElement(vo.Z,{state:Pr==null?void 0:Pr.is_wrong,onClick:()=>pa({value:Pr,type:oa})})),[5,6,8].includes(oa)&&(Pr==null?void 0:Pr.show_resubmit)&&a.createElement(pe.Z,null,a.createElement(kn.C,{dataSource:Pr})),Wt&&[0].includes(oa)&&a.createElement(pe.Z,null,a.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{ga({value:Pr})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),oa===4&&((tt=ve==null?void 0:ve.commonHeader)==null?void 0:tt.teacher_permission)&&a.createElement(jl,{questionInfo:Pr}),a.createElement(ul.Z,null),!le&&a.createElement("div",{className:Zt.pos},a.createElement("div",{className:Zt.tips},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u8BD5\u9898\u663E\u793A\u987A\u5E8F"))))})}),Jt.placeholder))),Qa=da=>({\u5355\u9009\u9898:2,\u591A\u9009\u9898:5,\u586B\u7A7A\u9898:2,\u5224\u65AD\u9898:2,\u7B80\u7B54\u9898:10,\u7F16\u7A0B\u9898:10,\u5B9E\u8BAD\u9898:5,\u7EC4\u5408\u9898:10})[da]||0,On=(da,oa)=>{Pe.current=Qa(oa),Fe.default.confirm({centered:!0,title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u6570",content:a.createElement("div",{className:""},a.createElement("span",null,oa==="\u7EC4\u5408\u9898"?"\u7EC4\u5408\u9898\u4E2D\u7684\u6BCF\u5C0F\u9898":oa,"\uFF1A"),a.createElement(Te.Z,{min:1,defaultValue:Pe.current,onChange:Ta=>{Pe.current=Ta}}),a.createElement("span",{className:"ml5"},"\u5206/\u9898"),a.createElement("br",null),oa==="\u586B\u7A7A\u9898"&&a.createElement("div",{style:{color:"rgb(255, 0, 0)"}},"\u6BCF\u7A7A\u5206\u503C\u6309\u6BCF\u9898\u5206\u503C\u53D6\u5E73\u5747\u5206\u8BA1\u7B97")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>jr(void 0,null,function*(){(yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/batch_set_score.json`,{method:"post",body:{question_type:da,score:Pe.current}})).status!==-1&&Oe()})})},ga=({value:da}={})=>{var oa,Ta;let Jt=(da==null?void 0:da.standard_answer)||[];const va=jn.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:a.createElement(a.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",(oa=da==null?void 0:da.standard_answer)==null?void 0:oa.map(ra=>{var ir;return(ir=Er.k4)==null?void 0:ir[ra-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",a.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",a.createElement("br",null),a.createElement(Re.default.Group,{className:"flex-col mt20",options:(Ta=da==null?void 0:da.question_choices)==null?void 0:Ta.map((ra,ir)=>{var eo;return{value:ra==null?void 0:ra.choice_position,label:a.createElement(rl.Z,{className:"c-black font14",value:`${(eo=Er.k4)==null?void 0:eo[ir]}. ${ra==null?void 0:ra.choice_text}`}),disabled:ra==null?void 0:ra.origin_standard_answer}}),defaultValue:Jt,onChange:ra=>{Jt=ra}})),onOk:()=>jr(void 0,null,function*(){const ra=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/questions/${da==null?void 0:da.question_id}/add_standard_answers.json`,{method:"put",body:{standard_answer:Jt}});(ra==null?void 0:ra.status)===0&&(oe.ZP.success("\u4FEE\u6539\u6210\u529F"),_e({type:"exercise/editExercise",payload:{categoryId:xn.categoryId,coursesId:xn.coursesId}}))})})},Yt=function(){var da;const oa=an();return(da=me==null?void 0:me.exercise_questions)==null||da.forEach(function(Jt,va){var ra,ir,eo,Pr,Dr,Qt,tt,ka,fa,ja,vr,Sa,Xr,za,Oa,Fr;Jt.question_type===0&&((ir=(ra=oa[Jt.question_type])==null?void 0:ra.items)==null||ir.push(Jt)),Jt.question_type===1&&((Pr=(eo=oa[Jt.question_type])==null?void 0:eo.items)==null||Pr.push(Jt)),Jt.question_type===2&&((Qt=(Dr=oa[Jt.question_type])==null?void 0:Dr.items)==null||Qt.push(Jt)),Jt.question_type===3&&((ka=(tt=oa[Jt.question_type])==null?void 0:tt.items)==null||ka.push(Jt)),Jt.question_type===4&&((ja=(fa=oa[Jt.question_type])==null?void 0:fa.items)==null||ja.push(Jt)),Jt.question_type===5&&((Sa=(vr=oa[Jt.question_type])==null?void 0:vr.items)==null||Sa.push(Jt)),Jt.question_type===6&&((za=(Xr=oa[Jt.question_type])==null?void 0:Xr.items)==null||za.push(Jt)),Jt.question_type===7&&((Fr=(Oa=oa[Jt.question_type])==null?void 0:Oa.items)==null||Fr.push(Jt))}),me==null?void 0:me.map((Jt,va)=>{var ra,ir;return a.createElement(a.Fragment,{key:va},a.createElement("div",{className:"pl20",style:{display:"flex",alignItems:"center"}},a.createElement("span",{className:"font16 c-light-primary"},(0,ue.EM)(va+1),"\u3001",Jt.name),a.createElement("span",{className:"c-grey-999"},"\uFF08\u5171",Jt.count,"\u9898",(Jt==null?void 0:Jt.question_type)===7?`\uFF0C\u5305\u542B${Jt.sub_count}\u5C0F\u9898`:"","\uFF1B\u5171",Jt.score,"\u5206\uFF09"),(Jt.question_type==5||Jt.question_type==6)&&a.createElement("div",{style:{flex:1,textAlign:"end",paddingRight:20}},Jt.question_type==5&&a.createElement(Re.default,{defaultChecked:(ir=(ra=ve==null?void 0:ve.editData)==null?void 0:ra.exercise)==null?void 0:ir.show_challenge_task_pass,onChange:eo=>jr(this,null,function*(){let Pr=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:eo.target.checked}});(Pr==null?void 0:Pr.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),_e({type:"exercise/editExercise",payload:Sr({},xn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Jt==null?void 0:Jt.question_type)===6&&a.createElement("span",{style:{marginLeft:20},onClick:()=>{var eo,Pr,Dr,Qt;Fe.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:a.createElement("div",null,a.createElement(Re.default,{defaultChecked:(Pr=(eo=ve==null?void 0:ve.editData)==null?void 0:eo.exercise)==null?void 0:Pr.show_hack_sets,onChange:tt=>jr(this,null,function*(){let ka=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_sets:tt.target.checked}});(ka==null?void 0:ka.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Sr({},xn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),a.createElement("br",null),a.createElement(Re.default,{defaultChecked:(Qt=(Dr=ve==null?void 0:ve.editData)==null?void 0:Dr.exercise)==null?void 0:Qt.show_hack_description,onChange:tt=>jr(this,null,function*(){let ka=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_description:tt.target.checked}});(ka==null?void 0:ka.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Sr({},xn)}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),(at==null?void 0:at.includes(Jt==null?void 0:Jt.name))&&a.createElement(Ce.ZP,{onClick:()=>On(Jt==null?void 0:Jt.question_type,Jt==null?void 0:Jt.name),style:{float:"right"},type:"primary",ghost:!0},"\u6279\u91CF\u8BBE\u7F6E\u5F97\u5206")),Wn(Jt.items,Jt==null?void 0:Jt.question_type,Jt==null?void 0:Jt.name))})};return a.createElement("div",null," ",Yt(),Vn," ")};var ao=(0,ye.connect)()(kr),Vo=x(5101),ei=x(99872),Fo=x(59301),qo=Object.defineProperty,Fi=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Bo=(me,ve,le)=>ve in me?qo(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Yr=(me,ve)=>{for(var le in ve||(ve={}))fo.call(ve,le)&&Bo(me,le,ve[le]);if(Fi)for(var le of Fi(ve))To.call(ve,le)&&Bo(me,le,ve[le]);return me},ro=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const _o=({exercise:me,loading:ve,dispatch:le,activeTabs:dt})=>{var Dt;const _e=(0,ye.useParams)(),[Wt]=(0,a.useState)(Yr(Yr({},_e),{page:1,per_page:10})),{editData:at,commonHeader:{exercise_status:Oe}}=me;(0,a.useEffect)(()=>{dt==="2"&&Pe()},[_e.categoryId,dt]);const Pe=()=>ro(void 0,null,function*(){yield(0,wr.w)(_e.coursesId,_e.categoryId,"",2,3),le({type:"exercise/editExercise",payload:Yr({},Wt)})});return(0,a.useEffect)(()=>(le({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),le({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),()=>{le({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),le({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),Fo.createElement("div",null,Fo.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}},Fo.createElement(b.Z,{style:{marginRight:5,color:"#E99237"}}),Fo.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"),Fo.createElement(Ce.ZP,{onClick:()=>{le({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[_e.categoryId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Fo.createElement("section",{className:"minH1050 mb20 pt30 pb30 pl60 bg-white relative"},Fo.createElement(yt.Z,{spinning:ve["exercise/editExercise"]},Fo.createElement(Vo.Z,{sealStyle:{left:-540},isPreview:!0,activeTabs:dt,showExportBtn:!0}),Fo.createElement(ul.Z,null),Fo.createElement(ao,{data:at==null?void 0:at.exercise_question_types,exercise:me,isDragDisabled:!0,markBtnVisible:Oe===3&&(((Dt=at==null?void 0:at.exercise)==null?void 0:Dt.is_creator)||(0,bt.Ny)())}),Fo.createElement(ei.Z,null))))};var Qi=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve.effects}))(_o),li={flex_box_center:"flex_box_center___VaA8k",flex_space_between:"flex_space_between___TqHqG",flex_box_vertical_center:"flex_box_vertical_center___lRanp",flex_box_center_end:"flex_box_center_end___BPjtN",flex_box_column:"flex_box_column___jWLBM",title:"title___L0cG8",search:"search____WeIQ",head:"head___xmSl4",row:"row___HJKId",btns:"btns___m0Vc7",sort:"sort___qMLQP"},Ho=x(26724),Di=x.n(Ho),Ki=x(34333),_i=x(59477),Rr=x(59301),Yl=Object.defineProperty,Vi=Object.defineProperties,hi=Object.getOwnPropertyDescriptors,Xl=Object.getOwnPropertySymbols,ai=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,Fl=(me,ve,le)=>ve in me?Yl(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,fl=(me,ve)=>{for(var le in ve||(ve={}))ai.call(ve,le)&&Fl(me,le,ve[le]);if(Xl)for(var le of Xl(ve))Hl.call(ve,le)&&Fl(me,le,ve[le]);return me},Yo=(me,ve)=>Vi(me,hi(ve)),Xo=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const ti=({exercise:me,loading:ve,dispatch:le,cb:dt})=>{const Dt=Yo(fl({},(0,ye.useParams)()),{page:0,limit:50,one:null,two:null,save_one:null,save_two:null,sort:null,course_group:"",student_id:"",realname:"",save_course_group:"",save_student_id:"",save_realname:"",commit_types:[0],course_group_ids:[]});let[_e,Wt]=(0,a.useState)(fl({},Dt)),[at,Oe]=(0,a.useState)([]);const[Pe,xn]=(0,a.useState)(!0),[jn,Vn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(0),[aa,pa]=(0,a.useState)(!1),[$n,Wn]=(0,a.useState)([]),[Qa,On]=(0,a.useState)([]),[ga,Yt]=(0,a.useState)([]),[da]=de.default.useForm(),[oa,Ta]=(0,a.useState)("");(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u91CD\u505A"&&(at=[],Jt(),va(1))},[me.actionTabs.key,_e.commit_types]);const Jt=()=>Xo(void 0,null,function*(){var ka,fa;const ja=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/header_info.json`,{method:"get"});(ja==null?void 0:ja.status)===0&&(Yt([...(ka=ja==null?void 0:ja.data)==null?void 0:ka.course_groups]),On([...(fa=ja==null?void 0:ja.data)==null?void 0:fa.course_groups]))}),va=ka=>Xo(void 0,null,function*(){var fa;ka==1&&(at=[]),xn(!0),_e.page=ka,Vn(!0);const ja=yield le({type:"exercise/getRedoModal",payload:Yo(fl({},_e),{commit_types:_e.commit_types.includes(0)?[]:_e.commit_types,score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});((fa=ja==null?void 0:ja.exercise_users)==null?void 0:fa.length)<_e.limit&&xn(!1),ja!=null&&ja.exercise_users&&(Wt(fl({},_e)),Oe([...at,...ja==null?void 0:ja.exercise_users]),Vn(!1))}),ra=ka=>{if(ka.target.checked){const fa=at==null?void 0:at.map(ja=>ja.user_id);Wn(fa)}else Wn([])},ir=ka=>{_e.course_group=_e.save_course_group,_e.student_id=_e.save_student_id,_e.realname=_e.save_realname,Wt(fl({},_e)),Oe([]),va(1)},eo=()=>{_e.one=_e.save_one,_e.two=_e.save_two,wn(an+1),Wt(fl({},_e)),Oe([]),va(1)},Pr=()=>{(_e==null?void 0:_e.sort)===null?_e.sort="asc":(_e==null?void 0:_e.sort)==="asc"?_e.sort="desc":(_e==null?void 0:_e.sort)==="desc"&&(_e.sort=null),Wt(fl({},_e)),Oe([]),va(1)},Dr=()=>{let ka=!1;const fa=()=>Xo(void 0,null,function*(){(yield(0,ne.q6)(Yo(fl({},_e),{is_reset:ka,user_ids:$n}))).status===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),dt&&dt(),le({type:"exercise/setActionTabs",payload:{}})),le({type:"exercise/getCommonHeader",payload:fl({},_e)})});Fe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Rr.createElement("div",{style:{margin:"13px 0 0px 0"}},Rr.createElement("p",null,"\u786E\u5B9A\u5C06\u9009\u4E2D\u7684\u5B66\u751F\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Rr.createElement(Re.default,{onChange:ja=>{ka=ja.target.checked}},"\u6E05\u7A7A\u5B66\u751F\u7684\u7B54\u9898\u8BB0\u5F55")),onOk:fa})},Qt=ka=>{const fa=parseInt(ka);return isNaN(fa)?"":fa},tt=(ka,fa)=>ka===0?Rr.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):ka===1?Rr.createElement("span",{style:{color:"#DF3042"}},!fa.is_make_up&&"\u8003\u8BD5\u4E2D",fa.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):ka===2?Rr.createElement("span",{style:{color:"#5AB891"}},!fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377",fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):Rr.createElement("span",{style:{color:"#5AB891"}},!fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)");return Rr.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u91CD\u505A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",width:1e3,bodyStyle:{minHeight:200},confirmLoading:aa,afterClose:()=>{Wt(fl({},Dt)),Wn([]),Oe([]),Ta(""),On([]),Yt([]),da.resetFields()},onOk:Dr,onCancel:()=>{le({type:"exercise/setActionTabs",payload:{}})}},Rr.createElement(re.Z,{align:"middle",gutter:20},Rr.createElement(pe.Z,null,Rr.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Rr.createElement(pe.Z,null,Rr.createElement(Re.default,{className:"mr10",onChange:ka=>{Wt(Yo(fl({},_e),{commit_types:[0]}))},checked:_e==null?void 0:_e.commit_types.includes(0)},"\u5168\u90E8"),Rr.createElement(Re.default.Group,{options:[{label:"\u5DF2\u4EA4\u5377",value:1},{label:"\u5DF2\u4EA4\u5377\uFF08\u5F3A\u5236\uFF09",value:2},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54",value:3},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54\uFF08\u5F3A\u5236\uFF09",value:4}],value:_e.commit_types,onChange:ka=>{Wt(Yo(fl({},_e),{commit_types:ka}))}}))),Rr.createElement(re.Z,{className:"mt20 mb20",align:"middle",justify:"space-between"},Rr.createElement(pe.Z,null,Rr.createElement(re.Z,{align:"middle",gutter:20},Rr.createElement(pe.Z,null,Rr.createElement("span",null,"\u5206\u6570\u533A\u95F4")),Rr.createElement(pe.Z,null,Rr.createElement(Te.Z,{parser:Qt,onChange:ka=>{Wt(Yo(fl({},_e),{save_one:ka}))},value:_e.save_one,min:0}),Rr.createElement("span",{className:"mr10 ml10"},"-"),Rr.createElement(Te.Z,{parser:Qt,onChange:ka=>{Wt(Yo(fl({},_e),{save_two:ka}))},value:_e.save_two,min:0})),Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{onClick:()=>{Wt(Yo(fl({},_e),{one:"",two:"",save_one:"",save_two:""}))}},"\u6E05\u7A7A")),Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{type:"primary",onClick:eo},"\u786E\u8BA4")))),Rr.createElement(pe.Z,null,Rr.createElement(re.Z,{wrap:!1,align:"middle",gutter:20},Rr.createElement(pe.Z,null,Rr.createElement(Se.default.Search,{value:_e.save_realname,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",onChange:ka=>{_e.save_realname=ka.target.value,Wt(fl({},_e))},onSearch:ir})),Rr.createElement(pe.Z,null,Rr.createElement(y.Z,{dropdownRender:ka=>Rr.createElement("div",{className:"bg-white",style:{maxWidth:200,border:"1px solid #f7f7f7"}},Rr.createElement(de.default,{form:da,initialValues:{course_group_ids:[]},onValuesChange:fa=>{Wt(fl(fl({},_e),fa))},onFinish:()=>{va(1)}},Rr.createElement("div",{style:{maxHeight:500,overflow:"auto",padding:"10px"}},Rr.createElement(Se.default,{allowClear:!0,suffix:Rr.createElement("i",{className:`iconfont icon-sousuo9 font14 ${li.searchIcon}`}),className:li.search,placeholder:"\u73ED\u7EA7\u540D\u79F0\u68C0\u7D22",size:"middle",value:oa,onChange:fa=>Xo(void 0,null,function*(){var ja;Ta((ja=fa==null?void 0:fa.target)==null?void 0:ja.value),Yt([...Qa.filter(vr=>{var Sa;return(Sa=vr==null?void 0:vr.exercise_group_name)==null?void 0:Sa.includes(fa.target.value)})])})}),Rr.createElement(de.default.Item,{name:"course_group_ids",valuePropName:"checked"},Rr.createElement(Re.default.Group,null,Rr.createElement(Me.Z,{direction:"vertical",size:10},ga==null?void 0:ga.map((fa,ja)=>Rr.createElement(Re.default,{key:ja,value:fa==null?void 0:fa.exercise_group_id},fa==null?void 0:fa.exercise_group_name)))))),Rr.createElement(re.Z,{wrap:!1,align:"middle"},Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{type:"link",htmlType:"submit"},"\u786E\u8BA4")),Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{type:"link",htmlType:"reset",onClick:()=>{Wt(Yo(fl({},_e),{course_group_ids:[]})),Yt([...Qa]),Ta("")}},"\u91CD\u7F6E")))))},Rr.createElement("a",{onClick:ka=>ka.preventDefault()}," ",Rr.createElement(Me.Z,null," \u5206\u73ED ",Rr.createElement("i",{className:"iconfont icon-a-bianzu11 font12"})," "))))))),Rr.createElement("div",{className:li.head,style:(at==null?void 0:at.length)>5?{paddingRight:15}:{width:944}},Rr.createElement("div",null,Rr.createElement(Re.default,{className:"font14",checked:at!=null&&at.length?($n==null?void 0:$n.length)===(at==null?void 0:at.length):!1,onChange:ra},"\u59D3\u540D")),Rr.createElement("div",null,Rr.createElement("span",null,"\u5B66\u53F7")),Rr.createElement("div",null,Rr.createElement("span",null,"\u5206\u73ED")),Rr.createElement("div",null,Rr.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Rr.createElement("div",{className:li.sort,onClick:Pr},Rr.createElement("span",null,"\u6210\u7EE9\u5206\u6570"),Rr.createElement("aside",null,Rr.createElement(_i.Z,{style:{color:(_e==null?void 0:_e.sort)==="asc"?"#0152d9":"#bfbfbf"}}),Rr.createElement(te.Z,{style:{color:(_e==null?void 0:_e.sort)==="desc"?"#0152d9":"#bfbfbf"}})))),Rr.createElement("div",{style:{height:260,overflow:"auto"}},Rr.createElement(Di(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!jn&&Pe&&va((_e==null?void 0:_e.page)+1)},hasMore:!jn&&Pe,useWindow:!1},Rr.createElement(Re.default.Group,{style:{width:"100%"},value:$n,onChange:ka=>{console.log(ka,444),Wn(ka)}},at==null?void 0:at.map(function(ka,fa){return Rr.createElement("div",{key:ka.user_id,className:li.row},Rr.createElement("div",null,Rr.createElement(Re.default,{className:"font14",value:ka.user_id},ka.user_name)),Rr.createElement("div",null,ka.student_id),Rr.createElement("div",null,ka.course_group_name),Rr.createElement("div",null,tt(ka.commit_status,ka)),Rr.createElement("div",{className:"pl10"},Rr.createElement("span",null,ka.user_score)))})),Rr.createElement(yt.Z,{className:"edu-ant-spin",spinning:jn}))),Rr.createElement("div",{className:li.title},Rr.createElement("img",{style:{objectFit:"contain"},src:Ki.Z}),"\u6253\u56DE\u4E4B\u540E\u5B66\u751F\u5C06\u5F97\u5230\u4E00\u6B21\u91CD\u65B0\u7B54\u9898\u7684\u673A\u4F1A\u3002"))};var Go=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve}))(ti),xo={flex_box_center:"flex_box_center___PohMo",flex_space_between:"flex_space_between___ZyAuO",flex_box_vertical_center:"flex_box_vertical_center___eh0B6",flex_box_center_end:"flex_box_center_end___O1yBK",flex_box_column:"flex_box_column___rCOUW",customModal:"customModal___gYgfZ",checking:"checking___70GE9",content:"content___FtAfN",group:"group___kIfCW",footer:"footer___A6aEg",scoremodal:"scoremodal___FKFBU",selectWrapper:"selectWrapper___J8t1k",allqingchu:"allqingchu___UjfNm",title:"title___tB39D",search:"search___Pnsp3",searchIcon:"searchIcon___mVW2x"},Xa=x(59301),ho=Object.defineProperty,Ei=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,Fu=(me,ve,le)=>ve in me?ho(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Du=(me,ve)=>{for(var le in ve||(ve={}))Yi.call(ve,le)&&Fu(me,le,ve[le]);if(Ei)for(var le of Ei(ve))wu.call(ve,le)&&Fu(me,le,ve[le]);return me},du=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const lu=({exercise:me,dispatch:ve,onOk:le})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Wt,at]=(0,a.useState)(),[Oe,Pe]=(0,a.useState)([]),[xn,jn]=(0,a.useState)(!0),[Vn,an]=(0,a.useState)(!1),[wn]=de.default.useForm(),[aa,pa]=(0,a.useState)({page:1,limit:10,is_random:"",exercise_status:""}),$n=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",render:(Yt,da,oa)=>aa.limit*(aa.page-1)+oa+1},{title:"\u8865\u8003\u8BD5\u5377",dataIndex:"exercise_name",key:"id",width:200,render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u7C7B\u578B",dataIndex:"is_random",key:"is_random",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377")},{title:"\u8BD5\u9898\u6570",dataIndex:"question_count",key:"question_count",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u603B\u5206",dataIndex:"total_score",key:"total_score",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u8865\u8003\u4EBA\u6570",dataIndex:"exercise_user_count",key:"exercise_user_count",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt===1?"\u672A\u5F00\u59CB":Yt===2?"\u8003\u8BD5\u4E2D":"\u5DF2\u622A\u6B62")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",width:80,align:"right",render:(Yt,da,oa)=>Xa.createElement("div",{style:{flex:1,textAlign:"right"}},Xa.createElement("a",{onClick:()=>{(0,ue.xg)(`/classrooms/${dt.coursesId}/exercise/${da.id}/detail?random=${da.is_random}`)}},"\u67E5\u770B"))}].filter(Yt=>!!Yt);(0,a.useEffect)(()=>{me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55"&&Wn(aa)},[me.actionTabs.key]);const Wn=Yt=>du(void 0,null,function*(){var da,oa;jn(!0);const Ta=yield(0,fe.ZP)(`/api/exercises/${dt==null?void 0:dt.categoryId}/make_up_records.json`,{method:"get",params:Du({},Yt)});Ta&&(_e(((da=Ta==null?void 0:Ta.data)==null?void 0:da.make_up_exercises)||[]),at((oa=Ta==null?void 0:Ta.data)==null?void 0:oa.count)),jn(!1)}),Qa=()=>{ve({type:"exercise/setActionTabs",payload:{}})},On=()=>{le(Oe)},ga=Yt=>{Pe(Yt),an(Yt.length===Dt.length)};return Xa.createElement(Fe.default,{centered:!0,afterClose:()=>{Pe([]),an(!1),wn.resetFields(),pa({page:1,limit:10,is_random:"",exercise_status:""})},title:"\u8865\u8003\u8BB0\u5F55",className:xo.scoremodal,open:me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55",width:1e3,onOk:()=>ve({type:"exercise/setActionTabs",payload:{}}),onCancel:Qa},Xa.createElement(de.default,{layout:"inline",form:wn,onValuesChange:(Yt,da)=>{console.log(Yt),!(Yt.keywords||Yt.keywords==="")&&wn.submit()},onFinish:Yt=>{console.log(Yt),pa(Du(Du({},aa),Yt)),Wn(Du(Du({},aa),Yt))},initialValues:{is_random:"",exercise_status:""}},Xa.createElement(de.default.Item,{name:"is_random"},Xa.createElement(dn.default,{className:xo.selectWrapper,placeholder:"\u5168\u90E8\u7C7B\u578B",style:{width:160},size:"middle"},Xa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u7C7B\u578B"),Xa.createElement(dn.default.Option,{value:0},"\u4EBA\u5DE5\u7EC4\u5377"),Xa.createElement(dn.default.Option,{value:1},"\u968F\u673A\u7EC4\u5377"))),Xa.createElement(de.default.Item,{name:"exercise_status"},Xa.createElement(dn.default,{className:xo.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:160},size:"middle"},Xa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u72B6\u6001"),Xa.createElement(dn.default.Option,{value:1},"\u672A\u5F00\u59CB"),Xa.createElement(dn.default.Option,{value:2},"\u8003\u8BD5\u4E2D"),Xa.createElement(dn.default.Option,{value:3},"\u5DF2\u622A\u6B62"))),Xa.createElement(de.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keywords"},Xa.createElement(Se.default.Search,{className:xo.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,suffix:Xa.createElement("i",{className:`iconfont icon-sousuo9 font14 ${xo.searchIcon}`,onClick:()=>wn.submit()}),onSearch:Yt=>{wn.submit()}}))),Xa.createElement(z.default,{style:{marginTop:20,marginBottom:15},scroll:{y:260},dataSource:Dt,pagination:!1,loading:xn,columns:$n}),(Dt==null?void 0:Dt.length)>0&&Xa.createElement(we.Z,{current:aa.page,total:Wt,style:{marginBottom:20},defaultPageSize:aa.limit,showTotal:Yt=>Xa.createElement("span",null,"\u5171\xA0",Xa.createElement("span",{style:{color:"#165DFF"}},Yt),"\xA0\u6761\u6570\u636E"),pageSize:aa.limit,onChange:(Yt,da)=>{aa.page=Yt,aa.limit=da,pa(Du({},aa)),Wn(Du({},aa))}}))};var ri=(0,ye.connect)(({exercise:me})=>({exercise:me}))(lu),Pu={info:"info___FCajO",info_name:"info_name___nVPNy",info_studeng_id:"info_studeng_id___afKvd",info_group:"info_group___xadCu"},Uu="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfQlwW8eZZvcDQIIXeIgnCJ4iRUK8SUmUKFmSZcty4nicTCaZOJ44lgk6s1u73kxqZ7d2Z1Nj18y6tnYmm0ylslOxSMtSZqxax0msXJYlS6Jk8SZAALzFSyRx8BQJgARIAni91TSAgQiAeHh4OEi8rlJREvv4++v+Xh//0RCwiUWARcAjApDFhkWARcAzAixB2NnBIrALAixB2OnBIsAShJ0DLAL0EGBXEHq4saUiBAGWIBEy0Gw36SHAEoQebmypCEGAJUiEDDTbTXoIsAShhxtbKkIQYAkSIQPNdpMeAixB6OHGlooQBFiCRMhAs92khwBLEHq4saUiBAGWIBEy0Gw36SHAEoQeb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IA+RKKxzTohwBKEnQ4sArsgwBKEnR4sAixB2DnAIkAPAXYFoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEARYgkTIQLPdpIcASxB6uLGlIgQBliARMtBsN+khwBKEHm5sqQhBgCVIhAw02016CLAEoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEARYgkTIQLPdpIcASxB6uLGlIgQBliARMtBsN+khwBKEHm5sqQhBgCVIhAw02016CLAEoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEAT+Py6PXhNcWplkAAAAAElFTkSuQmCC",kl=Object.defineProperty,Ql=Object.defineProperties,Jl=Object.getOwnPropertyDescriptors,ru=Object.getOwnPropertySymbols,mu=Object.prototype.hasOwnProperty,sl=Object.prototype.propertyIsEnumerable,ju=(me,ve,le)=>ve in me?kl(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Cu=(me,ve)=>{for(var le in ve||(ve={}))mu.call(ve,le)&&ju(me,le,ve[le]);if(ru)for(var le of ru(ve))sl.call(ve,le)&&ju(me,le,ve[le]);return me},Bl=(me,ve)=>Ql(me,Jl(ve)),mi=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Eu=({exercise:me,loading:ve,dispatch:le,cb:dt})=>{const Dt=Bl(Cu({},(0,ye.useParams)()),{page:0,limit:20});let[_e,Wt]=(0,a.useState)(Cu({},Dt)),[at,Oe]=(0,a.useState)([]),[Pe,xn]=(0,a.useState)({});const[jn,Vn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(!0);(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55"&&(at=[],pa(1))},[me.actionTabs.key]);const aa=[{title:"\u6253\u56DE\u6B21\u6570",ellipsis:!0,dataIndex:"index",align:"center",render:($n,Wn,Qa)=>a.createElement(De.Z,{placement:"bottom",title:Qa+1},a.createElement("span",null,Qa+1))},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"submission_time",ellipsis:!0,align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:Ze()($n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Ze()($n).format("YYYY-MM-DD HH:mm")))},{title:"\u6253\u56DE\u65F6\u95F4",dataIndex:"created_at",align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:Ze()($n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Ze()($n).format("YYYY-MM-DD HH:mm")))},{title:"\u8003\u8BD5\u5F97\u5206",dataIndex:"score",ellipsis:!0,align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:$n},a.createElement("span",null,$n||"--"))},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"option_user_name",ellipsis:!0,align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:$n},a.createElement("span",null,$n||"--"))}],pa=$n=>mi(void 0,null,function*(){var Wn;$n==1&&(at=[]),Vn(!0),_e.page=$n,_e.student_id=me.actionTabs.student_id,wn(!0);const Qa=yield le({type:"exercise/getRedoListModal",payload:Bl(Cu({},_e),{score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});xn(Cu({},Qa)),((Wn=Qa==null?void 0:Qa.student_redo_lists)==null?void 0:Wn.length)<_e.limit&&Vn(!1),Qa!=null&&Qa.student_redo_lists&&(Wt(Cu({},_e)),Oe([...at,...Qa==null?void 0:Qa.student_redo_lists]),wn(!1))});return a.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u8BB0\u5F55",open:me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55",width:1e3,bodyStyle:{minHeight:300},cancelButtonProps:{style:{display:"none"}},okButtonProps:{style:{display:"none"}},afterClose:()=>{Wt(Cu({},Dt)),Oe([])},onCancel:()=>{le({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:Pu.info},a.createElement("div",{className:Pu.info_name},"\u59D3\u540D\uFF1A",(Pe==null?void 0:Pe.name)||"--"),a.createElement("div",{className:Pu.info_studeng_id},"\u5B66\u53F7\uFF1A",(Pe==null?void 0:Pe.student_id)||"--"),a.createElement("div",{className:Pu.info_group},"\u5206\u73ED\uFF1A",(Pe==null?void 0:Pe.course_group_name)||"--")),(at==null?void 0:at.length)===0&&!an&&a.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},a.createElement("img",{src:Uu,width:"100",alt:""}),a.createElement("br",null),a.createElement("p",{className:"mt20"},"\u8BE5\u5B66\u751F\u65E0\u6253\u56DE\u8BB0\u5F55!")),((at==null?void 0:at.length)>0||an)&&a.createElement("section",null,a.createElement("div",{className:"flexd-table-header mt20"},a.createElement(z.default,{pagination:!1,dataSource:[],columns:aa})),a.createElement("div",{style:{maxHeight:170,overflow:"auto"}},a.createElement(Di(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!an&&jn&&pa((_e==null?void 0:_e.page)+1)},hasMore:jn,useWindow:!1},a.createElement(z.default,{loading:an,showHeader:!1,pagination:!1,rowKey:"submission_time",dataSource:at,columns:aa})))))};var ou=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve}))(Eu),As=x(83368),ts=x(85150),Qu={flex_box_center:"flex_box_center___WY2F6",flex_space_between:"flex_space_between___iUTlt",flex_box_vertical_center:"flex_box_vertical_center___mDkSS",flex_box_center_end:"flex_box_center_end___Wn6Ih",flex_box_column:"flex_box_column___fErgP",customModal:"customModal___WBifT",checking:"checking___THUYH",content:"content___OYuOv",group:"group___mn5IG",footer:"footer___yBjyD"},Ku=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const su=({exercise:me,dispatch:ve,onOk:le})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Wt,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)(!0),[xn,jn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"&&Vn()},[me.actionTabs.key]);const Vn=()=>Ku(void 0,null,function*(){Pe(!0);const pa=yield(0,fe.ZP)(`/api/courses/${dt==null?void 0:dt.coursesId}/exercises/exercise_course_groups.json`,{method:"get",params:{id:dt==null?void 0:dt.categoryId}});pa&&_e((pa==null?void 0:pa.course_groups)||[]),Pe(!1)}),an=()=>{ve({type:"exercise/setActionTabs",payload:{}})},wn=()=>{le(Wt)},aa=pa=>{at(pa),jn(pa.length===Dt.length)};return a.createElement(Fe.default,{centered:!0,afterClose:()=>{at([]),jn(!1)},title:"\u4EE3\u7801\u67E5\u91CD",open:me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD",footer:null,width:718,wrapClassName:Qu.customModal,onCancel:an},a.createElement("aside",{className:Qu.checking},a.createElement("div",{className:Qu.content},a.createElement("div",{className:Qu.group},Dt.length>0?a.createElement("p",null,"\u9009\u62E9\u73ED\u7EA7\uFF1A"):a.createElement("p",null,"\u6682\u65E0\u5206\u73ED"),a.createElement(Re.default.Group,{value:Wt,onChange:aa},Dt.map(pa=>a.createElement(Re.default,{key:pa.id,value:pa.id},pa.name))))),a.createElement("div",{className:Qu.footer},a.createElement(Re.default,{checked:xn,onChange:pa=>{const $n=pa.target.checked?Dt.map(Wn=>Wn.id):[];at($n),jn(pa.target.checked)}},"\u5168\u9009"),a.createElement(Ce.ZP,{onClick:an},"\u53D6\u6D88"),a.createElement(Ce.ZP,{onClick:wn,type:"primary"},"\u786E\u8BA4"))))};var gu=(0,ye.connect)(({exercise:me})=>({exercise:me}))(su),Ps=x(24144),Ii={flex_box_center:"flex_box_center___Onpg9",flex_space_between:"flex_space_between___nYRpC",flex_box_vertical_center:"flex_box_vertical_center___NGA7H",flex_box_center_end:"flex_box_center_end___a2dUm",flex_box_column:"flex_box_column___c5CN2",formDom:"formDom___ahHwX",form:"form___TDc55",fjpy:"fjpy___dshUa",tips:"tips___sHetw",buttonFixed:"buttonFixed___oKPiL",buttonWrap:"buttonWrap___LDtpG",button:"button___ydPRd",scoreSettingWrapper:"scoreSettingWrapper___L7weV",ipItem:"ipItem___nAf_u",ipWrp:"ipWrp___x3LTQ",tagWrap:"tagWrap___PMN4b",tag:"tag___Auf1J",padding:"padding___veqnd",unlockKeyWrapper:"unlockKeyWrapper___UOERJ",unlockKeyInput:"unlockKeyInput___ItI9I",mb40:"mb40___eMjps",mb28:"mb28___ZxJPY",mainRuleText:"mainRuleText___U5cJS",minorRuleText:"minorRuleText___aZezx",contentInterval:"contentInterval___slPV9",CompetitionsListzhezhao:"CompetitionsListzhezhao___bTlUp",numberInput:"numberInput____ONIt",publishRuleIndex:"publishRuleIndex___s2cVA",publishRuleContent:"publishRuleContent___HohmS",groupSelector:"groupSelector___Zxqsw",addAndDelete:"addAndDelete___saTVM",deleteIcon:"deleteIcon___vnkck",addIcon:"addIcon___Yz7Ef",cancelBtn:"cancelBtn___p8Klw",submitBtn:"submitBtn___pmm2G",remindForm:"remindForm___K6X21",remindItem:"remindItem___Z7rRb",remindInput:"remindInput___r_wq3",addRemind:"addRemind___jbnIp",disabled:"disabled___ebijK",removeStyle:"removeStyle___ObL0w",new_title:"new_title___Te4vd",multiple_select:"multiple_select___K8cHJ",title_icon:"title_icon___s6qSK",title:"title___N_aja",btns:"btns___ShvUj",edit:"edit___fPAy2",know:"know___hZcax"},vu=x(59301),vs=Object.defineProperty,Ns=Object.defineProperties,_c=Object.getOwnPropertyDescriptors,Al=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable,cu=(me,ve,le)=>ve in me?vs(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Vu=(me,ve)=>{for(var le in ve||(ve={}))_l.call(ve,le)&&cu(me,le,ve[le]);if(Al)for(var le of Al(ve))Zu.call(ve,le)&&cu(me,le,ve[le]);return me},zu=(me,ve)=>Ns(me,_c(ve)),bs=({disabled:me,time:ve})=>vu.createElement(de.default.List,{name:"exercise_events",rules:[{validator(le,dt){var Dt,_e;const Wt=new Set;for(const at of dt){if(Wt.has(at.reminder_time))return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u5141\u8BB8\u91CD\u590D\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E"));if(at.reminder_time>ve)return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u7B54\u9898\u65F6\u957F"));if(Wt.add(at.reminder_time),!((_e=(Dt=at.reminder_content)==null?void 0:Dt.trim())!=null&&_e.length))return Promise.reject(new Error("\u63D0\u9192\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(le,{add:dt,remove:Dt})=>vu.createElement("div",{className:Ii.remindForm},le.length>0&&vu.createElement("div",null,le.map((_e,Wt)=>vu.createElement(re.Z,{key:_e.key,align:"middle",wrap:!1,className:Ii.remindItem},vu.createElement("span",{className:"mr10",style:{marginLeft:"32px"}},Wt+1,".\u7B54\u9898\u7ED3\u675F\u524D"),vu.createElement(pe.Z,null,vu.createElement(de.default.Item,zu(Vu({},_e),{name:[_e.name,"reminder_time"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u65F6\u95F4"}],noStyle:!0}),vu.createElement(Te.Z,{precision:0,min:1,disabled:me,addonAfter:"\u5206\u949F",className:Ii.remindInput}))),vu.createElement("span",{className:"mr10 ml10"},"\u8FDB\u884C\u63D0\u9192\uFF0C\u63D0\u9192\u5185\u5BB9\u4E3A"),vu.createElement(pe.Z,{flex:1},vu.createElement(de.default.Item,zu(Vu({},_e),{name:[_e.name,"reminder_content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u5185\u5BB9"}],noStyle:!0}),vu.createElement(Se.default,{className:Ii.remindInput,disabled:me,showCount:!0,maxLength:100}))),vu.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187",opacity:me?.5:1},onClick:()=>{me||dt({reminder_time:""})}}),vu.createElement("i",{className:"iconfont icon-shanjian1",style:{color:"#E30000",cursor:"pointer",fontSize:16,visibility:me?"hidden":"visible"},onClick:()=>Dt(_e.name)})))),le.length<5&&vu.createElement(re.Z,{style:{marginLeft:"30px"}},vu.createElement(pe.Z,{className:`${Ii.addRemind} ${me?Ii.disabled:""}`,onClick:()=>{me||dt({reminder_time:""})}},vu.createElement("i",{className:"iconfont icon-tianjiashitixiaojiahao mr5 font14"}),"\u6DFB\u52A0\u7B54\u9898\u63D0\u9192")))),ec=x(16106),Mc=x(33299),$c=x(64925),Tc=x(16140),yo=x(59301),kc=Object.defineProperty,tc=Object.defineProperties,Qs=Object.getOwnPropertyDescriptors,vd=Object.getOwnPropertySymbols,nc=Object.prototype.hasOwnProperty,ed=Object.prototype.propertyIsEnumerable,ac=(me,ve,le)=>ve in me?kc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,ns=(me,ve)=>{for(var le in ve||(ve={}))nc.call(ve,le)&&ac(me,le,ve[le]);if(vd)for(var le of vd(ve))ed.call(ve,le)&&ac(me,le,ve[le]);return me},rc=(me,ve)=>tc(me,Qs(ve)),Gs=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const{RangePicker:oc}=Fn.default,{Option:jc}=dn.default,Sd=({user:me,classroomList:ve,exercise:le,globalSetting:dt,loading:Dt,dispatch:_e,changeActive:Wt})=>{var at,Oe,Pe,xn,jn,Vn,an,wn,aa,pa,$n,Wn,Qa;const{workSetting:On,commonHeader:ga}=le,Yt=(0,ye.useParams)();Yt.category=Yt.categoryId;const[da,oa]=(0,a.useState)(!1),[Ta,Jt]=(0,a.useState)(!1),[va,ra]=(0,a.useState)(),[ir,eo]=(0,a.useState)({});let[Pr,Dr]=(0,a.useState)([]),[Qt,tt]=(0,a.useState)({unified_setting:!1,publish_time:"",end_time:"",group_settings:[],time:-1,enable_last_times:!1,last_times:1,open_make_up:!1,unified_make_up:!1,make_up_score:0,group_make_ups:[],miss_exam_count:0,no_passing_count:0,is_make_up_exercise:!1,exercise_status:1,is_appoint_user:!1,is_no_passing_user:!1,is_miss_exam_user:!1,enable_answer_time:!1,answer_time:"",exercise_type:1,simulate_exercise_num:3,show_acm:!1});const[ka,fa]=(0,a.useState)(1),[ja,vr]=(0,a.useState)(!1),[Sa,Xr]=(0,a.useState)(!1),[za,Oa]=(0,a.useState)(!1),[Fr,xr]=(0,a.useState)(!1),[qa,ea]=(0,a.useState)([]),[Ua,Ca]=(0,a.useState)([]),[ta,Ba]=(0,a.useState)(!1),[qn,$a]=(0,a.useState)(null),[mr,Or]=(0,a.useState)({});(0,a.useEffect)(()=>{((ga==null?void 0:ga.exercise_status)==="5"||ga!=null&&ga.appraise_label||(0,bt.aQ)())&&oa(!0)},[ga]),(0,a.useEffect)(()=>{Gr()},[On]),(0,a.useEffect)(()=>{(0,bt.dE)()||Co()},[]),(0,a.useEffect)(()=>{le.actionTabs.key=="\u8C03\u6574tabs\u9009\u4E2D"&&Wt("2")},[le.actionTabs.key]);function Co(){return Gs(this,null,function*(){const to=yield(0,fe.ZP)(`/api/courses/${Yt==null?void 0:Yt.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:Yt==null?void 0:Yt.coursesId}});ra(to==null?void 0:to.alert)})}const po=to=>{var Li;const Wl=Qt.publish_time;if(!Wl||(Li=On==null?void 0:On.exercise)!=null&&Li.publish_time)return;let tu;to===1?tu=Ze()(Wl).add(120,"minutes"):tu=Ze()(Wl).add(7,"days"),Qt.end_time=tu,tt(Object.assign({},Qt))},Gr=()=>{var to,Li,Wl,tu,Iu;console.log("\u53D6\u6D88");const nu=JSON.parse(JSON.stringify(On));if(Object.keys(Qt).forEach(Zi=>{var Ru;Qt[Zi]=(Ru=nu==null?void 0:nu.exercise)==null?void 0:Ru[Zi]}),Pr=((to=nu==null?void 0:nu.published_course_groups)==null?void 0:to.map(Zi=>({course_group_id:Zi.course_group_id,end_time:Zi.course_end_time,publish_time:Zi.course_publish_time})))||[{}],(Li=On==null?void 0:On.course_groups)==null||Li.map(Zi=>{var Ru;(Ru=On==null?void 0:On.published_course_groups)==null||Ru.map((is,Ou)=>{var Nr;(Nr=is==null?void 0:is.course_group_id)!=null&&Nr.includes(Zi==null?void 0:Zi.course_group_id)&&(Zi.cilckkey=Ou,Zi.isselect=!0)})}),le.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"&&ji(""),vr(Qt.time!==-1),tt(Qt),Qt!=null&&Qt.is_appoint_user){const Zi=((tu=(Wl=nu==null?void 0:nu.exercise)==null?void 0:Wl.all_exercise_users)==null?void 0:tu.map(Ru=>Ru.user_id))||[];ea([...Zi])}Xr(Qt.is_appoint_user),Oa(Qt.is_miss_exam_user),xr(Qt.is_no_passing_user),Dr(Pr.length>0?Pr:[{}]),eu.setFieldsValue({exercise_events:(Iu=nu==null?void 0:nu.exercise)==null?void 0:Iu.exercise_events})},ar=()=>Gs(void 0,null,function*(){var to,Li,Wl,tu,Iu,nu;if(((to=me==null?void 0:me.userInfo)==null?void 0:to.user_status)===2){(0,Mc.Rd)();return}if((ga==null?void 0:ga.exercise_question_count)===0){oe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}const Zi=JSON.parse(JSON.stringify(Qt));console.log("\u63D0\u4EA4");try{yield eu.validateFields();const Ou=eu.getFieldsValue();Zi.exercise_events=Ou.exercise_events}catch(Ou){Ou!=null&&Ou.errorFields&&(eu.scrollToField((Wl=(Li=Ou==null?void 0:Ou.errorFields)==null?void 0:Li[0])==null?void 0:Wl.name,{behavior:"smooth",block:"center"}),oe.ZP.error((nu=(Iu=(tu=Ou==null?void 0:Ou.errorFields)==null?void 0:tu[0])==null?void 0:Iu.errors)==null?void 0:nu[0]));return}if(Zi.categoryId=Yt.categoryId,Zi.publish_time_groups=Pr,Qt!=null&&Qt.is_make_up_exercise){if(Sa&&qa.length<=0||!Sa&&!(za||Fr)){oe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Zi.is_appoint_user=Sa,Zi.is_miss_exam_user=za,Zi.is_no_passing_user=Fr,Sa?Zi.make_up_exercise_users=qa==null?void 0:qa.map(Ou=>({user_id:Ou})):Zi.make_up_exercise_users=[]}if(!Qt.unified_setting&&!(Qt!=null&&Qt.is_make_up_exercise)){if(!Pr.length){oe.ZP.warning("\u63D0\u4EA4\u5931\u8D25\uFF1A\u5206\u73ED\u53D1\u5E03\u8BBE\u7F6E\u4E0D\u80FD\u4E3A\u7A7A");return}delete Zi.publish_time,delete Zi.end_time,Pr.map(Ou=>{var Nr;if(!Ou.course_group_id||!((Nr=Ou.course_group_id)!=null&&Nr.length))throw oe.ZP.error("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A");if(!Ou.publish_time||!Ou.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")})}else if(!Qt.publish_time||!Qt.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");let{exercise:Ru}=On;const is=()=>Gs(void 0,null,function*(){if(Qt.exercise_type==2&&(Ru.is_locked||Ru.open_camera||Ru.screen_open||Ru.login_restrict||Ru.ip_bind||Ru.ip_limit=="pub"||Ru.ip_limit=="inner"||Ru.identity_verify||Ru.open_phone_video_recording)){const Nr=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:yo.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",yo.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Ru)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>Gs(void 0,null,function*(){let gi=yield(0,Tc.Tr)({exercise_ids:[parseInt(Yt==null?void 0:Yt.categoryId)],course_id:Yt.coursesId,type:"exercise"});(gi==null?void 0:gi.student_count)===0?oo(Zi):(eo(Zi),Or(gi)),Wt("2")}),onCancel:()=>Gs(void 0,null,function*(){Nr.destroy();let gi=yield(0,Tc.Tr)({exercise_ids:[Yt==null?void 0:Yt.categoryId],course_id:Yt.coursesId,type:"exercise"});(gi==null?void 0:gi.student_count)===0?oo(Zi):(eo(Zi),Or(gi))})});return}let Ou=yield(0,Tc.Tr)({exercise_ids:[Yt==null?void 0:Yt.categoryId],course_id:Yt.coursesId,type:"exercise"});(Ou==null?void 0:Ou.student_count)===0?oo(Zi):(eo(Zi),Or(Ou))});ga!=null&&ga.high_resources_consume&&!(ga!=null&&ga.high_resources_consume_permission)?_e({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Yt.coursesId,type:"exercise",type_id:Yt.categoryId,name:ga.exercise_name,fn:()=>{is()}}}):is()}),oo=to=>Gs(void 0,null,function*(){Jt(!0),(yield(0,fe.ZP)(`/api/exercises/${Yt==null?void 0:Yt.categoryId}/publish_settings.json`,{method:"post",body:to})).status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ji(""),_e({type:"exercise/getCommonHeader",payload:ns({},Yt)}),_e({type:"exercise/getWorkSetting",payload:ns({},Yt)})),Jt(!1)}),So=to=>to&&toQt.end_time?to&&(to{var Li,Wl;return((Li=On==null?void 0:On.exercise)==null?void 0:Li.exercise_status)>1&&!(to!=null&&to.new)?!0:(Wl=On==null?void 0:On.published_course_groups)!=null&&Wl.some(tu=>tu.course_group_id===to.course_group_id)?da:!1},zl=to=>{var Li;return da?[!0,!0]:(Li=On==null?void 0:On.published_course_groups)!=null&&Li.some(Wl=>{var tu,Iu;return((tu=Wl.course_group_id)==null?void 0:tu[0])===((Iu=to.course_group_id)==null?void 0:Iu[0])})?da||Ze()()>Ze()(to==null?void 0:to.publish_time)?[!0,!1]:[!1,!1]:[!1,!1]};(0,a.useEffect)(()=>{ji("\u8868\u5355\u672A\u4FDD\u5B58")},[Qt]);const ji=(to="")=>{_e({type:"exercise/setActionTabs",payload:{key:to}})},hu=to=>{to.preventDefault(),to.returnValue=""},Bu=(to,Li,Wl)=>{if(to<=0){oe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}else ea(Li),Ca(Wl),Ba(!1)},[eu]=de.default.useForm();return yo.createElement("section",{className:Ii.form,style:{padding:"30px 50px",marginBottom:"0px"}},yo.createElement(yt.Z,{spinning:Dt["exercise/getWorkSetting"]||Ta},!(Qt!=null&&Qt.is_make_up_exercise)&&yo.createElement(yo.Fragment,null,yo.createElement("div",{className:Ii.new_title,style:{marginTop:"0px"}},"\u8003\u8BD5\u53D1\u5E03"),yo.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},yo.createElement(be.ZP.Group,{onChange:()=>{var to,Li,Wl,tu,Iu;if((0,bt.Rm)()&&(!((Li=(to=ve==null?void 0:ve.AssistantObject)==null?void 0:to.exercise)!=null&&Li.can_publish)||!((tu=(Wl=ve==null?void 0:ve.AssistantObject)==null?void 0:Wl.exercise)!=null&&tu.can_late))){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(((Iu=On==null?void 0:On.exercise)==null?void 0:Iu.exercise_status)>1){oe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539");return}Qt.unified_setting=!Qt.unified_setting,Qt.unified_setting===!1&&Pr==""&&Dr(Pr.concat({})),tt(Object.assign({},Qt))},value:Qt.unified_setting,disabled:da||((at=On==null?void 0:On.exercise)==null?void 0:at.exercise_status)>1},yo.createElement(be.ZP,{value:!0,disabled:!((Oe=On==null?void 0:On.exercise)!=null&&Oe.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),((Pe=On.course_groups)==null?void 0:Pe.length)>0&&yo.createElement(be.ZP,{value:!1},"\u5206\u73ED\u53D1\u5E03")))),!(ga!=null&&ga.is_make_up_exercise)&&yo.createElement("div",{style:{color:"red"}},((xn=On==null?void 0:On.exercise)==null?void 0:xn.exercise_status)>1&&va&&"\u5F53\u524D\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\uFF0C\u4E3A\u63D0\u4F9B\u66F4\u597D\u7684\u670D\u52A1\uFF0C\u6211\u4EEC\u5C06\u8FDB\u884C\u670D\u52A1\u5668\u6269\u5BB9\uFF0C\u5EFA\u8BAE\u60A8\u572830\u5206\u949F\u540E\u53D1\u8D77\u8003\u8BD5\u3002\u60A8\u4E5F\u53EF\u4EE5\u7ACB\u5373\u53D1\u5E03\u3002"),(Qt.unified_setting||(ga==null?void 0:ga.is_make_up_exercise))&&yo.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px",alignItems:"center",height:"50px"}},yo.createElement("div",{style:{color:"#666666",marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),yo.createElement(De.Z,{placement:"bottom",title:((jn=On==null?void 0:On.exercise)==null?void 0:jn.exercise_status)>1&&"\u53D1\u5E03\u65F6\u95F4\u5DF2\u8FC7\uFF0C\u4E0D\u80FD\u4FEE\u6539"},yo.createElement(Fn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ze()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:So,disabled:da||((Vn=On==null?void 0:On.exercise)==null?void 0:Vn.exercise_status)>1||(0,bt.Rm)()&&!((wn=(an=ve==null?void 0:ve.AssistantObject)==null?void 0:an.exercise)!=null&&wn.can_publish),value:Qt.publish_time?Ze()(Qt.publish_time):void 0,allowClear:!1,onChange:(to,Li)=>{Qt.publish_time=Li,Qt.end_time||(Qt.end_time=Qt.exercise_type===1?Ze()(to).add(120,"minutes"):Ze()(to).add(7,"days")),tt(Object.assign({},Qt))}})),yo.createElement("div",{style:{color:"#666666",marginLeft:"60px"}},"\u622A\u6B62\u65F6\u95F4"),yo.createElement(Fn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ze()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:da||(0,bt.Rm)()&&!((pa=(aa=ve==null?void 0:ve.AssistantObject)==null?void 0:aa.exercise)!=null&&pa.can_late)||(ga==null?void 0:ga.open_appraise),allowClear:!1,value:Qt.end_time?Ze()(Qt.end_time):void 0,disabledDate:Mi,onChange:(to,Li)=>{var Wl,tu;if((0,bt.Rm)()&&!((tu=(Wl=ve==null?void 0:ve.AssistantObject)==null?void 0:Wl.exercise)!=null&&tu.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qt.end_time=Li,tt(Object.assign({},Qt))}})),!Qt.unified_setting&&!(ga!=null&&ga.is_make_up_exercise)&&yo.createElement("div",{style:{color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Pr&&Pr.map(function(to,Li){var Wl,tu,Iu;return yo.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:Li==(Pr==null?void 0:Pr.length)-1?"0px":"10px"}},yo.createElement("div",{style:{width:"75px",marginLeft:"23px"}},"\u53D1\u5E03\u89C4\u5219",Li+1),yo.createElement(dn.default,{showArrow:!0,allowClear:!0,className:Ii.multiple_select,disabled:da||((Wl=On==null?void 0:On.homework_status)!=null&&Wl.includes("\u672A\u53D1\u5E03")&&to.id||Ze()(){Pr[Li].course_group_id=nu,Dr(Pr.slice()),On.course_groups.map((Zi,Ru)=>{nu.map((is,Ou)=>{Zi.course_group_id===is&&(Zi.cilckkey=Li,Zi.isselect=!0)})})},onDeselect:nu=>{On.course_groups.map((Zi,Ru)=>{Zi.course_group_id===nu&&Zi.cilckkey===Li&&(Zi.cilckkey=Li,Zi.isselect=!1)})}},On.course_groups&&On.course_groups.map(function(nu,Zi){return yo.createElement(jc,{disabled:(nu==null?void 0:nu.isselect)&&nu.cilckkey!=Li,label:nu.course_group_name,value:nu.course_group_id,key:nu.course_group_id},nu.course_group_name)})),yo.createElement(oc,{disabled:zl(to)||(0,bt.Rm)()&&!((Iu=(tu=ve==null?void 0:ve.AssistantObject)==null?void 0:tu.exercise)!=null&&Iu.can_publish),disabledDate:So,style:{width:"620px",marginLeft:"20px"},placeholder:["\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4","\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"],showTime:{format:"HH:mm",defaultValue:[Ze()((0,ue.U6)(),"HH:mm"),Ze()((0,ue.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",size:"large",value:to.publish_time&&[Ze()(to.publish_time),to.end_time&&Ze()(to.end_time)],onChange:(nu,Zi)=>{Pr[Li].publish_time=Zi[0],!to.end_time&&Zi[0]?Pr[Li].end_time=Ze()(Zi[0]).add(7,"days"):Pr[Li].end_time=Zi[1],Dr([...Pr])},onCalendarChange:(nu,Zi,Ru)=>{if(Zi!=null&&Zi[0]&&!Zi[1]){const is=Qt.exercise_type===1?Ze()(Zi[0]).add(120,"minutes"):Ze()(Zi[0]).add(7,"days");Pr[Li].publish_time=Zi[0],Pr[Li].end_time=is,Dr([...Pr])}}}),yo.createElement("div",{style:{visibility:da?"hidden":"visible",display:"flex",width:"50px"}},yo.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var nu,Zi;if((0,bt.Rm)()&&!((Zi=(nu=ve==null?void 0:ve.AssistantObject)==null?void 0:nu.exercise)!=null&&Zi.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dr(Pr.concat({new:!0}))}}),yo.createElement("i",{className:"iconfont icon-shanjian1",style:{visibility:(to!=null&&to.publish_time&&Ze()(){Pr=Pr.filter((nu,Zi)=>Li!==Zi),Dr([...Pr])}})))})),(($n=On==null?void 0:On.exercise)==null?void 0:$n.have_hacks)&&!((Wn=On==null?void 0:On.exercise)!=null&&Wn.is_random)&&yo.createElement(yo.Fragment,null,yo.createElement("div",{className:Ii.new_title,style:{marginTop:30}},"\u5C55\u793AACM\u6392\u884C\u699C",yo.createElement("span",{style:{color:"#666666"}},"\uFF08\u5C06\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u8FDB\u884C\u6392\u540D\uFF0C\u4EC5\u9488\u5BF9\u4EBA\u5DE5\u7EC4\u5377\u4E14\u8BD5\u5377\u4E2D\u5B58\u5728\u7F16\u7A0B\u9898\u7684\u60C5\u51B5\u751F\u6548\uFF09")),yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},yo.createElement(be.ZP.Group,{value:Qt.show_acm,onChange:to=>{Qt.show_acm=to.target.value,tt(ns({},Qt))},style:{marginTop:"2px"}},yo.createElement(be.ZP,{value:!0,style:{marginRight:"50px"}},"\u5C55\u793AACM\u6392\u884C\u699C"),yo.createElement(be.ZP,{value:!1},"\u9690\u85CFACM\u6392\u884C\u699C")))),!(Qt!=null&&Qt.is_make_up_exercise)&&yo.createElement(yo.Fragment,null,yo.createElement("div",{className:Ii.new_title,style:{marginTop:30}},"\u8003\u8BD5\u6A21\u5F0F"),yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},yo.createElement(be.ZP.Group,{value:Qt.exercise_type,disabled:da||((Qa=On==null?void 0:On.exercise)==null?void 0:Qa.exercise_status)>1,onChange:to=>{Qt.exercise_type=to.target.value,tt(ns({},Qt)),po(to.target.value)},style:{marginTop:"2px"}},yo.createElement(be.ZP,{value:1,style:{marginRight:"50px"}},"\u6B63\u5F0F\u8003\u8BD5"),yo.createElement(be.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")),(Qt==null?void 0:Qt.exercise_type)===2&&yo.createElement(yo.Fragment,null,yo.createElement("span",{style:{marginLeft:10,color:"#666666"}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),yo.createElement(Te.Z,{className:Ii.numberInput,addonAfter:"\u6B21",style:{width:145},precision:0,size:"large",value:Qt==null?void 0:Qt.simulate_exercise_num,disabled:da,min:1,max:999,onChange:to=>{Qt.simulate_exercise_num=to,tt(ns({},Qt))}}),yo.createElement("span",{style:{color:"#666666"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),(Qt==null?void 0:Qt.is_make_up_exercise)&&yo.createElement(yo.Fragment,null,yo.createElement(re.Z,null,yo.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),yo.createElement(Ae.Z,{checked:Sa,onChange:(to,Li)=>{var Wl,tu;if(Xr(to),to){if(Qt!=null&&Qt.is_appoint_user){const Iu=(tu=(Wl=On==null?void 0:On.exercise)==null?void 0:Wl.all_exercise_users)==null?void 0:tu.map(nu=>nu.user_id);ea([...Iu])}else ea([]);Oa(!1),xr(!1)}else Oa(Qt.is_miss_exam_user),xr(Qt.is_no_passing_user)},disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(ga!=null&&ga.allow_create_make_up))}),yo.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Sa&&yo.createElement(re.Z,{className:"mt20 mb20",style:{paddingLeft:"90px"},align:"middle"},yo.createElement(Re.default,{checked:za,disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(Qt==null?void 0:Qt.miss_exam_count)>0&&(ga!=null&&ga.allow_create_make_up)),onChange:to=>{Oa(to.target.checked)}},yo.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),yo.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{$a(1),Xr(!1),Ba(!0)}},"\uFF08",`${(Qt==null?void 0:Qt.miss_exam_count)||0}\u4EBA`,"\uFF09"),yo.createElement(Re.default,{checked:Fr,disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(Qt==null?void 0:Qt.no_passing_count)>0&&(ga!=null&&ga.allow_create_make_up)),onChange:to=>{xr(to.target.checked)}},yo.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),yo.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{$a(2),Xr(!1),Ba(!0)}},"\uFF08",`${(Qt==null?void 0:Qt.no_passing_count)||0}\u4EBA`,"\uFF09")),Sa&&yo.createElement(re.Z,{className:"mb20 mt20",style:{paddingLeft:"90px"}},yo.createElement(Ce.ZP,{type:"primary",ghost:!0,disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(ga!=null&&ga.allow_create_make_up)),onClick:()=>{Ba(!0),$a(void 0)}},yo.createElement("span",null,yo.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),yo.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),yo.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${qa.length||0} \u4EBA`,"\uFF09"))),yo.createElement("div",{className:Ii.new_title,style:{marginTop:"30px"}},"\u8003\u8BD5\u65F6\u957F\u8BBE\u7F6E"),yo.createElement("div",null,yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px"}},yo.createElement(Re.default,{disabled:da,checked:ja,onChange:to=>{to.target.checked===!1?tt(Li=>rc(ns({},Li),{time:-1})):eu.setFieldsValue({exercise_events:[{reminder_time:30,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C30\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"},{reminder_time:15,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C15\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"}]}),vr(to.target.checked)},style:{fontSize:"14px",marginTop:"2px"}},"\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F"),ja&&yo.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},yo.createElement("div",{style:{marginRight:10,marginLeft:25}},"\u7B54\u9898\u65F6\u957F"),yo.createElement(Te.Z,{size:"large",disabled:da,min:1,style:{width:"200px"},value:Qt.time===-1?null:Qt.time,precision:0,addonAfter:"\u5206\u949F",onChange:to=>{Qt.time=to,tt(ns({},Qt))}}))),ja&&yo.createElement(de.default,{form:eu},yo.createElement(bs,{disabled:da,time:Qt.time})),yo.createElement("div",null,yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},yo.createElement(Re.default,{checked:Qt.enable_last_times,onChange:to=>tt(Li=>rc(ns({},Li),{enable_last_times:to.target.checked})),disabled:da,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u8003\u8BD5\u8FDF\u5230\u65F6\u957F\u9650\u5236"),Qt.enable_last_times&&yo.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},yo.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u8003\u8BD5\u5F00\u59CB\u540E"),yo.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:Qt==null?void 0:Qt.last_times,disabled:da||!Qt.enable_last_times,min:0,onChange:to=>{Qt.last_times=to,tt(ns({},Qt))}}),yo.createElement("span",{style:{marginLeft:"10px"}},"\u7981\u6B62\u5B66\u751F\u8FDB\u5165\u8003\u8BD5"))),yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},yo.createElement(re.Z,null,yo.createElement(Re.default,{checked:Qt.enable_answer_time,onChange:to=>tt(Li=>rc(ns({},Li),{enable_answer_time:to.target.checked})),disabled:da,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u63D0\u524D\u4EA4\u5377\u65F6\u95F4\u9650\u5236")),Qt.enable_answer_time&&yo.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},yo.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u5B66\u751F\u8FDB\u5165\u8003\u8BD5\u4F5C\u7B54\u65F6\u95F4\u5FC5\u987B \u2265"),yo.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:Qt==null?void 0:Qt.answer_time,disabled:da||!Qt.enable_answer_time,min:0,onChange:to=>{Qt.answer_time=to,tt(ns({},Qt))}}),yo.createElement("span",{style:{marginLeft:"10px"}},"\u624D\u80FD\u4EA4\u5377")))))),!(ga!=null&&ga.appraise_label)&&(!(ga!=null&&ga.is_make_up_exercise)&&(0,bt.GJ)()||(ga==null?void 0:ga.is_make_up_exercise)&&(ga==null?void 0:ga.allow_create_make_up))&&yo.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:ar},"\u4FDD\u5B58"),yo.createElement(ec.Z,{visible:ta,setVisible:Ba,onK:Bu,selectKeys:qa,selectRows:Ua,appointStudent:Sa,modalParams:qn}),yo.createElement($c.Z,{resdata:mr,type:"exercisepush",okloading:Ta,oktext:(mr==null?void 0:mr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:to=>Gs(void 0,null,function*(){Jt(!0);let Li=yield(0,fe.ZP)(`/api/courses/${Yt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[parseInt(Yt==null?void 0:Yt.categoryId)]}});Jt(!1),(Li==null?void 0:Li.status)===0&&oo(ir)})}))};var td=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le,classroomList:dt,user:Dt})=>({exercise:me,loading:ve.effects,globalSetting:le,user:Dt,classroomList:dt}))(Sd),hd=x(19248),nd=x(8241),Zc=Object.defineProperty,Sc=Object.getOwnPropertySymbols,ad=Object.prototype.hasOwnProperty,Ed=Object.prototype.propertyIsEnumerable,ic=(me,ve,le)=>ve in me?Zc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,zc=(me,ve)=>{for(var le in ve||(ve={}))ad.call(ve,le)&&ic(me,le,ve[le]);if(Sc)for(var le of Sc(ve))Ed.call(ve,le)&&ic(me,le,ve[le]);return me},Hc=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const{TabPane:Pc}=E.default,Qc=({exercise:me,loading:ve,dispatch:le})=>{var dt;const Dt=(0,ye.useParams)(),_e=(0,ye.useLocation)(),[Wt]=de.default.useForm(),[at,Oe]=(0,a.useState)({}),[Pe,xn]=(0,a.useState)("1");return(0,a.useEffect)(()=>{me.actionTabs.key==="addIp"&&(Wt.resetFields(),xn("1"))},[me.actionTabs]),a.createElement(Fe.default,{centered:!0,title:"\u6DFB\u52A0IP\u8303\u56F4",open:me.actionTabs.key==="addIp",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:600,bodyStyle:{minHeight:200},onOk:()=>Hc(void 0,null,function*(){if(yield Wt.validateFields(),!at.ip){const jn=at.startIP.split(".")[3];if(parseInt(jn)>parseInt(at.endIP)){oe.ZP.warning("IP\u533A\u95F4\u6BB5\u4E0D\u5408\u6CD5");return}}le({type:"exercise/setActionTabs",payload:{key:"insterIp",data:zc({},Wt.getFieldValue()),type:me.actionTabs.type}})}),onCancel:()=>{le({type:"exercise/setActionTabs",payload:{}})}},a.createElement("section",{className:"pl10 pr10"},a.createElement(E.default,{activeKey:Pe,onChange:jn=>{xn(jn),Wt.resetFields()}},a.createElement(Pc,{tab:"\u65B0\u589EIP\u5730\u5740",key:"1"}),a.createElement(Pc,{tab:"\u65B0\u589EIP\u8303\u56F4",key:"2"})),a.createElement(de.default,{form:Wt,className:"pt30",name:"form",layout:"vertical",onValuesChange:(jn,Vn)=>{Oe(zc({},Vn))}},Pe==="1"&&a.createElement(de.default.Item,{name:"ip",rules:[{required:!0,message:"\u8BF7\u8F93\u5165IP\u5730\u5740"}],label:"IP\u5730\u5740"},a.createElement(dn.default,{open:!1,tokenSeparators:[";",",","\uFF1B"],size:"middle",mode:"tags",style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165IP\u5730\u5740,\u53EF\u540C\u65F6\u6DFB\u52A0\u591A\u4E2AIP\u5730\u5740\uFF0C\u4E2D\u95F4\u7528\u82F1\u6587\u7684\u5206\u53F7\u95F4\u9694\u3002",onChange:jn=>{Wt.setFieldsValue({ip:[...jn.filter(Vn=>(0,nd.t)(Vn)?!0:(oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165"),!1))]})}})),Pe==="2"&&a.createElement(re.Z,{gutter:[20,20]},a.createElement(pe.Z,{flex:"1"},a.createElement(de.default.Item,{name:"startIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740"}],label:"\u8D77\u59CBIP\u5730\u5740"},a.createElement(Se.default,{maxLength:15,placeholder:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740",onBlur:jn=>{let Vn="";(0,nd.t)(jn.target.value)?Vn=jn.target.value:(Vn="",oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165")),Wt.setFieldsValue({startIP:Vn})}}))),a.createElement(pe.Z,{flex:"1"},a.createElement(de.default.Item,{name:"endIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740"},{pattern:/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,message:"\u8BF7\u8F93\u51650-255\u7684\u7F51\u6BB5"}],label:"\u7ED3\u675FIP\u5730\u5740"},a.createElement(Se.default,{onBlur:jn=>{},prefix:a.createElement("span",{className:"font14"},(dt=at.startIP)==null?void 0:dt.substring(0,at.startIP.lastIndexOf("."))),maxLength:3,placeholder:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740\u7684\u540E\u4E09\u4F4D"})))))))};var bc=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve}))(Qc),La=x(59301),xc=Object.defineProperty,rd=Object.defineProperties,Pd=Object.getOwnPropertyDescriptors,Sl=Object.getOwnPropertySymbols,fu=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,xs=(me,ve,le)=>ve in me?xc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,qu=(me,ve)=>{for(var le in ve||(ve={}))fu.call(ve,le)&&xs(me,le,ve[le]);if(Sl)for(var le of Sl(ve))ls.call(ve,le)&&xs(me,le,ve[le]);return me},lc=(me,ve)=>rd(me,Pd(ve)),uc=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const od=({exercise:me,globalSetting:ve,loading:le,dispatch:dt})=>{var Dt,_e,Wt,at,Oe,Pe,xn;const{workSetting:jn,commonHeader:Vn}=me,[an]=de.default.useForm(),wn=(0,ye.useParams)();wn.category=wn.categoryId;const[aa,pa]=(0,a.useState)(!1),[$n,Wn]=(0,a.useState)(!1),[Qa,On]=(0,a.useState)(!1),ga={question_random:!1,choice_random:!1,start_password:((Dt=jn==null?void 0:jn.exercise)==null?void 0:Dt.start_password)||"",login_restrict:!1,is_start_locked:!1,use_blank_score:!1,ip_limit:!1,identity_verify:!1,open_phone_video_recording:!1,open_camera:!1,photo_count:5,screen_open:!1,screen_num:3,screen_sec:5,ip_bind:!1,ip_bind_type:!1,public_ip:[],inner_ip:[],is_locked:!1,unlock_key:((_e=jn==null?void 0:jn.exercise)==null?void 0:_e.unlock_key)||"",screen_shot_open:!1,forbid_copy:!1};let[Yt,da]=(0,a.useState)(ga);const[oa,Ta]=(0,a.useState)(!1),[Jt,va]=(0,a.useState)(!1),[ra,ir]=(0,a.useState)(!1),[eo,Pr]=(0,a.useState)(null);(0,a.useEffect)(()=>{var Sa;Dr(),jn!=null&&jn.exercise&&!(0,bt.aN)()&&!((Sa=jn==null?void 0:jn.exercise)!=null&&Sa.is_creator)&&pa(!0)},[jn]),(0,a.useEffect)(()=>{((Vn==null?void 0:Vn.exercise_status)==="5"||Vn!=null&&Vn.appraise_label)&&pa(!0)},[Vn]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?Yt[me.actionTabs.type]=[...Yt[me.actionTabs.type]||[],...me.actionTabs.data.ip]:Yt[me.actionTabs.type]=[...Yt[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],Qt(Yt),Ta(!0))},[me.actionTabs]);const Dr=()=>{const Sa=JSON.parse(JSON.stringify(jn));Object.keys(Yt).forEach(Xr=>{var za;Yt[Xr]=(za=Sa==null?void 0:Sa.exercise)==null?void 0:za[Xr]}),Qt(lc(qu({},Yt),{ip_limit:Yt.ip_limit!=="no"}))},Qt=Sa=>{da(Sa),an.setFieldsValue(Sa)},tt=Sa=>{var Xr,za;if(Sa.categoryId=wn.categoryId,Sa.ip_limit=Sa.ip_limit?"pub":"no",Sa.ip_bind||(Sa.ip_bind_type=!1),Sa.open_camera&&Sa.photo_count<1){oe.ZP.warning("\u8BF7\u586B\u5199\u672C\u573A\u8003\u8BD5\u6700\u5927\u62CD\u6444\u6B21\u6570");return}if(!Sa.start_password&&Sa.is_start_locked){oe.ZP.warning("\u8BF7\u586B\u5199\u5F00\u8003\u5BC6\u7801");return}if(Sa.ip_limit!=="no"&&!((Xr=Sa.public_ip)!=null&&Xr.length)&&!((za=Sa.inner_ip)!=null&&za.length)){oe.ZP.warning("\u8BF7\u586B\u5199\u516C\u7F51IP\u6216\u5185\u7F51IP\u5730\u5740");return}if(Sa.is_locked||Sa.open_camera||Sa.screen_open||Sa.login_restrict||Sa.ip_bind||Sa.ip_limit=="pub"||Sa.ip_limit=="inner"||Sa.identity_verify||Sa.open_phone_video_recording){if((Vn==null?void 0:Vn.exercise_type)==1){ka(Sa);return}Fe.default.confirm({width:666,centered:!0,title:"\u63D0\u793A",icon:null,content:La.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u5F00\u542F",La.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Sa)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u786E\u5B9A\u5F00\u542F\u5417\uFF1F"),onOk:()=>ka(Sa)});return}fa(Sa)},ka=Sa=>{if(Sa.open_camera||Sa.screen_open){const Xr=Fe.default.confirm({title:"\u8003\u8BD5\u8BF4\u660E",className:"custom-modal-divider",icon:null,width:750,content:La.createElement("div",{className:"font16 p20"},Sa.open_camera&&La.createElement(re.Z,{justify:"start",className:"mt20"},La.createElement(pe.Z,{flex:"24px"},La.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),La.createElement(pe.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u6444\u50CF\u9632\u4F5C\u5F0A\u529F\u80FD\uFF0C",La.createElement("span",{className:"c-red"},"\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907"),"\u3002\u5E73\u53F0\u5C06\u4F1A\u4E25\u683C\u4FDD\u62A4\u6240\u6709\u5B66\u751F\u7684\u7167\u7247\u548C\u89C6\u9891\uFF0C\u5E76\u627F\u8BFA\u4E0D\u5728\u672C\u5E73\u53F0\u4EE5\u5916\u4F7F\u7528\u3002",La.createElement("br",null),"\u8BF7\u786E\u8BA4\uFF1A\u4E3A\u4E25\u683C\u76D1\u7763\u8003\u8BD5\u4EE5\u83B7\u5F97\u516C\u5E73\uFF0C\u60A8\u540C\u610F\u5E76\u548C\u8981\u6C42\u5E73\u53F0\u5728\u672C\u6B21\u8003\u8BD5\u4E2D\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907\u5E76\u83B7\u53D6\u5B66\u751F\u7684\u5F71\u50CF\u4FE1\u606F\u3002")),Sa.screen_open&&La.createElement(re.Z,{justify:"start",className:"mt20"},La.createElement(pe.Z,{flex:"24px",className:"mr20"},La.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),La.createElement(pe.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u9632\u5207\u5C4F\u529F\u80FD\uFF0C\u8FD9\u9879\u529F\u80FD\u6682\u65F6\u4EC5\u652F\u6301\u8C37\u6B4C\u3001\u706B\u72D0\u6D4F\u89C8\u5668\u3002 \u8BF7\u786E\u4FDD\uFF1A\u5728\u6B63\u5F0F\u5F00\u59CB\u8003\u8BD5\u524D\u901A\u77E5\u5168\u4F53\u5B66\u751F\uFF0C\u4F7F\u7528 ",La.createElement("img",{width:"26",src:Ti.JA})," ",La.createElement("span",{className:"c-red"},"\u8C37\u6B4C\u6D4F\u89C8\u5668"),"\u6216",La.createElement("img",{width:"26",src:Ti.Gm})," ",La.createElement("span",{className:"c-red"},"\u706B\u72D0\u6D4F\u89C8\u5668"),"\u8FDB\u884C\u8003\u8BD5\u3002")),La.createElement("p",{className:"ml40 mt40"},La.createElement(Re.default,{onChange:za=>Xr.update({okButtonProps:{disabled:!za.target.checked}})},"\u6211\u5DF2\u9605\u8BFB"))),onOk:()=>{fa(Sa)},okButtonProps:{disabled:!0}})}else fa(Sa)},fa=Sa=>uc(void 0,null,function*(){Wn(!0);const Xr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/prevent_cheating_settings.json`,{method:"post",body:Sa});Wn(!1),Xr.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),dt({type:"exercise/getCommonHeader",payload:qu({},wn)}),dt({type:"exercise/getWorkSetting",payload:qu({},wn)}),Ta(!1))});(0,a.useEffect)(()=>{vr(oa?"\u8868\u5355\u672A\u4FDD\u5B58":"")},[oa]);const ja=Sa=>{Sa.preventDefault(),Sa.returnValue=""},vr=(Sa="")=>{dt({type:"exercise/setActionTabs",payload:{key:Sa}})};return La.createElement("section",{className:Ii.formDom,style:{padding:"30px 50px"}},La.createElement(yt.Z,{spinning:le["exercise/getWorkSetting"]||$n},La.createElement(de.default,{form:an,name:"basicForm",initialValues:ga,colon:!1,onValuesChange:(Sa,Xr)=>{console.log("onValuesChange",Xr);let za=Xr,Oa=!1;for(const Fr in Sa){if(Fr=="is_locked"&&!Xr[Fr]&&(za.login_restrict=!1,za.screen_open=!1),Fr=="login_restrict"&&Xr[Fr]&&(za.is_locked=!0),Fr=="screen_open"&&Xr[Fr]){if(Vn!=null&&Vn.have_unity_3d_shixun){za.screen_open=!1,Qt(za),Fe.default.confirm({title:"\u63D0\u793A",width:518,icon:null,centered:!0,content:La.createElement("div",null,`\u8BD5\u5377\u4E2D\u7684${Vn==null?void 0:Vn.unity_3d_shixun}\u9700\u8981\u6253\u5F00\u7B2C\u4E09\u65B9\u8F6F\u4EF6\u5BA2\u6237\u7AEF\uFF0C\u65E0\u6CD5\u5F00\u542F\u201C\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377\u201D\u8BBE\u7F6E\u9879`),cancelButtonProps:{className:Ii.edit},okText:"\u6211\u77E5\u9053\u4E86",cancelText:"\u4FEE\u6539\u8BD5\u5377",onCancel:()=>{ye.history.push(Vn!=null&&Vn.is_random?`/classrooms/${wn.coursesId}/exercise/${wn.categoryId}/random/edit?type=settings`:`/classrooms/${wn.coursesId}/exercise/add/${wn.categoryId}?random=false&type=2`)}});return}za.is_locked=!0}if(Fr=="screen_shot_open"&&Xr[Fr]){const xr=Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:La.createElement("div",null,La.createElement("div",{className:"mb10"},"1.\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u524D",La.createElement("span",{style:{color:"#F59A23"}},"\u9700\u8981\u9009\u62E9\u4E3B\u5C4F\u5E55\u8FDB\u884C\u5171\u4EAB\uFF0C\u8003\u8BD5\u4F5C\u7B54\u8FC7\u7A0B\u4E2D\u4E5F\u4E0D\u5141\u8BB8\u5173\u95ED\u5C4F\u5E55\u5171\u4EAB\uFF0C\u5426\u5219\u5C06\u4F1A\u76F4\u63A5\u9000\u51FA\u8003\u8BD5\uFF1B")),La.createElement("div",null,"2.\u6559\u5E08\u53EF\u5728\u8003\u8BD5\u76D1\u63A7\u9875\u9762\u67E5\u770B\u622A\u5C4F\u8BB0\u5F55\u3002")),onOk:()=>uc(void 0,null,function*(){za.screen_shot_open=!0,Qt(za)}),onCancel:()=>{za.screen_shot_open=!1,Qt(za),xr.destroy()}});break}(Fr=="ip_bind"||Fr=="ip_limit")&&!Xr.is_locked&&Xr[Fr]&&(za.is_locked=!0),Fr=="open_camera"&&(za.photo_count=za.photo_count||5)}Qt(za),Ta(!0)},onFinish:tt},La.createElement("div",{className:Ii.title},"\u63A8\u8350\u9632\u4F5C\u5F0A\u6A21\u5F0F",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u4E0D\u540C\u7684\u8003\u8BD5\u6A21\u5F0F\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u52FE\u9009\u5BF9\u5E94\u6A21\u5F0F\u63A8\u8350\u7684\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u652F\u6301\u4E8C\u6B21\u8C03\u6574\uFF09")),La.createElement(de.default.Item,null,La.createElement(be.ZP.Group,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"},value:eo,onChange:Sa=>{if(Sa.target.value==="exam")Qt(lc(qu(qu({},ga),Yt),{question_random:!0,choice_random:!0,is_start_locked:!0,is_locked:!0,login_restrict:!0,screen_open:!0,ip_bind:!0,forbid_copy:!0}));else if(Sa.target.value==="practice"){Fe.default.confirm({title:"\u63D0\u793A",centered:!0,content:"\u6A21\u62DF\u8003\u8BD5\u5C06\u53EA\u4F1A\u5F00\u542F\u201C\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\u548C\u201C\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\uFF0C\u786E\u5B9A\u8981\u4F7F\u7528\u6A21\u62DF\u8003\u8BD5\u63A8\u8350\u7684\u8BBE\u7F6E\u5417\uFF1F",icon:null,onOk:()=>{Qt(lc(qu({},ga),{question_random:!0,choice_random:!0,forbid_copy:!1})),Pr(Sa.target.value)}});return}Pr(Sa.target.value)},buttonStyle:"solid",disabled:aa},La.createElement(be.ZP,{value:"exam",style:{marginRight:"40px"}},"\u6B63\u5F0F\u6A21\u5F0F"),La.createElement(be.ZP,{value:"practice"},"\u6A21\u62DF\u6A21\u5F0F"))),La.createElement("div",{className:Ii.title,style:{marginTop:"30px"}},"\u9632\u4F5C\u5F0A\u8BBE\u7F6E"),La.createElement(de.default.Item,{name:"forbid_copy",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"))),La.createElement(de.default.Item,{name:"question_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),La.createElement(de.default.Item,{name:"choice_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"is_start_locked",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5F00\u8003\u5BC6\u7801 ",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u8003\u8BD5\u65F6\uFF0C\u9700\u8981\u8F93\u5165\u5F00\u8003\u5BC6\u7801\u624D\u80FD\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\uFF09"))))),Yt.is_start_locked&&(0,bt.GJ)()?La.createElement(re.Z,{className:Ii.unlockKeyWrapper,align:"middle"},La.createElement(de.default.Item,{name:"start_password",style:{marginBottom:0}},La.createElement(Se.default,{size:"large",className:Ii.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u5F00\u8003\u5BC6\u7801"})),La.createElement(pe.Z,null,!aa&&La.createElement(Ce.ZP,{type:"link",loading:Jt,onClick:()=>uc(void 0,null,function*(){va(!0);let Sa=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Xr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:1,pwd:Sa}});va(!1),(Xr==null?void 0:Xr.status)===0&&an.setFieldsValue({start_password:Sa})})},"\u6362\u4E00\u6362"))):La.createElement(de.default.Item,{hidden:!0,name:"start_password",label:"\u5F00\u8003\u5BC6\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"is_locked",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u89E3\u9501\u7801 ",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5982\u679C\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u9014\u9000\u51FA\u60F3\u518D\u7EE7\u7EED\u8003\u8BD5\uFF0C\u9700\u8981\u4F7F\u7528\u89E3\u9501\u7801\u8FDB\u884C\u89E3\u9501\u3002\uFF09"))))),Yt.is_locked&&(0,bt.GJ)()?La.createElement(re.Z,{className:Ii.unlockKeyWrapper,align:"middle"},La.createElement(de.default.Item,{style:{marginBottom:0},name:"unlock_key"},La.createElement(Se.default,{size:"large",className:Ii.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),La.createElement(pe.Z,null,!aa&&La.createElement(Ce.ZP,{type:"link",loading:ra,onClick:()=>uc(void 0,null,function*(){ir(!0);let Sa=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Xr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:2,pwd:Sa}});ir(!1),(Xr==null?void 0:Xr.status)===0&&an.setFieldsValue({unlock_key:Sa})})},"\u6362\u4E00\u6362"))):La.createElement(de.default.Item,{hidden:!0,name:"unlock_key",label:"\u8003\u8BD5\u89E3\u9501\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement(de.default.Item,{name:"login_restrict",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u767B\u5F55\u9650\u5236",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5728\u8003\u8BD5\u671F\u95F4\u7B2C\u4E8C\u6B21\u53CA\u540E\u7EED\u767B\u5F55\u7CFB\u7EDF\u65F6\uFF0C\u9700\u8981\u76D1\u8003\u8001\u5E08\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801\u624D\u80FD\u767B\u5F55\u7CFB\u7EDF\uFF09"))))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"screen_open",valuePropName:"checked"},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"))),Yt.screen_open?La.createElement(La.Fragment,null,La.createElement(re.Z,{gutter:10,className:`${Ii.unlockKeyWrapper}`,style:{color:"#666666"},align:"middle",wrap:!1},La.createElement(pe.Z,null,"\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u5207\u6362\u9875\u9762\u8D85\u8FC7"),La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"screen_num",style:{marginBottom:0}},La.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:10,addonAfter:"\u6B21",style:{width:"150px"}}))),La.createElement(pe.Z,null,"\u540E\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF0C\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762"),La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"screen_sec",style:{marginBottom:0}},La.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:60,addonAfter:"\u79D2",style:{width:"150px"}}))),La.createElement(pe.Z,null,"\u540E\u5373\u5224\u5B9A\u4E3A\u5207\u5C4F\u3002")),La.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ii.unlockKeyWrapper}`,align:"middle",wrap:!1},La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"screen_shot_open",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Ae.Z,{disabled:aa||!Yt.screen_open}))),La.createElement(pe.Z,{style:{color:"#666666"}},"\u5B66\u751F\u9000\u51FA\u5168\u5C4F\u6216\u5207\u6362\u9875\u9762\u540E\u8FDB\u884C\u622A\u5C4F"))):La.createElement(La.Fragment,null,La.createElement(de.default.Item,{hidden:!0,name:"screen_num",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),La.createElement(de.default.Item,{hidden:!0,name:"screen_sec",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),La.createElement(de.default.Item,{hidden:!0,name:"screen_shot_open",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"ip_bind",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"IP\u5730\u5740\u7ED1\u5B9A",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5F00\u59CB\u8003\u8BD5\u7684\u5B66\u751F\u8D26\u53F7\u5C06\u81EA\u52A8\u4E0E\u8BBE\u5907\u516C\u7F51IP\u6216\u5185\u7F51IP\u8FDB\u884C\u7ED1\u5B9A\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u7531\u6559\u5E08/\u52A9\u6559\u8FDB\u884CIP\u89E3\u7ED1\u3002\uFF09"))))),Yt.ip_bind&&(0,bt.GJ)()?La.createElement(re.Z,{className:Ii.unlockKeyWrapper,style:{flexDirection:"column"}},La.createElement(de.default.Item,{name:"ip_bind_type",style:{marginBottom:0}},La.createElement(be.ZP.Group,null,La.createElement(be.ZP,{value:!1,style:{marginRight:"32px",fontWeight:"400"}},La.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5916\u7F51IP",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u6821\u6821\u56ED\u7F51\u7535\u8111\u7684\u516C\u7F51IP\u53EF\u80FD\u4F1A\u5B58\u5728\u53D8\u52A8\uFF09"))),La.createElement(be.ZP,{value:!0,style:{fontWeight:"400"}},La.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5185\u7F51IP",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9700\u8981\u5B89\u88C5\u63D2\u4EF6\u624D\u80FD\u83B7\u53D6ip\uFF0C\u524D\u5F80",La.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u4E0B\u8F7D\u63D2\u4EF6"),"\uFF09")))))):La.createElement(de.default.Item,{hidden:!0,name:"ip_bind_type",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"ip_limit",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9650\u5236\u53C2\u4E0E\u8003\u8BD5\u8BBE\u5907\u7684IP\u5730\u5740\u8303\u56F4\uFF09"))))),La.createElement(de.default.Item,{name:"public_ip",label:"\u516C\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),La.createElement(de.default.Item,{name:"inner_ip",label:"\u5185\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),(Yt==null?void 0:Yt.ip_limit)&&La.createElement(re.Z,{className:Ii.unlockKeyWrapper,style:{flexDirection:"column"}},La.createElement(pe.Z,null,La.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u8981\u6C42\u5B66\u751F\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),La.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?")),La.createElement(re.Z,{className:`mt15 ${Ii.ipWrp}`,style:{background:"#F6F7F9"}},La.createElement(pe.Z,null,"\u516C\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A"),La.createElement(pe.Z,null,(Wt=Yt.public_ip)==null?void 0:Wt.map((Sa,Xr)=>La.createElement("span",{key:Xr,className:Ii.ipItem},La.createElement("i",null,Sa," "),!aa&&La.createElement(hd.Z,{onClick:()=>{Fe.default.confirm({okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Yt.public_ip.splice(Xr,1),Qt(qu({},Yt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&La.createElement("span",{onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"public_ip"}})},className:"font14 c-blue ml10",style:{cursor:"pointer"}}," ",La.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))),La.createElement(re.Z,{className:`mt15 ${Ii.ipWrp}`,style:{background:"#F6F7F9"}},La.createElement(pe.Z,null,La.createElement("span",null,"\u5185\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A")),La.createElement(pe.Z,null,(at=Yt.inner_ip)==null?void 0:at.map((Sa,Xr)=>La.createElement("span",{className:Ii.ipItem},La.createElement("i",null,Sa," "),!aa&&La.createElement(hd.Z,{onClick:()=>{aa||Fe.default.confirm({title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Yt.inner_ip.splice(Xr,1),Qt(qu({},Yt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&La.createElement("span",{className:"font14 c-blue ml10",onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"inner_ip"}})},style:{cursor:"pointer"}}," ",La.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"open_camera",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u4F7F\u7528\u7535\u8111\u6444\u50CF\u5934\u968F\u673A\u6293\u62CD\u7167\u7247\uFF0C\u7528\u4E8E\u76D1\u8003\u548C\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u5206\u6790\u7ED3\u679C\u53EF\u5728\u5B66\u751F\u7B54\u5377\u4E2D\u67E5\u770B\uFF09"))))),Yt.open_camera?La.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ii.unlockKeyWrapper}`,align:"middle",wrap:!1},La.createElement(pe.Z,{style:{color:"#666666"}},"\u672C\u573A\u8003\u8BD5\u6700\u591A\u62CD\u6444"),La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"photo_count",style:{marginBottom:0}},La.createElement(Te.Z,{size:"large",disabled:aa||!Yt.open_camera,min:1,max:(0,bt.Ny)()?1e3:10,addonAfter:"\u6B21",style:{width:"150px"}}))),La.createElement(pe.Z,null,La.createElement("span",{className:"c-grey-c font14 ml10",style:{color:"#666"}},"\uFF08\u53EF\u586B\u5199\u6700\u5927\u503C\u4E3A10\uFF09"))):La.createElement(de.default.Item,{hidden:!0,name:"photo_count",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement(de.default.Item,{name:"identity_verify",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(Re.default,{disabled:!(0,bt.ag)()||aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C ",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u9700\u8981\u4EBA\u8138\u9A8C\u8BC1\u5BA1\u6838\uFF0C\u5BA1\u6838\u901A\u8FC7\u540E\u624D\u53EF\u8FDB\u5165\u7B54\u9898\uFF09"))))),La.createElement(de.default.Item,{name:"open_phone_video_recording",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:!(0,bt.ag)()||aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u5FC5\u987B\u5148\u5F00\u542F\u624B\u673A\u5F55\u5236\u89C6\u9891\uFF0C\u6559\u5E08/\u52A9\u6559\u53EF\u5728\u8BD5\u5377\u8BE6\u60C5-\u6444\u50CF\u76D1\u63A7\u9875\u9762\u67E5\u770B\u5B66\u751F\u89C6\u9891\u52A8\u6001\uFF09")))))),((0,bt.aN)()||((Oe=me==null?void 0:me.commonHeader)==null?void 0:Oe.exercise_author))&&!(Vn!=null&&Vn.appraise_label)&&La.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:()=>{an.submit()}},"\u4FDD\u5B58")),La.createElement(bc,null),La.createElement(Fe.default,{centered:!0,destroyOnClose:!0,open:Qa,title:"\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:()=>On(!1)},La.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},La.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A",(Pe=ve==null?void 0:ve.setting)==null?void 0:Pe.homepage_tea_qq_number," "),La.createElement("img",{src:`${Le.Z.IMG_SERVER}/${(xn=ve==null?void 0:ve.setting)==null?void 0:xn.homepage_tea_qq_qrcode_url}`,width:200,height:200}))))};var id=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le})=>({exercise:me,loading:ve.effects,globalSetting:le}))(od),Ai=x(59301),n0=Object.defineProperty,a0=Object.defineProperties,bd=Object.getOwnPropertyDescriptors,Ms=Object.getOwnPropertySymbols,Td=Object.prototype.hasOwnProperty,r0=Object.prototype.propertyIsEnumerable,xd=(me,ve,le)=>ve in me?n0(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Ws=(me,ve)=>{for(var le in ve||(ve={}))Td.call(ve,le)&&xd(me,le,ve[le]);if(Ms)for(var le of Ms(ve))r0.call(ve,le)&&xd(me,le,ve[le]);return me},ld=(me,ve)=>a0(me,bd(ve)),kd=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const o0=({exercise:me,loading:ve,dispatch:le})=>{var dt,Dt,_e;const{workSetting:Wt,commonHeader:at}=me,Oe=(0,ye.useParams)();Oe.category=Oe.categoryId;const[Pe,xn]=(0,a.useState)(!1),[jn,Vn]=(0,a.useState)(!1);let[an,wn]=(0,a.useState)({score_open:!1,answer_open:!1,show_statistic:!1,open_total_score:!1,open_score_reviewed:!0,open_score_commited:!1,open_score:!1,answered_open:!1,assistant_auth:!1,passing_rate:60,use_blank_score:!1,downcase:!1,open_make_up:!1,make_up_score:1});(0,a.useEffect)(()=>{pa("\u8868\u5355\u672A\u4FDD\u5B58")},[an]);const aa=On=>{On.preventDefault(),On.returnValue=""},pa=(On="")=>{le({type:"exercise/setActionTabs",payload:{key:On}})};(0,a.useEffect)(()=>{var On,ga;$n(),(On=Wt==null?void 0:Wt.exercise)!=null&&On.id&&!(0,bt.aN)()&&!((ga=Wt==null?void 0:Wt.exercise)!=null&&ga.is_creator)&&xn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{},[]);const $n=()=>{const On=JSON.parse(JSON.stringify(Wt));Object.keys(an).forEach(ga=>{var Yt;an[ga]=(Yt=On==null?void 0:On.exercise)==null?void 0:Yt[ga]}),wn(an),me.actionTabs.key!="\u6279\u91CF\u53D1\u5E03"&&pa("")},Wn=()=>{const On=JSON.parse(JSON.stringify(an));On.categoryId=Oe.categoryId,Qa(On)},Qa=On=>kd(void 0,null,function*(){var ga;if((On==null?void 0:On.use_blank_score)!==((ga=Wt==null?void 0:Wt.exercise)==null?void 0:ga.use_blank_score)){let da=Fe.default.confirm({closable:!0,width:500,centered:!0,icon:null,title:"\u63D0\u793A",onOk:()=>kd(void 0,null,function*(){Vn(!0);const oa=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Vn(!1),oa.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),pa(""),le({type:"exercise/getCommonHeader",payload:Ws({},Oe)}),le({type:"exercise/getWorkSetting",payload:Ws({},Oe)}),Vn(!1))})});On!=null&&On.use_blank_score?da.update({content:Ai.createElement("div",null,"\u60A8\u5DF2\u52FE\u9009",Ai.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")}):da.update({content:Ai.createElement("div",null,"\u60A8\u5DF2\u53D6\u6D88\u52FE\u9009",Ai.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")});return}Vn(!0);const Yt=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Vn(!1),Yt.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),pa(""),le({type:"exercise/getCommonHeader",payload:Ws({},Oe)}),le({type:"exercise/getWorkSetting",payload:Ws({},Oe)}))});return Ai.createElement("section",{className:Ii.scoreSettingWrapper,style:{padding:"30px 50px"}},Ai.createElement(yt.Z,{spinning:ve["exercise/getWorkSetting"]||jn},(at==null?void 0:at.is_make_up_exercise)&&Ai.createElement(Ai.Fragment,null,Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.open_make_up,disabled:Pe,onChange:On=>{an.open_make_up=On.target.checked,wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u8865\u8003\u6263\u5206 ")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u7CFB\u7EDF\u5C06\u5728\u6BCF\u4E2A\u53C2\u52A0\u8865\u8003\u5B66\u751F\u6700\u7EC8\u6210\u7EE9\u7684\u57FA\u7840\u4E0A\u81EA\u52A8\u6263\u9664\u5BF9\u5E94\u8BBE\u7F6E\u7684\u5206\u503C\uFF09"))),an.open_make_up&&Ai.createElement("div",{className:"flex item-center gap-10px",style:{background:"#F6F7F9",padding:"13px 54px"}},Ai.createElement("div",null,"\u6263\u5206"),Ai.createElement(Te.Z,{value:an==null?void 0:an.make_up_score,min:1,step:1,max:(dt=Wt==null?void 0:Wt.exercise)!=null&&dt.total_score?Number((Dt=Wt==null?void 0:Wt.exercise)==null?void 0:Dt.total_score):Number.MAX_SAFE_INTEGER,suffix:"\u5206",style:{width:"120px"},onChange:On=>{wn(ld(Ws({},an),{make_up_score:Math.floor(On)}))}}))),Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.use_blank_score,disabled:Pe,onChange:On=>{an.use_blank_score=On.target.checked,wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement(Ai.Fragment,null,Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206"))),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5B66\u751F\u6709\u6F0F\u9009\u6B63\u786E\u7B54\u6848\u4F46\u662F\u9009\u4E2D\u7684\u7B54\u6848\u5168\u90E8\u6B63\u786E\uFF0C\u53EF\u83B7\u5F97\u90E8\u5206\u5206\u503C\uFF0C\u5206\u503C=\u9009\u4E2D\u7684\u7B54\u6848\u4E2A\u6570*\uFF08\u8BE5\u5C0F\u9898\u5206\u503C/\u6B63\u786E\u7B54\u6848\u7684\u4E2A\u6570\uFF09\uFF09"))),Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.downcase,disabled:Pe,onChange:On=>{an.downcase=On.target.checked,wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u586B\u7A7A\u9898\u5224\u5206\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u586B\u7A7A\u9898\u5728\u5224\u5206\u65F6\uFF0C\u5C06\u5FFD\u7565\u7B54\u6848\u603B\u4E2D\u82F1\u6587\u5B57\u6BCD\u5927\u5C0F\u5199\u9650\u5236\uFF09"))),Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.open_total_score,disabled:Pe,onChange:On=>{an.open_total_score=On.target.checked,On.target.checked?(an.open_score=!1,an.open_score_reviewed=!0):(an.open_score=!0,an.open_score_reviewed=!1),wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u6210\u7EE9")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u53EF\u914D\u7F6E\u5B66\u751F\u5728\u67D0\u9636\u6BB5\u53EF\u67E5\u770B\u8003\u8BD5\u6210\u7EE9\uFF09"))),an.open_total_score&&Ai.createElement(Ai.Fragment,null,Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},Ai.createElement(be.ZP.Group,{disabled:Pe,value:an.open_score?"afterEndTime":an!=null&&an.open_score_reviewed?"afterReview":"afterCommit",onChange:On=>{On.target.value==="afterEndTime"?wn(ga=>ld(Ws({},ga),{open_score:!0,open_score_reviewed:!1,open_score_commited:!1})):On.target.value==="afterReview"?wn(ga=>ld(Ws({},ga),{open_score:!1,open_score_reviewed:!0,open_score_commited:!1})):wn(ga=>ld(Ws({},ga),{open_score:!1,open_score_reviewed:!1,open_score_commited:!0}))}},Ai.createElement(be.ZP,{value:"afterEndTime",style:{marginRight:"80px"}},Ai.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u540E")),Ai.createElement(be.ZP,{value:"afterCommit",style:{marginRight:"80px"}},Ai.createElement("span",{style:{color:"#000"}},"\u63D0\u4EA4\u8BD5\u5377\u540E")),Ai.createElement(be.ZP,{value:"afterReview"},Ai.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u4E14\u8BD5\u5377\u8BC4\u9605\u5B8C\u6210\u540E")))),Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},Ai.createElement(Re.default,{className:Ii.mainRuleText,checked:an.answered_open,disabled:Pe,onChange:On=>{an.answered_open=On.target.checked,wn(Object.assign({},an))}},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u67E5\u770B\u8BD5\u5377")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4E2A\u4EBA\u8003\u8BD5\u7B54\u5377\uFF09")),an.answered_open&&Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},Ai.createElement(be.ZP.Group,{value:an.answer_open,disabled:Pe,onChange:On=>{an.answer_open=On.target.value,wn(Object.assign({},an))}},Ai.createElement(be.ZP,{value:!0,style:{marginRight:"25px"}},Ai.createElement("span",{style:{color:"#000"}},"\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")),Ai.createElement(be.ZP,{value:!1},Ai.createElement("span",{style:{color:"#000"}},"\u4E0D\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")))),Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},Ai.createElement(Re.default,{className:Ii.mainRuleText,checked:an.score_open,disabled:Pe,onChange:On=>{an.score_open=On.target.checked,wn(Object.assign({},an))}},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u6210\u7EE9")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u4ED6\u540C\u5B66\u672C\u573A\u8003\u8BD5\u7684\u6210\u7EE9\uFF09")),Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(Re.default,{className:Ii.mainRuleText,checked:an.show_statistic,disabled:Pe,onChange:On=>{an.show_statistic=On.target.checked,wn(Object.assign({},an))}},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u7EDF\u8BA1\u7ED3\u679C")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u672C\u573A\u8003\u8BD5\u7684\u7EDF\u8BA1\u7ED3\u679C\uFF09"))),((0,bt.aN)()||((_e=me==null?void 0:me.commonHeader)==null?void 0:_e.exercise_author))&&Ai.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Wn},"\u4FDD\u5B58")))};var jd=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le})=>({exercise:me,loading:ve.effects,globalSetting:le}))(o0),Ni=x(59301),i0=Object.defineProperty,l0=Object.defineProperties,ud=Object.getOwnPropertyDescriptors,sd=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,u0=Object.prototype.propertyIsEnumerable,Zd=(me,ve,le)=>ve in me?i0(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Pl=(me,ve)=>{for(var le in ve||(ve={}))wd.call(ve,le)&&Zd(me,le,ve[le]);if(sd)for(var le of sd(ve))u0.call(ve,le)&&Zd(me,le,ve[le]);return me},$o=(me,ve)=>l0(me,ud(ve)),qi=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const ql=({exercise:me,globalSetting:ve,loading:le,dispatch:dt})=>{const{workSetting:Dt,commonHeader:_e}=me,Wt=(0,ye.useParams)();Wt.category=Wt.categoryId;const[at,Oe]=(0,a.useState)(!1),[Pe,xn]=(0,a.useState)(0),[jn,Vn]=(0,a.useState)(0),[an,wn]=(0,a.useState)(!1),[aa,pa]=(0,a.useState)({}),[$n,Wn]=(0,a.useState)(!1),[Qa,On]=(0,a.useState)([]),[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)([]),[Ta,Jt]=(0,a.useState)([]),[va,ra]=(0,a.useState)([]);let[ir,eo]=(0,a.useState)({select_appraise:!1,sealed_review:!1,review_type:0,end_time:""});(0,a.useEffect)(()=>{var Oa;!(0,bt.aN)()&&!((Oa=Dt==null?void 0:Dt.exercise)!=null&&Oa.is_creator)&&Oe(!0)},[Dt]),(0,a.useEffect)(()=>{Pr()},[_e]);const Pr=()=>qi(void 0,null,function*(){wn(!0);const Oa=yield(0,fe.ZP)(`/api/exercises/${Wt==null?void 0:Wt.categoryId}/distinguish_exercise_setting.json`,{method:"get"});Object.keys(ir).forEach(Fr=>{ir[Fr]=Oa==null?void 0:Oa[Fr]}),console.log(Oa,"res"),pa(Pl({},Oa)),ra((Oa==null?void 0:Oa.exercise_questions)||[]),fa(Pl({},Oa)),Yt((Oa==null?void 0:Oa.course_review_teachers)||[]),eo($o(Pl({},ir),{select_appraise:!!Oa.end_time})),xn((Oa==null?void 0:Oa.total)||0),Vn((Oa==null?void 0:Oa.finish_total)||0),wn(!1),za("")}),Dr=()=>{const Oa=JSON.parse(JSON.stringify(ir));if(!Oa.select_appraise){Pr();return}if(!Oa.end_time){oe.ZP.warning("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");return}if(!Oa.review_type&&!Ta.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if(Oa.review_type&&!va.some(Fr=>!!Fr.appraise_teachers.length)){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}Oa.review_type===0&&(Oa.exercises=Ta==null?void 0:Ta.map(Fr=>{var xr;return{id:Fr.id,total:Fr.total,finish_total:Fr.finish_total,unfinished_total:Fr.unfinished_total,appraise_teacher_ids:(xr=Fr==null?void 0:Fr.appraise_teachers)==null?void 0:xr.map(qa=>({id:qa.id}))}})),Oa.review_type===1&&(Oa.exercise_questions=va==null?void 0:va.map(Fr=>{var xr;return{id:Fr.id,total:Fr.total,question_id:Fr.question_id,appraise_teacher_ids:(xr=Fr==null?void 0:Fr.appraise_teachers)==null?void 0:xr.map(qa=>({id:qa.id,message_status:qa.message_status}))}})),delete Oa.select_appraise,Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,closable:!0,width:650,title:"\u63D0\u793A",content:Ni.createElement("div",null,Ni.createElement("div",null,"\u4E3A\u786E\u4FDD\u96C6\u4E2D\u9605\u5377\u6A21\u5F0F\u8BC4\u5206\u7ED3\u679C\u7684\u51C6\u786E\u6027\uFF0C\u4FDD\u5B58\u8BC4\u9605\u8BBE\u7F6E\u4E4B\u540E\uFF0C\u672C\u573A\u8003\u8BD5\u5C06",Ni.createElement("span",{style:{color:"#FA6400"}},"\u7981\u6B62"),"\u8FDB\u884C\u4EE5\u4E0B\u64CD\u4F5C\uFF1A"),Ni.createElement("div",{style:{padding:10,marginTop:5,background:"#F6F7F9"}},"1.\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5",Ni.createElement("br",null),"2.\u4FEE\u6539\u672C\u573A\u8003\u8BD5\u7ED3\u675F\u65F6\u95F4",Ni.createElement("br",null),"3.\u5F00\u542F\u8865\u8003",Ni.createElement("br",null),"4.\u7F16\u8F91\u8BD5\u5377"),Ni.createElement("div",{className:"c-grey-999",style:{marginTop:10,color:"#FA6A0A",display:"flex",alignItems:"center"}},Ni.createElement(b.Z,{style:{marginRight:3}})," ",Ni.createElement("span",null,"\u6CE8\u610F\uFF1A\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03"))),onOk:()=>{Qt(Oa)}})},Qt=Oa=>qi(void 0,null,function*(){wn(!0);const Fr=yield(0,fe.ZP)(`/api/exercises/${Wt==null?void 0:Wt.categoryId}/appraise_settings.json`,{method:"post",body:Oa});if(wn(!1),Fr.status===0){oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),za(""),Pr(),dt({type:"exercise/getCommonHeader",payload:Pl({},Wt)});return}}),tt=(Oa,Fr)=>{const xr=Math.floor(Oa/Fr);let qa=Oa%Fr;const ea=[];for(let Ua=0;Ua0?1:0)),qa--;return ea},ka=Oa=>{var Fr;if(Oa[0]){let xr=[];Ta.forEach(ea=>xr=xr.concat(ea.appraise_teachers));let qa=ga.filter(ea=>xr.every(Ua=>Ua.id!==ea.id));console.log(qa,"newItems"),oa([...qa]),Wn(Oa)}if(!Oa[0]){let xr=[];xr=xr.concat(((Fr=va==null?void 0:va[Oa[1]])==null?void 0:Fr.appraise_teachers)||[]);let qa=ga.filter(ea=>xr.every(Ua=>Ua.id!==ea.id));oa([...qa]),Wn(Oa)}},fa=Oa=>{if(Oa!=null&&Oa.start_appraise){Jt((Oa==null?void 0:Oa.exercises)||[]);return}let Fr=Oa==null?void 0:Oa.exercises;const xr=tt(Oa==null?void 0:Oa.total,Fr.length),qa=tt(Oa==null?void 0:Oa.finish_total,Fr.length);xr.forEach((ea,Ua)=>{Fr[Ua].total=ea}),qa.forEach((ea,Ua)=>{Fr[Ua].finish_total=ea,Fr[Ua].unfinished_total=Fr[Ua].total-Fr[Ua].finish_total}),Fr=Fr.filter(ea=>ea.total>0),Jt(JSON.parse(JSON.stringify(Fr)))},ja=()=>{if(!Qa.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if($n[0]){if($n[1]===null){const Oa=da.filter(ea=>Qa.includes(ea.id));let Fr=[...Ta,...Oa==null?void 0:Oa.map(ea=>({appraise_teachers:[ea],total:0,finish_total:0,unfinished_total:0}))];const xr=tt(Pe,Fr.length),qa=tt(jn,Fr.length);xr.forEach((ea,Ua)=>{Fr[Ua].total=ea}),qa.forEach((ea,Ua)=>{Fr[Ua].finish_total=ea,Fr[Ua].unfinished_total=Fr[Ua].total-Fr[Ua].finish_total}),Fr=Fr.filter(ea=>ea.total>0),Jt(JSON.parse(JSON.stringify(Fr))),Wn(!1)}if($n[1]!==null){const Oa=da.filter(xr=>Qa.includes(xr.id));let Fr=[];Ta.forEach((xr,qa)=>{if($n[1]===qa){Fr.push($o(Pl({},xr),{appraise_teachers:[...xr.appraise_teachers,...Oa]}));return}Fr.push(xr)}),Jt(Fr),Wn(!1)}}if(!$n[0]&&$n[1]!==null){let Oa=da.filter(xr=>Qa.includes(xr.id));Oa=Oa.map(xr=>$o(Pl({},xr),{message_status:aa!=null&&aa.start_appraise?1:0}));let Fr=[];va.forEach((xr,qa)=>{if($n[1]===qa){Fr.push($o(Pl({},xr),{appraise_teachers:[...xr.appraise_teachers,...Oa]}));return}Fr.push(xr)}),ra(Fr),Wn(!1)}},vr=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Oa,Fr,xr)=>xr+1,width:70},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",dataIndex:"appraise_teachers",className:Ii.padding,render:(Oa,Fr,xr)=>Ni.createElement("span",{className:Ii.tagWrap},Ni.createElement("div",null,Oa==null?void 0:Oa.map(qa=>Ni.createElement("div",{className:Ii.tag,key:qa.id},Ni.createElement("b",{title:qa.name},qa.name),(qa==null?void 0:qa.disabled)!==!0&&!at&&Ni.createElement("span",{onClick:ea=>{const Ua=Oa.filter(ta=>ta.id!==qa.id),Ca=Ta.map((ta,Ba)=>Ba===xr?$o(Pl({},ta),{appraise_teachers:Ua}):ta);Ua.length?Jt(Ca):Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5220\u9664\u6B64\u6559\u5E08\uFF0C\u8BD5\u5377\u5C06\u91CD\u65B0\u5747\u5206\u7ED9\u5176\u4ED6\u8BC4\u9605\u6559\u5E08\uFF1B\u5982\u9700\u6DFB\u52A0\u6307\u5B9A\u6559\u5E08\uFF0C\u8BF7\u70B9\u51FB\u201C+\u8BC4\u9605\u6559\u5E08\u201D\u6309\u94AE\u3002",onOk:()=>{const ta=Ta==null?void 0:Ta.filter(($a,mr)=>mr!==xr),Ba=tt(Pe,ta.length),qn=tt(jn,ta.length);Ba.forEach(($a,mr)=>{ta[mr].total=$a}),qn.forEach(($a,mr)=>{ta[mr].finish_total=$a,ta[mr].unfinished_total=ta[mr].total-ta[mr].finish_total}),Jt(JSON.parse(JSON.stringify(ta)))}})}},Ni.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Ni.createElement("span",{onClick:()=>ka([!0,xr]),style:{fontSize:14,fontWeight:400},className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}," \u6DFB\u52A0\u5171\u8BC4\u6559\u5E08"))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}],Sa=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Oa,Fr,xr)=>xr+1,width:70},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",align:"center",width:100},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",className:Ii.padding,dataIndex:"appraise_teachers",render:(Oa,Fr,xr)=>Ni.createElement("span",{className:Ii.tagWrap},Ni.createElement("div",null,Oa==null?void 0:Oa.map(qa=>Ni.createElement("div",{className:Ii.tag,key:qa.id},Ni.createElement("b",{title:qa.name},qa.name),(qa==null?void 0:qa.disabled)!==!0&&!at&&Ni.createElement("span",{onClick:()=>{const ea=Oa.filter(Ca=>Ca.id!==qa.id),Ua=va.map((Ca,ta)=>ta===xr?$o(Pl({},Ca),{appraise_teachers:ea}):Ca);ra(Ua)}},Ni.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Ni.createElement("span",{onClick:()=>ka([!1,xr]),className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}];(0,a.useEffect)(()=>{za("\u8868\u5355\u672A\u4FDD\u5B58")},[ir]);const Xr=Oa=>{Oa.preventDefault(),Oa.returnValue=""},za=(Oa="")=>{dt({type:"exercise/setActionTabs",payload:{key:Oa}})};return Ni.createElement("section",{className:Ii.form,style:{padding:"30px 50px",marginBottom:"0px"}},Ni.createElement(yt.Z,{spinning:an},Ni.createElement("div",{className:Ii.title},"\u96C6\u4E2D\u8BC4\u9605",Ni.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5F53\u5B58\u5728\u5B66\u751F\u5DF2\u4EA4\u5377\u3001\u8003\u8BD5\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\uFF0C\u4E14\u8BD5\u5377\u5305\u542B\u586B\u7A7A\u3001\u7B80\u7B54\u3001\u7F16\u7A0B\u3001\u7A0B\u5E8F\u586B\u7A7A\u3001\u5B9E\u8BAD\u9898\u4EFB\u610F\u9898\u578B\u65F6\uFF0C\u65B9\u53EF\u5F00\u542F\u96C6\u4E2D\u8BC4\u9605\uFF09")),Ni.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px"}},Ni.createElement(Re.default,{checked:ir.select_appraise,disabled:at||!(aa!=null&&aa.can_open_appraise&&!(aa!=null&&aa.end_time)),onChange:Oa=>{ir.select_appraise=Oa.target.checked,eo(Object.assign({},ir))}}),Ni.createElement("span",{style:{color:"#000",fontSize:"14px",marginLeft:"10px"}},"\u96C6\u4E2D\u9605\u5377"),Ni.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u5F00\u542F\u96C6\u4E2D\u9605\u5377\u540E\u65E0\u6CD5\u5173\u95ED\uFF09"),ir.select_appraise&&Ni.createElement("div",{style:{marginTop:"15px",marginLeft:30}},Ni.createElement("span",{style:{color:"#666666",marginRight:"20px"}},Ni.createElement("span",{style:{color:"red"}},"*"),"\u622A\u6B62\u65F6\u95F4"),Ni.createElement(Fn.default,{style:{width:234},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ze()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:at,allowClear:!1,value:ir.end_time?Ze()(ir.end_time):"",disabledDate:Ot.Q8,disabledTime:Oa=>(0,Ot.d0)(Oa),onChange:(Oa,Fr)=>{ir.end_time=Fr,eo(Object.assign({},ir))}}))),ir.select_appraise&&Ni.createElement("div",null,Ni.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Ni.createElement(Re.default,{checked:ir.sealed_review,disabled:at||!(aa!=null&&aa.change_sealed_review),onChange:Oa=>{ir.sealed_review=Oa.target.checked,eo(Object.assign({},ir))}}),Ni.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"#000"}},"\u5C01\u5377\u8BC4\u9605"),Ni.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u9009\u4E2D\uFF0C\u6559\u5E08\u5728\u96C6\u4E2D\u8BC4\u9605\u754C\u9762\u4E0D\u663E\u793A\u5B66\u751F\u4FE1\u606F\uFF09")),Ni.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Ni.createElement("div",{style:{color:"#333333",fontSize:14,fontWeight:600,marginBottom:20}},"\u8BC4\u9605\u6A21\u5F0F",Ni.createElement("span",{style:{fontWeight:400,fontSize:14,color:"#666"}},"\uFF08\u8BC4\u9605\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u66F4\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF09")),Ni.createElement(be.ZP.Group,{value:ir.review_type,disabled:at||!!(aa!=null&&aa.end_time),style:{marginLeft:30},onChange:Oa=>{ir.review_type=Oa.target.value,eo(Object.assign({},ir))}},Ni.createElement(be.ZP,{value:0},Ni.createElement("span",{style:{color:"#000"}},"\u8BD5\u5377\u6A21\u5F0F"),Ni.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5B66\u751F\u8BD5\u5377\u5C06\u5747\u5300\u5206\u914D\u7ED9\u8BC4\u9605\u6559\u5E08\uFF0C\u65E0\u6CD5\u5747\u5206\u591A\u51FA\u7684\u8BD5\u5377\u968F\u673A\u5206\u914D\uFF09")),Ni.createElement(be.ZP,{style:{marginLeft:"50px"},value:1},Ni.createElement("span",{style:{color:"#000"}},"\u8BD5\u9898\u6A21\u5F0F"),Ni.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5C06\u5355\u4E2A\u8BD5\u9898\u6307\u5B9A\u7ED9\u591A\u4E2A\u6559\u5E08\u5171\u540C\u8BC4\u9605\uFF09"))),Ni.createElement(re.Z,{style:{width:"100%",marginTop:"15px"},align:"middle"},Ni.createElement("div",{style:{color:"#666666",marginRight:"20px"}},Ni.createElement("span",{style:{color:"red"}},"*"),"\u8BC4\u9605\u6559\u5E08"),ir.review_type===0&&Ni.createElement("div",{style:{flex:1}},Ta.length>0&&Ni.createElement(z.default,{bordered:!0,className:"mb20",pagination:!1,dataSource:Ta,columns:vr}),(aa==null?void 0:aa.start_appraise)===!1&&!at&&Ni.createElement("div",{onClick:()=>ka([!0,null]),style:{display:Pe==1&&(Ta==null?void 0:Ta.length)===1&&"none",width:"124px",height:"38px",lineHeight:"38px",border:"1px #3061D0 solid",borderRadius:"2px",textAlign:"center",cursor:"pointer",color:"#3061D0",background:"#fff"}},"\u6DFB\u52A0\u8BC4\u9605\u6559\u5E08")),ir.review_type===1&&Ni.createElement("div",{style:{flex:1}},va.length>0&&Ni.createElement(z.default,{bordered:!0,pagination:!1,rowKey:"id",dataSource:va,columns:Sa}))))),((0,bt.aN)()||!!aa.exercise_author)&&Ni.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Dr},"\u4FDD\u5B58")),Ni.createElement(Fe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:!!$n,title:($n==null?void 0:$n[1])===null?"\u6307\u5B9A\u8BC4\u9605\u6559\u5E08":"\u5171\u540C\u8BC4\u9605\u6559\u5E08",bodyStyle:{padding:"0 16px"},okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:"800px",onOk:ja,afterClose:()=>{On([])},onCancel:()=>{Wn(!1)}},Ni.createElement(z.default,{pagination:{hideOnSinglePage:!0},bordered:!0,rowSelection:{type:"checkbox",onChange:Oa=>{On(Oa)}},rowKey:"id",dataSource:da,columns:[{title:"\u6559\u5E08\u59D3\u540D",align:"center",dataIndex:"name",width:"25%"},{title:"\u624B\u673A",align:"center",dataIndex:"phone",width:"18%"},{title:"\u90AE\u7BB1",align:"center",dataIndex:"email",width:"28%"},{title:"\u89D2\u8272",align:"center",dataIndex:"identity"}]})))};var bu=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le})=>({exercise:me,loading:ve.effects,globalSetting:le}))(ql),dl=x(59301),Ts=Object.defineProperty,sc=Object.defineProperties,ks=Object.getOwnPropertyDescriptors,Gc=Object.getOwnPropertySymbols,wc=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,s0=(me,ve,le)=>ve in me?Ts(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,c0=(me,ve)=>{for(var le in ve||(ve={}))wc.call(ve,le)&&s0(me,le,ve[le]);if(Gc)for(var le of Gc(ve))Ls.call(ve,le)&&s0(me,le,ve[le]);return me},P0=(me,ve)=>sc(me,ks(ve)),$0=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const b0=({exercise:me,globalSetting:ve,loading:le,dispatch:dt})=>{var Dt,_e;const{workSetting:Wt,commonHeader:at}=me,[Oe]=de.default.useForm(),Pe=(0,ye.useParams)();Pe.category=Pe.categoryId;const[xn,jn]=(0,a.useState)(!1),[Vn,an]=(0,a.useState)(!1),wn={forbid_screen:!1,screen_key:((Dt=Wt==null?void 0:Wt.exercise)==null?void 0:Dt.screen_key)||"",use_white_list:!1,white_list:[],net_limit:!1,net_limit_list:""};let[aa,pa]=(0,a.useState)(wn);const[$n,Wn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{var Jt,va;Qa(),(Jt=Wt==null?void 0:Wt.exercise)!=null&&Jt.id&&!(0,bt.aN)()&&!((va=Wt==null?void 0:Wt.exercise)!=null&&va.is_creator)&&jn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{((at==null?void 0:at.exercise_status)==="5"||at!=null&&at.appraise_label)&&jn(!0)},[at]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],...me.actionTabs.data.ip]:aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],On(aa),Wn(!0))},[me.actionTabs]);const Qa=()=>{const Jt=JSON.parse(JSON.stringify(Wt));Object.keys(aa).forEach(va=>{var ra;aa[va]=(ra=Jt==null?void 0:Jt.exercise)==null?void 0:ra[va]}),On(P0(c0({},aa),{ip_limit:aa.ip_limit!=="no"}))},On=Jt=>{pa(Jt),Oe.setFieldsValue(Jt)};function ga(Jt=""){if(!Jt)return!1;const va=Jt.split(` +`),Kn.focus();default:throw new Error}},[Kn,fr]),zo=(0,a.useMemo)(()=>{switch(fr){case Fn:return a.createElement(Kt,{callback:Ar,onCancel:Ro});case wa:return a.createElement(mt.Z,{callback:Ar,onCancel:Ro});case Ot:return a.createElement(Je.Z,{callback:Ar,onCancel:Ro});case _t:return a.createElement(xt,{callback:Ar,onCancel:Ro});case Ga:return a.createElement(xe,{callback:Ar,onCancel:Ro});case"maths-latex":return a.createElement(Qn,{showSaveButton:!0,callback:Ar});case"inline-latex":return a.createElement(_n.Z,{showSaveButton:!0,callback:Ar});default:return null}},[fr]);function Ro(){co("")}(0,a.useEffect)(()=>{if(Da.current){let qr=function(il){si=!0,Xi=il.pageY},Mr=function(){si=!1},Qr=function(il){if(si){let ml=il.pageY-Xi;ml<0&&(ml=0),ml>300&&(ml=300);let Vl=qe+ml+"px";oi(Vl)}},Kr=Da.current,si=!1,Xi=0;return Kr.addEventListener("mousedown",qr),document.addEventListener("mousemove",Qr),document.addEventListener("mouseup",Mr),()=>{Kr.removeEventListener("mousedown",qr),document.removeEventListener("mousemove",Qr),document.removeEventListener("mouseup",Mr)}}},[Kn,Da]),(0,a.useEffect)(()=>{oi(qe)},[qe]);const Oi=Ln(Ie),Qo=Ln($r),Eo={width:Oi,height:Qo},Io=(0,a.useMemo)(()=>{if(Do){let qr=new Date(Do),Mr=qr.getHours(),Qr=qr.getMinutes(),Kr=qr.getSeconds();return Mr=Mr<10?"0"+Mr:Mr,Qr=Qr<10?"0"+Qr:Qr,Kr=Kr<10?"0"+Kr:Kr,`${Mr}:${Qr}:${Kr}`}return 0},[Do]),ii=qr=>{const Mr=[];if(ya){let Qr=-1;qr=qr.replace(/(@▁▁@|@▁@)/g,function(Kr,si,Xi){Mr.push({multiLine:Kr!==En})})}return Mr};function ol(){window.sessionStorage.removeItem(qt),al(!1),io(0)}function nl(){al(!1),io(0),Kn.setValue(window.sessionStorage.getItem(qt))}(0,a.useEffect)(()=>{dn[fr]&&fr!==Cn&&fr!==_t&&setTimeout(()=>{const qr=document.getElementsByClassName("markdown-popup-form")[0],Mr=window.innerWidth/2-qr.offsetWidth/2,Qr=window.innerHeight/2-qr.offsetHeight/2;Gi(Mr),Lo(Qr)},0)},[fr]);const Ol=qr=>{qr.preventDefault();const Mr=qr.clientX-Ri,Qr=qr.clientY-zi;document.body.onmousemove=Kr=>{let si=Kr.clientX-Mr,Xi=Kr.clientY-Qr;const il=document.getElementsByClassName("markdown-popup-form")[0],ml=window.innerWidth-il.offsetWidth,Vl=window.innerHeight-il.offsetHeight;si=Math.max(0,Math.min(si,ml)),Xi=Math.max(0,Math.min(Xi,Vl)),Nl(Kr.clientX,Kr.clientY,Mr,Qr)&&(Gi(si),Lo(Xi))},document.body.onmouseup=function(){document.body.onmousemove=null}},Nl=(qr,Mr,Qr,Kr)=>{const si=document.body.clientHeight,Xi=document.body.clientWidth;return qr<20&&Qr>qr||qr>Xi-20&&QrMr||Mr>si-20&&KrTe in Se?ze(Se,Te,{enumerable:!0,configurable:!0,writable:!0,value:we}):Se[Te]=we,ee=(Se,Te)=>{for(var we in Te||(Te={}))E.call(Te,we)&&b(Se,we,Te[we]);if(y)for(var we of y(Te))z.call(Te,we)&&b(Se,we,Te[we]);return Se},te=(Se,Te)=>Ce(Se,re(Te));const{useForm:ne}=a.default,ue={width:280,marginRight:10},se={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:Se,onCancel:Te})=>{const[we]=ne();let ot=(0,De.useRef)();function Ze(lt){ot.current.width=we.getFieldValue("width"),ot.current.align=we.getFieldValue("align"),Se(lt,ot.current)}function it(lt,Pt){if(lt.status===-1){fe.ZP.error(lt.message);return}we.setFieldsValue({src:`/api/attachments/${lt.id}`,type:Pt.type})}function Ve(lt){let Pt=lt.target.files[0];ot.current=Pt,Ae(Pt,it)}return Me.createElement(a.default,te(ee({form:we},se),{className:"upload-image-panel",onFinish:Ze,style:{width:470,overflow:"hidden"}}),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Me.createElement("div",{className:"flex-container"},Me.createElement(a.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Me.createElement(Le.default,{style:ue})),Me.createElement(pe,{onFileChange:Ve}))),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Me.createElement(Le.default,{style:{width:264}})),Me.createElement(a.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Me.createElement(ye.Z,null,Me.createElement(a.default.Item,{name:"width",style:{margin:0}},Me.createElement(Fe.Z,{style:{width:264}})),Me.createElement("span",{className:"ml8"},"%"))),Me.createElement(a.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Me.createElement(Be.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Me.createElement("aside",null,Me.createElement(a.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Me.createElement(oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Me.createElement(oe.ZP,{type:"default",onClick:Te},"\u53D6\u6D88"))))};function pe({onFileChange:Se}){return Me.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Me.createElement("input",{type:"file",onChange:Se}))}function Ae(Se,Te){if(!Se)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,be.bg)())throw fe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",Se),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var ot=new window.XMLHttpRequest;ot.withCredentials=!0,ot.addEventListener("load",function(Ze){Te(JSON.parse(Ze.target.responseText),Se)},!1),ot.addEventListener("error",function(Ze){console.error(Ze)},!1),ot.open("POST",`${Re.KI}/api/attachments.json`),ot.send(we)}},74254:function(Nt,st,x){"use strict";x.d(st,{Z:function(){return Le}});var a=x(59301),fe=x(4676);class Le extends a.Component{constructor(Fe){super(Fe);const Be=window.document;this.node=Be.createElement("div"),Be.body.appendChild(this.node)}render(){const{children:Fe}=this.props;return(0,fe.createPortal)(Fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},53253:function(Nt,st,x){"use strict";x.d(st,{i:function(){return se},Z:function(){return pe}});var a={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},fe=x(71418),Le=x(6848),ye=x(93948),Fe=x(92310),Be=x.n(Fe),oe=x(94601),Re=x(62556),De=x(47141),be=x(79005),Me=x(20345),ze=x(77882),Ce=x(31081),re=x(75309),y=x(71979),E=x(47558),z=x(42922),b=x(66832),ee=x(96593),te=x(19664),ne=x(91833),ue=x(59301);const se=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:be,swimg:Me},{name:"101\u8BA1\u5212",ptimg:ze,swimg:Ce},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:re,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:z},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:ee},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:ne}];var pe=({className:Ae,dataSource:Se=[],col:Te=4,right:we,bottom:ot=23,precision:Ze=0,wrapWidth:it=1200,trackEventItems:Ve,loading:lt,onRemove:Pt=()=>{},isCurrent:ht=!0,showAlias:Et=!1,showProgress:Lt=!1})=>{const kt=Math.floor((it-(Te-1)*we)/Te),Kt=[{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(mt=>(window.ENV==="build"&&(mt.ptimg=`/react/build${mt.ptimg}`,mt.swimg=`/react/build${mt.swimg}`),mt));return ue.createElement(fe.Z,{spinning:lt},ue.createElement("div",{className:Be()(a.list,Ae)},!!(Se!=null&&Se.length)&&(Se==null?void 0:Se.map((mt,Je)=>{var ut,Mt,$t,Ut,Sn,We;const{name:en,id:Tn,identifier:hn,featured:sn,school_name:rt,image_url:vt,excellent:$e,is_plan:He}=mt;return ue.createElement("div",{key:Tn,className:ht&&Lt?a.wrapisCurrent:a.wrap,style:{width:kt,marginRight:(1+Je)%Te===0?0:we+Ze,marginBottom:ot}},ue.createElement("a",{className:a.li,onClick:yt=>{yt.preventDefault(),yt.stopPropagation(),Ve&&(0,oe.L9)([Ve]),(0,oe.xg)(`/paths/${hn}`)}},ue.createElement("div",{className:a.img},ue.createElement("img",{className:a.cover,src:`${vt}`}),ht&&(0,De.bg)()&&(mt==null?void 0:mt.studying)&&ue.createElement("div",{className:`${a.movebq} user-path-items`,onClick:yt=>{yt.stopPropagation(),Pt(mt)}},ue.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ue.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ut=mt==null?void 0:mt.subject_tags)==null?void 0:ut.map((yt,xt)=>{var Ye,Qe;if(xt===0){const Xe=(Ye=Kt.find(xe=>xe.name==yt))==null?void 0:Ye.swimg;return ue.createElement("img",{className:a.sign,src:Xe,style:{left:"-4px"}})}const gt=(Qe=Kt.find(Xe=>Xe.name==yt))==null?void 0:Qe.ptimg;return ue.createElement("img",{className:a.sign,src:gt,style:{left:`${48+52*(xt-1)+2*xt}px`}})}),ue.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(mt==null?void 0:mt.excellent)&&ue.createElement("div",{className:a.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:a.name},ue.createElement(Le.Z,{title:Et&&(mt!=null&&mt.excellent_alias_name)?ue.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${en}`,ue.createElement("br",null),ue.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${mt==null?void 0:mt.excellent_alias_name}`)):en},ue.createElement("span",{className:a.e},Et&&(mt==null?void 0:mt.excellent_alias_name)||en))),ht&&Lt&&((Mt=mt==null?void 0:mt.progress)==null?void 0:Mt.all_score)!=0&&ue.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ue.createElement(ye.Z,{strokeColor:"#44d7b6",gap:"small",percent:((($t=mt==null?void 0:mt.progress)==null?void 0:$t.my_score)/((Ut=mt==null?void 0:mt.progress)==null?void 0:Ut.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Sn=mt==null?void 0:mt.progress)==null?void 0:Sn.my_score,"/",(We=mt==null?void 0:mt.progress)==null?void 0:We.all_score),(!ht||!Lt)&&ue.createElement("div",{className:a.tags},ue.createElement("div",null,ue.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ue.createElement("span",null,mt.stages_count))),ue.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ue.createElement("span",null,mt.members_count)))))))})),!Se.length&&ue.createElement(Re.Z,null)))}},15817:function(Nt,st,x){"use strict";x.d(st,{jL:function(){return Fe},w9:function(){return Dn},dN:function(){return Tt},QD:function(){return on},cQ:function(){return Ut.Z},Oz:function(){return Xe},op:function(){return Ie},O5:function(){return Ur},_b:function(){return ma},t7:function(){return Se},Gi:function(){return tn},YG:function(){return Cn},kT:function(){return Ga},qp:function(){return z},K3:function(){return te},vr:function(){return Xt},qE:function(){return Rt},Je:function(){return ot},wb:function(){return Je},lB:function(){return $t},cq:function(){return Hr},tp:function(){return se},Si:function(){return gr},k8:function(){return tl},Du:function(){return oi}});var a=x(59301),fe={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"},Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg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bannerExtraContent:mo})=>a.createElement("div",{className:fe.banner},a.createElement("div",{className:fe.content},a.createElement("aside",null,a.createElement("p",null,a.createElement("b",null,Br),a.createElement("span",null,lr)),Da.length>0&&a.createElement("div",{className:fe.btns},Da.map((Ar,zo)=>a.createElement("div",{key:zo,onClick:Ar.click},Ar.name,Ar.sign?a.createElement("img",{src:Le,width:39}):null))),mo),ba&&a.createElement("img",{style:{marginTop:33,marginRight:38},src:ba,width:Wa}))),Be={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"},oe=x(92310),Re=x.n(oe),De=x(89392),be=Object.defineProperty,Me=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,re=(Da,ba,Wa)=>ba in Da?be(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,y=(Da,ba)=>{for(var Wa in ba||(ba={}))ze.call(ba,Wa)&&re(Da,Wa,ba[Wa]);if(Me)for(var Wa of Me(ba))Ce.call(ba,Wa)&&re(Da,Wa,ba[Wa]);return Da},z=({dataSource:Da=[],value:ba,onChange:Wa,onTitleChange:Br,className:lr,title:mo,titleWidth:Ar=41,style:zo={},fontColor:Ro="#6A7283",showCount:Oi,classNameActive:Qo,styleItem:Eo={}})=>{const[Io,ii]=(0,a.useState)(0),[ol,nl]=(0,a.useState)(!1),Ol=(0,a.useRef)(null),Nl=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var qr;Da.length!==0&&(((qr=Ol==null?void 0:Ol.current)==null?void 0:qr.clientHeight)>97?ii(1):ii(0)),Da.length===0&&ii(0),nl(!1)},[Da]),a.createElement("div",{className:Re()(Be.row,lr),style:zo},a.createElement("div",{onClick:(0,De.throttle)(()=>Br==null?void 0:Br(),2e3),style:{width:Ar,marginTop:ol?12:4},className:`${Be.title} ${Br?"current":""}`},mo),a.createElement("div",{className:ol?`${Be.tagsWrap} ${Be.tagsBorderWrap}`:Be.tagsWrap},a.createElement("div",{className:Be.bar,ref:Nl,style:Io>0?{height:Io===1?97:"auto",overflow:Io===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},a.createElement("div",{className:Be.tag,ref:Ol},Da==null?void 0:Da.map(qr=>a.createElement("span",{onClick:()=>Wa(qr.id),key:qr.id,style:y(y({color:Ro},Eo),(qr==null?void 0:qr.style)||{}),className:ba===qr.id?Re()(Qo||Be.active,qr.classNameActive):""},a.createElement("span",{title:qr.name,className:Be.name},qr.name),!!Oi&&a.createElement("span",{className:Be.num},qr.count))))),!!Io&&a.createElement(a.Fragment,null,Io===1?a.createElement("div",{onClick:()=>{var qr;ii(2),((qr=Ol==null?void 0:Ol.current)==null?void 0:qr.clientHeight)>245?nl(!0):nl(!1)},className:Be.action},"\u5C55\u5F00",a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):a.createElement("div",{onClick:()=>{Nl.current.scrollTop=0,ii(1),nl(!1)},className:Be.action},"\u6536\u8D77",a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Da=[],value:ba,onChange:Wa,onTitleChange:Br,className:lr,title:mo,titleWidth:Ar=41,style:zo={},fontColor:Ro="#6A7283",showCount:Oi,expand:Qo=!0})=>{const[Eo,Io]=(0,a.useState)(0),[ii,ol]=(0,a.useState)(!1),nl=(0,a.useRef)(null),Ol=(0,a.useRef)(null),[Nl,qr]=(0,a.useState)(Qo);return a.createElement("div",{className:Re()(b.row,lr),style:zo},a.createElement("div",{className:"flex item-center justify-between"},a.createElement("div",{onClick:(0,De.throttle)(()=>Br==null?void 0:Br(),2e3),style:{width:Ar,marginTop:ii?12:4},className:`${b.title} ${Br?"current":""}`},mo),a.createElement("i",{className:`iconfont ${Nl?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Nl?8:10},onClick:()=>qr(!Nl)})),Nl&&a.createElement("div",{className:ii?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},a.createElement("div",{className:b.fenge}),a.createElement("div",{className:b.bar,ref:Ol},a.createElement("div",{className:b.tag,ref:nl},Da==null?void 0:Da.map(Mr=>a.createElement("span",{onClick:()=>Wa(Mr.id),key:Mr.id,style:{color:Ro},className:ba===Mr.id?b.active:""},a.createElement("span",{title:Mr.name,className:b.name},Mr.name),!!Oi&&a.createElement("span",{className:b.num},Mr.count)))))))},ne={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},se=({dataSource:Da=[],value:ba,onChange:Wa,className:Br,style:lr={}})=>a.createElement("div",{style:lr,className:Re()(ne.tabs,Br)},Da.map(mo=>a.createElement("span",{onClick:()=>Wa(mo.id),className:ba===mo.id?ne.active:"",key:mo.id},mo.name))),de={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},pe=x(92832),Se=({dataSource:Da=[],value:ba="",onChange:Wa,onInputChange:Br=()=>{},className:lr,style:mo={},placeholder:Ar,allowClear:zo=!1})=>{var Ro;const[Oi,Qo]=(0,a.useState)(""),[Eo,Io]=(0,a.useState)("");(0,a.useEffect)(()=>{var nl;let Ol=ba;(nl=JSON.stringify(ba))!=null&&nl.includes("{")&&(Qo(ba.id),Ol=ba.value||"");try{Io(decodeURIComponent(Ol||""))}catch(Nl){Io(decodeURIComponent(Ol||""))}},[ba]);const ii=()=>{Wa(encodeURIComponent(Eo),Oi||null)},ol=nl=>{nl!==Oi&&(Qo(nl),Wa(encodeURIComponent(Eo),nl))};return a.createElement("div",{className:Re()(de.input,lr),style:mo},!!Da.length&&a.createElement("div",{className:de.dropdown},a.createElement("div",{className:de.text},(Ro=Da.find(nl=>nl.id===Oi))==null?void 0:Ro.name,a.createElement("i",{className:"iconfont icon-zhankai4"}),a.createElement("b",{className:de.b1}),a.createElement("b",{className:de.b2})),a.createElement("div",{className:de.menu},Da.map((nl,Ol)=>a.createElement("div",{key:Ol,onClick:()=>ol(nl.id)},nl.name)))),a.createElement(pe.default,{onPressEnter:ii,value:Eo,onChange:nl=>{Io(nl.target.value),Br(encodeURIComponent(nl.target.value),Oi||null)},bordered:!1,placeholder:Ar}),a.createElement("i",{onClick:ii,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Te={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"},ot=({value:Da,onChange:ba,className:Wa,total:Br,pageSize:lr,style:mo={}})=>{const Ar=Da<2,zo=Da>=Math.ceil(Br/lr);return Br<=lr?a.createElement(a.Fragment,null):a.createElement("div",{className:Re()(Te.quickPager,Wa),style:mo},a.createElement("div",{onClick:()=>{Ar||ba(Da-1,"prev")},className:Ar?Te.disabled:""},"\u4E0A\u4E00\u9875"),a.createElement("div",{onClick:()=>{zo||ba(Da+1,"next")},className:zo?Te.disabled:""},"\u4E0B\u4E00\u9875"))},Ze={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"},it=x(71418),Ve=x(6848),lt=x(13570),Pt=x(85386),ht=x(94601),Et=x(96908),Lt=x(57177),kt=x(81378),Kt=x(62556),Je=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,trackEventItems:zo,loading:Ro})=>{const Oi=Math.floor((Ar-(Wa-1)*Br)/Wa);return a.createElement(it.Z,{spinning:Ro},a.createElement("div",{className:Re()(Ze.list,Da)},!!ba.length&&ba.map((Qo,Eo)=>{const{name:Io,id:ii,identifier:ol,power:nl,cover_image_id:Ol,pic:Nl}=Qo;return a.createElement("div",{className:Ze.wrap,key:ii,style:{width:Oi,marginRight:(1+Eo)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{target:"_blank",href:`/shixuns/${ol}/challenges`,className:Ze.li,onClick:qr=>{qr.preventDefault(),zo&&(0,ht.L9)([zo]),nl&&(0,ht.xg)(`/shixuns/${ol}/challenges`)}},a.createElement("div",{className:Ze.img},a.createElement("img",{className:Ze.cover,src:`${Nl}`}),Qo.is_jupyter&&a.createElement("img",{className:Ze.sign,src:Et}),Qo.is_jupyter_lab&&a.createElement("img",{className:Ze.sign,src:Lt}),Qo.is_unity_3d&&a.createElement("img",{className:Ze.sign,src:kt})),a.createElement("div",{className:Ze.name},a.createElement(Ve.Z,{title:Io||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:Ze.e},Io||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{className:Ze.tags},a.createElement(Ve.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),a.createElement("span",null,Qo.challenges_count))),!!Qo.myshixuns_count&&a.createElement(Ve.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),a.createElement("span",null,Qo.myshixuns_count))),a.createElement(Ve.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},a.createElement("span",null,a.createElement("span",null,Qo.level))),a.createElement("div",{className:Ze.rate},a.createElement(lt.Z,{allowHalf:!0,disabled:!0,defaultValue:Qo.score_info}),a.createElement("span",null,"\xA0",Qo.score_info?`${Qo.score_info}\u5206`:"5\u5206")))),!nl&&a.createElement("div",{className:Ze.lockWrap},a.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ba.length&&a.createElement(Kt.Z,null)))},ut={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},$t=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,wrapClassName:zo,trackEventItems:Ro,loading:Oi})=>{const Qo=Math.floor((Ar-(Wa-1)*Br)/Wa);return a.createElement(it.Z,{spinning:Oi},a.createElement("div",{className:Re()(ut.list,Da)},!!ba.length&&ba.map((Eo,Io)=>{const{name:ii,id:ol,identifier:nl,power:Ol,cover_image_id:Nl,pic:qr}=Eo;return a.createElement("div",{className:Re()(ut.wrap,zo),key:ol,style:{width:Qo,marginRight:(1+Io)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{target:"_blank",href:`/shixuns/${nl}/challenges`,className:ut.li,onClick:Mr=>{Mr.preventDefault(),Ro&&(0,ht.L9)([Ro]),Ol&&(0,ht.xg)(`/shixuns/${nl}/challenges`)}},a.createElement("img",{src:x(47621),className:ut.titleBg}),a.createElement("div",{className:ut.name},a.createElement(Ve.Z,{title:ii||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},a.createElement("span",{className:ut.e},ii||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:ut.img},a.createElement("img",{className:ut.cover,src:Nl?`${Pt.Z.API_SERVER}/api/attachments/${Nl}`:`${Pt.Z.IMG_SERVER+qr}`}),Eo.is_jupyter&&a.createElement("div",{className:ut.bq},"Jupyter"),Eo.is_jupyter_lab&&a.createElement("div",{className:ut.bq},"JupyterLab"),Eo.is_unity_3d&&a.createElement("div",{className:ut.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),a.createElement("div",{className:"mt20 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:ut.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:ut.value},Eo.myshixuns_count)),a.createElement("div",null,a.createElement("span",{className:ut.text},"\u56F0\u96BE\u7B49\u7EA7"),a.createElement("span",{className:ut.value},Eo.level))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:ut.text},"\u5173\u5361\u6570"),a.createElement("span",{className:ut.value},Eo.challenges_count)),a.createElement("div",{className:ut.rate},a.createElement(lt.Z,{allowHalf:!0,disabled:!0,defaultValue:Eo.score_info}),a.createElement("span",{className:ut.value,style:{color:"#FF9C00"}},"\xA0",Eo.score_info?`${Eo.score_info}\u5206`:"5\u5206"))))),!Ol&&a.createElement("div",{className:ut.lockWrap},a.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!ba.length&&a.createElement(Kt.Z,null)))},Ut=x(53253),Sn={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},We=x(79005),en=x(20345),Tn=x(77882),hn=x(31081),sn=x(75309),rt=x(71979),vt=x(47558),$e=x(42922),He=x(66832),yt=x(96593),xt=x(19664),Ye=x(91833);const Qe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:We,swimg:en},{name:"101\u8BA1\u5212",ptimg:Tn,swimg:hn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:sn,swimg:rt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vt,swimg:$e},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:He,swimg:yt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:xt,swimg:Ye}];var Xe=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,trackEventItems:zo,loading:Ro,wrapClassName:Oi,imgClassName:Qo,isArrow:Eo=!1})=>{const Io=Math.floor((Ar-(Wa-1)*Br)/Wa),[ii,ol]=(0,a.useState)(),[nl,Ol]=(0,a.useState)(),Nl=Mr=>ol(Mr),qr=()=>ol(-1);return a.createElement(it.Z,{spinning:Ro},a.createElement("div",{className:Re()(Sn.list,Da)},!!(ba!=null&&ba.length)&&(ba==null?void 0:ba.map((Mr,Qr)=>{var Kr;const{name:si,id:Xi,identifier:il,featured:ml,school_name:Vl,image_url:Rl,excellent:xu,is_plan:iu}=Mr;return a.createElement("div",{key:Xi,className:Re()(Sn.wrap,Oi),style:{width:Io,marginRight:(1+Qr)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{target:"_blank",href:`/paths/${il}`,className:Sn.li,onClick:Bi=>{Bi.preventDefault(),zo&&(0,ht.L9)([zo]),(0,ht.xg)(`/paths/${il}`)}},a.createElement("img",{src:x(39057),className:Sn.titleBg}),a.createElement("div",{className:Sn.name},a.createElement(Ve.Z,{title:si},a.createElement("span",{className:Sn.e,style:{color:Eo&&ii===Qr?"#145DFF":"#000000"},onMouseEnter:()=>{Nl(Qr)},onMouseLeave:qr},si))),a.createElement("div",{style:{padding:"14px",paddingBottom:0}},a.createElement("div",{className:Re()(Sn.img,Qo)},a.createElement("img",{className:Sn.cover,src:`${Pt.Z.IMG_SERVER+Rl}`}),(Kr=Mr==null?void 0:Mr.subject_tags)==null?void 0:Kr.map((Bi,Ti)=>{var ci,Po;if(Ti===0){const fi=(ci=Qe.find(ul=>ul.name==Bi))==null?void 0:ci.swimg;return a.createElement("img",{className:Sn.sign,src:fi,style:{left:"-4px"}})}const ll=(Po=Qe.find(fi=>fi.name==Bi))==null?void 0:Po.ptimg;return a.createElement("img",{className:Sn.sign,src:ll,style:{left:`${48+52*(Ti-1)+2*Ti}px`}})}),a.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Mr==null?void 0:Mr.excellent)&&a.createElement("div",{className:Sn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),a.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},a.createElement("div",null,a.createElement("span",{className:Sn.text},"\u7AE0\u8282\u6570"),a.createElement("span",{className:Sn.value},Mr.stages_count)),a.createElement("div",null,a.createElement("span",{className:Sn.text},"\u5B66\u4E60\u4EBA\u6570"),a.createElement("span",{className:Sn.value},Mr.members_count))))))})),!ba.length&&a.createElement(Kt.Z,null)))},xe={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"},Ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQq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rcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Rn=x(59301),Dn=({className:Da,dataSource:ba=[],col:Wa=4,right:Br,bottom:lr=23,precision:mo=0,wrapWidth:Ar=1200,trackEventItems:zo,loading:Ro})=>{const Oi=Math.floor((Ar-(Wa-1)*Br)/Wa);return Rn.createElement(it.Z,{spinning:Ro},Rn.createElement("div",{className:Re()(xe.list,Da)},!!ba.length&&ba.map((Qo,Eo)=>{const{subject_identifier:Io,id:ii,identifier:ol,power:nl}=Qo,Ol=Qo.is_public!=0&&Qo.is_public;return Rn.createElement("div",{className:xe.wrap,key:ii,style:{width:Oi,marginRight:(1+Eo)%Wa===0?0:Br+mo,marginBottom:lr}},Rn.createElement("a",{className:xe.li,onClick:Nl=>{Nl.preventDefault(),zo&&(0,ht.L9)([zo]),(0,ht.xg)(Qo.first_category_url)}},Rn.createElement("div",{className:xe.top},Rn.createElement(Ve.Z,{title:Qo.name},Rn.createElement("div",{className:xe.name},Qo.name)),Rn.createElement("img",{className:xe.img,src:Pt.Z.IMG_SERVER+"/images/"+Qo.avatar_url}),Rn.createElement("div",{className:xe.text,title:Qo.creator},Qo.creator),Io&&Rn.createElement("div",{className:xe.btns},Rn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Rn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ol&&Rn.createElement("div",{className:xe.sign},"\u516C\u5F00")),Rn.createElement("div",{className:xe.bottom},Qo.visits>0&&Rn.createElement(Ve.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Rn.createElement("span",null,Rn.createElement("i",{className:"iconfont icon-liulanyan"}),Rn.createElement("span",null,Qo.visits))),Qo.course_members_count>0&&Rn.createElement(Ve.Z,{title:"\u6210\u5458",placement:"bottom"},Rn.createElement("span",null,Rn.createElement("i",{className:"iconfont icon-chengyuan"}),Qo.course_members_count)),Qo.tasks_count>0&&Rn.createElement(Ve.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Rn.createElement("span",null,Rn.createElement("i",{className:"iconfont icon-zuoye"}),Qo.tasks_count)),Qo.is_end?Rn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Rn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Qo.is_accessible&&Rn.createElement("div",{className:xe.lockWrap},Rn.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Rn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ba.length&&Rn.createElement(Kt.Z,null)))},Qn={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},_n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1E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apClassName:zo,trackEventItems:Ro,loading:Oi})=>{const Qo=Math.floor((Ar-(Wa-1)*Br)/Wa);return a.createElement(it.Z,{spinning:Oi},a.createElement("div",{className:Re()(Qn.list,Da)},!!ba.length&&ba.map((Eo,Io)=>{const{subject_identifier:ii,id:ol,identifier:nl,power:Ol}=Eo,Nl=Eo.is_public!=0&&Eo.is_public;return a.createElement("div",{className:Re()(`${Qn.wrap} ${Eo.is_accessible?"":Qn.warpStyle}`,zo),key:ol,style:{width:Qo,marginRight:(1+Io)%Wa===0?0:Br+mo,marginBottom:lr}},a.createElement("a",{className:Qn.li,onClick:qr=>{qr.preventDefault(),Ro&&(0,ht.L9)([Ro]),(0,ht.xg)(Eo.first_category_url)}},a.createElement("div",{className:Qn.creator},a.createElement("img",{className:Qn.img,src:Pt.Z.IMG_SERVER+"/images/"+Eo.avatar_url}),a.createElement("div",{className:Qn.text,title:Eo.creator},Eo.creator)),a.createElement("div",{className:Qn.top},a.createElement(Ve.Z,{title:Eo.name},a.createElement("div",{className:Qn.name},Eo.name)),Nl&&a.createElement("div",{className:Qn.sign},"\u516C\u5F00")),a.createElement("div",{className:Qn.middle},a.createElement("div",{className:Qn.row,style:{marginBottom:6}},a.createElement("div",null,a.createElement("span",{className:Qn.text},"\u8BBF\u95EE\u91CF"),a.createElement("span",{className:Qn.value},(Eo==null?void 0:Eo.visits)||0)),a.createElement("div",null,a.createElement("span",{className:Qn.text},"\u6210\u5458"),a.createElement("span",{className:Qn.value},(Eo==null?void 0:Eo.course_members_count)||0))),a.createElement("div",{className:Qn.row},a.createElement("div",null,a.createElement("span",{className:Qn.text,style:{width:42}},"\u4F5C",a.createElement("span",{style:{marginLeft:14}},"\u4E1A")),a.createElement("span",{className:Qn.value},(Eo==null?void 0:Eo.tasks_count)||0)),a.createElement("div",null,a.createElement("span",{className:Qn.text},"\u72B6\u6001"),Eo.is_end?a.createElement("span",{className:Qn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):a.createElement("span",{className:Qn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ii&&a.createElement("div",{className:Qn.btns},a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Eo.is_accessible&&a.createElement("div",{className:Qn.lockWrap},a.createElement("img",{src:`${Pt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ba.length&&a.createElement(Kt.Z,null)))},Fn={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"},Ot=x(92123),Cn=({dataSource:Da=[],value:ba,onChange:Wa,className:Br,style:lr={},tabBarExtraContent:mo})=>a.createElement("div",{className:Re()(Fn.tabs,Br),style:lr},a.createElement("div",{className:Fn.tabsWrap},Da.map((Ar,zo)=>a.createElement("aside",{className:Fn.tab,onClick:()=>{Wa(Ar.id),Ar.link&&Ot.history.push(Ar.link)},key:zo},a.createElement("div",{className:ba===Ar.id?Fn.active:""},Ar.name),(Ar==null?void 0:Ar.resetCount)==null&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement("span",null,"\uFF08",Ar==null?void 0:Ar.total,"\uFF09"),(Ar==null?void 0:Ar.resetCount)!==void 0&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement(Ve.Z,{title:(Ar==null?void 0:Ar.tip)!=null?Ar==null?void 0:Ar.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ar==null?void 0:Ar.resetCount),"/",a.createElement("span",null,Ar==null?void 0:Ar.total),"\uFF09"))))),a.createElement("div",{className:Fn.tabBar},mo)),In={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Ga=({dataSource:Da=[],value:ba,onChange:Wa,className:Br,style:lr={},tabBarExtraContent:mo})=>a.createElement("div",{className:Re()(In.tabs,Br),style:lr},a.createElement("div",{className:In.tabsWrap},Da.map((Ar,zo)=>a.createElement("aside",{className:In.tab,onClick:()=>{Wa(Ar.id),Ar.link&&Ot.history.push(Ar.link)},key:zo},a.createElement("div",{className:ba===Ar.id?In.active:""},Ar.name),(Ar==null?void 0:Ar.resetCount)==null&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement("span",null,"\uFF08",Ar==null?void 0:Ar.total,"\uFF09"),(Ar==null?void 0:Ar.resetCount)!==void 0&&(Ar==null?void 0:Ar.total)!==void 0&&a.createElement(Ve.Z,{title:(Ar==null?void 0:Ar.tip)!=null?Ar==null?void 0:Ar.tip:""},a.createElement("span",{style:{color:"#9096A3"}},"\uFF08",a.createElement("span",{style:{color:"#000"}},Ar==null?void 0:Ar.resetCount),"/",a.createElement("span",null,Ar==null?void 0:Ar.total),"\uFF09"))))),a.createElement("div",{className:In.tabBar},mo)),tn=({className:Da,style:ba={},children:Wa})=>a.createElement("div",{className:Re()(Da),style:ba},Wa),Un={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"},Ea=x(38854),Va=x(20834);const Ra=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Hr=({sortValue:Da,dropValue:ba,className:Wa,onSort:Br,onDrop:lr,dataSource:mo=Ra})=>{var Ar;return a.createElement("div",{className:Re()(Un.orderWrap,Wa)},a.createElement(Ea.Z,{dropdownRender:()=>a.createElement(Va.default,null,mo.map((zo,Ro)=>a.createElement(Va.default.Item,{key:Ro,onClick:()=>lr(zo.id)},zo.name)))},a.createElement("span",{className:Un.orderTextWrap},(Ar=mo.find(zo=>ba===zo.id))==null?void 0:Ar.name)),a.createElement("span",{className:Un.orderIconWrap},a.createElement("span",{className:Un.orderAsc},a.createElement("i",{className:Da==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Un.cursorPointer} ${Un.active}`:`iconfont icon-sanjiaoxing-up font12 ${Un.cursorPointer}`,onClick:()=>Br(Da==="asc"?"desc":"asc")})),a.createElement("span",{className:Un.orderDesc},a.createElement("i",{className:Da==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Un.cursorPointer} ${Un.active}`:`iconfont icon-sanjiaoxing-down font12 ${Un.cursorPointer}`,onClick:()=>Br(Da==="asc"?"desc":"asc")}))))},bt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},En=x(3113),yr=x(21585),zt=Object.defineProperty,Ln=Object.getOwnPropertySymbols,Ma=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,rr=(Da,ba,Wa)=>ba in Da?zt(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,dn=(Da,ba)=>{for(var Wa in ba||(ba={}))Ma.call(ba,Wa)&&rr(Da,Wa,ba[Wa]);if(Ln)for(var Wa of Ln(ba))Na.call(ba,Wa)&&rr(Da,Wa,ba[Wa]);return Da},ce=(Da,ba)=>{var Wa={};for(var Br in Da)Ma.call(Da,Br)&&ba.indexOf(Br)<0&&(Wa[Br]=Da[Br]);if(Da!=null&&Ln)for(var Br of Ln(Da))ba.indexOf(Br)<0&&Na.call(Da,Br)&&(Wa[Br]=Da[Br]);return Wa},ge=(Da,ba,Wa)=>new Promise((Br,lr)=>{var mo=Ro=>{try{zo(Wa.next(Ro))}catch(Oi){lr(Oi)}},Ar=Ro=>{try{zo(Wa.throw(Ro))}catch(Oi){lr(Oi)}},zo=Ro=>Ro.done?Br(Ro.value):Promise.resolve(Ro.value).then(mo,Ar);zo((Wa=Wa.apply(Da,ba)).next())}),Ie=Da=>{var ba=Da,{className:Wa,style:Br,children:lr,loading:mo=!1,openLoading:Ar,onClick:zo=()=>{},size:Ro="middle",shape:Oi="round",theme:Qo}=ba,Eo=ce(ba,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Io,ii]=(0,a.useState)(!1),ol=(0,a.useMemo)(()=>{switch(Qo){case yr.Fy.THEMEONE:return bt.ThemeOne;case yr.Fy.DEFAULT:default:return bt.btn}},[Qo]);return a.createElement(En.ZP,dn({onClick:(0,De.throttle)(nl=>ge(void 0,null,function*(){Ar&&ii(!0);try{yield zo(nl)}catch(Ol){console.log("error",Ol)}Ar&&ii(!1)}),2e3,{leading:!0,trailing:!1}),className:Re()(ol,bt[`${Ro}-${Oi}`],Wa),style:Br,size:Ro,shape:Oi,loading:Io||mo},Eo),lr)},qe={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"},Rt=({className:Da,style:ba,children:Wa=null,onClick:Br,title:lr})=>a.createElement("div",{className:Re()(qe.head,Da),style:ba},a.createElement("span",{className:"primary-hover",onClick:Br},a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),a.createElement("b",{title:lr},lr),a.createElement("div",{className:qe.node},Wa)),xa={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"},on=({confirmShow:Da=!0,confirmTitle:ba,confirmClick:Wa,cancelShow:Br=!0,cancelTitle:lr,cancelClick:mo,className:Ar,style:zo,confirmLoading:Ro=!1})=>a.createElement("div",{className:Re()(xa.btns,Ar),style:zo},Da&&a.createElement(En.ZP,{loading:Ro,onClick:Wa,type:"primary",className:xa.confirm},ba),Br&&a.createElement(En.ZP,{onClick:mo,className:xa.cancel},lr)),qt={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"},Xt=({className:Da,style:ba={},LeftContent:Wa,children:Br,RightContent:lr})=>a.createElement("div",{className:Re()(qt.fixedBottom,Da),style:ba},a.createElement("div",{className:qt.wrap},a.createElement("div",{className:qt.left},Wa),a.createElement("div",{className:qt.center},Br),a.createElement("div",{className:qt.right},lr))),la={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"},ma=({className:Da,style:ba={},dataSource:Wa=[]})=>a.createElement("div",{className:Re()(la.crumbs,Da),style:ba},Wa.map((Br,lr)=>lrOt.history.push(Br.path)},Br.name):a.createElement("span",null,Br.name),a.createElement("span",null,"\xA0",">","\xA0")):a.createElement("span",{key:lr,style:{color:"#5F6368"}},Br.name))),bn=x(31797),ct=Object.defineProperty,ln=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,pt=(Da,ba,Wa)=>ba in Da?ct(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,na=(Da,ba)=>{for(var Wa in ba||(ba={}))zn.call(ba,Wa)&&pt(Da,Wa,ba[Wa]);if(cn)for(var Wa of cn(ba))pn.call(ba,Wa)&&pt(Da,Wa,ba[Wa]);return Da},er=(Da,ba)=>ln(Da,fn(ba)),cr=(Da,ba)=>{var Wa={};for(var Br in Da)zn.call(Da,Br)&&ba.indexOf(Br)<0&&(Wa[Br]=Da[Br]);if(Da!=null&&cn)for(var Br of cn(Da))ba.indexOf(Br)<0&&pn.call(Da,Br)&&(Wa[Br]=Da[Br]);return Wa};const{Countdown:Kn}=bn.default;var Ur=Da=>{var ba=Da,{onChange:Wa}=ba,Br=cr(ba,["onChange"]);const[lr,mo]=(0,a.useState)(null);(0,a.useEffect)(()=>{typeof lr=="number"&&lr>=0&&Wa(lr)},[lr]);const Ar=zo=>{const Ro=Math.floor(zo/1e3);mo(Ro)};return a.createElement(Kn,er(na({},Br),{onChange:Ar}))},uo={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},gr=({DataProps:Da,className:ba,style:Wa={}})=>{var Br;return a.createElement("div",{className:Re()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",uo.ClassRoomItem,ba),style:Wa,onClick:()=>{(0,ht.xg)(Da==null?void 0:Da.first_category_url)}},a.createElement("div",{className:"flex flex-col item-center"},a.createElement("img",{src:`${(Br=Pt.Z)==null?void 0:Br.IMG_SERVER}/images/${Da==null?void 0:Da.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Da==null?void 0:Da.subject_identifier)&&a.createElement("div",{className:"mt-40px"},a.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),a.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),a.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},a.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Da!=null&&Da.is_public)&&a.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),a.createElement("span",{className:Re()("text-16px font-medium",uo.TitleDom)},Da==null?void 0:Da.name)),a.createElement("div",{className:"c-grey-333 font-medium"},Da==null?void 0:Da.creator),a.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Da==null?void 0:Da.course_members_count),a.createElement("div",{className:"c-grey-333 flex item-center justify-between"},a.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Da==null?void 0:Da.tasks_count),Da!=null&&Da.is_end?a.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):a.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Ir=Object.defineProperty,Cr=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Do=(Da,ba,Wa)=>ba in Da?Ir(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,io=(Da,ba)=>{for(var Wa in ba||(ba={}))fr.call(ba,Wa)&&Do(Da,Wa,ba[Wa]);if(Cr)for(var Wa of Cr(ba))co.call(ba,Wa)&&Do(Da,Wa,ba[Wa]);return Da},oi=({DataProps:Da=[],selectValue:ba,onChange:Wa,className:Br,style:lr={},extra:mo,classNameItem:Ar,styleItem:zo={},barHidden:Ro})=>{const[Oi,Qo]=(0,a.useState)();return(0,a.useEffect)(()=>{Qo(Array.isArray(ba)?ba:[ba])},[ba]),a.createElement("div",{className:Re()("flex px-20px py-10px gap-40px",Br),style:io({borderBottom:"1px solid #D3F0FF"},lr)},Da==null?void 0:Da.map(Eo=>a.createElement("div",{key:Eo==null?void 0:Eo.id,className:Re()("flex item-center justify-center current c-grey-333 text-16 relative",Ar,Eo==null?void 0:Eo.className),style:io(io({color:Oi!=null&&Oi.includes(Eo==null?void 0:Eo.id)?"#1890FF":"",minWidth:88},zo),(Eo==null?void 0:Eo.style)||{}),onClick:Io=>{Wa==null||Wa({domEvent:Io,item:Eo}),Eo!=null&&Eo.link&&Ot.history.push(Eo==null?void 0:Eo.link)}},Eo==null?void 0:Eo.name,!Ro&&(Oi==null?void 0:Oi.includes(Eo==null?void 0:Eo.id))&&a.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),a.createElement("div",{className:"ml-auto"},mo))},cl=Object.defineProperty,al=Object.defineProperties,Ci=Object.getOwnPropertyDescriptors,bi=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Gi=(Da,ba,Wa)=>ba in Da?cl(Da,ba,{enumerable:!0,configurable:!0,writable:!0,value:Wa}):Da[ba]=Wa,zi=(Da,ba)=>{for(var Wa in ba||(ba={}))zr.call(ba,Wa)&&Gi(Da,Wa,ba[Wa]);if(bi)for(var Wa of bi(ba))Ri.call(ba,Wa)&&Gi(Da,Wa,ba[Wa]);return Da},Lo=(Da,ba)=>al(Da,Ci(ba)),tl=({value:Da,onChange:ba,onInputChange:Wa,className:Br,style:lr={},InputProps:mo})=>{const[Ar,zo]=(0,a.useState)(Da);return a.createElement("div",{className:Re()("flex item-center rounded-full px-10px py-2px",Br),style:zi({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},lr)},a.createElement(pe.default,Lo(zi({bordered:!1},mo),{onChange:Ro=>{zo(Ro.target.value),Wa==null||Wa(encodeURIComponent(Ro.target.value))},onPressEnter:Ro=>{ba==null||ba({domEvent:Ro,item:{value:Ar}})}})),a.createElement("img",{className:"h-22px current",src:x(25365),height:22,onClick:Ro=>{ba==null||ba({domEvent:Ro,item:{value:Ar}})}}))}},61346:function(Nt,st,x){"use strict";x.d(st,{Z:function(){return fe}});var a=x(59301);function fe(Le,ye){const Fe=(0,a.useRef)();(0,a.useEffect)(()=>{Fe.current=Le}),(0,a.useEffect)(()=>{function Be(){Fe.current()}if(ye!==null){let oe=setInterval(Be,ye);return()=>clearInterval(oe)}},[ye])}},58781:function(Nt,st,x){"use strict";x.d(st,{Z:function(){return ot}});var a=x(78241),fe=x(8591),Le=x(43418),ye=x(71418),Fe=x(6848),Be=x(57809),oe=x(5112),Re=x(92832),De=x(1710),be=x(59301),Me=x(92123),ze=x(43597),Ce=x(94601),re={radio_con:"radio_con___cvwXd",result_con:"result_con___m5Gmr",result_title:"result_title___D7L1n"},y=x(47141),E=x(55659),z=x(17410),b=x(59301),ee=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,pe=(Ze,it,Ve)=>it in Ze?ee(Ze,it,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Ze[it]=Ve,Ae=(Ze,it)=>{for(var Ve in it||(it={}))se.call(it,Ve)&&pe(Ze,Ve,it[Ve]);if(ue)for(var Ve of ue(it))de.call(it,Ve)&&pe(Ze,Ve,it[Ve]);return Ze},Se=(Ze,it)=>te(Ze,ne(it)),Te=(Ze,it,Ve)=>new Promise((lt,Pt)=>{var ht=kt=>{try{Lt(Ve.next(kt))}catch(Kt){Pt(Kt)}},Et=kt=>{try{Lt(Ve.throw(kt))}catch(Kt){Pt(Kt)}},Lt=kt=>kt.done?lt(kt.value):Promise.resolve(kt.value).then(ht,Et);Lt((Ve=Ve.apply(Ze,it)).next())});const we=({shixunHomeworks:Ze,exercise:it,loading:Ve,dispatch:lt})=>{var Pt,ht,Et;const{commonHeader:Lt}=it,[kt,Kt]=(0,be.useState)([]),[mt,Je]=(0,be.useState)(Se(Ae({},(0,Me.useParams)()),{page:1,limit:10})),[ut,Mt]=(0,be.useState)([]),[$t,Ut]=(0,be.useState)(""),[Sn,We]=(0,be.useState)(1),[en]=a.default.useForm(),[Tn,hn]=(0,be.useState)({}),[sn,rt]=(0,be.useState)(null),[vt,$e]=(0,be.useState)(!1),[He,yt]=(0,be.useState)([]),[xt,Ye]=(0,be.useState)(null),[Qe,gt]=(0,be.useState)(0),[Xe,xe]=(0,be.useState)(0),[Ht,Rn]=(0,be.useState)(!1),vn=[{title:"\u5E8F\u53F7",dataIndex:"1",width:80,render:(Cn,In,wa)=>(mt.page-1)*mt.limit+wa+1},{title:"\u59D3\u540D",dataIndex:"user_name",ellipsis:!0,width:180},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Cn=>Cn||"--"},{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Cn,In)=>b.createElement("div",{className:re.banding,title:Cn||"--"},Cn||"--")},{title:"\u63D0\u4EA4\u72B6\u6001",width:200,dataIndex:"commit_status",render:(Cn,In)=>Cn===0?b.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Cn===1?b.createElement("span",{style:{color:"#DF3042"}},!In.is_make_up&&"\u8003\u8BD5\u4E2D",In.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Cn===2?b.createElement("span",{style:{color:"#5AB891"}},!In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377",In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):b.createElement("span",{style:{color:"#5AB891"}},!In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",In.is_make_up&&!In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!In.is_make_up&&In.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:(Lt==null?void 0:Lt.exercise_type)==2&&!(0,y.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:(Cn,In)=>In.commit_status===0||In.commit_status===1?"--":!In.open_total_score&&(0,y.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Cn=typeof Cn=="number"?Number(Cn):Cn,console.log(typeof Cn),Cn||(Cn=0),Cn===100?b.createElement("span",{className:"c-green"},Cn):Cn>60?b.createElement("span",{className:"c-orange"},Cn):Cn==Xe*.6?b.createElement("span",{className:"c-red"},Cn):b.createElement("span",null,Cn))}].filter(Cn=>!!Cn);(0,be.useEffect)(()=>{var Cn;((Cn=it.actionTabs)==null?void 0:Cn.key)=="\u6D4B\u8BD5AI\u8BC4\u5206"&&(yt([]),Ye(null),Dn(),_n(mt))},[(Pt=it.actionTabs)==null?void 0:Pt.key]);const Dn=()=>Te(void 0,null,function*(){var Cn;if(!((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion))return;const In=yield(0,ze.ZP)(`/api/exercises/${mt==null?void 0:mt.categoryId}/all_subj_questions.json`,{method:"get"});In.status==0&&yt(In.data)}),Qn=(Cn,In)=>{mt.page=Cn,mt.limit=In,Je(Ae({},mt)),_n(mt)},_n=Cn=>Te(void 0,null,function*(){Rn(!0);const In=yield(0,ze.ZP)(`/api/exercises/${mt.categoryId||(mt==null?void 0:mt.exerciseId)}/exercise_users.json`,{method:"get",params:Cn});In.status==0&&(gt(In.data.total_count),Je(Se(Ae({},mt),{total:In.data.total_count})),Kt(In.data.exercise_users),xe(In.data.total_score)),Rn(!1)}),Ft=Cn=>{mt.search=Cn,mt.page=1,en.resetFields(),hn({}),Mt([]),rt(null),Je(Ae({},mt)),_n(mt)},Tt=Cn=>Te(void 0,null,function*(){var In,wa;const Ga=Ae({},Tn);if(!((In=Cn==null?void 0:Cn.content)!=null&&In.trim())){fe.ZP.warning("\u8BF7\u8F93\u5165\u7B54\u9898\u5185\u5BB9\uFF01");return}Ga.content=Cn==null?void 0:Cn.content,Ga.attachment_ids=(wa=Cn==null?void 0:Cn.attachment_ids)==null?void 0:wa.map(wr=>wr.response.id),Fn(Ga)}),Fn=Cn=>Te(void 0,null,function*(){var In;$e(!0);const{showSelectQuestion:wa,ai_review_settings:Ga}=it.actionTabs,wr=yield(0,ze.ZP)(`/api/exercises/${(mt==null?void 0:mt.categoryId)||(mt==null?void 0:mt.exerciseId)}/test_ai_review.json`,{method:"post",body:Se(Ae({},Cn),{exercise_question_id:wa?xt:(In=it.actionTabs)==null?void 0:In.questionId,ai_review_settings:Ga})});if([0,-3].includes(wr.status)){wr.status==0&&fe.ZP.success("\u8BC4\u5206\u6D4B\u8BD5\u6210\u529F\uFF01"),rt(wr);const tn=document.querySelector(".modal-ai-pfcs");if(tn){const Un=tn.querySelector(".ant-modal-body");Un&&(Un.scrollTop=Un.scrollHeight)}}$e(!1)}),Ot=()=>{lt({type:"exercise/setActionTabs",payload:{key:""}}),We(1),_t()},_t=()=>{en.resetFields(),hn({}),Mt([]),Ut(""),rt(null)};return b.createElement(Le.default,{className:"modal-ai-pfcs",width:1150,bodyStyle:{maxHeight:"calc(100vh - 200px)",overflowY:"auto"},centered:!0,title:"\u6D4B\u8BD5AI\u8BC4\u5206",confirmLoading:vt,open:((ht=it.actionTabs)==null?void 0:ht.key)==="\u6D4B\u8BD5AI\u8BC4\u5206",destroyOnClose:!0,onCancel:()=>Ot(),okText:sn?"\u91CD\u65B0\u6D4B\u8BD5":"\u5F00\u59CB\u6D4B\u8BD5",onOk:()=>{var Cn;if((Cn=it.actionTabs)!=null&&Cn.showSelectQuestion&&!xt)return fe.ZP.warning("\u8BF7\u9009\u62E9\u9898\u76EE\uFF01");if(Sn==1){if(ut.length==0)return fe.ZP.warning("\u8BF7\u9009\u62E9\u4E00\u4F4D\u5B66\u751F\u8BD5\u5377\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5\uFF01");Fn({exercise_user_id:ut[0]})}else Sn==2&&en.submit()}},b.createElement(ye.Z,{spinning:vt,tip:"\u6D4B\u8BD5AI\u8BC4\u5206\u4E2D\u2026\u2026"},((Et=it.actionTabs)==null?void 0:Et.showSelectQuestion)&&b.createElement("div",{className:"flex item-center justify-between mb10"},b.createElement("div",{style:{width:120,margin:"0 10px",display:"flex",alignItems:"center"}},b.createElement("span",{style:{color:"red",marginRight:5}},"*"),"\u9009\u62E9\u9898\u76EE",b.createElement(Fe.Z,{title:"\u667A\u80FD\u8BC4\u9605\u76EE\u524D\u4EC5\u652F\u6301\u7B80\u7B54\u9898\uFF08\u542B\u7EC4\u5408\u9898\u4E2D\u7684\u7B80\u7B54\u9898\uFF09"},b.createElement("i",{className:`iconfont icon-tishixiaowenhao ${re.title_icon}`,style:{cursor:"pointer",marginLeft:5,fontSize:"14px"}}))),b.createElement(Be.default,{style:{width:"calc(100% - 110px)"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u9898\u76EE",value:xt,onChange:Cn=>Ye(Cn)},He==null?void 0:He.map(Cn=>b.createElement(Be.default.Option,{key:Cn==null?void 0:Cn.id,value:Cn==null?void 0:Cn.id},Cn==null?void 0:Cn.question_title)))),b.createElement("div",{className:re.radio_con},b.createElement("span",{style:{marginRight:32}},"\u6D4B\u8BD5\u65B9\u5F0F"),b.createElement(oe.ZP.Group,{onChange:Cn=>{Cn.target.value==1&&Qn(1,10),We(Cn.target.value),_t()},value:Sn,options:[{label:"\u9009\u62E9\u5B66\u751F\u7B54\u6848",value:1,style:{marginRight:30,color:"#000"}},{label:"\u8F93\u5165\u7B54\u9898\u5185\u5BB9",value:2,style:{marginRight:30,color:"#000"}}]})),Sn==1&&b.createElement(b.Fragment,null,b.createElement("div",{className:"flex justify-between item-center mb10"},b.createElement("div",{style:{fontSize:"14px",color:"#FA6400"}},"\u63D0\u793A\uFF1A","\u53EA\u80FD\u9009\u62E9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F\u8FDB\u884C\u8BC4\u5206\u6D4B\u8BD5"),b.createElement(Re.default.Search,{style:{width:487},size:"large",placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:$t,onChange:Cn=>Ut(Cn.target.value),onSearch:Ft})),b.createElement(De.default,{rowSelection:{type:"radio",selectedRowKeys:ut,onChange:(Cn,In)=>{Mt(Cn)},getCheckboxProps:Cn=>({disabled:[0,1].includes(Cn==null?void 0:Cn.commit_status)})},loading:Ht,rowKey:"exercise_user_id",dataSource:kt||[],columns:vn,pagination:{current:mt.page,hideOnSinglePage:!0,showQuickJumper:!0,showSizeChanger:!0,pageSize:mt.limit,className:"mb0",pageSizeOptions:["10","20","50","100","200"],total:Qe,size:"default",showTotal:Ce.rU,onChange:Qn},onChange:(Cn,In,wa)=>{mt.page=1,wa.order===void 0?(mt.order_type=null,mt.order=null):(mt.order_type=wa.order==="descend"?"desc":"asc",mt.order=wa.field),Je(Ae({},mt)),_n(mt)}})),Sn==2&&b.createElement("div",{style:{marginTop:20}},b.createElement(a.default,{form:en,className:re.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{hn(Ae({},en.getFieldsValue()))},onFinish:Tt},b.createElement(a.default.Item,{name:"content",label:"",style:{marginBottom:0}},b.createElement(E.Z,{watch:!0})))),sn&&b.createElement("div",{className:re.result_con},b.createElement("div",{className:re.result_title},"AI\u8BC4\u5206\u7ED3\u679C"),(sn==null?void 0:sn.status)==0&&b.createElement("div",{className:"p20"},b.createElement("div",{className:"mb5"},b.createElement("span",{style:{color:"#333",fontWeight:"bold"}},"\u8BC4\u5206\uFF1A"),sn==null?void 0:sn.score),b.createElement("div",{className:"flex"},b.createElement("span",{style:{color:"#333",fontWeight:"bold",whiteSpace:"nowrap",lineHeight:"26px"}},"\u8BC4\u8BED\uFF1A"),b.createElement(z.Z,{value:sn==null?void 0:sn.content,style:{fontSize:"14px"}}))),(sn==null?void 0:sn.status)==-3&&b.createElement("div",{className:"p20"},b.createElement(z.Z,{value:sn==null?void 0:sn.message,style:{fontSize:"14px"}})))))};var ot=(0,Me.connect)(({shixunHomeworks:Ze,exercise:it,loading:Ve,user:lt})=>({shixunHomeworks:Ze,exercise:it,loading:Ve.effects,user:lt}))(we)},12411:function(Nt,st,x){"use strict";x.r(st),x.d(st,{default:function(){return $f}});var a=x(59301),fe=x(43597),Le=x(85386),ye=x(92123),Fe=x(43418),Be=x(20834),oe=x(8591),Re=x(24905),De=x(6848),be=x(5112),Me=x(81327),ze=x(66104),Ce=x(3113),re=x(95237),y=x(38854),E=x(99313),z=x(1710),b=x(87169),ee=x(27812),te=x(89489),ne=x(39598),ue=x(94601),se=x(18167),de=x(78241),pe=x(43604),Ae=x(78673),Se=x(92832),Te=x(5871),we=x(58421),ot=x(56656),Ze=x.n(ot),it=Object.defineProperty,Ve=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,ht=(me,ve,le)=>ve in me?it(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Et=(me,ve)=>{for(var le in ve||(ve={}))lt.call(ve,le)&&ht(me,le,ve[le]);if(Ve)for(var le of Ve(ve))Pt.call(ve,le)&&ht(me,le,ve[le]);return me},Lt=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const kt=({shixunHomeworks:me,dispatch:ve})=>{const le=(0,ye.useParams)();return a.createElement(Fe.default,{centered:!0,title:"\u63D0\u793A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Lt(void 0,null,function*(){(yield(0,fe.ZP)(`/api/myshixuns/${me.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"post",body:{course_id:le.coursesId}})).status===0&&(oe.ZP.success("\u5220\u9664\u6210\u529F"),ve({type:"shixunHomeworks/setActionTabs",payload:{}}),ve({type:"shixunHomeworks/getWorkList",payload:Et({},me.actionTabs.params)}))}),onCancel:()=>{ve({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),a.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};var Kt=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(kt),mt=Object.defineProperty,Je=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,Sn=(me,ve,le)=>ve in me?mt(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,We=(me,ve)=>{for(var le in ve||(ve={}))$t.call(ve,le)&&Sn(me,le,ve[le]);if(Mt)for(var le of Mt(ve))Ut.call(ve,le)&&Sn(me,le,ve[le]);return me},en=(me,ve)=>Je(me,ut(ve)),Tn=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const hn=({exercise:me,dispatch:ve})=>{var le,dt,Dt,_e,Wt,at,Oe,Pe;const xn=(0,ye.useParams)(),[jn,Vn]=(0,a.useState)(!0),[an]=de.default.useForm(),{actionTabs:wn}=me;(0,a.useEffect)(()=>{var pa,$n,Wn,Qa;me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605"&&(an.resetFields(),an.setFieldsValue({subjective_score:($n=(pa=wn==null?void 0:wn.selectArrs)==null?void 0:pa.record)==null?void 0:$n.subjective_score,objective_score:(Qa=(Wn=wn==null?void 0:wn.selectArrs)==null?void 0:Wn.record)==null?void 0:Qa.objective_score}))},[me.actionTabs.key]);const aa=()=>{ve({type:"exercise/setActionTabs",payload:{}})};return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u8BC4\u9605",open:me.actionTabs.key==="\u66F4\u6539\u8BC4\u9605",onCancel:aa,footer:a.createElement(re.Z,{align:"middle",justify:"end"},a.createElement(Ce.ZP,{className:"ml10",onClick:aa}," \u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml10",onClick:()=>Tn(void 0,null,function*(){var pa,$n;yield an.validateFields();const Wn=an.getFieldValue();(yield(0,ne.oS)(en(We({},Wn),{id:xn.categoryId,user_id:($n=(pa=wn==null?void 0:wn.selectArrs)==null?void 0:pa.record)==null?void 0:$n.user_id}))).status===0&&(oe.ZP.success("\u8BC4\u9605\u6210\u529F"),an.resetFields(),ve({type:"exercise/setActionTabs",payload:{}}),ve({type:"exercise/setUpdateIndex"}))}),type:"primary"}," \u786E\u8BA4"))},a.createElement("div",{className:"pl30"},a.createElement(de.default,{form:an},a.createElement(re.Z,null,a.createElement(pe.Z,null,a.createElement(de.default.Item,{name:"subjective_score",label:"\u4E3B\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((dt=(le=wn==null?void 0:wn.selectArrs)==null?void 0:le.exercise_types)==null?void 0:dt.subjective_score)*1,style:{width:150},placeholder:"\u8BF7\u586B\u5199\u4E3B\u89C2\u9898\u6210\u7EE9"}))),a.createElement(pe.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(_e=(Dt=wn==null?void 0:wn.selectArrs)==null?void 0:Dt.exercise_types)==null?void 0:_e.subjective_score,"\u5206")))),a.createElement(re.Z,null,a.createElement(pe.Z,null,a.createElement(de.default.Item,{name:"objective_score",label:"\u5BA2\u89C2\u9898\u6210\u7EE9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165!"}]},a.createElement(Te.Z,{min:0,max:((at=(Wt=wn==null?void 0:wn.selectArrs)==null?void 0:Wt.exercise_types)==null?void 0:at.objective_score)*1,style:{width:150},width:150,placeholder:"\u8BF7\u586B\u5199\u5BA2\u89C2\u9898\u6210\u7EE9"}))),a.createElement(pe.Z,{flex:1},a.createElement("div",null,a.createElement("span",{className:"ml10"},"\u5206\uFF0C\u603B\u5171\uFF1A",(Pe=(Oe=wn==null?void 0:wn.selectArrs)==null?void 0:Oe.exercise_types)==null?void 0:Pe.objective_score,"\u5206"))))))))};var sn=(0,ye.connect)(({exercise:me})=>({exercise:me}))(hn);const rt=[{name:"\u672A\u8BC4\u9605",id:0,type:"unreview_counts"},{name:"\u8BC4\u9605\u4E2D",id:2,type:"reviewing_counts"},{name:"\u5DF2\u8BC4\u9605",id:1,type:"review_counts"}],vt=[{name:"\u672A\u5F00\u59CB",id:0,type:"unanswer_users"},{name:"\u8003\u8BD5\u4E2D",id:1,type:"answering_users"},{name:"\u5DF2\u4EA4\u5377",id:2,type:"answer_users"},{name:"\u5DF2\u4EA4\u5377/\u672A\u7B54",id:3,type:"commit_with_no_answers_users"}],$e=[{name:"\u65E0\u9700\u8865\u8003",id:0,type:"unmake_up_users_count"},{name:"\u53C2\u52A0\u8865\u8003",id:1,type:"make_up_users_count"}];var He=x(62556),yt=x(71418),xt=x(18581),Ye=x(59301),Qe=Object.defineProperty,gt=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,vn=(me,ve,le)=>ve in me?Qe(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Dn=(me,ve)=>{for(var le in ve||(ve={}))Ht.call(ve,le)&&vn(me,le,ve[le]);if(xe)for(var le of xe(ve))Rn.call(ve,le)&&vn(me,le,ve[le]);return me},Qn=(me,ve)=>gt(me,Xe(ve)),_n=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Ft=({exercise:me,dispatch:ve})=>{var le,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),Wt=de.default.useWatch("time",_e),[at,Oe]=(0,a.useState)(!1),{actionTabs:Pe,commonHeader:xn}=me,[,jn,Vn,an]=(0,xt.U)(ne.n7,{id:Dt.categoryId}),wn=an!=null&&an.user_end_time?Ze()(an==null?void 0:an.user_end_time).add(1,"minutes"):Ze()(),aa=Ze()(an==null?void 0:an.user_total_end_time)>wn?Math.round(Ze().duration(Ze()(an==null?void 0:an.user_total_end_time).diff(wn.startOf("minute"))).asMinutes()):0,pa=((an==null?void 0:an.student_left_minutes)||0)+(Wt||0);(0,a.useEffect)(()=>{var Wn;Pe.key==="\u5EF6\u65F6"?(ve({type:"exercise/getWorkSetting",payload:Dn({},Dt)}),Vn({user_id:Pe!=null&&Pe.isBatch?Pe==null?void 0:Pe.user_ids:[(Wn=Pe==null?void 0:Pe.selectArrs)==null?void 0:Wn.user_id]})):_e.resetFields()},[Pe.key]);const $n=()=>{ve({type:"exercise/setActionTabs",payload:{}})};return Ye.createElement(Ye.Fragment,null,Ye.createElement(Fe.default,{width:640,centered:!0,title:Pe!=null&&Pe.isBatch?"\u6279\u91CF\u5EF6\u65F6":"\u5EF6\u65F6",open:Pe.key==="\u5EF6\u65F6",okText:"\u786E\u8BA4\u5EF6\u65F6",cancelText:"\u53D6\u6D88",confirmLoading:at,onOk:()=>_n(void 0,null,function*(){_e.submit()}),onCancel:$n},Ye.createElement(yt.Z,{spinning:jn},Ye.createElement(de.default,{form:_e,colon:!1,labelCol:{span:4},onFinish:Wn=>_n(void 0,null,function*(){Oe(!0);const Qa=yield(0,ne.qz)(Qn(Dn({},Wn),{id:Dt.categoryId,exercise_user_id:Pe==null?void 0:Pe.exercise_user_id}));Oe(!1),Qa.status===0&&(oe.ZP.success("\u5EF6\u65F6\u6210\u529F"),ve({type:"exercise/setUpdateIndex"}),$n())})},Ye.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"\u5EF6\u65F6\u8BF4\u660E\uFF1A",Ye.createElement("br",null),"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",Ye.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1B",Ye.createElement("br",null),"3.\u82E5\u5C06\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u5EF6\u540E\uFF0C\u5C06\u5BF9\u6240\u6709\u8003\u8BD5\u8FDF\u5230\u7684\u5B66\u751F\u8FDB\u884C\u7EDF\u4E00\u5EF6\u65F6\uFF08\u5B66\u751F\u5DF2\u7B54\u9898\u65F6\u95F4+\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4+\u7EDF\u4E00\u5EF6\u65F6\u65F6\u95F4\u2264\u8003\u8BD5\u7B54\u9898\u65F6\u957F\uFF09\u3002"),Pe!=null&&Pe.isBatch?Ye.createElement("div",null,"\u5F53\u524D\u9009\u4E2D",Ye.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},Pe==null?void 0:Pe.exercise_user_id.length),"\u540D\u5B66\u751F"):Ye.createElement(re.Z,{align:"middle",gutter:40},Ye.createElement(pe.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",Ye.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(le=Pe==null?void 0:Pe.selectArrs)==null?void 0:le.user_name)),Ye.createElement(pe.Z,null,"\u5B66\u53F7",Ye.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=Pe==null?void 0:Pe.selectArrs)==null?void 0:dt.student_id))),Ye.createElement(de.default.Item,{className:"mt30",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EF6\u957F\u65F6\u95F4"}],name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},Ye.createElement(Te.Z,{min:0,precision:0,max:aa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${aa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(Pe!=null&&Pe.isBatch)&&Ye.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",Ye.createElement("span",{className:"ml5"},pa),"\u5206\u949F",pa!==0&&(an==null?void 0:an.user_end_time)&&Ye.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",Ye.createElement("span",{className:"ml5"},Ze()(an==null?void 0:an.user_end_time).add(Wt||0,"m").format("YYYY-MM-DD HH:mm:ss")))),(xn==null?void 0:xn.screen_open)&&Ye.createElement(de.default.Item,{style:{marginLeft:98,marginBottom:0},name:"is_clear",initialValue:!1,valuePropName:"checked"},Ye.createElement(Re.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570"))))))};var Tt=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Ft),Fn=x(5083),Ot=x(50564),_t=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Cn=({exercise:me,dispatch:ve})=>{var le,dt;const Dt=(0,ye.useParams)(),[_e]=de.default.useForm(),[Wt,at]=(0,a.useState)(!1),{actionTabs:Oe}=me;return(0,a.useEffect)(()=>{me.actionTabs.key==="teacher-unlock"&&(at(!1),_e.resetFields())},[me.actionTabs.key]),a.createElement(a.Fragment,null,a.createElement(Fe.default,{width:600,centered:!0,title:`\u8003\u8BD5\u89E3\u9501\uFF08${(le=Oe==null?void 0:Oe.selectArrs)==null?void 0:le.user_name}\uFF09`,open:me.actionTabs.key==="teacher-unlock",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",keyboard:!1,confirmLoading:Wt,onOk:()=>_t(void 0,null,function*(){var Pe,xn;yield _e.validateFields();const jn=_e.getFieldsValue();if(at(!0),(yield(0,ne.ZD)(Dt.categoryId,{exercise_user_id:(Pe=Oe==null?void 0:Oe.selectArrs)==null?void 0:Pe.exercise_user_id,unlock_key:jn.unlock_key})).status===0){if(jn.time){const an={time:Ze()(jn.time).format("YYYY-MM-DD HH:mm"),exercise_user_id:(xn=Oe==null?void 0:Oe.selectArrs)==null?void 0:xn.exercise_user_id,id:Dt.categoryId};yield(0,ne.qz)(an)}oe.ZP.success("\u89E3\u9664\u9501\u5B9A\u6210\u529F"),ve({type:"exercise/setUpdateIndex"}),ve({type:"exercise/setActionTabs",payload:{}})}at(!1)}),onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:""},a.createElement(de.default,{form:_e,layout:"vertical",autoComplete:"off"},a.createElement(de.default.Item,{className:"ml10",label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},a.createElement(Se.default.Password,{autoComplete:"off",style:{width:270},placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),a.createElement(de.default.Item,{label:a.createElement("span",null,"\u5EF6\u957F\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF08",a.createElement("span",{className:"c-grey-999"},"\u4E0D\u80FD\u8D85\u8FC7\u5F53\u524D\u8BD5\u5377\u622A\u6B62\u65F6\u95F4",Ze()((dt=Oe==null?void 0:Oe.selectArrs)==null?void 0:dt.exercise_end_at).format("YYYY-MM-DD HH:mm")),"\uFF09"),name:"time",className:"ml10"},a.createElement(Fn.default,{style:{width:270},placeholder:"\u8BF7\u9009\u62E9\u4EA4\u5377\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm"},format:"YYYY-MM-DD HH:mm",disabledDate:Pe=>{var xn;return(0,Ot.Q8)(Pe,(xn=Oe==null?void 0:Oe.selectArrs)==null?void 0:xn.exercise_end_at)},disabledTime:Pe=>{var xn;const jn=(xn=Oe==null?void 0:Oe.selectArrs)==null?void 0:xn.exercise_end_at;if(Ze()(Pe).isSame(Ze()(jn),"day")){const Vn=Ze()(jn).hours(),an=Ze()(jn).minutes();return console.log(Vn,an),{disabledHours:()=>(0,Ot.w6)(0,24).slice(Vn+1),disabledMinutes:()=>Ze()(Pe).isSame(Ze()(jn),"hour")?(0,Ot.w6)(an,60):[]}}return(0,Ot.d0)(Pe)},allowClear:!1}))))))};var In=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Cn),wa=x(85554),Ga=x(29724),wr=x(85208),tn=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Va=(me,ve)=>{var le={};for(var dt in me)Un.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&tn)for(var dt of tn(me))ve.indexOf(dt)<0&&Ea.call(me,dt)&&(le[dt]=me[dt]);return le},Ra=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Wr=me=>{var ve=me,{shixunHomeworks:le,dispatch:dt}=ve,Dt=Va(ve,["shixunHomeworks","dispatch"]);const _e=(0,ye.useParams)(),[Wt,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)([]);(0,a.useEffect)(()=>{le.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&xn()},[le.actionTabs.key]);function xn(){return Ra(this,null,function*(){const Vn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/group_list.json`,{method:"GET"});at(Vn)})}const jn=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return a.createElement(a.Fragment,null,a.createElement(Fe.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:le.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Ra(void 0,null,function*(){const Vn=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/code_quality_analysis.json`,{method:"POST",body:{group_ids:Oe}});(Vn==null?void 0:Vn.status)===0&&(ye.history.replace(`/classrooms/${_e.coursesId}/exercise/${_e.categoryId}/detail?tabs=7`),window.location.reload(),dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Pe([]))}),onCancel:()=>{Pe([]),dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},a.createElement(z.default,{rowSelection:{type:"checkbox",onChange:(Vn,an)=>{Pe([...Vn])},selectedRowKeys:Oe,getCheckboxProps:Vn=>({disabled:Vn.status==="\u8FDB\u884C\u4E2D"||Vn.works_count===0})},rowKey:Vn=>Vn.key||Vn.id,scroll:{y:300},pagination:!1,columns:jn,dataSource:Wt==null?void 0:Wt.group_list})))};var Hr=(0,ye.connect)(({shixunHomeworks:me})=>({shixunHomeworks:me}))(Wr),bt=x(47141),En={flex_box_center:"flex_box_center____uOEt",flex_space_between:"flex_space_between___J8U9e",flex_box_vertical_center:"flex_box_vertical_center___M1l_z",flex_box_center_end:"flex_box_center_end___UsRsw",flex_box_column:"flex_box_column___gcanz",rightFilter:"rightFilter___KnaoF",classwidth:"classwidth___QPkdW",operationCol:"operationCol___hiIyI",unlockBtn:"unlockBtn___QvP_V",recordScreenModal:"recordScreenModal___tLQo7",operationLink:"operationLink___vj72A",banding:"banding___BLx2S",noShow:"noShow___mrV9r",btn_review:"btn_review___b6mDf"},yr=x(59301),zt=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())}),Ma=({item:me,renderText:ve})=>{const le=(0,ye.useParams)(),[dt,Dt]=(0,a.useState)(),_e=Wt=>zt(void 0,null,function*(){if(!Wt)return;const at=yield(0,ne.UH)({id:le.categoryId,user_id:me==null?void 0:me.user_id});at&&Dt(at)});return yr.createElement(De.Z,{onOpenChange:Wt=>_e(Wt),title:yr.createElement("div",null,"\u5355\u9009\u9898 ",(dt==null?void 0:dt.single_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u591A\u9009\u9898 ",(dt==null?void 0:dt.multiple_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u5224\u65AD\u9898 ",(dt==null?void 0:dt.judgement_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u586B\u7A7A\u9898 ",(dt==null?void 0:dt.completion_question_score)||0,"\u5206 ",yr.createElement("br",null),"\u5B9E\u8BAD\u9898 ",(dt==null?void 0:dt.shixun_question_score)||0,"\u5206")},ve)},Na=x(89392),rr=x.n(Na),dn=x(57809),ce=x(90852),ge=x(59301),Ee=Object.defineProperty,Ie=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Jn=(me,ve,le)=>ve in me?Ee(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,on=(me,ve)=>{for(var le in ve||(ve={}))Rt.call(ve,le)&&Jn(me,le,ve[le]);if(wt)for(var le of wt(ve))xa.call(ve,le)&&Jn(me,le,ve[le]);return me},qt=(me,ve)=>Ie(me,qe(ve)),Mn=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Xt=({exercise:me,dispatch:ve})=>{var le,dt;const Dt=(0,ye.useParams)(),{actionTabs:_e,commonHeader:Wt}=me,[at]=de.default.useForm(),Oe=de.default.useWatch("time",at),[,Pe,xn,jn]=(0,xt.U)(ne.n7,{id:Dt.categoryId}),[,Vn,an]=(0,xt.U)(ne.Xo,{id:Dt.categoryId}),wn=(0,a.useRef)(null),aa=jn!=null&&jn.user_end_time?Ze()(jn==null?void 0:jn.user_end_time).add(1,"minutes"):Ze()(),pa=Ze()(jn==null?void 0:jn.user_total_end_time)>aa?Math.round(Ze().duration(Ze()(jn==null?void 0:jn.user_total_end_time).diff(aa.startOf("minute"))).asMinutes()):0,$n=((jn==null?void 0:jn.student_left_minutes)||0)+(Oe||0);(0,a.useEffect)(()=>{var Qa,On;_e.key=="\u8C03\u6574\u72B6\u6001"?(ve({type:"exercise/getWorkSetting",payload:on({},Dt)}),xn({user_id:_e!=null&&_e.isBatch?_e==null?void 0:_e.user_ids:[(Qa=_e==null?void 0:_e.selectArrs)==null?void 0:Qa.user_id]})):(at.resetFields(),wn.current&&((On=wn.current)==null||On.changeCode({target:{value:""}})))},[_e.key]);const Wn=()=>{ve({type:"exercise/setActionTabs",payload:{}})};return ge.createElement(Fe.default,{centered:!0,title:_e!=null&&_e.isBatch?"\u6279\u91CF\u8C03\u6574\u8003\u8BD5\u72B6\u6001":"\u8C03\u6574\u8003\u8BD5\u72B6\u6001",open:_e.key=="\u8C03\u6574\u72B6\u6001",width:650,okText:"\u786E\u5B9A\u8C03\u6574",confirmLoading:Vn,onOk:()=>Mn(void 0,null,function*(){at.submit()}),onCancel:Wn},ge.createElement(yt.Z,{spinning:Pe},ge.createElement(de.default,{initialValues:{status:"1"},form:at,colon:!1,labelCol:{span:4},onFinish:Qa=>Mn(void 0,null,function*(){if(console.log("allValue",Qa),wn.current.onVerify())return Promise.reject();(yield an(qt(on({},Qa),{exercise_user_id:_e==null?void 0:_e.exercise_user_id}))).status==0&&(oe.ZP.success("\u8C03\u6574\u6210\u529F"),Wn(),ve({type:"exercise/setUpdateIndex"}))})},_e!=null&&_e.isBatch?ge.createElement("div",{className:"mb20"},"\u5F53\u524D\u9009\u4E2D",ge.createElement("span",{className:"ml5 mr5",style:{color:"#FA6400"}},_e==null?void 0:_e.exercise_user_id.length),"\u540D\u5B66\u751F"):ge.createElement(re.Z,{className:"mb20",align:"middle",gutter:40},ge.createElement(pe.Z,null,"\u5F53\u524D\u9009\u4E2D\u5B66\u751F",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(le=_e==null?void 0:_e.selectArrs)==null?void 0:le.user_name)),ge.createElement(pe.Z,null,"\u5B66\u53F7",ge.createElement("span",{className:"ml15",style:{color:"#FA6400"}},(dt=_e==null?void 0:_e.selectArrs)==null?void 0:dt.student_id))),(Wt==null?void 0:Wt.is_locked)&&ge.createElement(de.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ge.createElement(Se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),ge.createElement(de.default.Item,{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"}],name:"status",label:"\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u8003\u8BD5\u72B6\u6001"},ge.createElement(dn.default.Option,{value:"1"},"\u8003\u8BD5\u4E2D\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u7EE7\u7EED\u8003\u8BD5\uFF09"),ge.createElement(dn.default.Option,{value:"2"},"\u5DF2\u4EA4\u5377\uFF08\u4FDD\u7559\u5B66\u751F\u7684\u7B54\u9898\u6570\u636E\uFF0C\u8FDB\u884C\u4EA4\u5377\uFF09"))),(Wt==null?void 0:Wt.time)!==-1&&ge.createElement(ge.Fragment,null,ge.createElement(de.default.Item,{className:"mt20 mb20",name:"time",label:"\u5EF6\u957F\u65F6\u95F4"},ge.createElement(Te.Z,{min:0,precision:0,max:pa,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${pa}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),!(_e!=null&&_e.isBatch)&&ge.createElement("div",{className:"mb20",style:{marginLeft:98,color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},$n),"\u5206\u949F",$n!==0&&(jn==null?void 0:jn.user_end_time)&&ge.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ge.createElement("span",{className:"ml5"},Ze()(jn==null?void 0:jn.user_end_time).add(Oe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))),(Wt==null?void 0:Wt.screen_open)&&ge.createElement(de.default.Item,{style:{marginLeft:100},name:"is_clear",initialValue:!1,valuePropName:"checked"},ge.createElement(Re.default,null,"\u6E05\u9664\u5B66\u751F\u7684\u5DF2\u5207\u5C4F\u6B21\u6570")),ge.createElement(de.default.Item,{label:"\u9A8C\u8BC1\u7801",required:!0,style:{marginBottom:0}},ge.createElement(ce.Z,{ref:Qa=>wn.current=Qa})))))};var la=(0,ye.connect)(({exercise:me})=>({exercise:me}))(Xt),ya=x(19950),ma=Object.defineProperty,bn=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,fn=(me,ve,le)=>ve in me?ma(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,cn=(me,ve)=>{for(var le in ve||(ve={}))ct.call(ve,le)&&fn(me,le,ve[le]);if(bn)for(var le of bn(ve))ln.call(ve,le)&&fn(me,le,ve[le]);return me};const zn=me=>React.createElement("svg",cn({width:17,height:10,xmlns:"http://www.w3.org/2000/svg"},me),React.createElement("title",null,"new"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"-5%",y1:"37.065%",x2:"100%",y2:"67.301%",id:"new_svg__a"},React.createElement("stop",{stopColor:"#FF420B",offset:"0%"}),React.createElement("stop",{stopColor:"#FF9B44",offset:"100%"}))),React.createElement("path",{d:"M700.618 185h-14.236c-.781 0-1.382.629-1.382 1.447v7.106c0 .818.6 1.447 1.382 1.447h14.236c.781 0 1.382-.629 1.382-1.447v-7.106c0-.818-.6-1.447-1.382-1.447Zm-10.692 7.358h-.961l-1.863-3.836v3.836h-.6v-4.59h.84l1.923 3.962h.06v-3.963h.6v4.591Zm1.502-2.641h2.342v.629h-2.342v.126c0 .817.24 1.195.72 1.195h1.682v.629h-1.682c-.36 0-.66-.126-.9-.44-.24-.315-.361-.818-.361-1.384v-1.07c0-1.069.66-1.509 1.321-1.635h1.622v.63h-1.561c-.24.062-.781.25-.781 1.006-.06.125-.06.188-.06.314Zm7.809 2.641h-.841l-.841-3.647-.961 3.647h-.901l-1.262-4.59h.66l1.082 3.773h.06l.961-3.774h.721l.961 3.963 1.142-3.963h.6l-1.381 4.591Z",transform:"translate(-685 -185)",fill:"url(#new_svg__a)",fillRule:"nonzero"}));var pn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItNSUiIHkxPSIzNy4wNjUlIiB4Mj0iMTAwJSIgeTI9IjY3LjMwMSUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkY0MjB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r=Object.getOwnPropertyDescriptors,Kn=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,uo=(me,ve,le)=>ve in me?na(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,pr=(me,ve)=>{for(var le in ve||(ve={}))no.call(ve,le)&&uo(me,le,ve[le]);if(Kn)for(var le of Kn(ve))Ur.call(ve,le)&&uo(me,le,ve[le]);return me},gr=(me,ve)=>er(me,cr(ve)),Ir=(me,ve)=>{var le={};for(var dt in me)no.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Kn)for(var dt of Kn(me))ve.indexOf(dt)<0&&Ur.call(me,dt)&&(le[dt]=me[dt]);return le},Cr=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const fr=me=>{var ve=me,{exercise:le,loading:dt,dispatch:Dt,globalSetting:_e,checkDomainAuthority:Wt,getparams:at,user:Oe,classroomList:Pe}=ve,xn=Ir(ve,["exercise","loading","dispatch","globalSetting","checkDomainAuthority","getparams","user","classroomList"]),jn,Vn,an,wn,aa,pa,$n,Wn,Qa;const[On]=(0,ye.useSearchParams)(),ga=(0,ye.useParams)();let[Yt,da]=(0,a.useState)(pr({page:1,limit:20},ga));const{commonHeader:oa,updateIndex:Ta}=le,{userInfo:Jt}=Oe,[va,ra]=(0,a.useState)({}),[ir,eo]=(0,a.useState)(0),[Pr,Dr]=(0,a.useState)(0),[Qt,tt]=(0,a.useState)(!1),[ka,fa]=(0,a.useState)("alert"),[ja,vr]=(0,a.useState)(0),[Sa,Xr]=(0,a.useState)(!1),[za,Oa]=(0,a.useState)(!1),[Fr]=de.default.useForm(),[xr,qa]=(0,a.useState)([]),[ea,Ua]=(0,a.useState)(1),[Ca,ta]=(0,a.useState)(""),[Ba,qn]=(0,a.useState)(),[$a,mr]=(0,a.useState)(!1),[Or,Co]=(0,a.useState)(!1),[po,Gr]=(0,a.useState)({name:"",id:"",list:[]}),[ar,oo]=(0,a.useState)({}),[So,Mi]=(0,a.useState)({}),[Gl,zl]=(0,a.useState)(!0),[ji,hu]=(0,a.useState)(""),[Bu,eu]=(0,a.useState)(""),[to,Li]=(0,a.useState)(""),[Wl,tu]=(0,a.useState)([]),[,,Iu]=(0,xt.U)(ne.N0,{}),[nu,Zi]=(0,a.useState)([]),[Ru,is]=(0,a.useState)(!0);(0,a.useEffect)(()=>{let Zn={};if(On.get("exercise_group_id")&&!Ta){if(On.get("statistics")){let Yn=[];const _r=On.get("scope");_r==="0"&&(Yn=["all"]),_r==="1"&&(Yn=[1,2,3]),_r==="2"&&(Yn=[2,3]),Zn={exercise_group_id:On.get("exercise_group_id"),commit_status:Yn}}else Zn={review:[0,2],commit_status:[2,3]},On.get("exercise_group_id")!=="0"&&(Zn.exercise_group_id=[Number(On.get("exercise_group_id"))]);Fr.setFieldsValue(pr({},Zn))}return Yt=pr(pr({},Yt),Zn),da(pr({},Yt)),Ou(),Nr(Yt),tu([]),()=>{Dt({type:"exercise/setUpdateIndex",payload:"clear"})}},[Ta]);const Ou=()=>Cr(void 0,null,function*(){var Zn,Yn;const _r=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/header_info.json`,{method:"get"});(_r==null?void 0:_r.status)===0&&(oo((_r==null?void 0:_r.data)||{}),console.log((Zn=_r==null?void 0:_r.data)==null?void 0:Zn.course_groups),Dt({type:"exercise/save",payload:{course_groups:(Yn=_r==null?void 0:_r.data)==null?void 0:Yn.course_groups}}))}),Nr=Zn=>Cr(void 0,null,function*(){var Yn,_r,pu,Ju,Mu,Ys,Nc,js,Md,S0,rg;zl(!0);const $u=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/exercise_users.json`,{method:"get",params:Zn});if(($u==null?void 0:$u.status)===0){let og=(pu=(_r=(Yn=$u==null?void 0:$u.data)==null?void 0:Yn.exercise_users)==null?void 0:_r[0])==null?void 0:pu.commit_status;is(og==2||og==3),Mi({exercise_users:((Ju=$u==null?void 0:$u.data)==null?void 0:Ju.exercise_users)||[],current_answer_user:((Mu=$u==null?void 0:$u.data)==null?void 0:Mu.current_answer_user)||{}}),hu(((Ys=$u==null?void 0:$u.data)==null?void 0:Ys.appraise_user_login)||""),eu(((Nc=$u==null?void 0:$u.data)==null?void 0:Nc.first_export_user_login)||""),eo((js=$u==null?void 0:$u.data)==null?void 0:js.total_count),Dr(typeof((Md=$u==null?void 0:$u.data)==null?void 0:Md.total_score)=="string"?Number((S0=$u==null?void 0:$u.data)==null?void 0:S0.total_score):(rg=$u==null?void 0:$u.data)==null?void 0:rg.total_score)}Li($u==null?void 0:$u.status),zl(!1)});(0,a.useEffect)(()=>{Dt({type:"exercise/setSaveExerciseDownUsers",payload:Il})},[Bu,ir,JSON.stringify(Yt)]);function gi(Zn){return Cr(this,null,function*(){var Yn,_r,pu,Ju;qn(Zn==null?void 0:Zn.exercise_user_id),mr(Zn.commit_status===2||Zn.commit_status===3),Xr(!0);let Mu=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/student_info.json`,{method:"get",params:{exercise_user_id:Zn==null?void 0:Zn.exercise_user_id}});((_r=(Yn=Mu==null?void 0:Mu.data)==null?void 0:Yn.exercise_user_photos)==null?void 0:_r.length)>0?tt(!0):oe.ZP.info("\u5F53\u524D\u6682\u65E0\u7167\u7247"),qa((pu=Mu==null?void 0:Mu.data)==null?void 0:pu.exercise_user_photos),vr((Ju=Mu==null?void 0:Mu.data)==null?void 0:Ju.alert_count),Xr(!1)})}const hl=Zn=>{Yt.page=1;const Yn=Object.assign({},Fr.getFieldsValue());Object.keys(Yn).map(function(_r){_r==="objective_score_gte"||_r==="objective_score_lte"||(Yn[_r].includes("all")?(delete Yt[_r],Fr.setFieldsValue({[_r]:"all"})):(Yt[_r]=Yn[_r],Yn[_r]==""||!Yn[_r]?Fr.setFieldsValue({[_r]:"all"}):Fr.setFieldsValue({[_r]:Yt[_r]})))}),("objective_score_gte"in Zn||"objective_score_lte"in Zn)&&(Yn.objective_score_gte&&Yn.objective_score_lte&&Yn.objective_score_gte>Yn.objective_score_lte?(Fr.setFieldsValue({objective_score_lte:Yn.objective_score_gte}),Yt.objective_score_lte=Yn.objective_score_gte||null,Yt.objective_score_gte=Yn.objective_score_gte||null):(Yt.objective_score_lte=Yn.objective_score_lte||null,Yt.objective_score_gte=Yn.objective_score_gte||null)),da(pr({},Yt)),Nr(Yt),at(pr({},Yt))},Yu=(Zn=1,Yn=20)=>{Yt.page=Zn,Yt.limit=Yn,da(pr({},Yt)),Nr(Yt)};let Jr=new Date().getTime();const Zo=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",render:(Zn,Yn,_r)=>pt.createElement(De.Z,{title:((Yt.page||1)-1)*Yt.limit+_r+1},pt.createElement("span",null,((Yt.page||1)-1)*Yt.limit+_r+1))},{title:"\u59D3\u540D",dataIndex:"user_name",fixed:"left",align:"left",render:(Zn,Yn)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"},onClick:()=>{var _r;if(Zn&&(0,bt.GJ)()){if((0,bt.Rm)()&&!((_r=Pe.AssistantObject.exercise)!=null&&_r.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}switch(Yn.commit_status){case 0:if(!(0,bt.Ny)()){oe.ZP.warning("\u5B66\u751F\u672A\u5F00\u59CB\u8003\u8BD5\uFF0C\u60A8\u65E0\u6743\u67E5\u770B");return}break;default:console.log("\u5F53\u524D\u63D0\u4EA4\u72B6\u6001",Yn.commit_status)}Zn&&(0,bt.GJ)()&&(Nu(),(0,ue.xg)(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${Yn==null?void 0:Yn.login}`))}}},pt.createElement("span",{className:Zn&&(0,bt.GJ)()?En.operationLink:""},Zn||"--"),!!(Yn!=null&&Yn.delayed_at)&&oa.time!==-1&&pt.createElement(De.Z,{title:pt.createElement("div",null,"\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u8C03\u6574\u81F3",pt.createElement("span",{className:"ml5"},Ze()(Yn.delayed_at).format("YYYY-MM-DD HH:mm")))},pt.createElement("span",{className:"iconfont icon-shizhong c-blue"})))},{title:"\u5B66\u53F7",dataIndex:"student_id",align:"left",sorter:!0,render:Zn=>Zn||"--"},!(ar!=null&&ar.is_excellent)&&(ar==null?void 0:ar.groups_count)!==0&&{title:"\u5206\u73ED",dataIndex:"user_group_name",align:"left",render:(Zn,Yn)=>pt.createElement("div",{className:En.banding,title:Zn||"--"},Zn||"--")},{title:(oa==null?void 0:oa.exercise_type)==2&&!(0,bt.dE)()?"\u6700\u9AD8\u6210\u7EE9":"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",sorter:!0,render:(Zn,Yn)=>Yn.commit_status===0||Yn.commit_status===1?"--":!Yn.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Zn=typeof Zn=="number"?Number(Zn):Zn,console.log(typeof Zn),Zn||(Zn=0),Zn===100?pt.createElement("span",{className:"c-green"},Zn):Zn>60?pt.createElement("span",{className:"c-orange"},Zn):Zn==Pr*.6?pt.createElement("span",{className:"c-red"},Zn):pt.createElement("span",null,Zn))},!((ar==null?void 0:ar.objective)!==1||(ar==null?void 0:ar.objective)===1&&(ar==null?void 0:ar.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let _r;return Zn>=0&&Zn<=60?_r=pt.createElement("span",null,Zn):Zn===100?_r=pt.createElement("span",{className:"c-green"},Zn):Zn>60?_r=pt.createElement("span",{className:"c-orange"},Zn):_r="--",pt.createElement(Ma,{renderText:_r,item:Yn})}}},!((ar==null?void 0:ar.subjective)!==1||(ar==null?void 0:ar.subjective)===1&&(ar==null?void 0:ar.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{let _r;ar!=null&&ar.appraise_setting&&(ar!=null&&ar.sealed_review)&&new Date(ar==null?void 0:ar.appraise_end_time).getTime()>Jr&&(_r="--"),!(Yn!=null&&Yn.has_comment)&&Yn.review_status&&(_r="\u8BC4\u9605\u4E2D"),Yn!=null&&Yn.has_comment?_r="\u5DF2\u8BC4\u9605":_r="\u672A\u8BC4\u9605",Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let pu;return Zn===0?pu=pt.createElement("span",null,Zn," ",_r==="\u672A\u8BC4\u9605"&&pt.createElement("span",{className:"c-red"}," (\u5F85\u8BC4\u9605)")):Zn>0&&Zn<=60?pu=pt.createElement("span",null,Zn):Zn===100?pu=pt.createElement("span",{className:"c-green"},Zn):Zn>60?pu=pt.createElement("span",{className:"c-orange"},Zn):pu="--",pu}}},(oa==null?void 0:oa.open_make_up)&&{title:"\u8865\u8003\u6263\u5206",dataIndex:"make_up_score",render:(Zn,Yn)=>[1,2].includes(Yn==null?void 0:Yn.commit_status)?Zn:"--"},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"left",render:(Zn,Yn)=>Zn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Zn===1?pt.createElement("span",{style:{color:"#DF3042"}},!Yn.is_make_up&&"\u8003\u8BD5\u4E2D",Yn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Zn===2?pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"left",sorter:!0,render:Zn=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",sorter:!0,render:(Zn,Yn)=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"},(0,bt.GJ)()&&(oa==null?void 0:oa.exercise_type)===2&&{title:pt.createElement("span",null,"\u8003\u8BD5\u6B21\u6570",pt.createElement(De.Z,{title:"\u6BCF\u4E2A\u5B66\u751F\u7684\u5DF2\u8003\u8BD5\u6B21\u6570/\u53EF\u8003\u8BD5\u6B21\u6570\uFF0C\u53EF\u70B9\u51FB\u67E5\u770B\u5B66\u751F\u7684\u8003\u8BD5\u8BB0\u5F55"},pt.createElement("i",{className:"iconfont icon-xiaowenhao font14 current"}))),dataIndex:"exercise_user_redo_count",render:(Zn,Yn)=>{var _r;return pt.createElement("span",{style:{color:"#3061D0",cursor:"pointer"},onClick:()=>{const pu={name:Yn==null?void 0:Yn.user_name,id:Yn==null?void 0:Yn.student_id,list:Yn==null?void 0:Yn.simulate_exercise_records};Gr(pr({},pu)),Co(!0)}},(_r=Yn==null?void 0:Yn.simulate_exercise_records)==null?void 0:_r.length,"/",oa==null?void 0:oa.simulate_exercise_num)||"--"}},{title:"\u6253\u56DE\u6B21\u6570",dataIndex:"exercise_user_redo_count",className:((jn=Jt==null?void 0:Jt.course)==null?void 0:jn.course_role)===15||(oa==null?void 0:oa.exercise_type)==2?En.noShow:"",align:"left",render:(Zn,Yn)=>pt.createElement("div",{style:{display:"flex",alignItems:"center"}},pt.createElement("span",{className:En.operationLink,onClick:()=>{Dt({type:"exercise/setActionTabs",payload:{key:"\u6253\u56DE\u8BB0\u5F55",student_id:Yn.user_id}})}},Zn||"0"))},(oa==null?void 0:oa.screen_open)&&{title:pt.createElement("span",null,"\u5207\u5C4F\u6B21\u6570",pt.createElement(De.Z,{title:"\u7EA2\u8272\u4EE3\u8868\u5B66\u751F\u5207\u5C4F\u8D85\u8FC7\u89C4\u5B9A\u6B21\u6570\u88AB\u5F3A\u5236\u4EA4\u5377"},pt.createElement("span",{className:"icon-xiaowenhao"}))),dataIndex:"screen_used_num",align:"center",render:(Zn,Yn)=>pt.createElement("span",{style:Zn>0?{cursor:"pointer"}:{},className:Zn>(Yn==null?void 0:Yn.screen_total_num)?"c-red":"",onClick:()=>Cr(void 0,null,function*(){if(Zn===0)return;const _r=yield(0,ne.Yu)(ga.categoryId,{exercise_user_id:Yn.exercise_user_id});Fe.default.info({title:`\u5207\u5C4F\u8BB0\u5F55\uFF08${Yn==null?void 0:Yn.user_name}\uFF09`,icon:null,closable:!0,className:En.recordScreenModal,maskClosable:!0,width:616,centered:!0,content:pt.createElement(z.default,{style:{marginTop:14},bordered:!0,pagination:!1,rowKey:"time",columns:[{title:"\u5F00\u59CB\u5207\u5C4F\u65F6\u95F4",align:"center",dataIndex:"time"},{title:"\u5207\u5C4F\u65F6\u957F\uFF08\u79D2\uFF09",align:"center",dataIndex:"time_long"},{title:"\u5224\u5B9A\u5207\u5C4F\u6B21\u6570",align:"center",dataIndex:"count"}],dataSource:_r==null?void 0:_r.data})})})},Zn,"/",Yn==null?void 0:Yn.screen_total_num)},(oa==null?void 0:oa.exercise_status)>1&&(oa==null?void 0:oa.open_camera)&&(0,bt.GJ)()&&!((Vn=_e.setting)!=null&&Vn.is_local)&&{title:"\u8003\u8BD5\u7167\u7247",dataIndex:"photo_count",align:"center",render:(Zn,Yn)=>Yn.commit_status>0?pt.createElement("a",{onClick:()=>{gi(Yn)}},`${Zn||0}/${oa==null?void 0:oa.photo_count}`):"--"},(oa==null?void 0:oa.ip_bind)&&(0,bt.Gg)()&&{title:"\u8003\u8BD5IP",dataIndex:"last_ip",align:"center",render:(Zn,Yn)=>pt.createElement(pt.Fragment,null,Zn||"--",Yn.commit_status<=1&&oa.ip_bind&&Yn.last_ip&&pt.createElement(Ce.ZP,{type:"link",onClick:()=>Cr(void 0,null,function*(){const _r=Fe.default.confirm({title:pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"1"},"\u89E3\u9664\u7ED1\u5B9A"),pt.createElement(pe.Z,null,pt.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>_r.destroy()}))),width:500,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",className:"custom-modal-divider",content:pt.createElement("div",null,"\u4E3A\u5B66\u751F\u89E3\u9664\u8003\u8BD5IP\u7ED1\u5B9A\u540E\uFF0C\u5B66\u751F\u53EF\u4EE5\u4F7F\u7528\u65B0\u7684IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002",pt.createElement("span",{className:"c-red"},"\u5982\u679C\u8BE5\u5B66\u751F\u6B63\u5728\u8003\u8BD5\u4E2D\uFF0C\u5C06\u65E0\u6CD5\u4F5C\u7B54\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u5165\u8003\u8BD5\u3002"),"\u60A8\u786E\u5B9A\u8981\u89E3\u9664\u8BE5\u5B66\u751F\u7684\u8003\u8BD5IP\u7ED1\u5B9A\uFF1F"),onOk:()=>Cr(void 0,null,function*(){(yield(0,ne.ab)({id:Yt.categoryId,exercise_user_id:Yn.exercise_user_id})).status===0&&(oe.ZP.success("\u89E3\u7ED1\u6210\u529F"),Nr(Yt))})})})},"\u89E3\u7ED1"))},(oa==null?void 0:oa.open_camera)&&(0,bt.Gg)()&&oa.exercise_status<3&&!((an=_e.setting)!=null&&an.is_local)&&{title:"\u5141\u8BB8\u4E0D\u62CD\u6444",dataIndex:"close_camera",align:"center",render:(Zn,Yn)=>pt.createElement(Ae.Z,{checked:Zn,onClick:()=>Cr(void 0,null,function*(){Zn?Fe.default.info({title:"\u63D0\u793A",content:pt.createElement("div",null,"\u4E0D\u5141\u8BB8\u4FEE\u6539"),okText:"\u786E\u8BA4"}):Fe.default.confirm({title:"\u5141\u8BB8\u4E0D\u6444\u50CF\u8B66\u544A",content:pt.createElement("div",null,"\u4E3A\u4FDD\u8BC1\u8003\u8BD5\u516C\u5E73\uFF0C\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7684\u6444\u50CF\u5934\u3002\u5982\u5B66\u751F\u786C\u4EF6\u8BBE\u65BD\u786E\u6709\u95EE\u9898\uFF0C\u4E3A\u4FDD\u8BC1\u5B66\u751F\u8003\u8BD5\u6743\u5229\uFF0C\u6559\u5E08\u53EF\u4E34\u65F6\u53D6\u6D88\u9650\u5236\uFF0C\u5141\u8BB8\u5B66\u751F\u53C2\u8003\u3002 \u672C\u64CD\u4F5C\u4E0D\u53EF\u64A4\u56DE\uFF0C\u4E0D\u53EF\u4FEE\u6539\u3002 \u60A8\u786E\u8BA4\u540C\u610F\u8BE5\u5B66\u751F\u4E0D\u5F00\u542F\u6444\u50CF\u5934\u53C2\u52A0\u8003\u8BD5\u5417\uFF1F"),onOk:()=>Cr(void 0,null,function*(){const _r=yield(0,ne.cC)(gr(pr({},Yt),{exercise_user_id:Yn.exercise_user_id}));(_r==null?void 0:_r.status)===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),Nr(Yt))})})})})},(0,bt.GJ)()&&{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"has_comment",align:"center",render:(Zn,Yn)=>ar!=null&&ar.appraise_setting&&(ar!=null&&ar.sealed_review)&&new Date(ar==null?void 0:ar.appraise_end_time).getTime()>Jr?"--":!Zn&&Yn.review_status?"\u8BC4\u9605\u4E2D":Zn?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},((oa==null?void 0:oa.assistant_auth)||(0,bt.GJ)()||(0,bt.dE)())&&Wt&&{title:"\u64CD\u4F5C",fixed:"right",dataInex:"action",align:"left",className:En.operationCol,render:(Zn,Yn)=>{var _r,pu;return(oa==null?void 0:oa.exercise_status)===-1?pt.createElement("div",null," ",(0,bt.GJ)()&&pt.createElement("a",{onClick:Ju=>{Ju.stopPropagation(),Dt({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Yn==null?void 0:Yn.exercise_user_id,type:"exercise"}})}},"\u4FEE\u6539\u6210\u7EE9"),pt.createElement("a",{style:{marginLeft:(0,bt.GJ)()&&10},onClick:(0,Na.debounce)(Ju=>Cr(void 0,null,function*(){var Mu,Ys,Nc;Ju.stopPropagation();let js=yield(0,fe.ZP)(`/api/exercises/${Yt==null?void 0:Yt.categoryId}/exercise_user/view_detail.json`,{method:"get",params:{exercise_user_id:Yn==null?void 0:Yn.exercise_user_id}});Fe.default.confirm({title:"\u8003\u8BD5\u8BE6\u60C5",closable:!0,width:1200,icon:null,content:pt.createElement("div",null,pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",null,pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u751F\u59D3\u540D"),pt.createElement("span",{style:{marginLeft:10}},(Mu=js==null?void 0:js.data)==null?void 0:Mu.user_name)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u5B66\u53F7"),pt.createElement("span",{style:{marginLeft:10}},(Ys=js==null?void 0:js.data)==null?void 0:Ys.student_id)),pt.createElement("div",{style:{marginLeft:60}},pt.createElement("span",{style:{color:"#666666"}},"\u73ED\u7EA7"),pt.createElement("span",{style:{marginLeft:10}},(Nc=js==null?void 0:js.data)==null?void 0:Nc.group_name))),pt.createElement("div",{style:{marginTop:22,marginBottom:20}},pt.createElement(z.default,{columns:[{title:"\u9898\u578B",dataIndex:"type_name",align:"center",render:()=>"\u5F97\u5206"},{title:"\u5355\u9009\u9898",dataIndex:"single_score",align:"center"},{title:"\u591A\u9009\u9898",dataIndex:"multiple_score",align:"center"},{title:"\u586B\u7A7A\u9898",dataIndex:"completion_score",align:"center"},{title:"\u5224\u65AD\u9898",dataIndex:"judgment_score",align:"center"},{title:"\u7F16\u7A0B\u9898",dataIndex:"program_score",align:"center"},{title:"\u5B9E\u8BAD\u9898",dataIndex:"practical_score",align:"center"},{title:"\u7EC4\u5408\u9898",dataIndex:"combination_socre",align:"center"},{title:"\u7B80\u7B54\u9898",dataIndex:"subjective_score",align:"center"},{title:"\u7A0B\u5E8F\u586B\u7A7A\u9898",dataIndex:"bprogram_score",align:"center"},{title:"\u603B\u5206",dataIndex:"total_score",align:"center",render:(Md,S0)=>pt.createElement("span",{style:{color:(S0==null?void 0:S0.type_name)=="\u5B9E\u5F97\u5206"?"#FA2121":""}},Md)}],pagination:!1,dataSource:[pr({},js==null?void 0:js.data)]}))),footer:null})}),300)},"\u67E5\u770B\u8BE6\u60C5")):pt.createElement("div",{className:"flex gap-10px"},(0,bt.GJ)()&&(Yn==null?void 0:Yn.commit_status)===1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:(Yn==null?void 0:Yn.commit_status)!==1,onClick:()=>{(0,ue.xg)(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${Yn.login}`)}},"\u67E5\u9605"),(0,bt.GJ)()&&(Yn==null?void 0:Yn.commit_status)!==1&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:Yn.commit_status<2,onClick:Ju=>Cr(void 0,null,function*(){var Mu,Ys;if(Ju.preventDefault(),yield(0,wr.w)(ga.coursesId,ga.categoryId),Yn.commit_status===2){if((0,bt.Rm)()&&!((Mu=Pe.AssistantObject.exercise)!=null&&Mu.can_view)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Nu(),window.location.href=`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${Yn.login}`}if(Yn.commit_status===3){if((0,bt.Rm)()&&!((Ys=Pe.AssistantObject.exercise)!=null&&Ys.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u66F4\u6539\u8BC4\u9605",saveExerciseUsers:Nu,selectArrs:{record:pr({},Yn),exercise_types:pr({},ar)},params:pr({},Yt)}})}})},ar!=null&&ar.appraise_setting&&(ar!=null&&ar.sealed_review)&&new Date(ar==null?void 0:ar.appraise_end_time).getTime()>Jr?"\u8BC4\u9605":Yn.has_comment?"\u66F4\u6539\u8BC4\u9605":!Yn.has_comment&&"\u8BC4\u9605"),(0,bt.GJ)()&&pt.createElement(Ce.ZP,{disabled:(Yn==null?void 0:Yn.commit_status)==0,ghost:!0,type:"primary",size:"small",onClick:()=>{(0,ue.xg)(`/zbstatistics/detail/4305265?callbackUrl=/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/detail?random=${On.get("random")==="true"}`)}},"\u8003\u60C5\u53EF\u89C6\u5316"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(Ce.ZP,{ghost:!0,type:"primary",size:"small",disabled:(Yn==null?void 0:Yn.commit_status)===0,onClick:()=>{var Ju,Mu;if((0,bt.Rm)()&&!((Mu=(Ju=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Ju.exercise)!=null&&Mu.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",selectArrs:Yn,exercise_user_id:[Yn.exercise_user_id]}})}},"\u8C03\u6574\u72B6\u6001"),(0,bt.dE)()&&pt.createElement("span",{style:{color:ar!=null&&ar.answered_open&&((_r=So==null?void 0:So.current_answer_user)==null?void 0:_r.login)===(Yn==null?void 0:Yn.login)?"#0152d9":"#000000",marginRight:"5px",cursor:"pointer"},onClick:()=>Cr(void 0,null,function*(){if(!(ar!=null&&ar.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,wr.w)(ga.coursesId,ga.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E..."),(0,ue.xg)(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/users/${Yn==null?void 0:Yn.login}?check=true`)})},ar!=null&&ar.answered_open&&((pu=So==null?void 0:So.current_answer_user)==null?void 0:pu.login)===(Yn==null?void 0:Yn.login)?"\u67E5\u770B":"- -"),(oa==null?void 0:oa.exercise_time)>0&&(oa==null?void 0:oa.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(De.Z,{title:oa.exercise_status===3?"\u672C\u8BD5\u5377\u5DF2\u622A\u6B62\uFF0C\u8BF7\u5148\u4FEE\u6539\u622A\u6B62\u65F6\u95F4\u4F7F\u672C\u8BD5\u5377\u5904\u4E8E\u201C\u8003\u8BD5\u4E2D\u201D":!1},pt.createElement(Ce.ZP,{danger:!0,ghost:!0,size:"small",disabled:oa.exercise_status===3||oa.exercise_status===5||(oa==null?void 0:oa.appraise_label)||(Yn==null?void 0:Yn.commit_status)===0,onClick:()=>{var Ju,Mu;if((0,bt.Rm)()&&!((Mu=(Ju=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Ju.exercise)!=null&&Mu.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:[Yn.exercise_user_id],selectArrs:Yn,exercise_time:oa.exercise_time,params:pr({},Yt)}})}},"\u5EF6\u65F6")))}}].filter(Zn=>!!Zn),xl=[{title:"\u5E8F\u53F7",dataIndex:"name",fixed:"left",align:"center",width:60,render:(Zn,Yn,_r)=>pt.createElement(De.Z,{title:((Yt.page||1)-1)*20+_r+1},pt.createElement("span",null,((Yt.page||1)-1)*20+_r+1))},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",align:"center",width:100,render:(Zn,Yn)=>Yn.commit_status===0||Yn.commit_status===1?"--":!Yn.open_total_score&&(0,bt.dE)()?"\u8001\u5E08\u5BA1\u6838\u4E2D":(Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0),Zn===100?pt.createElement("span",{className:"c-green"},Zn):Zn>60?pt.createElement("span",{className:"c-orange"},Zn):pt.createElement("span",null,Zn))},!((ar==null?void 0:ar.objective)!==1||(ar==null?void 0:ar.objective)===1&&(ar==null?void 0:ar.subjective)!==1)&&{title:"\u5BA2\u89C2\u9898\u5F97\u5206",dataIndex:"objective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let _r;return Zn>=0&&Zn<=60?_r=pt.createElement("span",null,Zn):Zn===100?_r=pt.createElement("span",{className:"c-green"},Zn):Zn>60?_r=pt.createElement("span",{className:"c-orange"},Zn):_r="--",pt.createElement(Ma,{renderText:_r,item:Yn})}}},!((ar==null?void 0:ar.subjective)!==1||(ar==null?void 0:ar.subjective)===1&&(ar==null?void 0:ar.objective)!==1)&&{title:"\u4E3B\u89C2\u9898\u5F97\u5206",dataIndex:"subjective_score",align:"center",render:(Zn,Yn)=>{if(Yn.commit_status===0||Yn.commit_status===1)return"--";if(!Yn.open_total_score&&(0,bt.dE)())return"\u8001\u5E08\u5BA1\u6838\u4E2D";{Zn=typeof Zn=="number"?Number(Zn):Zn,Zn||(Zn=0);let _r;return Zn==0||Zn>0&&Zn<=60?_r=pt.createElement("span",null,Zn):Zn===100?_r=pt.createElement("span",{className:"c-green"},Zn):Zn>60?_r=pt.createElement("span",{className:"c-orange"},Zn):_r="--",_r}}},{title:"\u63D0\u4EA4\u72B6\u6001",dataIndex:"commit_status",align:"center",width:200,render:(Zn,Yn)=>Zn===0?pt.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):Zn===1?pt.createElement("span",{style:{color:"#DF3042"}},!Yn.is_make_up&&"\u8003\u8BD5\u4E2D",Yn.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):Zn===2?pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):pt.createElement("span",{style:{color:"#5AB891"}},!Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",Yn.is_make_up&&!Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!Yn.is_make_up&&Yn.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)")},{title:"\u5F00\u59CB\u7B54\u9898\u65F6\u95F4",dataIndex:"start_at",align:"center",width:200,render:Zn=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"end_at",align:"center",width:200,render:Zn=>Zn?Ze()(Zn).format("YYYY-MM-DD HH:mm"):"--"}].filter(Zn=>!!Zn),Ui=[...Zo];Ui[0]=pr({},Ui[0]),Ui[(Ui==null?void 0:Ui.length)-1]=pr({},Ui[(Ui==null?void 0:Ui.length)-1]),Ui[0].render=()=>"\u6211",Ui[(Ui==null?void 0:Ui.length)-1].render=()=>{var Zn;return(Zn=So==null?void 0:So.current_answer_user)!=null&&Zn.login?pt.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:()=>Cr(void 0,null,function*(){var Yn,_r;if(!(ar!=null&&ar.answered_open)){oe.ZP.info("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u672C\u8BD5\u5377\u5728\u4EA4\u5377\u540E\u4E0D\u53EF\u67E5\u770B");return}yield(0,wr.w)(ga.coursesId,ga.categoryId,"\u6B63\u5728\u8FDB\u5165\u67E5\u770B\uFF0C\u8BF7\u7A0D\u540E...");let pu=`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/users/${(Yn=So==null?void 0:So.current_answer_user)==null?void 0:Yn.login}`;((_r=So==null?void 0:So.current_answer_user)==null?void 0:_r.commit_status)>1&&(pu=pu+"?check=true"),ye.history.push(pu)})},"\u67E5\u770B"):"--"};const Nu=()=>{var Zn;try{const Yn=pr({},Yt);delete Yn.page,delete Yn.limit,localStorage[`${(Zn=Oe==null?void 0:Oe.userInfo)==null?void 0:Zn.login}-${Yt.coursesId}-${Yt.categoryId}-filter`]=JSON.stringify(Yn)}catch(Yn){}},Il=()=>{var Zn;try{const Yn=gr(pr({},Yt),{firstTargetLogin:Bu,totalCount:ir});delete Yn.page,delete Yn.limit,localStorage[`${(Zn=Oe==null?void 0:Oe.userInfo)==null?void 0:Zn.login}-${Yt.coursesId}-${Yt.categoryId}-downFilter`]=JSON.stringify(Yn)}catch(Yn){}};return pt.createElement("section",{className:"mb20"},(ar==null?void 0:ar.score_open)&&(0,bt.dE)()&&pt.createElement(z.default,{pagination:!1,showHeader:!1,dataSource:[pr({},So==null?void 0:So.current_answer_user)],columns:Ui,scroll:{x:"max-content"}}),!(0,bt.GJ)()&&pt.createElement("div",{className:"bg-white pt10 mt15"},!!(ar!=null&&ar.answer_users)&&pt.createElement("span",{className:"mr10"},pt.createElement("span",{style:{color:"#FF954C"}},ar==null?void 0:ar.answer_users," "),"\u5DF2\u4EA4"),!!(ar!=null&&ar.unanswer_users)&&pt.createElement("span",{className:"mr10"},ar==null?void 0:ar.unanswer_users,"\u672A\u4EA4"),(ar==null?void 0:ar.exercise_end_time)!=="--"&&(oa!=null&&oa.before_start?"":pt.createElement("span",null,"\u8003\u8BD5\u5269\u4F59\u65F6\u95F4\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},ar==null?void 0:ar.exercise_end_time))),(oa==null?void 0:oa.before_start)&&pt.createElement("span",null,"\u8DDD\u79BB\u8003\u8BD5\u5F00\u59CB\u8FD8\u6709\uFF1A",pt.createElement("span",{style:{color:"#FF954C"}},oa==null?void 0:oa.before_start))),!(ar!=null&&ar.exercise_all_users)&&!(0,bt.dE)()&&pt.createElement(He.Z,{styles:{margin:"0 auto",padding:200}}),(!!(ar!=null&&ar.exercise_all_users)||(0,bt.dE)())&&pt.createElement("aside",null,(0,bt.GJ)()&&pt.createElement("aside",{className:"pt20"},pt.createElement(de.default,{form:Fr,onValuesChange:hl,initialValues:{commit_status:"all",exercise_group_id:"all",review:"all",is_make_up:"all"}},pt.createElement(de.default.Item,{name:"exercise_group_id"},pt.createElement(Re.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u9009\u62E9\u73ED\u7EA7:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((wn=va.course_group)!=null&&wn.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},(ar==null?void 0:ar.course_groups)&&(ar==null?void 0:ar.course_groups.map((Zn,Yn)=>pt.createElement(Re.default,{value:Zn.exercise_group_id,className:"ml0 mr8",key:Zn.exercise_group_id},Zn.exercise_group_name,"(",Zn.exercise_group_students,")"))))))),pt.createElement(de.default.Item,{name:"commit_status"},pt.createElement(Re.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u63D0\u4EA4\u72B6\u6001:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((aa=va.commit_status)!=null&&aa.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},vt.map((Zn,Yn)=>pt.createElement(Re.default,{name:"commit_status",value:Zn.id,key:Zn.id},Zn.name,"(",ar==null?void 0:ar[Zn.type],")")))))),pt.createElement(de.default.Item,{name:"review"},pt.createElement(Re.default.Group,{style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u8BC4\u9605\u72B6\u6001:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((pa=va.review)!=null&&pa.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},($n=rt)==null?void 0:$n.map((Zn,Yn)=>pt.createElement(Re.default,{value:Zn.id,key:Yn},Zn.name,"(",ar==null?void 0:ar[Zn.type],")")))))),(ar==null?void 0:ar.open_make_up)&&pt.createElement(de.default.Item,{name:"is_make_up"},pt.createElement(Re.default.Group,{value:[],style:{width:"100%"}},pt.createElement(re.Z,null,pt.createElement(pe.Z,{flex:"80px"},"\u8865\u8003\u72B6\u6001:"),pt.createElement(pe.Z,{flex:"80px"},pt.createElement(Re.default,{value:"all",checked:!((Wn=va.is_make_up)!=null&&Wn.length)},"\u5168\u90E8")),pt.createElement(pe.Z,{flex:"1"},$e.map((Zn,Yn)=>pt.createElement(Re.default,{name:"is_make_up",value:Zn.id},Zn.name,"(",ar==null?void 0:ar[Zn.type],")")))))),pt.createElement(re.Z,{align:"middle"},pt.createElement(pe.Z,{flex:"1"},pt.createElement(re.Z,{align:"middle"},pt.createElement(pe.Z,null,pt.createElement(Se.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:Zn=>{Yt.search=Zn==null?void 0:Zn.trim(),Yt.page=1,da(pr({},Yt)),Nr(Yt)},onChange:Zn=>{Yt.search=Zn.target.value},style:{width:240}})))),!(oa!=null&&oa.is_random)&&pt.createElement(pe.Z,{className:["tr",En.rightFilter].join(" ")},(ar==null?void 0:ar.objective)===1&&(ar==null?void 0:ar.subjective)===1&&pt.createElement(pt.Fragment,null,"\u6309\u5BA2\u89C2\u9898\u5F97\u5206\u5206\u7EC4",pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_gte"},pt.createElement(Te.Z,{min:0,max:ar==null?void 0:ar.objective_score,placeholder:"\u6700\u4F4E"}))),pt.createElement("span",null,pt.createElement(de.default.Item,{name:"objective_score_lte"},pt.createElement(Te.Z,{min:(Yt==null?void 0:Yt.objective_score_gte)||0,max:ar==null?void 0:ar.objective_score,placeholder:"\u6700\u9AD8"})))),["\u8003\u8BD5\u4E2D","\u5DF2\u622A\u6B62"].includes(ue.ju[oa.exercise_status])&&pt.createElement(y.Z,{menu:{onClick:Zn=>Cr(void 0,[Zn],function*({key:Yn,domEvent:_r}){var pu,Ju;if(Yn==="1"){let Mu=null;const Ys=Fe.default.confirm({title:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605",icon:null,centered:!0,width:560,closable:!0,content:pt.createElement("div",{className:"flex flex-col gap-20px"},pt.createElement("div",null,"\u63D0\u793A\uFF1A\u8BE5\u64CD\u4F5C\u4F1A\u5C06\u6240\u6709\u5DF2\u4F5C\u7B54\u4E14\u672A\u8BC4\u9605\u5B66\u751F\u7684\u8BD5\u5377\u8BC4\u9605\u72B6\u6001\u4FEE\u6539\u4E3A\u201C\u5DF2\u8BC4\u9605\u201D\u3002"),pt.createElement("div",null,pt.createElement("div",null,"\u8003\u8BD5\u8BC4\u4EF7\uFF1A"),pt.createElement(Se.default.TextArea,{className:"mt10",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u8BC4\u4EF7\uFF0C\u8BC4\u9605\u4E4B\u540E\u652F\u6301\u5355\u72EC\u8FDB\u884C\u4FEE\u6539",rows:4,onChange:Nc=>{Mu=Nc.target.value}}))),onOk:()=>Cr(void 0,null,function*(){(yield Iu({review_all:!0,exercise_id:ga==null?void 0:ga.categoryId,analysis:Mu})).status===0&&(oe.ZP.success("\u6279\u91CF\u5B8C\u6210\u8BC4\u9605"),Nr(Yt))}),onCancel:()=>{Ys.destroy()}})}if(Yn==="2"){if(_r.preventDefault(),(0,bt.Rm)()&&!((Ju=(pu=Pe==null?void 0:Pe.AssistantObject)==null?void 0:pu.exercise)!=null&&Ju.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,wr.w)(ga.coursesId,ga.categoryId),Nu(),ye.history.push(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/reviews/group`)}Yn==="3"&&(window.location.href=`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/detail?random=${oa==null?void 0:oa.is_random}&tabs=2`)}),items:[{key:"1",label:"\u4E00\u952E\u5B8C\u6210\u8BC4\u9605"},!(oa!=null&&oa.is_random)&&(ar==null?void 0:ar.subjective)===1&&Wt&&{key:"2",label:"\u7B80\u7B54\u9898\u6279\u91CF\u8BC4\u9605",disabled:!ji||!Ru},!((0,bt.dE)()||oa!=null&&oa.is_random||(oa==null?void 0:oa.exercise_type)==2)&&{key:"3",label:pt.createElement("div",null,"\u7B80\u7B54\u9898\u667A\u80FD\u8BC4\u9605",pt.createElement("img",{src:pn,style:{margin:"0 0 4px 4px"}}))}].filter(Zn=>Zn)},className:"ml10"},pt.createElement("div",{className:`${En.btn_review}`},pt.createElement("img",{src:ya.Z,className:"mr5",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),(ar==null?void 0:ar.subjective)===1&&Wt&&pt.createElement(pt.Fragment,null,pt.createElement(Ce.ZP,{type:"default",disabled:!ji},pt.createElement("a",{onClick:Zn=>Cr(void 0,null,function*(){var Yn,_r;if(Zn.preventDefault(),(0,bt.Rm)()&&!((_r=(Yn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Yn.exercise)!=null&&_r.can_appraise)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}yield(0,wr.w)(ga.coursesId,ga.categoryId),Nu(),ye.history.push(`/classrooms/${Yt.coursesId}/exercise/${Yt.categoryId}/review/${ji}`)})},pt.createElement("span",{className:"iconfont icon-filesync3x"}),pt.createElement("span",null,"\u7EC4\u5185\u987A\u5E8F\u8BC4\u9605"))))),pt.createElement(pe.Z,null,(oa==null?void 0:oa.exercise_status)===3&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u8D28\u91CF\u68C0\u6D4B",params:Yt}})}},pt.createElement("i",{className:"iconfont icon-a-08zhiliang-xianxing font14 pr5"}),"\u8D28\u91CF\u8BC4\u5206")),pt.createElement(pe.Z,null,(oa==null?void 0:oa.exercise_time)>0&&(oa==null?void 0:oa.exercise_type)!=2&&(0,bt.Gg)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",disabled:oa.exercise_status===3||oa.exercise_status===5||(oa==null?void 0:oa.appraise_label),onClick:()=>{var Zn,Yn;if((0,bt.Rm)()&&!((Yn=(Zn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Zn.exercise)!=null&&Yn.can_delay)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Wl.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u5EF6\u65F6",exercise_user_id:Wl,user_ids:nu,isBatch:!0,exercise_time:oa.exercise_time,params:pr({},Yt)}})}},"\u6279\u91CF\u5EF6\u65F6"),!(0,bt.dE)()&&["\u8003\u8BD5\u4E2D"].includes(ue.ju[oa.exercise_status])&&pt.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var Zn,Yn;if((0,bt.Rm)()&&!((Yn=(Zn=Pe==null?void 0:Pe.AssistantObject)==null?void 0:Zn.exercise)!=null&&Yn.can_forcing_commit)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(Wl.length==0){oe.ZP.warning("\u8BF7\u5148\u9009\u62E9\u5B66\u751F\uFF01");return}Dt({type:"exercise/setActionTabs",payload:{key:"\u8C03\u6574\u72B6\u6001",exercise_user_id:Wl,user_ids:nu,isBatch:!0}})}},"\u6279\u91CF\u8C03\u6574\u72B6\u6001"))))),to===-3&&!(0,bt.dE)()&&pt.createElement(He.Z,{customText:"\u4FEE\u6539\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u5224\u5206\u4E2D\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85...",styles:{margin:"0 auto",padding:100}}),to!==-3&&pt.createElement(z.default,{className:"mt30",loading:Gl,hideOnSinglePage:!0,pagination:!1,dataSource:(0,bt.dE)()?ar!=null&&ar.score_open?So==null?void 0:So.exercise_users:[(So==null?void 0:So.current_answer_user)||{}]:So==null?void 0:So.exercise_users,columns:Zo,rowSelection:!(0,bt.dE)()&&{selectedRowKeys:Wl,onChange:(Zn,Yn)=>{tu(Zn),Zi((Yn==null?void 0:Yn.map(_r=>_r==null?void 0:_r.user_id))||[])},getCheckboxProps:Zn=>({disabled:Zn.commit_status===0})},rowKey:"exercise_user_id",scroll:{x:"max-content"},size:"middle",onChange:(Zn,Yn,_r)=>{Yt.page=1,_r.order===void 0?(Yt.order_type=null,Yt.order=null):(Yt.order_type=_r.order==="descend"?"desc":"asc",Yt.order=_r.field),da(pr({},Yt)),Nr(Yt)}}),ir>20&&pt.createElement("aside",{className:"tc pb30 mt30"},pt.createElement(we.Z,{onChange:Yu,current:Yt.page||1,pageSize:Yt.limit,total:ir,showQuickJumper:!0,hideOnSinglePage:!0,showTotal:Zn=>pt.createElement("span",{className:"mr10"},"\u5171",pt.createElement("span",{className:"c-orange"},Zn),"\u6761\u6570\u636E")}))),pt.createElement(Fe.default,{open:Or,title:pt.createElement("span",null,"\u8003\u8BD5\u8BB0\u5F55\uFF08",po==null?void 0:po.name," ",po==null?void 0:po.id,"\uFF09"),centered:!0,width:1e3,footer:null,onCancel:()=>{Co(!1)}},((Qa=po==null?void 0:po.list)==null?void 0:Qa.length)===0?pt.createElement(He.Z,{styles:{margin:"0 auto"},customText:"\u6682\u65E0\u6570\u636E"}):pt.createElement(z.default,{dataSource:po==null?void 0:po.list,columns:xl,pagination:!1})),pt.createElement(sn,null),pt.createElement(Kt,null),pt.createElement(Tt,null),pt.createElement(In,null),Qt&&pt.createElement(Fe.default,{title:"\u9632\u4F5C\u5F0A\u5934\u50CF",open:Qt,centered:!0,onCancel:()=>{Ua(1),tt(!1),qa([]),fa("alert"),ta("")},footer:pt.createElement("div",{style:{display:"flex"}},pt.createElement("div",{style:{flex:1,textAlign:"left"}}," ",pt.createElement(Ce.ZP,{onClick:()=>Cr(void 0,null,function*(){if(!Ca){oe.ZP.info("\u8F93\u5165\u6846\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A");return}Oa(!0);let Zn=yield(0,fe.ZP)(`/api/exercises/${Yt.categoryId}/send_alert.json`,{method:"post",body:{content:Ca,clazz:ka,exercise_user_id:Ba}});(Zn==null?void 0:Zn.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),Ua(1),tt(!1),qa([]),fa("alert"),ta("")),Oa(!1)}),disabled:$a,loading:za},"\u53D1\u9001")),pt.createElement(Ce.ZP,{disabled:(xr==null?void 0:xr.length)===0,style:{marginRight:"10px"},onClick:()=>Cr(void 0,null,function*(){yield Ua(ea-1===0?xr==null?void 0:xr.length:ea-1)})},"\u4E0A\u4E00\u5F20"),pt.createElement(Ce.ZP,{disabled:(xr==null?void 0:xr.length)===0,type:"primary",onClick:()=>Cr(void 0,null,function*(){yield Ua(ea===(xr==null?void 0:xr.length)?1:ea+1)})},"\u4E0B\u4E00\u5F20"))},pt.createElement("img",{style:{width:"234px !important",height:"132px",borderRadius:"5px"},src:xr[ea-1]}),pt.createElement("span",{onClick:()=>{Ga.Z.publish("preview-image",xr[ea-1])},style:{background:"#0152d9",color:"#fff",display:"inline-flex",width:"54px",height:"20px",borderRadius:"10px",justifyContent:"center",lineHeight:"20px",alignItems:"center",position:"absolute",top:"70px",left:"130px",zIndex:5,cursor:"pointer"}},"\u9884\u89C8"),pt.createElement("span",{style:{color:"#0152d9",marginTop:"16px",width:"234px",justifyContent:"center",display:"flex"}},ea+"/"+(xr==null?void 0:xr.length)),pt.createElement(be.ZP,{className:"mt20",checked:ka==="alert",onChange:()=>fa("alert")},"\u53D1\u9001\u8B66\u544A",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(be.ZP,{className:"mt10",checked:ka==="notice",onChange:()=>fa("notice")},"\u53D1\u9001\u901A\u77E5",pt.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),pt.createElement(Se.default.TextArea,{className:"mt20",value:Ca,onChange:Zn=>ta(Zn.target.value),placeholder:`\u8BF7\u8F93\u5165${ka==="alert"?"\u8B66\u544A":"\u901A\u77E5"}\u5185\u5BB9${ka==="alert"?"\uFF0C\u5982\uFF1A\u626D\u5934\u4F4E\u5934\u5927\u5E45\u5EA6\u52A8\u4F5C\u68C0\u6D4B":""}`}),pt.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",ja,"\u6B21\u8B66\u544A")),pt.createElement(wa.Z,null),pt.createElement(Hr,null),pt.createElement(la,null))};var co=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le,classroomList:dt,user:Dt})=>({classroomList:dt,exercise:me,loading:ve.effects,globalSetting:le,user:Dt}))(fr),Do=x(84105),io=x(87395),$r={flex_box_center:"flex_box_center___Hpswl",flex_space_between:"flex_space_between___ywvKM",flex_box_vertical_center:"flex_box_vertical_center___SItpZ",flex_box_center_end:"flex_box_center_end___WIAL3",flex_box_column:"flex_box_column___FMKJn",wrap:"wrap___AW_2A",control:"control___w5xQm",btn:"btn___as1xd",customTable:"customTable___gGVV3",bgH:"bgH___J0V1_",cusModal:"cusModal___2fPK2",imgWrap:"imgWrap___crzTi",img:"img___iwJRL",iBtn:"iBtn___L11V_",text:"text___INAg4",no:"no___H7kcX",textP:"textP___Rdbzv",video:"video___yjo5C",sys:"sys___o3w4h",li:"li___WQQil",d1:"d1___KQ9j6",b1:"b1___PA3Kc",es:"es___j13_3"},oi=x(96640),cl=x(80360);const al=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;var Ci=(0,a.forwardRef)(({src:me,videoId:ve,logWatchHistory:le,courseId:dt=null,startTime:Dt,handlePause:_e=()=>{},handlePlay:Wt=()=>{},handlePlayEnded:at=()=>{},videoSpeed:Oe=1},Pe)=>{var xn;const Vn=((xn=me==null?void 0:me.split("."))==null?void 0:xn.pop())==="flv",an=(0,a.useRef)(),wn=(0,a.useRef)(),aa=(0,a.useRef)(0),pa=(0,a.useRef)(0),[$n,Wn]=(0,a.useState)(0),Qa=navigator.userAgent.toLowerCase().match(al),On=Qa?Qa[0]:"pc";(0,a.useImperativeHandle)(Pe,()=>({getLastUpdatedTime:()=>an.current.currentTime,getDuration:()=>an.current.duration})),(0,a.useEffect)(()=>{pa.current=void 0;try{oi.Z.isSupported&&Vn&&me&&(me==null?void 0:me.indexOf(".m3u8"))<0?(pa.current=oi.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:me+"?t="+Date.now(),muted:!1,isLive:!0}),pa.current.on("play",function(){console.log(21111)}),an.current&&(pa.current.detachMediaElement(an.current),pa.current.attachMediaElement(an.current),pa.current.load(),pa.current.play())):an.current.setAttribute("src",me+"?t="+Date.now())}catch(Yt){setTimeout(()=>{Wn($n+1)},1e3)}return console.log("src:",me),()=>{var Yt,da,oa,Ta,Jt,va,ra,ir;pa.current&&((da=(Yt=pa.current)==null?void 0:Yt.unload)==null||da.call(Yt),(Ta=(oa=pa.current)==null?void 0:oa.pause)==null||Ta.call(oa),(va=(Jt=pa.current)==null?void 0:Jt.destroy)==null||va.call(Jt),(ir=(ra=pa.current)==null?void 0:ra.detachMediaElement)==null||ir.call(ra,an.current),pa.current=void 0,an.current.src="")}},[an,Vn,me,$n]),(0,a.useEffect)(()=>(wn.current=setInterval(()=>{aa.current>0&&aa.current===an.current.currentTime&&(console.log("\u64AD\u653E\u4E00\u6B21"),Wn($n+1)),aa.current=an.current.currentTime},3e3),()=>{clearInterval(wn.current)}),[]);const ga=Yt=>{setTimeout(()=>{Wn($n+1)},1e3)};return a.createElement("video",{ref:an,onerr:!0,onErrorCapture:()=>{Wn($n+1)},autoPlay:!0,muted:!0})}),bi=Object.defineProperty,zr=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,zi=(me,ve,le)=>ve in me?bi(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Lo=(me,ve)=>{for(var le in ve||(ve={}))Ri.call(ve,le)&&zi(me,le,ve[le]);if(zr)for(var le of zr(ve))Gi.call(ve,le)&&zi(me,le,ve[le]);return me},Cl=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const tl=({exercise:me,dispatch:ve,user:le})=>{var dt;const Dt=(0,ye.useParams)(),[_e,Wt]=(0,a.useState)({page:1,limit:20,sort_by:null,sort_direction:null,state:null,audit:null,name:"",save_name:"",exercise_id:Dt==null?void 0:Dt.categoryId}),[at]=de.default.useForm(),[Oe,Pe]=(0,a.useState)(),[xn,jn]=(0,a.useState)(!1),{exerciseList:Vn,commonHeader:an}=me,[wn,aa]=(0,a.useState)([]),[pa,$n]=(0,a.useState)([]),[Wn,Qa]=(0,a.useState)(0),[On,ga]=(0,a.useState)(!0),[Yt,da]=(0,a.useState)(!1),oa=(0,a.useRef)(null);(0,a.useEffect)(()=>{Ta(_e)},[]),(0,a.useEffect)(()=>(clearInterval(oa.current),(an==null?void 0:an.exercise_status)===2&&(oa.current=setInterval(()=>{Ta(_e)},3e4)),()=>{clearInterval(oa.current)}),[an==null?void 0:an.exercise_status,_e]);const Ta=ja=>Cl(void 0,null,function*(){const vr=rr().cloneDeep(ja);console.log(vr,"sendData"),ga(!0),aa([]);const Sa=yield(0,fe.ZP)(`/api/exercises/${ja==null?void 0:ja.exercise_id}/exercise_identity_photos.json`,{method:"get",params:vr});$n([]),ga(!1),Qa(Sa==null?void 0:Sa.count),aa((Sa==null?void 0:Sa.exercise_users)||[])}),Jt=(ja,vr)=>{_e.page=1,_e[vr]=ja,Wt(Lo({},_e)),Ta(_e)},va=ja=>{_e.page=1,_e.save_name=ja,Wt(Lo({},_e))},ra=()=>{_e.page=1;const ja=Object.assign({},at.getFieldsValue());Object.keys(ja).map(function(vr){switch(vr){case"exercise_group_id":ja[vr].includes("all")||!ja[vr].length?(delete _e.course_group,at.setFieldsValue({exercise_group_id:"all"})):(_e.course_group=ja[vr],at.setFieldsValue({exercise_group_id:_e.course_group}));break}}),Wt(Lo({},_e)),Ta(_e)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(Pe(47),jn(!0))},[document.getElementById("divhe"),Vn]);const ir=(ja,vr,Sa)=>{_e.page=ja==null?void 0:ja.current,_e.limit=ja==null?void 0:ja.pageSize,Sa!=null&&Sa.order?(_e.sort_by=Sa==null?void 0:Sa.field,_e.sort_direction=(Sa==null?void 0:Sa.order)==="ascend"?"asc":"desc"):(_e.sort_by=null,_e.sort_direction=null),Wt(Lo({},_e)),Ta(_e)},eo=[{title:"\u5E8F\u53F7",dataIndex:"number",width:80,render:(ja,vr,Sa)=>_e.limit*(_e.page-1)+Sa+1},{title:"\u59D3\u540D",dataIndex:"user_name",width:110,ellipsis:{showTitle:!1},render:ja=>a.createElement(De.Z,{placement:"bottomLeft",title:ja},a.createElement("span",null,ja))},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,width:140,showSorterTooltip:!1,ellipsis:{showTitle:!1},render:ja=>a.createElement(De.Z,{placement:"bottomLeft",title:ja||"--"},a.createElement("span",null,ja||"--"))},{title:"\u5206\u73ED",dataIndex:"user_group_name",ellipsis:{showTitle:!1},render:(ja,vr)=>ja?a.createElement(De.Z,{placement:"bottom",title:ja},a.createElement("span",{className:$r.es},ja)):"--"},{title:"\u4EBA\u8138\u7167\u7247",dataIndex:"photo_url",width:90,ellipsis:{showTitle:!1},render:(ja,vr)=>a.createElement("img",{width:40,style:{maxHeight:30},src:ja,className:"current",onClick:()=>{ka(vr)}})},{title:"\u5BA1\u6838\u72B6\u6001",width:100,dataIndex:"exercise_identity_photo_state",ellipsis:{showTitle:!1},render:(ja,vr)=>a.createElement(a.Fragment,null,ja==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),ja==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),ja==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:180,ellipsis:{showTitle:!1},render:ja=>a.createElement("span",null,ja||"--")},{title:"\u5BA1\u6838\u7C7B\u578B",dataIndex:"audit_clazz",width:90,ellipsis:{showTitle:!1},render:ja=>a.createElement("span",null,ja||"--")},{title:"\u64CD\u4F5C",dataIndex:"action",width:180,ellipsis:{showTitle:!1},render:(ja,vr)=>{var Sa;return a.createElement(a.Fragment,null,(vr==null?void 0:vr.exercise_identity_photo_state)==="submitted"?a.createElement("span",{className:"c-light-primary current",onClick:()=>da(vr)},"\u5BA1\u6838"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u5BA1\u6838"),(vr==null?void 0:vr.exercise_identity_photo_state)!=="submitted"?a.createElement("span",{className:"c-light-primary current ml10 mr10",onClick:()=>Qt(vr)},"\u5BA1\u6838\u8BB0\u5F55"):a.createElement("span",{className:"c-grey-999 ml10 mr10 cursorNotAllowed"},"\u5BA1\u6838\u8BB0\u5F55"),(vr==null?void 0:vr.exercise_identity_photo_state)==="passed"&&((Sa=vr==null?void 0:vr.play_url)!=null&&Sa.length)?a.createElement("span",{className:"c-light-primary current",onClick:()=>tt(vr)},"\u6444\u50CF\u76D1\u63A7"):a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"\u6444\u50CF\u76D1\u63A7"))}}],Pr=ja=>{$n(ja)},Dr=()=>{da(!1),Ta(_e)},Qt=ja=>{const vr=[{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"audit_time",width:170,render:(Xr,za)=>a.createElement("span",null,Xr||"--")},{title:"\u5BA1\u6838\u72B6\u6001",dataIndex:"exercise_identity_photo_state",width:110,render:(Xr,za)=>a.createElement(a.Fragment,null,Xr==="passed"&&a.createElement("span",{style:{color:"#44D7B6"}},"\u5BA1\u6838\u901A\u8FC7"),Xr==="rejected"&&a.createElement("span",{style:{color:"#E53333"}},"\u5BA1\u6838\u4E0D\u901A\u8FC7"),Xr==="submitted"&&a.createElement("span",{style:{color:"#666666"}},"\u5F85\u5BA1\u6838"))},{title:"\u5BA1\u6838\u610F\u89C1",dataIndex:"comment",render:(Xr,za)=>Xr?a.createElement(De.Z,{placement:"bottom",title:Xr},a.createElement("span",null,Xr)):"--"},{title:"\u91C7\u96C6\u7167\u7247",dataIndex:"photo_url",width:90,render:(Xr,za)=>a.createElement("span",{className:"current c-light-primary",onClick:()=>{Ga.Z.publish("preview-image",Xr)}},"\u67E5\u770B")}],Sa=Fe.default.confirm({icon:null,width:700,className:`${$r.cusModal} custom-modal-divider`,centered:!0,title:a.createElement(re.Z,null,a.createElement(pe.Z,{flex:"1"},"\u5BA1\u6838\u8BB0\u5F55"),a.createElement(pe.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Sa.destroy()}))),content:a.createElement("div",null,a.createElement(z.default,{className:$r.customTable,dataSource:[Lo({},ja)],bordered:!1,columns:vr,rowKey:"exercise_identity_photo_id",rowClassName:$r.row,pagination:!1}))})},tt=ja=>{var vr,Sa;const Xr=Fe.default.confirm({icon:null,className:`${$r.cusModal} custom-modal-divider`,centered:!0,width:((vr=ja==null?void 0:ja.play_url)==null?void 0:vr.length)<6?724:744,title:a.createElement(re.Z,null,a.createElement(pe.Z,{flex:"1"},"\u89C6\u9891"),a.createElement(pe.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>Xr.destroy()}))),content:a.createElement("ul",{className:$r.sys},(Sa=ja==null?void 0:ja.play_url)==null?void 0:Sa.map((za,Oa)=>a.createElement("li",{className:$r.li,key:Oa},a.createElement("div",{className:$r.d1},a.createElement("div",{className:$r.img},a.createElement(Ci,{src:za==null?void 0:za.replace(".m3u8",".flv"),autoPlay:!0})),a.createElement("div",{className:$r.btn},a.createElement("div",{className:$r.b1},"\u56DE\u653E\u89C6\u9891",Oa+1))))))})},ka=ja=>{const vr=Fe.default.confirm({icon:null,className:`${$r.cusModal} custom-modal-divider`,centered:!0,width:710,title:a.createElement(re.Z,null,a.createElement(pe.Z,{flex:"1"},"\u4EBA\u8138\u7167\u7247"),a.createElement(pe.Z,null,a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:()=>vr.destroy()}))),content:a.createElement(re.Z,null,a.createElement("aside",{className:$r.imgWrap,style:{marginBottom:40}},a.createElement("div",{className:$r.img},a.createElement("img",{width:326,src:(0,ue.Tv)(ja==null?void 0:ja.photo_url)}),a.createElement("div",{className:$r.textP},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:$r.img,style:{marginLeft:20}},ja!=null&&ja.identity_url?a.createElement("img",{width:326,src:(0,ue.Tv)(ja==null?void 0:ja.identity_url)}):a.createElement("div",{className:$r.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),a.createElement("div",{className:$r.textP},"\u8BC1\u4EF6\u7167\u7247"))))})},fa={selectedRowKeys:pa,columnWidth:40,onChange:Pr,getCheckboxProps:ja=>({disabled:(ja==null?void 0:ja.exercise_identity_photo_state)==="passed"})};return a.createElement("section",{className:$r.wrap},a.createElement(de.default,{form:at,onChange:ra,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Re.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(pe.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(pe.Z,{flex:"80px"},a.createElement(Re.default,{value:"all"},"\u5168\u90E8")),a.createElement(pe.Z,{flex:"1",id:"divhe",style:{height:Oe+"px",overflow:"hidden"}},(dt=Vn.course_groups)==null?void 0:dt.map((ja,vr)=>a.createElement(Re.default,{key:vr,value:ja.exercise_group_id,className:"ml0 mr8"},ja.exercise_group_name,"(",ja.exercise_group_students,")"))),xn&&a.createElement("span",{onClick:()=>{let ja=document.getElementById("divhe").scrollHeight;Oe>47?Pe(47):Pe(ja)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},Oe===47?"\u5C55\u5F00":"\u6536\u8D77",Oe===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(io.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:$r.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:_e==null?void 0:_e.save_name,onChange:ja=>va(ja.target.value),onSearch:()=>{_e.page=1,_e.name=_e.save_name,Wt(Lo({},_e)),Ta(_e)}}),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",value:_e==null?void 0:_e.state,onChange:ja=>Jt(ja,"state")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:"submitted"},"\u5F85\u5BA1\u6838"),a.createElement(dn.default.Option,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(dn.default.Option,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7")),a.createElement(dn.default,{placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u7C7B\u578B",value:_e==null?void 0:_e.audit,onChange:ja=>Jt(ja,"audit")},a.createElement(dn.default.Option,{value:null},"\u5168\u90E8"),a.createElement(dn.default.Option,{value:1},"\u81EA\u52A8\u5BA1\u6838"),a.createElement(dn.default.Option,{value:2},"\u4EBA\u5DE5\u5BA1\u6838")),a.createElement("span",{className:$r.btn,style:{cursor:"pointer"},onClick:()=>{if(!pa.length){oe.ZP.warning("\u8BF7\u9009\u62E9\u5B66\u751F");return}da(!0)}},a.createElement("i",{className:"iconfont icon-piliangcaozuo font14 mr5"}),"\u6279\u91CF\u5BA1\u6838")),a.createElement("div",{className:$r.bgH}),a.createElement(z.default,{rowSelection:fa,className:$r.customTable,dataSource:wn,bordered:!1,columns:eo,rowKey:"exercise_identity_photo_id",rowClassName:$r.row,loading:On,onChange:ir,pagination:{pageSize:_e.limit,total:Wn,current:_e.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,position:["bottomCenter"],showTotal:ja=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},ja),"\u6761\u6570\u636E")}}),a.createElement(ba,{selectIds:pa,visible:Yt,onCancel:()=>da(!1),onOk:Dr,params:_e}),a.createElement(wa.Z,null))};var Da=(0,ye.connect)(({exercise:me,user:ve})=>({exercise:me,user:ve}))(tl);const ba=({visible:me,onOk:ve,onCancel:le,selectIds:dt,params:Dt})=>{const[_e,Wt]=(0,a.useState)(!1),[at,Oe]=(0,a.useState)({}),[Pe]=de.default.useForm(),xn=jn=>Cl(void 0,null,function*(){Wt(!0);let Vn;me===!0?Vn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/batch_audit_identity_photo.json`,{method:"post",body:Lo({identity_photo_ids:dt},jn)}):Vn=yield(0,fe.ZP)(`/api/exercises/${Dt==null?void 0:Dt.exercise_id}/audit_identity_photo.json`,{method:"post",body:Lo({identity_photo_id:me==null?void 0:me.exercise_identity_photo_id},jn)}),(Vn==null?void 0:Vn.status)===0&&ve(),Wt(!1)});return a.createElement(Fe.default,{title:me!==!0?"\u4EBA\u8138\u8EAB\u4EFD\u5BA1\u6838":"\u6279\u91CF\u5BA1\u6838",open:!!me,centered:!0,width:650,destroyOnClose:!0,onCancel:()=>{le()},afterClose:()=>{Pe.resetFields(),Oe({})},confirmLoading:_e,onOk:()=>Pe.submit()},a.createElement(de.default,{className:$r.formWrap,form:Pe,labelCol:{span:4},wrapperCol:{span:18},onFinish:xn,onValuesChange:()=>{Oe(Lo({},Pe.getFieldsValue()))}},me!==!0&&a.createElement(re.Z,{style:{marginLeft:28,marginBottom:38}},a.createElement(pe.Z,null,"\u91C7\u96C6\u7167\u7247\uFF1A"),a.createElement(pe.Z,null,a.createElement("aside",{className:$r.imgWrap},a.createElement("div",{className:$r.img},a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.photo_url)}),a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",me==null?void 0:me.photo_url)},className:$r.iBtn},"\u9884\u89C8"),a.createElement("div",{className:$r.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:$r.img,style:{marginLeft:20}},me!=null&&me.identity_url?a.createElement("img",{width:234,src:(0,ue.Tv)(me==null?void 0:me.identity_url)}):a.createElement("div",{className:$r.no,style:{width:326}},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(me!=null&&me.identity_url)&&a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",(0,ue.Tv)(me==null?void 0:me.identity_url))},className:$r.iBtn},"\u9884\u89C8"),a.createElement("div",{className:$r.text},"\u8BC1\u4EF6\u7167\u7247"))))),a.createElement(de.default.Item,{label:"\u5BA1\u6838\u72B6\u6001",name:"state",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u72B6\u6001"}]},a.createElement(be.ZP.Group,null,a.createElement(be.ZP,{value:"passed"},"\u5BA1\u6838\u901A\u8FC7"),a.createElement(be.ZP,{value:"rejected"},"\u5BA1\u6838\u4E0D\u901A\u8FC7"))),(at==null?void 0:at.state)==="rejected"&&a.createElement(de.default.Item,{label:"\u5BA1\u6838\u610F\u89C1",name:"comment",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5BA1\u6838\u610F\u89C1"}]},a.createElement(Se.default,{placeholder:"\u5982\uFF1A\u4F60\u7684\u4E2A\u4EBA\u4FE1\u606F\u4E0E\u7167\u7247\u4E0D\u4E00\u81F4\u3002",maxLength:30})),a.createElement("div",{style:{color:"#FA6400",paddingLeft:32}},"\u6CE8\u610F\uFF1A\u5BA1\u6838\u901A\u8FC7\u540E\uFF0C\u8BE5\u5B66\u751F\u5728\u672C\u573A\u8003\u8BD5\u7684\u8BA4\u8BC1\u72B6\u6001\u5C06\u66F4\u65B0\u4E3A\u201C\u5BA1\u6838\u901A\u8FC7\u201D\uFF0C\u4E14\u80FD\u591F\u8FDB\u5165\u8003\u8BD5\u3002")))};var Wa=x(61621),Br=x(64165),lr={flex_box_center:"flex_box_center___t6Zg2",flex_space_between:"flex_space_between___YFTSU",flex_box_vertical_center:"flex_box_vertical_center___qbDmM",flex_box_center_end:"flex_box_center_end___Bj6kw",flex_box_column:"flex_box_column___Ou9DO",wrap:"wrap___foAmP",control:"control___q0ttm",bgH:"bgH___NAS04",sys:"sys___rqcXV",li:"li___blFPM",d1:"d1___Xzld0",img:"img___ckn7G",btn:"btn___fSMGG",b1:"b1___zoANu",b2:"b2___bqZaY",big:"big___nQ5gf",cusModal:"cusModal___rTXoc",video:"video___E4J_7",imgWrap:"imgWrap___ENwuy",iBtn:"iBtn___bXnJy",text:"text___CK5up",no:"no___MBT10",textP:"textP___ibKK1",l:"l___Gi38o",r:"r___HNibN",fo:"fo___DQwO8",b:"b___z8B9p"},mo=Object.defineProperty,Ar=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,Ro=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,Qo=Object.prototype.propertyIsEnumerable,Eo=(me,ve,le)=>ve in me?mo(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Io=(me,ve)=>{for(var le in ve||(ve={}))Oi.call(ve,le)&&Eo(me,le,ve[le]);if(Ro)for(var le of Ro(ve))Qo.call(ve,le)&&Eo(me,le,ve[le]);return me},ii=(me,ve)=>Ar(me,zo(ve)),ol=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const nl=({exercise:me,dispatch:ve,user:le})=>{var dt,Dt,_e,Wt,at,Oe,Pe,xn,jn;const Vn=(0,ye.useParams)(),[an,wn]=(0,a.useState)({page:1,limit:10,name:"",save_name:"",exercise_id:Vn==null?void 0:Vn.categoryId}),[aa]=de.default.useForm(),[pa,$n]=(0,a.useState)(),[Wn,Qa]=(0,a.useState)(!1),{exerciseList:On}=me,[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)(0),[Ta,Jt]=(0,a.useState)(!0),[va,ra]=(0,a.useState)(!1),[ir,eo]=(0,a.useState)("1"),[Pr,Dr]=(0,a.useState)(1),[Qt,tt]=(0,a.useState)("alert"),[ka,fa]=(0,a.useState)(1),[ja,vr]=(0,a.useState)(""),[Sa,Xr]=(0,a.useState)(!1),[za,Oa]=(0,a.useState)(!1),[Fr,xr]=(0,a.useState)([]);(0,a.useEffect)(()=>{qa(an)},[]);const qa=Gr=>ol(void 0,null,function*(){const ar=rr().cloneDeep(Gr);Jt(!0),Yt([]);const oo=yield(0,fe.ZP)(`/api/exercises/${Gr==null?void 0:Gr.exercise_id}/exercise_videos.json`,{method:"get",params:ar});Jt(!1),oa(oo==null?void 0:oo.count),Yt((oo==null?void 0:oo.exercise_users)||[])}),ea=(Gr,ar)=>{an.page=Gr,an.limit=ar,wn(Io({},an)),qa(an)},Ua=Gr=>{an.page=1,an.save_name=Gr,wn(Io({},an))},Ca=()=>{an.page=1;const Gr=Object.assign({},aa.getFieldsValue());Object.keys(Gr).map(function(ar){switch(ar){case"exercise_group_id":Gr[ar].includes("all")||!Gr[ar].length?(delete an.course_group,aa.setFieldsValue({exercise_group_id:"all"})):(an.course_group=Gr[ar],aa.setFieldsValue({exercise_group_id:an.course_group}));break}}),qa(an)};(0,a.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&($n(47),Qa(!0))},[document.getElementById("divhe"),On]);const ta=Gr=>ol(void 0,null,function*(){Xr(!0),ra({});const ar=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/student_info.json`,{method:"get",params:{exercise_user_id:Gr==null?void 0:Gr.exercise_user_id}}),oo=yield(0,fe.ZP)(`/api/exercises/${an==null?void 0:an.exercise_id}/video_push_logs.json`,{method:"get",params:{exercise_user_id:Gr==null?void 0:Gr.exercise_user_id}});oo!=null&&oo.data&&xr((oo==null?void 0:oo.data)||[]),ar!=null&&ar.data&&ra(ii(Io({},ar==null?void 0:ar.data),{exercise_user_id:Gr==null?void 0:Gr.exercise_user_id,datas:Gr})),Xr(!1)}),Ba=Gr=>{var ar,oo;Dr(Gr==="prev"?Pr-1===0?(ar=va==null?void 0:va.exercise_user_photos)==null?void 0:ar.length:Pr-1:Pr===((oo=va==null?void 0:va.exercise_user_photos)==null?void 0:oo.length)?1:Pr+1)},qn=()=>{Dr(1),tt("alert"),vr(""),eo("1"),fa(1)},$a=Gr=>{fa(Gr)},mr=Gr=>{tt(Gr),fa(1),vr("")},Or=[{key:1,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:2,value:"\u8BF7\u52FF\u79BB\u5F00\u76D1\u63A7\u8303\u56F4\uFF01"},{key:3,value:"\u8BF7\u4E0D\u8981\u4E0E\u5176\u4ED6\u4EBA\u4EA4\u8C08\uFF01"},{key:4,value:"\u8BF7\u4E0D\u8981\u505A\u4E0E\u8003\u8BD5\u65E0\u5173\u7684\u884C\u4E3A\uFF01"},{key:5,value:"\u8BF7\u52FF\u5207\u5C4F\uFF0C\u8D85\u8FC73\u6B21\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF01"},{key:6,value:"\u8BF7\u52FF\u906E\u6321\u6216\u5173\u95ED\u7535\u8111\u6444\u50CF\u76D1\u63A7\uFF01"},{key:0,value:"\u5176\u4ED6"}],Co=[{key:1,value:"\u8BF7\u5C06\u624B\u673A\u653E\u7F6E\u4E8E\u4FA7\u540E\u65B945\xB0\uFF0C\u79BB\u684C\u97621\u7C73\u5DE6\u53F3\uFF0C\u4FDD\u8BC1\u80FD\u62CD\u6444\u5230\u4E0A\u534A\u8EAB\u3001\u7535\u8111\u5C4F\u5E55\u548C\u684C\u9762\u3002"},{key:2,value:"\u624B\u673A\u5F55\u50CF\u5F02\u5E38\uFF0C\u8BF7\u91CD\u65B0\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u5F00\u542F\u624B\u673A\u6444\u50CF\u5F55\u5236\u3002"},{key:0,value:"\u5176\u4ED6"}],po=Qt==="alert"?Or:Co;return a.createElement("section",{className:lr.wrap},a.createElement(de.default,{form:aa,onChange:Ca,initialValues:{exercise_group_id:"all"}},a.createElement(de.default.Item,{name:"exercise_group_id"},a.createElement(Re.default.Group,{style:{width:"100%"}},a.createElement(re.Z,null,a.createElement(pe.Z,{className:"font14",flex:"80px"},"\u9009\u62E9\u5206\u73ED:"),a.createElement(pe.Z,{flex:"80px"},a.createElement(Re.default,{value:"all"},"\u5168\u90E8")),a.createElement(pe.Z,{flex:"1",id:"divhe",style:{height:pa+"px",overflow:"hidden"}},(dt=On.course_groups)==null?void 0:dt.map((Gr,ar)=>a.createElement(Re.default,{key:ar,value:Gr.exercise_group_id,className:"ml0 mr8"},Gr.exercise_group_name,"(",Gr.exercise_group_students,")"))),Wn&&a.createElement("span",{onClick:()=>{let Gr=document.getElementById("divhe").scrollHeight;pa>47?$n(47):$n(Gr)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},pa===47?"\u5C55\u5F00":"\u6536\u8D77",pa===47?a.createElement(Do.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):a.createElement(io.Z,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),a.createElement("div",{className:lr.control},a.createElement(Se.default.Search,{placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",value:an==null?void 0:an.save_name,onChange:Gr=>Ua(Gr.target.value),onSearch:()=>{an.page=1,an.name=an.save_name,wn(Io({},an)),qa(an)}})),a.createElement("div",{className:lr.bgH}),a.createElement("div",{className:lr.warpList},a.createElement(Wa.Z,{loading:Ta,active:!0,paragraph:{rows:5}},a.createElement("div",{className:"c-grey-666 mb20 mt20"},"\u5171",a.createElement("span",{className:"c-orange"},da),"\u540D\u5B66\u751F\u5DF2\u5F00\u542F\u624B\u673A\u6444\u5F71"),ga.length?a.createElement("ul",{className:lr.sys},ga.map((Gr,ar)=>{const{user_name:oo,user_group_name:So,video_url:Mi,login:Gl,student_id:zl}=Gr;return a.createElement("li",{className:lr.li,key:ar},a.createElement("div",{className:lr.d1},a.createElement("div",{className:lr.img},a.createElement("iframe",{style:{height:340,width:"100%",border:"none"},src:`/live-play.html?key=${ar}&video_url=${Mi==null?void 0:Mi.replace(".m3u8",".flv")}`})),a.createElement(De.Z,{title:"\u59D3\u540D+\u5B66\u53F7"},a.createElement("div",{className:lr.btn,onClick:()=>(0,ue.RG)(`${an.exercise_id}-${Gl}`,!0)},a.createElement("div",{title:oo,className:lr.b1},oo),a.createElement("div",{title:So,className:lr.b2},"(",zl,")"))),a.createElement("div",{onClick:()=>ta(Gr),className:lr.big},"\u67E5\u770B")))})):a.createElement(Br.Z,null)),a.createElement(we.Z,{showTotal:Gr=>a.createElement("span",{className:"mr10"},"\u5171",a.createElement("span",{className:"c-orange"},Gr),"\u6761\u6570\u636E"),className:"tc",showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,onChange:ea,pageSize:an==null?void 0:an.limit,current:an.page,total:da})),a.createElement(Fe.default,{title:"\u67E5\u770B\u8BE6\u7EC6\u4FE1\u606F",open:va,centered:!0,width:850,destroyOnClose:!0,onCancel:()=>{ra(!1)},afterClose:qn,footer:null},a.createElement(Wa.Z,{loading:Sa,active:!0,paragraph:{rows:5}},a.createElement("div",null,a.createElement("span",null,"\u59D3\u540D:",(Dt=va==null?void 0:va.datas)==null?void 0:Dt.user_name),a.createElement("span",{className:"ml20"},"\u5B66\u53F7:",(_e=va==null?void 0:va.datas)==null?void 0:_e.student_id),a.createElement("span",{className:"ml20"},"\u73ED\u7EA7:",(Wt=va==null?void 0:va.datas)==null?void 0:Wt.user_group_name)),a.createElement(E.default,{className:"mt10",defaultActiveKey:ir,onChange:Gr=>{eo(Gr)}},a.createElement(E.default.TabPane,{tab:"\u9632\u4F5C\u5F0A\u5934\u50CF",key:"1"},a.createElement("aside",{className:lr.imgWrap},a.createElement("div",{className:lr.img,style:{width:234,marginLeft:30,textAlign:"center"}},(at=va==null?void 0:va.exercise_user_photos)!=null&&at.length?a.createElement(a.Fragment,null,a.createElement("img",{height:131,src:(Oe=va==null?void 0:va.exercise_user_photos)==null?void 0:Oe[Pr-1]}),a.createElement("div",{onClick:()=>{var Gr;Ga.Z.publish("preview-image",(Gr=va==null?void 0:va.exercise_user_photos)==null?void 0:Gr[Pr-1])},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u8003\u8BD5\u4E2D\u7167\u7247",a.createElement("span",{className:"c-light-primary"},Pr,"/",(Pe=va==null?void 0:va.exercise_user_photos)==null?void 0:Pe.length)),Pr===1?a.createElement("div",{style:{color:"#ccc",cursor:"not-allowed"},className:lr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})):a.createElement("div",{onClick:()=>Ba("prev"),className:lr.l}," ",a.createElement("i",{className:"iconfont icon-fanhui2"})),a.createElement("div",{onClick:()=>Ba("next"),className:lr.r},a.createElement("i",{className:"iconfont icon-lujing"}))):a.createElement("div",{className:lr.no},a.createElement("span",null,"\u6682\u65E0\u8003\u8BD5\u4E2D\u7167\u7247"))),a.createElement("div",{className:lr.img,style:{marginLeft:60,width:234,textAlign:"center"}},va!=null&&va.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(va==null?void 0:va.identity_url)}):a.createElement("div",{className:lr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(va!=null&&va.identity_url)&&a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",(0,ue.Tv)(va==null?void 0:va.identity_url))},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u4EBA\u8138\u7167\u7247",key:"2"},a.createElement("aside",{className:lr.imgWrap,style:{marginLeft:70}},a.createElement("div",{className:lr.img},a.createElement("img",{width:234,src:va==null?void 0:va.exercise_identity_photo}),a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",va==null?void 0:va.exercise_identity_photo)},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u91C7\u96C6\u7167\u7247")),a.createElement("div",{className:lr.img,style:{marginLeft:20,width:234,textAlign:"center"}},va!=null&&va.identity_url?a.createElement("img",{height:131,src:(0,ue.Tv)(va==null?void 0:va.identity_url)}):a.createElement("div",{className:lr.no},a.createElement("span",null,"\u6682\u65E0\u8BC1\u4EF6\u7167\u7247")),!!(va!=null&&va.identity_url)&&a.createElement("div",{onClick:()=>{Ga.Z.publish("preview-image",(0,ue.Tv)(va==null?void 0:va.identity_url))},className:lr.iBtn},"\u9884\u89C8"),a.createElement("div",{className:lr.text},"\u8BC1\u4EF6\u7167\u7247")))),a.createElement(E.default.TabPane,{tab:"\u8B66\u544A\u548C\u901A\u77E5",key:"3"},a.createElement("div",{className:lr.fo},a.createElement(be.ZP,{className:"mt20",checked:Qt==="alert",onChange:()=>mr("alert")},"\u53D1\u9001\u8B66\u544A",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u5982\u53D1\u73B0\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u7684\u7167\u7247\u5B58\u5728\u5F02\u5E38\u65F6\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement(be.ZP,{className:"mt10",checked:Qt==="notice",onChange:()=>mr("notice")},"\u53D1\u9001\u901A\u77E5",a.createElement("span",{className:"font14 c-grey-999"},"\uFF08\u8003\u8BD5\u4E2D\u5982\u6709\u6D88\u606F\u901A\u77E5\uFF0C\u53EF\u53D1\u9001\u6D88\u606F\u7ED9\u5B66\u751F\uFF09")),a.createElement("div",{className:"mt20"},a.createElement("span",{className:"mr10"},"\u539F\u56E0:"),a.createElement(dn.default,{style:{width:570},value:ka,onChange:$a},po==null?void 0:po.map(Gr=>a.createElement(dn.default.Option,{key:Gr.key,value:Gr.key},Gr.value)))),ka===0&&a.createElement(Se.default.TextArea,{className:"mt20",value:ja,onChange:Gr=>vr(Gr.target.value),placeholder:"\u8BF7\u586B\u5199\u5176\u4ED6\u539F\u56E0"}),a.createElement(re.Z,{className:"mt10",align:"middle"},a.createElement("div",{className:"mr10"},"\u53D1\u9001\u8BB0\u5F55"),a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"\u5DF2\u53D1\u9001",va==null?void 0:va.alert_count,"\u6B21\u8B66\u544A\u548C",((xn=va==null?void 0:va.alerts)==null?void 0:xn.length)-(va==null?void 0:va.alert_count),"\u6B21\u901A\u77E5")),a.createElement(z.default,{dataSource:(va==null?void 0:va.alerts)||[],bordered:!1,scroll:((jn=va==null?void 0:va.alerts)==null?void 0:jn.length)>4?{y:200}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"created_at",width:164},{title:"\u53D1\u9001\u4EBA",dataIndex:"sender",width:100,ellipsis:{showTitle:!1},render:Gr=>Gr?a.createElement("span",{title:Gr},Gr):"--"},{title:"\u53D1\u9001\u7C7B\u578B",dataIndex:"clazz",width:80,render:Gr=>Gr==="alert"?"\u8B66\u544A":"\u901A\u77E5"},{title:"\u53D1\u9001\u5185\u5BB9",dataIndex:"content",ellipsis:!0}],pagination:!1}),a.createElement(Ce.ZP,{className:lr.b,onClick:()=>ol(void 0,null,function*(){if(!ja&&ka===0){oe.ZP.info("\u8BF7\u8F93\u5165\u5176\u4ED6\u539F\u56E0");return}let Gr=ja;ka&&(Gr=(Qt==="alert"?Or:Co).find(So=>So.key===ka).value),Oa(!0);let ar=yield(0,fe.ZP)(`/api/exercises/${an.exercise_id}/send_alert.json`,{method:"post",body:{content:Gr,clazz:Qt,exercise_user_id:va==null?void 0:va.exercise_user_id}});(ar==null?void 0:ar.status)===0&&(oe.ZP.info("\u53D1\u9001\u6210\u529F"),ra(!1)),Oa(!1)}),loading:za,type:"primary"},a.createElement("i",{className:"iconfont icon-fasongtongzhi mr5"}),"\u53D1\u9001"))),a.createElement(E.default.TabPane,{tab:"\u65AD\u6D41\u8BB0\u5F55",key:"4"},a.createElement(z.default,{dataSource:Fr,bordered:!1,scroll:Fr.length>7?{y:300}:{},columns:[{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"start_time",width:164},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"end_time",width:164,render:Gr=>Ze()(Gr).format("YYYY-MM-DD HH:mm:ss")||"--"},{title:"\u63A8\u6D41\u65F6\u957F",dataIndex:"push_duration",ellipsis:!0,width:120,render:Gr=>Gr&&(0,ue.li)(Number(Gr)/1e3)||0},{title:"\u65AD\u6D41\u539F\u56E0",dataIndex:"msg",ellipsis:!0}]}))))),a.createElement(wa.Z,null))};var Ol=(0,ye.connect)(({exercise:me,user:ve})=>({exercise:me,user:ve}))(nl),Nl={flex_box_center:"flex_box_center___xF1ge",flex_space_between:"flex_space_between___YGq9c",flex_box_vertical_center:"flex_box_vertical_center___wd_iR",flex_box_center_end:"flex_box_center_end___HoL5p",flex_box_column:"flex_box_column___Oy7FC",warp:"warp____YDkr",header:"header___BRNBu",empty:"empty___iwhMt"},qr={flex_box_center:"flex_box_center___Xa_jj",flex_space_between:"flex_space_between___N_2qI",flex_box_vertical_center:"flex_box_vertical_center___wGZOw",flex_box_center_end:"flex_box_center_end___GYY4W",flex_box_column:"flex_box_column___jR_ZX",subjectTable:"subjectTable___WrGqf",title:"title___ZCcfg",customTable:"customTable___xSvZm",row:"row___Acnda",line:"line___nmQeX"},Mr=Object.defineProperty,Qr=Object.defineProperties,Kr=Object.getOwnPropertyDescriptors,si=Object.getOwnPropertySymbols,Xi=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,ml=(me,ve,le)=>ve in me?Mr(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Vl=(me,ve)=>{for(var le in ve||(ve={}))Xi.call(ve,le)&&ml(me,le,ve[le]);if(si)for(var le of si(ve))il.call(ve,le)&&ml(me,le,ve[le]);return me},Rl=(me,ve)=>Qr(me,Kr(ve)),xu=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())}),Bi=({index:me,bottomLine:ve,gather:le,search:dt})=>{const[Dt,_e]=(0,a.useState)([]),[Wt,at]=(0,a.useState)(!1),[Oe,Pe]=(0,a.useState)(!1),xn=(0,ye.useParams)(),jn=(0,ye.useLocation)(),[Vn]=(0,ye.useSearchParams)(),[an,wn]=(0,a.useState)({page:1,limit:6,total:0});(0,a.useEffect)(()=>{console.log(le,"gather"),me===0&&Pe(!0)},[]),(0,a.useEffect)(()=>{Oe&&pa()},[Oe]);const aa=[{title:"\u5E8F\u53F7",dataIndex:"index",key:"index",align:"left",ellipsis:!0,render:(Qa,On,ga)=>an.limit*(an.page-1)+ga+1},{title:"\u59D3\u540D",dataIndex:"username",key:"username",align:"left",ellipsis:!0},{title:"\u73ED\u7EA7",dataIndex:"user_group_name",key:"user_group_name",align:"left",render:Qa=>Qa||"--"},{title:"\u5B66\u53F7",dataIndex:"student_id",key:"student_id",align:"left"},{title:"\u76F8\u4F3C\u5EA6",dataIndex:"code_rate",key:"code_rate",align:"left",render:Qa=>Qa+"%"},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",align:"left",render:Qa=>{let On=`/classrooms/${xn==null?void 0:xn.coursesId}/exercise/${xn==null?void 0:xn.categoryId}/detail/${Qa}/review_detail`;return Vn.get("random")&&(On=On+`?random=${Vn.get("random")}`),a.createElement(ye.Link,{to:On,target:"_blank"},"\u67E5\u770B")}}],pa=Qa=>xu(void 0,null,function*(){at(!0);const On=Qa||{page:1,limit:10,total:0},ga=Vl({id:xn==null?void 0:xn.categoryId,question_id:le==null?void 0:le.question_id,search:dt},On),Yt=yield(0,fe.ZP)(`/api/courses/${xn==null?void 0:xn.coursesId}/exercises/code_review_users.json`,{method:"get",params:ga});Yt&&(_e(Yt==null?void 0:Yt.users),at(!1),wn(Rl(Vl({},On),{total:(Yt==null?void 0:Yt.count)||0})))}),$n=Qa=>{const On=Rl(Vl({},an),{page:Qa});wn(On),pa(On)},Wn=()=>{Pe(!Oe)};return a.createElement("div",{className:qr.subjectTable},a.createElement("aside",{className:qr.title},a.createElement("span",{className:"c-light-primary"},me+1,"\u3001",le.name||((le==null?void 0:le.question_type)===5?"\u5B9E\u8BAD\u9898":"\u7F16\u7A0B\u9898")),a.createElement("span",{className:"c-grey-333"},"\uFF08",le==null?void 0:le.score,"\u5206\uFF09\uFF1A",le==null?void 0:le.question_title),a.createElement("span",{className:"ml40 c-grey-999"},a.createElement("b",{className:"c-red-ee4"},le==null?void 0:le.checked_count),"\xA0\u4E2A\u7591\u4F3C\u6284\u88AD\u4F5C\u54C1\uFF08\u5171",le==null?void 0:le.total_count,"\u4E2A\u4F5C\u54C1\uFF09"),a.createElement("span",{onClick:Wn,style:{marginLeft:"auto",cursor:"pointer",color:"#0152d9"}},Oe?"\u6536\u8D77":"\u5C55\u5F00",Oe?a.createElement(io.Z,null):a.createElement(Do.Z,null)),(le==null?void 0:le.question_type)===5&&a.createElement("a",{style:{marginLeft:20},target:"_blank",href:`/shixuns/${le==null?void 0:le.shixun_identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5")),a.createElement(z.default,{className:qr.customTable,style:{display:Oe?"block":"none"},dataSource:Dt,bordered:!1,rowKey:Qa=>Qa.id,rowClassName:qr.row,columns:aa,loading:Wt,pagination:{pageSize:an.limit,total:an.total,current:an.page,onChange:$n,showQuickJumper:!0,showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomCenter"]}}),a.createElement("div",{className:qr.line,style:{visibility:ve?"hidden":"visible"}}))},Ti=x(22910),ci=x(59301),Po=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const ll=({exercise:me,globalSetting:ve,dispatch:le})=>{const[dt,Dt]=(0,a.useState)(""),[_e,Wt]=(0,a.useState)([]),[at,Oe]=(0,a.useState)(""),[Pe,xn]=(0,a.useState)(!1),[jn,Vn]=(0,a.useState)(!1),an=(0,ye.useParams)();(0,a.useEffect)(()=>{wn()},[]);const wn=$n=>Po(void 0,null,function*(){xn(!0);const Wn=yield(0,fe.ZP)(`/api/courses/${an==null?void 0:an.coursesId}/exercises/code_review_results.json`,{method:"get",params:{id:an==null?void 0:an.categoryId,search:dt}});if((Wn==null?void 0:Wn.status)===-2){Vn(!0),wn();return}Wn&&(Vn(!1),xn(!1),Wt((Wn==null?void 0:Wn.exercise_questions)||[]),Oe(Wn==null?void 0:Wn.last_review_time))}),aa=()=>{wn()},pa=()=>ci.createElement("div",{className:Nl.empty},ci.createElement("img",{src:Ti.x7,width:"258"}),ci.createElement("span",{className:"c-grey-c"},"\u6682\u65E0\u6570\u636E"));return ci.createElement("section",{className:Nl.warp},ci.createElement("aside",{className:Nl.header},ci.createElement("div",null,"\u67E5\u91CD\u65F6\u95F4\uFF1A",at||"--"),!!at&&ci.createElement(Se.default,{value:dt,onChange:$n=>Dt($n.target.value),suffix:ci.createElement("i",{onClick:aa,className:"iconfont icon-sousuo2 c-grey-c"}),bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",onPressEnter:aa})),jn&&ci.createElement(He.Z,{customText:"\u6B63\u5728\u8FDB\u884C\u4EE3\u7801\u67E5\u91CD\uFF0C\u8BF7\u7A0D\u5019\u3002\u67E5\u91CD\u7ED3\u675F\u540E\uFF0C\u9875\u9762\u5C06\u81EA\u52A8\u66F4\u65B0\u663E\u793A\u7ED3\u679C"}),!jn&&ci.createElement(Wa.Z,{loading:Pe,active:!0,paragraph:{rows:5}},_e.length>0?ci.createElement("aside",{className:Nl.subject},_e.map(($n,Wn)=>ci.createElement(Bi,{key:Wn,index:Wn,bottomLine:Wn===_e.length-1,gather:$n,search:dt}))):pa()))};var fi=(0,ye.connect)(({exercise:me,globalSetting:ve})=>({exercise:me,globalSetting:ve}))(ll),ul=x(28103),Ul=x(55659),Lu=x(6905),Tu=x(40981),hr={flex_box_center:"flex_box_center___epJYP",flex_space_between:"flex_space_between___SU6BD",flex_box_vertical_center:"flex_box_vertical_center___Qes2t",flex_box_center_end:"flex_box_center_end___hGppz",flex_box_column:"flex_box_column___uzhhO",wrap:"wrap___rEjJ0",modal:"modal___gRDV9",titleWrap:"titleWrap___MK_OO",required:"required___Hja3H",title:"title___vMFKz",colorGray:"colorGray___hNhIL",choiceWrap:"choiceWrap___Xx5du",answer:"answer___cbuNE",activeAnswer:"activeAnswer___LwFG7",deleteIcon:"deleteIcon____HG4s",addIcon:"addIcon___r_Vhy",editorWrap:"editorWrap___OYwur",htmlWrap:"htmlWrap___qXHYn",radio:"radio___urtyZ",color333:"color333___Lah7k",color999:"color999___TmkZt",questionType:"questionType___r_bKw",questionChoices:"questionChoices___LA7VM",action:"action___fTTDM",difficult:"difficult___Mg7lT",fold:"fold___oVjRI",head:"head___fpwmn",divname:"divname___O7KlL"},rl=x(17410),Su=x(49667),ss=x(39257),pi=x(59301),Rs=Object.defineProperty,cs=Object.getOwnPropertySymbols,hc=Object.prototype.hasOwnProperty,Yc=Object.prototype.propertyIsEnumerable,Lc=(me,ve,le)=>ve in me?Rs(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Fs=(me,ve)=>{for(var le in ve||(ve={}))hc.call(ve,le)&&Lc(me,le,ve[le]);if(cs)for(var le of cs(ve))Yc.call(ve,le)&&Lc(me,le,ve[le]);return me},Xc=(me,ve)=>{var le={};for(var dt in me)hc.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&cs)for(var dt of cs(me))ve.indexOf(dt)<0&&Yc.call(me,dt)&&(le[dt]=me[dt]);return le},ds=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Xs=null,pd="\u2581",Au=(me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,editData:Oe,editKey:Pe,setEditKey:xn=()=>{},cancelAdd:jn=()=>{},addCallback:Vn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=le,aa=Xc(le,["problemset","globalSetting","exercise","loading","dispatch","editData","editKey","setEditKey","cancelAdd","addCallback","reload","setIsClaer"]);const[pa,$n]=(0,a.useState)(""),[Wn,Qa]=(0,a.useState)(""),[On,ga]=(0,a.useState)([]),[Yt,da]=(0,a.useState)(""),[oa,Ta]=(0,a.useState)(),[Jt,va]=(0,a.useState)(!1),[ra,ir]=(0,a.useState)(),[eo,Pr]=(0,a.useState)(0),[Dr,Qt]=(0,a.useState)(!1),[tt,ka]=(0,a.useState)(!1),[fa,ja]=(0,a.useState)([]),[vr,Sa]=(0,a.useState)(1),[Xr,za]=(0,a.useState)(!1),Oa=(0,a.useRef)(!1),Fr=(0,ye.useParams)(),[xr,qa]=(0,a.useState)([]),ea=oo=>{qa([...xr,Fs({},oo)])};(0,a.useEffect)(()=>{var oo;if(Oa.current)return;if(!(Oe!=null&&Oe.question_title)){Qt(!0),$n(""),Ta(!1),ir(2),ga([]),da(""),va(!1);return}$n(Oe==null?void 0:Oe.question_title),Ta(Oe==null?void 0:Oe.is_ordered),Sa(Oe==null?void 0:Oe.difficulty),za(!(Oe!=null&&Oe.repeat_answer)),ir(Oe==null?void 0:Oe.question_score);const So=(oo=Oe==null?void 0:Oe.standard_answers)==null?void 0:oo.map(Mi=>Mi.answer_text);ga([...So]),ja(Oe.tag_discipline_ids),Qa(Oe==null?void 0:Oe.analysis)},[Oe,Dr]),(0,a.useEffect)(()=>{va(!1),Dr&&oo();function oo(){return ds(this,null,function*(){var So,Mi;const Gl=yield(0,ne.YY)({sub_discipline_id:(Mi=(So=_e.editData)==null?void 0:So.exercise)==null?void 0:Mi.sub_discipline_id});qa(Gl.tag_disciplines)})}},[Dr]),(0,a.useImperativeHandle)(ve,()=>({onSave:Ca,isEdit:Dr})),(0,a.useEffect)(()=>{var oo;const So=(oo=_e==null?void 0:_e.tagDisciplineData)!=null&&oo.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];qa(So)},[_e.tagDisciplineData]);const Ua=oo=>{(oo==null?void 0:oo.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Qt(!1),xn(-1),Oa.current=!1,an())},Ca=()=>ds(void 0,null,function*(){var oo,So,Mi,Gl;let zl=[],ji=!1;if(ka(!0),On.forEach((Bu,eu)=>{zl.push({choice_id:eu+1,answer_text:[]}),Bu.forEach((to,Li)=>{zl[eu].answer_text.push(to),(!to||!(0,ue.eR)(to,1e4))&&(da(`${eu}-${Li}`),oe.ZP.info(to?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),ji=!0)})}),ji)return ka(!1),!1;Oa.current=!0;let hu;return Oe.question_id?(Oe==null?void 0:Oe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>ds(void 0,null,function*(){var Bu,eu;hu=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(eu=(Bu=_e.editData)==null?void 0:Bu.exercise)==null?void 0:eu.sub_discipline_id,difficulty:vr,is_cover:1,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)}),onCancel:()=>ds(void 0,null,function*(){var Bu,eu;hu=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(eu=(Bu=_e.editData)==null?void 0:Bu.exercise)==null?void 0:eu.sub_discipline_id,difficulty:vr,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)})}):(hu=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(So=(oo=_e.editData)==null?void 0:oo.exercise)==null?void 0:So.sub_discipline_id,difficulty:vr,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)):(hu=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:Fr.categoryId,question_title:pa,question_type:3,question_score:ra,is_ordered:oa,standard_answers:zl,tag_discipline_ids:fa,sub_discipline_id:(Gl=(Mi=_e.editData)==null?void 0:Mi.exercise)==null?void 0:Gl.sub_discipline_id,difficulty:vr,repeat_answer:!Xr,analysis:Wn}}),Ua(hu)),ka(!1),{name:pa,analysis:Wn,standard_answers:zl,is_ordered:oa}}),ta=(oo,So,Mi)=>{const Gl=On.slice();if(So&&Gl.splice(oo,So),Mi&&Jt||!Oe.question_id)for(let zl=0;zl{da("");let Gl=On.slice();Gl[oo][So]=Mi,ga(Gl)},qn=oo=>{let So=On.slice();So[oo]=[...So[oo],""],ga(So)},$a=(oo,So)=>{let Mi=On.slice();if(!Mi[oo][So]){Mi[oo]=Mi[oo].filter((Gl,zl)=>zl!==So),ga(Mi);return}Fe.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:hr.modal,onOk:()=>{Mi[oo]=Mi[oo].filter((Gl,zl)=>zl!==So),ga(Mi)}})},mr=oo=>{Fe.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:hr.modal,onOk:()=>{let So=0;$n(pa.replace(/\▁/g,function(Mi){return So++,So-1===oo?"":Mi})),setTimeout(()=>{let Mi=On.slice();Mi=On.filter((Gl,zl)=>oo!==zl),ga(Mi)},500)}})},Or=()=>{},Co=()=>{var oo,So,Mi,Gl,zl,ji;return console.log(On,"answers"),pi.createElement("aside",null,pi.createElement("div",{className:hr.questionType},pi.createElement("div",null,pi.createElement("span",{className:"font16 c-blue"},"\u586B\u7A7A\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848 \uFF1B\u652F\u6301\u6700\u591A5\u4E2A\u7A7A\uFF0C\u6BCF\u7A7A\u5F97\u5206\u6309\u7167\u672C\u9898\u7684\u603B\u5206\u5E73\u5747\u8BA1\u7B97\uFF09")),pi.createElement("div",null,pi.createElement(Lu.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:pa,onChange:hu=>$n(hu),showNullButton:((So=(oo=_e.editData)==null?void 0:oo.exercise)==null?void 0:So.exercise_status)===1,deleteEmptyDisabled:((Gl=(Mi=_e.editData)==null?void 0:Mi.exercise)==null?void 0:Gl.exercise_status)!==1||tt,onPlaceholderChange:ta})),pi.createElement("div",{className:"mt20"},On.map((hu,Bu)=>{var eu,to;return pi.createElement(Tu.Z,{key:Bu,answers:hu,index:Bu,is_md:!0,exerciseIsPublish:((to=(eu=_e.editData)==null?void 0:eu.exercise)==null?void 0:to.exercise_status)!==1,activeOptionErrorIndex:Yt,onAnswerChange:Ba,addChildAnswer:qn,deleteChildAnswer:$a,deleteChildAnswermain:mr})})),pi.createElement("div",{className:"mt20"},On.length>1&&pi.createElement("span",null,pi.createElement(Re.default,{checked:oa,onChange:hu=>Ta(hu.target.checked),className:`${hr.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),pi.createElement("span",{className:`${hr.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),pi.createElement("p",{className:hr.titleWrap},pi.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),pi.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Wn,onChange:hu=>Qa(hu)}),pi.createElement("p",{className:""},pi.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C\uFF1A",pi.createElement(Te.Z,{value:ra,max:1e4,min:0,onChange:hu=>{ir(hu)}})," \u5206 \xA0 ",!!ra&&!!eo&&pi.createElement("span",{style:{color:"red"}},"(\u6839\u636E\u5747\u5206\u89C4\u5219\uFF0C\u672C\u9898\u6BCF\u7A7A",(ra/eo).toFixed(1),"\u5206)"),pi.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},pi.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",pi.createElement(be.ZP.Group,{value:vr,onChange:hu=>{Sa(hu.target.value)}},pi.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),pi.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),pi.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),pi.createElement("p",{className:hr.titleWrap},pi.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",pi.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),pi.createElement("div",{className:"mt5"},pi.createElement(Su.N,{value:fa,selectvalues:Oe==null?void 0:Oe.tag_discipline_ids,onChange:ja,subId:(ji=(zl=_e.editData)==null?void 0:zl.exercise)==null?void 0:ji.sub_discipline_id,knowledgeOptions:xr,onAddKnowledgeFinish:ea})),pi.createElement("div",{style:{marginTop:10}},pi.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),pi.createElement(Ae.Z,{checked:Xr,onChange:hu=>{za(hu)}}))),pi.createElement("aside",{className:"tr"},(Pe!==-1||Oe.question_id)&&pi.createElement(Ce.ZP,{type:"default",onClick:()=>{jn(),Qt(!1)}},"\u53D6\u6D88"),pi.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Ca()}},"\u4FDD\u5B58")))},po=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(oo=>{var So,Mi;return((Mi=(So=_e==null?void 0:_e.editData)==null?void 0:So.exercise)==null?void 0:Mi.exercise_status)===1?oo:oo.id!=="del"&&oo.id!=="add"}),Gr=oo=>ds(void 0,null,function*(){if(Pe!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(oo.id){case"del":let So;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return ds(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:Fs({},Fr)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:oo.id}}),at({type:"exercise/editExercise",payload:Fs({},Fr)});break;case"edit":xn(Oe.dragKey),Qt(!0);break;case"add":Vn({key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:3});break}}),ar=()=>{var oo;return pi.createElement("aside",null,pi.createElement("div",{className:hr.questionType},!(Oe!=null&&Oe.isPreview)&&pi.createElement("div",null,pi.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u586B\u7A7A\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?pi.createElement("div",{style:{display:"flex"}},pi.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),pi.createElement(rl.Z,{value:Oe.question_title}),pi.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09")):pi.createElement("div",{className:"mt5"},pi.createElement(rl.Z,{value:Oe.question_title})),pi.createElement("div",{className:hr.questionChoices},(oo=Oe==null?void 0:Oe.standard_answers)==null?void 0:oo.map(function(So,Mi){return pi.createElement(re.Z,{key:Mi,align:"middle"},pi.createElement(pe.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",So.choice_id,"\uFF09\uFF1A"),pi.createElement(pe.Z,{flex:"1"},pi.createElement(re.Z,{align:"middle",gutter:[1,1]},So.answer_text.map(function(Gl,zl){return pi.createElement(pe.Z,{span:24,key:zl},So.model===1?pi.createElement(Se.default,{key:Mi,checked:Oe.standard_answers.includes(Mi),disabled:!0,value:Gl}):pi.createElement(ss.Z,{value:Gl,disabled:!0,style:{color:"rgba(0, 0, 0, 0.25)",backgroundColor:"rgba(0, 0, 0, 0.04)"}}))}))))})),pi.createElement("div",{className:hr.action},!Oe.hideAction&&po.map(function(So,Mi){return So.id==="up"&&Oe.key===1||So.id==="down"&&Oe.key===Oe.len?null:pi.createElement(De.Z,{key:Mi,placement:"bottom",title:So.name},pi.createElement("span",{onClick:()=>Gr(So),className:So.icon}))})))};return pi.createElement("section",{className:hr.wrap},!Dr&&ar(),Dr&&Co())};var Es=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Au)),Ec=Object.defineProperty,Bs=Object.getOwnPropertySymbols,Js=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,Ac=(me,ve,le)=>ve in me?Ec(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,qs=(me,ve)=>{for(var le in ve||(ve={}))Js.call(ve,le)&&Ac(me,le,ve[le]);if(Bs)for(var le of Bs(ve))Ss.call(ve,le)&&Ac(me,le,ve[le]);return me},Cc=(me,ve)=>{var le={};for(var dt in me)Js.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Bs)for(var dt of Bs(me))ve.indexOf(dt)<0&&Ss.call(me,dt)&&(le[dt]=me[dt]);return le},Is=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Rc=["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"],Os=(me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,editKey:xn,setEditKey:jn=()=>{},cancelAdd:Vn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=le,pa=Cc(le,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","editKey","setEditKey","cancelAdd","reload","addCallback","setIsClaer"]);const[$n,Wn]=(0,a.useState)(),[Qa,On]=(0,a.useState)(""),[ga,Yt]=(0,a.useState)(!1),[da,oa]=(0,a.useState)(),[Ta,Jt]=(0,a.useState)([]),[va,ra]=(0,a.useState)([]),[ir,eo]=(0,a.useState)(1),[Pr,Dr]=(0,a.useState)(!1),[Qt,tt]=(0,a.useState)(""),ka=(0,a.useRef)(!1),fa=xr=>{ra([...va,qs({},xr)])},ja=(0,ye.useParams)();(0,a.useEffect)(()=>{if(!ka.current){if(!(Pe!=null&&Pe.question_choices)){Yt(!0),On(""),oa(2),Wn("");return}Dr(!(Pe!=null&&Pe.repeat_answer)),On(Pe==null?void 0:Pe.question_title),oa(Pe==null?void 0:Pe.question_score),eo(Pe==null?void 0:Pe.difficulty),Wn(Pe.standard_answer[0]+""),Jt(Pe.tag_discipline_ids),tt(Pe==null?void 0:Pe.analysis)}},[Pe,ga]),(0,a.useEffect)(()=>{ga&&xr();function xr(){return Is(this,null,function*(){var qa,ea;const Ua=yield(0,ne.YY)({sub_discipline_id:(ea=(qa=_e.editData)==null?void 0:qa.exercise)==null?void 0:ea.sub_discipline_id});ra(Ua.tag_disciplines)})}},[ga]),(0,a.useImperativeHandle)(ve,()=>({onSave:Sa,isEdit:ga})),(0,a.useEffect)(()=>{var xr;const qa=(xr=_e==null?void 0:_e.tagDisciplineData)!=null&&xr.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];ra(qa)},[_e.tagDisciplineData]);const vr=xr=>{(xr==null?void 0:xr.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Yt(!1),jn(-1),ka.current=!1,an())},Sa=()=>Is(void 0,null,function*(){var xr,qa,ea,Ua;if(!Qa)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(!$n)return oe.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1;const Ca=[{choice_text:"\u6B63\u786E",is_answer:$n==="1"?1:0},{choice_text:"\u9519\u8BEF",is_answer:$n==="2"?2:0}];ka.current=!0;let ta;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Is(void 0,null,function*(){var Ba,qn;ta=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map($a=>$a.choice_text),standard_answers:Ca.filter($a=>$a.is_answer).map($a=>$a.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(qn=(Ba=_e.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id,difficulty:ir,is_cover:1,repeat_answer:!Pr,analysis:Qt}}),vr(ta)}),onCancel:()=>Is(void 0,null,function*(){var Ba,qn;ta=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map($a=>$a.choice_text),standard_answers:Ca.filter($a=>$a.is_answer).map($a=>$a.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(qn=(Ba=_e.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qt}}),vr(ta)})}):(ta=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map(Ba=>Ba.choice_text),standard_answers:Ca.filter(Ba=>Ba.is_answer).map(Ba=>Ba.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(qa=(xr=_e.editData)==null?void 0:xr.exercise)==null?void 0:qa.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qt}}),vr(ta)):(ta=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ja.categoryId,question_title:Qa,question_type:2,question_score:da,question_choices:Ca.map(Ba=>Ba.choice_text),standard_answers:Ca.filter(Ba=>Ba.is_answer).map(Ba=>Ba.is_answer),tag_discipline_ids:Ta,sub_discipline_id:(Ua=(ea=_e.editData)==null?void 0:ea.exercise)==null?void 0:Ua.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qt}}),vr(ta)),{name:Qa,choices:Ca}}),Xr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(xr=>{var qa,ea;return((ea=(qa=_e==null?void 0:_e.editData)==null?void 0:qa.exercise)==null?void 0:ea.exercise_status)===1?xr:xr.id!=="del"&&xr.id!=="add"}),za=xr=>Is(void 0,null,function*(){if(xn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(xr.id){case"del":let qa;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Is(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:qs({},ja)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:xr.id}}),at({type:"exercise/editExercise",payload:qs({},ja)});break;case"edit":jn(Pe.dragKey),Yt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:2});break}}),Oa=()=>{var xr;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5224\u65AD\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},(xr=Pe==null?void 0:Pe.question_choices)==null?void 0:xr.map(function(qa,ea){return a.createElement(be.ZP,{key:ea,checked:Pe.standard_answer.includes(ea+1),disabled:!0},Rc[ea],". ",a.createElement("span",{className:"c-black font14"},qa.choice_text))})),a.createElement("div",{className:hr.action},!Pe.hideAction&&Xr.map(function(qa,ea){return qa.id==="up"&&Pe.key===1||qa.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:ea,placement:"bottom",title:qa.name},a.createElement("span",{onClick:()=>za(qa),className:qa.icon}))})))},Fr=()=>{var xr,qa;return a.createElement("aside",null,a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u5224\u65AD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Qa,onChange:ea=>On(ea)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),a.createElement(be.ZP.Group,{buttonStyle:"solid",value:$n,onChange:ea=>Wn(ea.target.value)},a.createElement(be.ZP.Button,{value:"1",className:`${hr.radio} mr40`},"\u6B63\u786E"),a.createElement(be.ZP.Button,{value:"2",className:hr.radio},"\u9519\u8BEF")),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\uFF0C\u53EF\u4EE5\u76F4\u63A5\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Qt,onChange:ea=>tt(ea)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:da,max:1e4,min:0,onChange:ea=>{oa(ea)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:ir,onChange:ea=>{eo(ea.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{value:Ta,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:Jt,subId:(qa=(xr=_e.editData)==null?void 0:xr.exercise)==null?void 0:qa.sub_discipline_id,knowledgeOptions:va,onAddKnowledgeFinish:fa})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Pr,onChange:ea=>{Dr(ea)}}))),a.createElement("aside",{className:"tr"},(xn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{Vn(),Yt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Sa()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:hr.wrap},!ga&&Oa(),ga&&Fr())};var ku=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Os)),yc=Object.defineProperty,_s=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,Zs=(me,ve,le)=>ve in me?yc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,fs=(me,ve)=>{for(var le in ve||(ve={}))ms.call(ve,le)&&Zs(me,le,ve[le]);if(_s)for(var le of _s(ve))gs.call(ve,le)&&Zs(me,le,ve[le]);return me},Jc=(me,ve)=>{var le={};for(var dt in me)ms.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&_s)for(var dt of _s(me))ve.indexOf(dt)<0&&gs.call(me,dt)&&(le[dt]=me[dt]);return le},Wu=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const zs=["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"],Hs=(0,a.forwardRef)((me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},setIsClaer:an=()=>{},addCallback:wn=Ca=>{},reload:aa=()=>{}}=le,pa=Jc(le,["problemset","globalSetting","exercise","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload"]);const[$n,Wn]=(0,a.useState)([]),[Qa,On]=(0,a.useState)(),[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)(""),[Ta,Jt]=(0,a.useState)(),[va,ra]=(0,a.useState)(!1),[ir,eo]=(0,a.useState)([]),[Pr,Dr]=(0,a.useState)(1),[Qt,tt]=(0,a.useState)(!1),[ka,fa]=(0,a.useState)(""),[ja,vr]=(0,a.useState)([]),Sa=(0,a.useRef)(!1),Xr=Ca=>{vr([...ja,fs({},Ca)])},za=(0,ye.useParams)();(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Sa.current)return;if(!(Pe!=null&&Pe.question_choices)){ra(!0),oa(""),Jt(5),Wn(["","","",""]),Yt([]);return}oa(Pe==null?void 0:Pe.question_title),Jt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),Dr(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(ta=>ta.choice_text));const Ca=[];Pe==null||Pe.standard_answer.map((ta,Ba)=>{Ca.push(ta-1)}),Yt(Ca),eo(Pe.tag_discipline_ids),fa(Pe==null?void 0:Pe.analysis)},[Pe,va]),(0,a.useEffect)(()=>{va&&Ca();function Ca(){return Wu(this,null,function*(){var ta,Ba;const qn=yield(0,ne.YY)({sub_discipline_id:(Ba=(ta=_e.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id});vr(qn.tag_disciplines)})}},[va]),(0,a.useImperativeHandle)(ve,()=>({onSave:Fr,isEdit:va})),(0,a.useEffect)(()=>{var Ca;const ta=(Ca=_e==null?void 0:_e.tagDisciplineData)!=null&&Ca.tag_disciplines&&Array.isArray(_e.tagDisciplineData.tag_disciplines)?_e.tagDisciplineData.tag_disciplines:[];vr(ta)},[_e.tagDisciplineData]);const Oa=Ca=>{(Ca==null?void 0:Ca.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ra(!1),Vn(-1),Sa.current=!1,aa())},Fr=()=>Wu(void 0,null,function*(){var Ca,ta,Ba,qn;if(!da)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const $a=$n.findIndex(Co=>!Co);if($a>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${zs[$a]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!ga.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(ga.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const mr=$n.map((Co,po)=>({choice_text:Co,is_answer:ga.includes(po)?po+1:0}));Sa.current=!0;let Or;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Wu(void 0,null,function*(){var Co,po;Or=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Gr=>Gr.choice_text),standard_answers:mr.filter(Gr=>Gr.is_answer).map(Gr=>Gr.is_answer),tag_discipline_ids:ir,sub_discipline_id:(po=(Co=_e.editData)==null?void 0:Co.exercise)==null?void 0:po.sub_discipline_id,difficulty:Pr,is_cover:1,repeat_answer:!Qt,analysis:ka}}),Oa(Or)}),onCancel:()=>Wu(void 0,null,function*(){var Co,po;Or=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Gr=>Gr.choice_text),standard_answers:mr.filter(Gr=>Gr.is_answer).map(Gr=>Gr.is_answer),tag_discipline_ids:ir,sub_discipline_id:(po=(Co=_e.editData)==null?void 0:Co.exercise)==null?void 0:po.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Oa(Or)})}):(Or=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Co=>Co.choice_text),standard_answers:mr.filter(Co=>Co.is_answer).map(Co=>Co.is_answer),tag_discipline_ids:ir,sub_discipline_id:(ta=(Ca=_e.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Oa(Or)):(Or=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:za.categoryId,question_title:da,question_type:1,question_score:Ta,question_choices:mr.map(Co=>Co.choice_text),standard_answers:mr.filter(Co=>Co.is_answer).map(Co=>Co.is_answer),tag_discipline_ids:ir,sub_discipline_id:(qn=(Ba=_e.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Oa(Or))}),xr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(Ca=>{var ta,Ba;return((Ba=(ta=_e==null?void 0:_e.editData)==null?void 0:ta.exercise)==null?void 0:Ba.exercise_status)===1?Ca:Ca.id!=="del"&&Ca.id!=="add"}),qa=Ca=>Wu(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(Ca.id){case"del":let ta;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Wu(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:fs({},za)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:Ca.id}}),at({type:"exercise/editExercise",payload:fs({},za)});break;case"edit":Vn(Pe.dragKey),ra(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:1});break}}),ea=()=>{var Ca;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u591A\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},(Ca=Pe==null?void 0:Pe.question_choices)==null?void 0:Ca.map(function(ta,Ba){return a.createElement(re.Z,{key:Ba},a.createElement(pe.Z,null,a.createElement(Re.default,{key:Ba,checked:Pe.standard_answer.includes(Ba+1),disabled:!0},zs[Ba],".")),a.createElement(pe.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(rl.Z,{value:ta.choice_text}))))})),a.createElement("div",{className:hr.action},!Pe.hideAction&&xr.map(function(ta,Ba){return ta.id==="up"&&Pe.key===1||ta.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:Ba,placement:"bottom",title:ta.name},a.createElement("span",{onClick:()=>qa(ta),className:ta.icon}))})))},Ua=()=>{var Ca,ta;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:da,onChange:Ba=>oa(Ba)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),$n.map((Ba,qn)=>{var $a,mr;return a.createElement("div",{className:hr.choiceWrap,key:qn},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${hr.answer} ${ga.includes(qn)?hr.activeAnswer:""}`,onClick:()=>{ga.includes(qn)?Yt(ga.filter(Or=>Or!==qn)):Yt([...ga,qn])}},zs[qn])),a.createElement("div",{className:hr.editorWrap},Qa===qn?a.createElement(Ul.Z,{id:`single-question-option-${qn}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:Ba,onChange:Or=>{$n[qn]=Or,Wn($n)}}):a.createElement("div",{className:hr.htmlWrap,onClick:()=>On(qn)},a.createElement(rl.Z,{value:Ba}))),((mr=($a=_e.editData)==null?void 0:$a.exercise)==null?void 0:mr.exercise_status)===1&&a.createElement(a.Fragment,null,qn>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${hr.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn($n.filter((Or,Co)=>Co!==qn))})),qn<7&&qn===$n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${hr.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([...$n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:ka,onChange:Ba=>fa(Ba)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:Ta,max:1e4,min:0,onChange:Ba=>{Jt(Ba)}})," ","\u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Pr,onChange:Ba=>{Dr(Ba.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{value:ir,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:eo,subId:(ta=(Ca=_e.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,knowledgeOptions:ja,onAddKnowledgeFinish:Xr})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Qt,onChange:Ba=>{tt(Ba)}}))),a.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),ra(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{Fr()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:hr.wrap},!va&&ea(),va&&Ua())});var Fc=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})(Hs),$i=x(59301),Bc=Object.defineProperty,es=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,qc=(me,ve,le)=>ve in me?Bc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,$s=(me,ve)=>{for(var le in ve||(ve={}))ps.call(ve,le)&&qc(me,le,ve[le]);if(es)for(var le of es(ve))Hu.call(ve,le)&&qc(me,le,ve[le]);return me},jt=(me,ve)=>{var le={};for(var dt in me)ps.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&es)for(var dt of es(me))ve.indexOf(dt)<0&&Hu.call(me,dt)&&(le[dt]=me[dt]);return le},rn=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Bn=null,ha=(me,ve)=>{var le=me,{problemset:dt,globalSetting:Dt,exercise:_e,loading:Wt,dispatch:at,editData:Oe,cancelAdd:Pe=()=>{},editKey:xn,setEditKey:jn=()=>{},addCallback:Vn=()=>{},reload:an=()=>{},setIsClaer:wn=()=>{}}=le,aa=jt(le,["problemset","globalSetting","exercise","loading","dispatch","editData","cancelAdd","editKey","setEditKey","addCallback","reload","setIsClaer"]);const[pa,$n]=(0,a.useState)(""),[Wn,Qa]=(0,a.useState)(""),[On,ga]=(0,a.useState)(""),[Yt,da]=(0,a.useState)([]),[oa,Ta]=(0,a.useState)(""),[Jt,va]=(0,a.useState)(),[ra,ir]=(0,a.useState)(!1),[eo,Pr]=(0,a.useState)([]),[Dr,Qt]=(0,a.useState)(!1),[tt,ka]=(0,a.useState)(!1),fa=(0,ye.useParams)(),ja=(0,a.useRef)(!1),[vr,Sa]=(0,a.useState)([]);(0,a.useEffect)(()=>{var ea;if(ja.current)return;Oe.edit&&(Qt(!0),Qa(""),$n(""),Pr([])),$n(Oe.shixun_name),Qa(Oe.question_title);const Ua=[];(ea=Oe.shixun)==null||ea.map(Ca=>{Ua.push(Ca.challenge_score),vr.push({challenge_id:Ca.challenge_id,open:!0})}),Sa(vr),Pr(Ua)},[Oe]),(0,a.useEffect)(()=>{ir(!1)},[Dr]),(0,a.useImperativeHandle)(ve,()=>({onSave:za,isEdit:Dr}));const Xr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Qt(!1),jn(-1),ja.current=!1,an())},za=()=>rn(void 0,null,function*(){let ea=[];if(!1)return!1;ja.current=!0,ka(!0);let Ca;return Oe.question_id?Ca=yield at({type:"exercise/editExerciseQuestion",payload:{id:Oe.question_id,question_title:Wn,shixun_name:pa,shixun_id:Oe.shixun_id,question_type:5,question_scores:eo}}):Ca=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Oe==null?void 0:Oe.insert_id,categoryId:fa.categoryId,question_title:Wn,shixun_name:pa,shixun_id:Oe.shixun_id,question_type:5,question_scores:eo,is_copy:Oe.is_copy}}),Xr(Ca),ka(!1),{name:Wn,analysis:On,standard_answers:ea,is_ordered:Jt}}),Oa=()=>{var ea;return $i.createElement("aside",null,$i.createElement("div",{className:hr.questionType},$i.createElement("div",null,$i.createElement("span",{className:"font16 c-blue"},"\u5B9E\u8BAD\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u5141\u8BB8\u624B\u52A8\u8C03\u5206\uFF09")),$i.createElement("div",{className:"mt10"},$i.createElement(Se.default,{defaultValue:pa,onChange:Ua=>{$n(Ua.target.value)}})),$i.createElement("div",{className:"mt10"},$i.createElement(Ul.Z,{id:"single-question-option-0",height:155,placeholder:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u9898\u5B8C\u6210\u8981\u6C42",defaultValue:Wn,onChange:Ua=>{Qa(Ua)}})),$i.createElement("div",{className:"mt20"},(ea=Oe.shixun)==null?void 0:ea.map((Ua,Ca)=>$i.createElement(re.Z,{gutter:[20,20]},$i.createElement(pe.Z,{flex:"1"},Ca+1,".",Ua.challenge_name),$i.createElement(pe.Z,null,$i.createElement(Te.Z,{defaultValue:eo[Ca],onChange:ta=>{eo[Ca]=ta,Pr(eo),console.log("srore:L",eo[Ca])}})," \u5206")))),$i.createElement("div",{className:"mt20"},Yt.length>1&&$i.createElement("span",null,$i.createElement(Re.default,{checked:Jt,onChange:Ua=>va(Ua.target.checked),className:`${hr.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),$i.createElement("span",{className:`${hr.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),$i.createElement("aside",{className:"tr"},(xn!==-1||!(Oe!=null&&Oe.edit))&&$i.createElement(Ce.ZP,{type:"default",onClick:()=>{Pe(),Qt(!1)}},"\u53D6\u6D88"),$i.createElement(Ce.ZP,{loading:tt,className:"ml20",type:"primary",onClick:()=>{za()}},"\u4FDD\u5B58")))},Fr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5B9E\u8BAD\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var Ua,Ca;return((Ca=(Ua=_e==null?void 0:_e.editData)==null?void 0:Ua.exercise)==null?void 0:Ca.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),xr=ea=>rn(void 0,null,function*(){if(xn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let Ua;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return rn(this,null,function*(){yield(0,ne.Fl)({id:Oe.question_id}),at({type:"exercise/editExercise",payload:$s({},fa)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Oe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:$s({},fa)});break;case"edit":jn(Oe.dragKey),Qt(!0);break;case"add":at({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",editData:{key:Oe.key,insert_id:Oe==null?void 0:Oe.question_id,question_type:5}}});break}}),qa=()=>{var ea,Ua;return $i.createElement("aside",null,$i.createElement("div",{className:hr.questionType},!(Oe!=null&&Oe.isPreview)&&$i.createElement("div",null,$i.createElement("span",{className:"font16 c-blue"},Oe.key,"\u3001\u5B9E\u8BAD\u9898"),"\uFF08",Oe.question_score,"\u5206\uFF09")),Oe!=null&&Oe.isPreview?$i.createElement("div",{style:{display:"flex"}},$i.createElement("span",{style:{flexShrink:0},className:"font18"},Oe.key,"."),$i.createElement(rl.Z,{value:Oe.question_title}),$i.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Oe.question_score,"\u5206\uFF09"),!!((ea=Oe.schools)!=null&&ea.length)&&$i.createElement(De.Z,{title:"\u8BE5\u5B9E\u8BAD\u9898\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},$i.createElement("i",{className:"iconfont icon-zhidinggongkai1 font18 line24 c-orange"}))):$i.createElement("div",{className:"mt5"},$i.createElement(rl.Z,{value:Oe.question_title})),$i.createElement("div",{className:"mt30"}),(Ua=Oe.shixun)==null?void 0:Ua.map(function(Ca,ta){var Ba,qn,$a,mr,Or,Co,po,Gr,ar,oo;return $i.createElement("div",null,$i.createElement("div",{key:ta,style:{background:"#F0F7FD",color:"#3061D0",fontSize:18,padding:10,display:"flex",justifyContent:"space-between",marginBottom:(!((Ba=vr[ta])!=null&&Ba.open)||!(($a=(qn=_e==null?void 0:_e.editData)==null?void 0:qn.exercise)!=null&&$a.show_challenge_task_pass))&&10}},$i.createElement("div",null,$i.createElement("i",{className:"iconfont icon-renwuguanka1",style:{marginRight:5}}),"\u7B2C",ta+1,"\u5173 ",$i.createElement("span",{className:"ml10"},Ca.challenge_name)," ",$i.createElement("span",{className:"ml10"},Ca.challenge_score," \u5206")),((Or=(mr=_e==null?void 0:_e.editData)==null?void 0:mr.exercise)==null?void 0:Or.show_challenge_task_pass)&&$i.createElement("div",{style:{cursor:"pointer",color:"#666666",fontSize:14},onClick:()=>{var So;vr[ta].open=!((So=vr[ta])!=null&&So.open),Sa([...vr])}},(Co=vr[ta])!=null&&Co.open?"\u6536\u8D77":"\u5C55\u5F00",(po=vr[ta])!=null&&po.open?$i.createElement(io.Z,{style:{marginLeft:8}}):$i.createElement(Do.Z,{style:{marginLeft:8}}))),((ar=(Gr=_e==null?void 0:_e.editData)==null?void 0:Gr.exercise)==null?void 0:ar.show_challenge_task_pass)&&$i.createElement(rl.Z,{style:{border:"1px solid #F1F4F9",borderTop:"none",padding:10,display:!((oo=vr[ta])!=null&&oo.open)&&"none"},value:(Ca==null?void 0:Ca.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))}),$i.createElement("div",{className:hr.action},$i.createElement(ye.Link,{target:"_blank",to:`/shixuns/${Oe.shixun_identifier}/challenges?exercise=true`},"\u5B9E\u8BAD\u8BE6\u60C5"),!Oe.hideAction&&Fr.map(function(Ca,ta){return Ca.id==="up"&&Oe.key===1||Ca.id==="down"&&Oe.key===Oe.len?null:$i.createElement(De.Z,{key:ta,placement:"bottom",title:Ca.name},$i.createElement("span",{onClick:()=>xr(Ca),className:Ca.icon}))})))};return $i.createElement("section",{className:hr.wrap},!Dr&&qa(),Dr&&Oa())};var di=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(ha)),Er=x(21585),xi=Object.defineProperty,ko=Object.getOwnPropertySymbols,jo=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,vi=(me,ve,le)=>ve in me?xi(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Ji=(me,ve)=>{for(var le in ve||(ve={}))jo.call(ve,le)&&vi(me,le,ve[le]);if(ko)for(var le of ko(ve))ki.call(ve,le)&&vi(me,le,ve[le]);return me},wl=(me,ve)=>{var le={};for(var dt in me)jo.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&ko)for(var dt of ko(me))ve.indexOf(dt)<0&&ki.call(me,dt)&&(le[dt]=me[dt]);return le},Hi=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Vr=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},setIsClaer:an=()=>{},reload:wn=()=>{},addCallback:aa=ta=>{}}=le,pa=wl(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","reload","addCallback"]);const[$n,Wn]=(0,a.useState)([]),[Qa,On]=(0,a.useState)(),[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)(""),[Ta,Jt]=(0,a.useState)(),[va,ra]=(0,a.useState)([]),[ir,eo]=(0,a.useState)(!1),[Pr,Dr]=(0,a.useState)(1),[Qt,tt]=(0,a.useState)(!1),[ka,fa]=(0,a.useState)(""),ja=(0,ye.useParams)(),vr=(0,a.useRef)(null),Sa=(0,a.useRef)(!1),[Xr,za]=(0,a.useState)([]),Oa=ta=>{za([...Xr,Ji({},ta)])};(0,a.useEffect)(()=>{Wn(["","","",""])},[]),(0,a.useEffect)(()=>{if(Sa.current)return;if(!(Pe!=null&&Pe.question_choices)){eo(!0),oa(""),Jt(5),Wn(["","","",""]),Yt([]);return}oa(Pe==null?void 0:Pe.question_title),Jt(Pe==null?void 0:Pe.question_score),tt(!(Pe!=null&&Pe.repeat_answer)),fa(Pe==null?void 0:Pe.analysis),Dr(Pe==null?void 0:Pe.difficulty),Wn(Pe==null?void 0:Pe.question_choices.map(Ba=>Ba.choice_text));const ta=[];Pe==null||Pe.standard_answer.map((Ba,qn)=>{ta.push(Ba-1)}),ra(Pe.tag_discipline_ids),Yt(ta)},[Pe,ir]),(0,a.useEffect)(()=>{ir&&ta();function ta(){return Hi(this,null,function*(){var Ba,qn;const $a=yield(0,ne.YY)({sub_discipline_id:(qn=(Ba=Dt.editData)==null?void 0:Ba.exercise)==null?void 0:qn.sub_discipline_id});za($a.tag_disciplines)})}},[ir]),(0,a.useEffect)(()=>{var ta;const Ba=(ta=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ta.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];za(Ba)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(ve,()=>({onSave:xr,isEdit:ir}));const Fr=ta=>{(ta==null?void 0:ta.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),eo(!1),Vn(-1),Sa.current=!1,wn())},xr=()=>Hi(void 0,null,function*(){var ta,Ba,qn,$a;if(!da)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const mr=$n.findIndex(po=>!po);if(mr>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Er.k4[mr]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!ga.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(ga.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const Or=$n.map((po,Gr)=>({choice_text:po,is_answer:ga.includes(Gr)?Gr+1:0}));Sa.current=!0;let Co;Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>Hi(void 0,null,function*(){var po,Gr;Co=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(ar=>ar.choice_text),standard_answers:Or.filter(ar=>ar.is_answer).map(ar=>ar.is_answer),tag_discipline_ids:va,sub_discipline_id:(Gr=(po=Dt.editData)==null?void 0:po.exercise)==null?void 0:Gr.sub_discipline_id,difficulty:Pr,is_cover:1,repeat_answer:!Qt,analysis:ka}}),Fr(Co)}),onCancel:()=>Hi(void 0,null,function*(){var po,Gr;Co=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(ar=>ar.choice_text),standard_answers:Or.filter(ar=>ar.is_answer).map(ar=>ar.is_answer),tag_discipline_ids:va,sub_discipline_id:(Gr=(po=Dt.editData)==null?void 0:po.exercise)==null?void 0:Gr.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Fr(Co)})}):(Co=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(po=>po.choice_text),standard_answers:Or.filter(po=>po.is_answer).map(po=>po.is_answer),tag_discipline_ids:va,sub_discipline_id:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Fr(Co)):(Co=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ja.categoryId,question_title:da,question_type:1,question_score:Ta,question_choices:Or.map(po=>po.choice_text),standard_answers:Or.filter(po=>po.is_answer).map(po=>po.is_answer),tag_discipline_ids:va,sub_discipline_id:($a=(qn=Dt.editData)==null?void 0:qn.exercise)==null?void 0:$a.sub_discipline_id,difficulty:Pr,repeat_answer:!Qt,analysis:ka}}),Fr(Co))}),qa=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ta=>{var Ba,qn;return((qn=(Ba=Dt==null?void 0:Dt.editData)==null?void 0:Ba.exercise)==null?void 0:qn.exercise_status)===1?ta:ta.id!=="del"&&ta.id!=="add"}),ea=ta=>Hi(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ta.id){case"del":let Ba;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return Hi(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Ji({},ja)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ta.id}}),at({type:"exercise/editExercise",payload:Ji({},ja)});break;case"edit":Vn(Pe.dragKey),eo(!0);break;case"add":aa({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),Ua=()=>{var ta;return a.createElement("aside",{ref:vr},a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u5355\u9009\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},(ta=Pe==null?void 0:Pe.question_choices)==null?void 0:ta.map(function(Ba,qn){return a.createElement(re.Z,{key:qn},a.createElement(pe.Z,null,a.createElement(be.ZP,{key:qn,checked:Pe.standard_answer.includes(qn+1),disabled:!0},Er.k4[qn],".")),a.createElement(pe.Z,{flex:"1"},a.createElement("span",{className:"c-black font14"},a.createElement(rl.Z,{value:Ba.choice_text}))))})),a.createElement("div",{className:hr.action},!Pe.hideAction&&qa.map(function(Ba,qn){return Ba.id==="up"&&Pe.key===1||Ba.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:qn,placement:"bottom",title:Ba.name},a.createElement("span",{onClick:()=>ea(Ba),className:Ba.icon}))})))},Ca=()=>{var ta,Ba;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:da,onChange:qn=>oa(qn)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.required},"*"),a.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",a.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),$n.map((qn,$a)=>{var mr,Or;return a.createElement("div",{className:hr.choiceWrap,key:$a},a.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},a.createElement("div",{className:`${hr.answer} ${ga.includes($a)?hr.activeAnswer:""}`,onClick:()=>{ga.includes($a)?Yt(ga.filter(Co=>Co!==$a)):Yt([...ga,$a])}},Er.k4[$a])),a.createElement("div",{className:hr.editorWrap},Qa===$a?a.createElement(Ul.Z,{id:`single-question-option-${$a}`,watch:!0,isFocus:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:qn,onChange:Co=>{$n[$a]=Co,Wn($n)}}):a.createElement("div",{className:hr.htmlWrap,onClick:()=>On($a)},a.createElement(rl.Z,{value:qn}))),((Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.exercise_status)===1&&a.createElement(a.Fragment,null,$a>1&&a.createElement(De.Z,{title:"\u5220\u9664"},a.createElement("i",{className:`${hr.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Wn($n.filter((Co,po)=>po!==$a))})),$a<7&&$a===$n.length-1&&a.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},a.createElement("i",{className:`${hr.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Wn([...$n,""])}))))}),a.createElement("p",{className:"c-orange"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u70B9\u51FB\u9009\u9879\u8F93\u5165\u6846\u53EF\u8BBE\u7F6E\u7B54\u6848\uFF1B\u9009\u4E2D\u7684\u9009\u9879\u5373\u4E3A\u6B63\u786E\u7B54\u6848\uFF0C\u9009\u62E9\u591A\u4E2A\u7B54\u6848\u5373\u4E3A\u591A\u9009\u9898"),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:ka,onChange:qn=>fa(qn)}),a.createElement("div",{style:{marginBottom:14}},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:Ta,max:1e4,min:0,onChange:qn=>{Jt(qn)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:Pr,onChange:qn=>{Dr(qn.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("div",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:va,onChange:ra,subId:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id,knowledgeOptions:Xr,onAddKnowledgeFinish:Oa})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Qt,onChange:qn=>{tt(qn)}}))),a.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),eo(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{xr()}},"\u4FDD\u5B58")))};return a.createElement("section",{className:hr.wrap},!ir&&Ua(),ir&&Ca())};var Wo=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Vr)),wi=x(12563),ni=({value:me=[[],[]],onChange:ve})=>{var le,dt;const[Dt,_e]=(0,a.useState)(""),[Wt,at]=(0,a.useState)(""),Oe=Pe=>{if(!Pe)return!1;let xn=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 Pe==="|"?(oe.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0};return a.createElement("div",null,a.createElement("p",{className:"font14"},"\u5173\u952E\u8BCD",a.createElement("span",{className:"c-grey-999"},"\uFF08\u5173\u952E\u8BCD\u53EF\u7528\u4E8E\u81EA\u52A8\u5224\u5206\uFF09"),a.createElement(De.Z,{overlayStyle:{maxWidth:350},title:a.createElement("div",null,a.createElement("div",null,"\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD\u7684\u5206\u6570\u662F\u666E\u901A\u5173\u952E\u8BCD\u5206\u6570\u7684\u4E24\u500D"),a.createElement("div",null,"\u4F8B\u5982\uFF1A"),a.createElement("div",null,"\u672C\u989810\u5206\uFF0C\u666E\u901A\u5173\u952E\u8BCD1\u4E2A\uFF0C\u6838\u5FC3\u5173\u952E\u8BCD2\u4E2A\uFF0C\u5219\u6BCF\u4E2A"),a.createElement("div",null,"\u666E\u901A\u5173\u952E\u8BCD2\u5206\uFF0C\u6BCF\u4E2A\u6838\u5FC3\u5173\u952E\u8BCD4\u5206"))},a.createElement("span",{className:"iconfont icon-a-wenhaobeifen2 font14"}))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u666E\u901A\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Dt,onChange:Pe=>{_e(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var xn,jn,Vn;const an=(xn=Pe.target)==null?void 0:xn.value;Oe(an)&&((Vn=me[0])==null||Vn.push((jn=an==null?void 0:an.split("|"))==null?void 0:jn.filter(wn=>!!wn)),ve([...me]),_e(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(le=me==null?void 0:me[0])==null?void 0:le.map((Pe,xn)=>a.createElement(wi.default,{className:"mb10",key:xn,closable:!0,onClose:jn=>{var Vn;jn.preventDefault(),me[0]=(Vn=me[0])==null?void 0:Vn.filter((an,wn)=>wn!==xn),ve([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))),a.createElement(re.Z,{align:"middle",className:"font14"},"\u6838\u5FC3\u5173\u952E\u8BCD\uFF1A",a.createElement(Se.default,{value:Wt,onChange:Pe=>{at(Pe.target.value)},maxLength:50,allowClear:!0,onPressEnter:Pe=>{var xn,jn,Vn;const an=(xn=Pe.target)==null?void 0:xn.value;Oe(an)&&((Vn=me[1])==null||Vn.push((jn=an==null?void 0:an.split("|"))==null?void 0:jn.filter(wn=>!!wn)),ve([...me]),at(""))},style:{width:800},className:"ml5 mr10",placeholder:"\u652F\u6301\u4FDD\u5B58\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u7528\u201D|\u201D\u5206\u5272\u3002"}),a.createElement("span",{className:"c-grey-999"},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),a.createElement("div",{style:{paddingLeft:89},className:"mt10"},(dt=me==null?void 0:me[1])==null?void 0:dt.map((Pe,xn)=>a.createElement(wi.default,{className:"mb10",key:xn,closable:!0,onClose:jn=>{var Vn;jn.preventDefault(),me[1]=(Vn=me[1])==null?void 0:Vn.filter((an,wn)=>wn!==xn),ve([...me])}},Pe==null?void 0:Pe.join(" \u6216 ")))))},Ne=Object.defineProperty,Ke=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,At=(me,ve,le)=>ve in me?Ne(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Vt=(me,ve)=>{for(var le in ve||(ve={}))Ue.call(ve,le)&&At(me,le,ve[le]);if(Ke)for(var le of Ke(ve))St.call(ve,le)&&At(me,le,ve[le]);return me},gn=(me,ve)=>{var le={};for(var dt in me)Ue.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Ke)for(var dt of Ke(me))ve.indexOf(dt)<0&&St.call(me,dt)&&(le[dt]=me[dt]);return le},sa=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Fa=null,Ka=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},reload:an=()=>{},addCallback:wn=()=>{},setIsClaer:aa=()=>{}}=le,pa=gn(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","reload","addCallback","setIsClaer"]);const[$n,Wn]=(0,a.useState)(""),[Qa,On]=(0,a.useState)(""),[ga,Yt]=(0,a.useState)(""),[da,oa]=(0,a.useState)(),[Ta,Jt]=(0,a.useState)(!1),[va,ra]=(0,a.useState)([]),[ir,eo]=(0,a.useState)(1),[Pr,Dr]=(0,a.useState)(!1),[Qt,tt]=(0,a.useState)([[],[]]),ka=(0,a.useRef)(!1),fa=(0,ye.useParams)(),[ja,vr]=(0,a.useState)([]),Sa=ea=>{vr([...ja,Vt({},ea)])};(0,a.useEffect)(()=>{var ea;if(!ka.current){if(!(Pe!=null&&Pe.question_title)){Jt(!0),Wn(""),Yt(""),oa(10);return}Dr(!(Pe!=null&&Pe.repeat_answer)),Wn(Pe==null?void 0:Pe.question_title),Yt((ea=Pe==null?void 0:Pe.standard_answer)==null?void 0:ea[0]),oa(Pe==null?void 0:Pe.question_score),ra(Pe.tag_discipline_ids),eo(Pe==null?void 0:Pe.difficulty),On(Pe==null?void 0:Pe.analysis),tt([Pe==null?void 0:Pe.normal_keywords,Pe==null?void 0:Pe.main_keywords])}},[dt.editData,Ta]),(0,a.useEffect)(()=>{var ea;const Ua=(ea=Dt==null?void 0:Dt.tagDisciplineData)!=null&&ea.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];vr(Ua)},[Dt.tagDisciplineData]),(0,a.useEffect)(()=>{Ta&&ea();function ea(){return sa(this,null,function*(){var Ua,Ca;const ta=yield(0,ne.YY)({sub_discipline_id:(Ca=(Ua=Dt.editData)==null?void 0:Ua.exercise)==null?void 0:Ca.sub_discipline_id});vr(ta.tag_disciplines)})}},[Ta]),(0,a.useImperativeHandle)(ve,()=>({onSave:za,isEdit:Ta}));const Xr=ea=>{(ea==null?void 0:ea.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),Jt(!1),Vn(-1),ka.current=!1,an())},za=()=>sa(void 0,null,function*(){var ea,Ua,Ca,ta;if(!$n)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const Ba=Qt[0],qn=Qt[1];ka.current=!0;let $a;return Pe.question_id?(Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>sa(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:ir,is_cover:1,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)}),onCancel:()=>sa(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)})}):($a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(Ua=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:Ua.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)):($a=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:fa.categoryId,exercise_bank_id:fa.categoryId,question_title:$n,question_type:4,question_score:da,standard_answers:[ga],tag_discipline_ids:va,sub_discipline_id:(ta=(Ca=Dt.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,difficulty:ir,repeat_answer:!Pr,analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Xr($a)),{name:$n,answer_texts:[ga],analysis:Qa,normal_keywords:Ba,main_keywords:qn}}),Oa=()=>{var ea,Ua;return a.createElement("aside",null,a.createElement("div",{className:hr.questionType},a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},"\u4E3B\u89C2\u9898"),"\uFF08\u4E3B\u89C2\u9898\uFF0C\u672A\u4F5C\u7B54\u7684\u60C5\u51B5\u4E0B\u81EA\u52A8\u8BC4\u4E3A\u96F6\u5206\uFF09")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:$n,onChange:Ca=>Wn(Ca)}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(Ul.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:ga,onChange:Ca=>Yt(Ca)}),a.createElement(ni,{value:Qt,onChange:tt}),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:hr.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),a.createElement(Ul.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Qa,onChange:Ca=>On(Ca)}),a.createElement("p",{className:""},"\u5206\u503C\uFF1A",a.createElement(Te.Z,{value:da,max:1e4,min:0,onChange:Ca=>{oa(Ca)}})," \u5206",a.createElement("span",{style:{marginLeft:"30px"},className:hr.difficult},a.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",a.createElement(be.ZP.Group,{value:ir,onChange:Ca=>{eo(Ca.target.value)}},a.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),a.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),a.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),a.createElement("p",{className:hr.titleWrap},a.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",a.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),a.createElement("div",{className:"mt5"},a.createElement(Su.N,{value:va,selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,onChange:ra,subId:(Ua=(ea=Dt.editData)==null?void 0:ea.exercise)==null?void 0:Ua.sub_discipline_id,knowledgeOptions:ja,onAddKnowledgeFinish:Sa})),a.createElement("div",{style:{marginTop:10}},a.createElement("span",{style:{marginRight:10}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898"),a.createElement(Ae.Z,{checked:Pr,onChange:Ca=>{Dr(Ca)}}))),a.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&a.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),Jt(!1)}},"\u53D6\u6D88"),a.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{za()}},"\u4FDD\u5B58")))},Fr=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(ea=>{var Ua,Ca;return((Ca=(Ua=Dt==null?void 0:Dt.editData)==null?void 0:Ua.exercise)==null?void 0:Ca.exercise_status)===1?ea:ea.id!=="del"&&ea.id!=="add"}),xr=ea=>sa(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(ea.id){case"del":let Ua;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return sa(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Vt({},fa)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:ea.id}}),at({type:"exercise/editExercise",payload:Vt({},fa)});break;case"edit":Vn(Pe.dragKey),Jt(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:4});break}}),qa=()=>a.createElement("aside",null,a.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&a.createElement("div",null,a.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7B80\u7B54\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?a.createElement("div",{style:{display:"flex"}},a.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),a.createElement(rl.Z,{value:Pe.question_title}),a.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")):a.createElement("div",{className:"mt5"},a.createElement(rl.Z,{value:Pe.question_title})),a.createElement("div",{className:hr.questionChoices},a.createElement("p",null,a.createElement("strong",null,"\u53C2\u8003\u7B54\u6848\uFF1A")),a.createElement(rl.Z,{value:ga||""})),a.createElement("div",{className:hr.action},!Pe.hideAction&&Fr.map(function(ea,Ua){return ea.id==="up"&&Pe.key===1||ea.id==="down"&&Pe.key===Pe.len?null:a.createElement(De.Z,{key:Ua,placement:"bottom",title:ea.name},a.createElement("span",{onClick:()=>xr(ea),className:ea.icon}))})));return a.createElement("section",{className:hr.wrap},!Ta&&qa(),Ta&&Oa())};var Ya=(0,ye.connect)(({problemset:me,loading:ve,exercise:le,globalSetting:dt})=>({problemset:me,globalSetting:dt,exercise:le,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Ka)),Aa=x(59301),or=Object.defineProperty,_a=Object.getOwnPropertySymbols,sr=Object.prototype.hasOwnProperty,ca=Object.prototype.propertyIsEnumerable,Za=(me,ve,le)=>ve in me?or(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,br=(me,ve)=>{for(var le in ve||(ve={}))sr.call(ve,le)&&Za(me,le,ve[le]);if(_a)for(var le of _a(ve))ca.call(ve,le)&&Za(me,le,ve[le]);return me},bo=(me,ve)=>{var le={};for(var dt in me)sr.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&_a)for(var dt of _a(me))ve.indexOf(dt)<0&&ca.call(me,dt)&&(le[dt]=me[dt]);return le},so=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Oo=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Mo=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},addCallback:an=()=>{},setIsClaer:wn=()=>{}}=le,aa=bo(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","addCallback","setIsClaer"]);const[pa,$n]=(0,a.useState)([]),[Wn,Qa]=(0,a.useState)(),[On,ga]=(0,a.useState)([]),[Yt,da]=(0,a.useState)(""),[oa,Ta]=(0,a.useState)(5),[Jt,va]=(0,a.useState)(!1),ra=(0,ye.useParams)();(0,a.useEffect)(()=>{$n(["","","",""])},[]),(0,a.useEffect)(()=>{if(!(Pe!=null&&Pe.question_choices)){va(!0),da(""),Ta(5),$n(["","","",""]),ga([]);return}da(Pe==null?void 0:Pe.question_title),Ta(Pe==null?void 0:Pe.question_score),$n(Pe==null?void 0:Pe.question_choices.map(ka=>ka.choice_text));const tt=[];Pe==null||Pe.standard_answer.map((ka,fa)=>{tt.push(ka-1)}),ga(tt)},[Pe]),(0,a.useImperativeHandle)(ve,()=>({onSave:ir,isEdit:Jt}));const ir=()=>so(void 0,null,function*(){if(!Yt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u76EE"),!1;const tt=pa.findIndex(ja=>!ja);if(tt>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Oo[tt]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!On.length)return oe.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(On.length<1)return oe.ZP.info("\u8BF7\u9009\u62E9\u7B54\u6848"),!1;const ka=pa.map((ja,vr)=>({choice_text:ja,is_answer:On.includes(vr)?vr+1:0}));let fa;Pe.question_id?fa=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:Yt,question_type:1,question_score:oa,question_choices:ka.map(ja=>ja.choice_text),standard_answers:ka.filter(ja=>ja.is_answer).map(ja=>ja.is_answer)}}):fa=yield at({type:"exercise/addExerciseQuestion",payload:{insert_id:Pe==null?void 0:Pe.insert_id,categoryId:ra.categoryId,question_title:Yt,question_type:1,question_score:"5.0",question_choices:ka.map(ja=>ja.choice_text),standard_answers:ka.filter(ja=>ja.is_answer).map(ja=>ja.is_answer)}}),fa.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),va(!1),at({type:"exercise/editExercise",payload:br({},ra)}))}),eo=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"(\u5411\u4E0B\u63D2\u5165\u5355\u9009\u9898)",icon:"iconfont c-light-primary ml30 icon-tianjia current",id:"add"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(tt=>{var ka,fa;return((fa=(ka=Dt==null?void 0:Dt.editData)==null?void 0:ka.exercise)==null?void 0:fa.exercise_status)===1?tt:tt.id!=="del"&&tt.id!=="add"}),Pr=tt=>so(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(tt.id){case"del":let ka;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return so(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:br({},ra)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:tt.id}}),at({type:"exercise/editExercise",payload:br({},ra)});break;case"edit":ye.history.push(`/problems/${Pe==null?void 0:Pe.hack_identifier}/edit?type=exercises&express_id=${ra.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=${location.pathname}`);break;case"add":an({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:6});break}}),Dr=tt=>so(void 0,null,function*(){tt.preventDefault();const ka=yield(0,ne.nF)({id:Pe==null?void 0:Pe.hack_identifier});ka.status===0&&(0,ue.xg)(`/myproblems/${ka==null?void 0:ka.identifier}`)}),Qt=()=>{var tt,ka,fa,ja,vr,Sa,Xr;return Aa.createElement("aside",null,Aa.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&Aa.createElement("div",null,Aa.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7F16\u7A0B\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Aa.createElement(Aa.Fragment,null,Aa.createElement("div",{style:{display:"flex"}},Aa.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Aa.createElement(rl.Z,{value:Pe.question_title}),Aa.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Pe.question_score,"\u5206\uFF09")),Aa.createElement("div",{style:{fontWeight:600,marginTop:10,fontSize:16}},"\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00\uFF1A",(tt=Pe==null?void 0:Pe.languages)==null?void 0:tt.join("/")),((fa=(ka=Dt==null?void 0:Dt.editData)==null?void 0:ka.exercise)==null?void 0:fa.show_hack_sets)&&Aa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Aa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Aa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Aa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(za,Oa,Fr)=>Fr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)},Aa.createElement("div",{className:hr.divname},za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)}," ",Aa.createElement("div",{className:hr.divname},za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))):Aa.createElement("div",{className:"mt5"},Aa.createElement(rl.Z,{value:Pe.question_title}),((vr=(ja=Dt==null?void 0:Dt.editData)==null?void 0:ja.exercise)==null?void 0:vr.show_hack_sets)&&Aa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},Aa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},Aa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),Aa.createElement(z.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(za,Oa,Fr)=>Fr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)},Aa.createElement("div",{className:hr.divname},za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(za,Oa,Fr)=>Aa.createElement(De.Z,{title:Aa.createElement("pre",null,za)}," ",Aa.createElement("div",{className:hr.divname},za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:Pe==null?void 0:Pe.hack_sets}))),((Xr=(Sa=Dt==null?void 0:Dt.editData)==null?void 0:Sa.exercise)==null?void 0:Xr.show_hack_description)&&Aa.createElement("div",{className:hr.questionChoices},Aa.createElement(rl.Z,{value:Pe.description||""})),Aa.createElement("div",{className:hr.action},Aa.createElement("span",{style:{color:"#3061d0",cursor:"pointer"},onClick:()=>{(0,ue.xg)(`/problems/newedit/${Pe==null?void 0:Pe.hack_identifier}?type=exercises&express_id=${ra.categoryId}&question_id=${Pe==null?void 0:Pe.question_id}&score=${Pe==null?void 0:Pe.question_score}&exercise=true&callback_url=/classrooms/${ra.coursesId}/exercise/add/${ra.categoryId}?type=2`)}},"\u67E5\u770B\u8BE6\u60C5"),!Pe.hideAction&&eo.map(function(za,Oa){return za.id==="up"&&Pe.key===1||za.id==="down"&&Pe.key===Pe.len?null:Aa.createElement(De.Z,{key:Oa,placement:"bottom",title:za.name},Aa.createElement("span",{onClick:()=>Pr(za),className:za.icon}))})))};return Aa.createElement("section",{className:hr.wrap},Qt())};var No=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Mo)),vo=x(67835),Si={ai_review_warp:"ai_review_warp___xdNyj",under_review:"under_review___LPpOL",btn_operate:"btn_operate___owqg5",btn_review:"btn_review___RoZoh",is_disabled:"is_disabled___T2_8u",title_sty:"title_sty___nTv6u",btns_pfbz:"btns_pfbz___kGOTA"},yi=x(37618),Uo=x(59301),pl=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const yl=({exercise:me,globalSetting:ve,user:le,loading:dt,questionInfo:Dt,dispatch:_e})=>{var Wt;const at=(0,ye.useParams)(),{is_open_ai_review:Oe,zero_commit_student_works:Pe,unified_ai_setting:xn,ai_review_settings:jn,is_random:Vn}=me.commonHeader,[an,wn]=(0,a.useState)({}),[aa,pa]=(0,a.useState)(!1),[$n,Wn]=(0,a.useState)(0),[Qa,On]=(0,a.useState)(!1),ga=xn?jn:((Wt=Dt==null?void 0:Dt.ai_review_settings)==null?void 0:Wt.length)>0?Dt.ai_review_settings:jn;(0,a.useEffect)(()=>{!dt["exercise/getCommonHeader"]&&Oe&&!(0,bt.dE)()&&Yt()},[dt["exercise/getCommonHeader"]]),(0,a.useEffect)(()=>{if((an==null?void 0:an.status)=="running"){const Jt=setInterval(()=>{Yt()},3e3);return()=>clearInterval(Jt)}},[an==null?void 0:an.status]);const Yt=()=>pl(void 0,null,function*(){const Jt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit_status.json",{method:"get",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Jt==null?void 0:Jt.status)===0&&wn(Jt==null?void 0:Jt.data)}),da=Jt=>{_e({type:"exercise/setActionTabs",payload:{key:"\u667A\u80FD\u8BC4\u9605\u7ED3\u679C",id:an==null?void 0:an.id,status:Jt,questionId:Dt==null?void 0:Dt.question_id,onOK:()=>{Yt()}}})},oa=()=>{_e({type:"exercise/setActionTabs",payload:{key:"AI\u8BC4\u9605\u64CD\u4F5C\u8BB0\u5F55",params:{exercise_id:at==null?void 0:at.categoryId,exercise_question_id:Dt==null?void 0:Dt.question_id}}})},Ta=()=>pl(void 0,null,function*(){if(Oe){if(Pe)return oe.ZP.warning("\u5DF2\u63D0\u4EA4\u4F5C\u4E1A\u7684\u5B66\u751F\u6570\u4E3A0\uFF0C\u65E0\u6CD5\u667A\u80FD\u8BC4\u9605!")}else return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!");On(!0);const Jt=yield(0,fe.ZP)("/api/exercise_resubmits/resubmit.json",{method:"post",body:{exercise_id:at==null?void 0:at.categoryId,range:$n,exercise_question_id:Dt==null?void 0:Dt.question_id}});(Jt==null?void 0:Jt.status)===0&&(pa(!1),Yt()),On(!1)});return Uo.createElement("div",{className:Si.ai_review_warp},Uo.createElement("div",null,Oe&&(an==null?void 0:an.status)=="running"&&Uo.createElement("div",{className:Si.under_review},Uo.createElement(yt.Z,{spinning:!0,className:"mr6",size:"small"}),Uo.createElement("span",{className:"ml10"},"\u667A\u80FD\u8BC4\u9605\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6"),Uo.createElement("span",{className:"ml5",style:{color:"#3061D0"}},an==null?void 0:an.rate,(an==null?void 0:an.rate)=="0.0%"&&Uo.createElement("span",{className:"ml10"},"\u4EFB\u52A1\u6392\u961F\u4E2D\uFF0C\u9884\u8BA1\u7A0D\u540E\u5F00\u59CB\u8BC4\u9605!"))),Oe&&["success","failed"].includes(an==null?void 0:an.status)&&Uo.createElement("div",{className:Si.under_review},"\u667A\u80FD\u8BC4\u9605\u6210\u529F",Uo.createElement("span",{style:{color:"#3061D0"},onClick:()=>da(1)},an==null?void 0:an.success_count),"\u4EBA\uFF0C \u5931\u8D25",Uo.createElement("span",{style:{color:"#ff0000"},onClick:()=>da(0)},an==null?void 0:an.fail_count),"\u4EBA")),Uo.createElement("div",{className:"flex"},Uo.createElement("div",{className:Si.btn_operate,onClick:oa},Uo.createElement("i",{className:"iconfont icon-lishijilu mr8"}),"\u64CD\u4F5C\u8BB0\u5F55"),Uo.createElement("div",{className:`${Si.btn_review} ${(an==null?void 0:an.status)=="running"&&Si.is_disabled}`,onClick:()=>{if((an==null?void 0:an.status)!="running"){if(!Oe)return oe.ZP.warning("\u8BF7\u5148\u5F00\u542F\u667A\u80FD\u8BC4\u9605\u529F\u80FD!"),!1;Wn(0),pa(!0)}}},Uo.createElement("img",{src:ya.Z,className:"mr8",style:{width:14,height:14}}),"\u667A\u80FD\u8BC4\u9605")),Uo.createElement(Fe.default,{width:1150,centered:!0,title:"\u667A\u80FD\u8BC4\u9605",open:aa,destroyOnClose:!0,onCancel:()=>pa(!1),okText:"\u5F00\u59CB\u8BC4\u9605",confirmLoading:Qa,onOk:()=>Ta()},Uo.createElement("div",{className:"flex item-center justify-between mb10"},Uo.createElement("div",{className:Si.title_sty,style:{marginBottom:0}},"\u8BC4\u5206\u6807\u51C6"),Uo.createElement("div",{className:"flex"},Uo.createElement("div",{className:Si.btns_pfbz,onClick:()=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6D4B\u8BD5AI\u8BC4\u5206",questionId:Dt==null?void 0:Dt.question_id,ai_review_settings:ga}})}},Uo.createElement("img",{src:yi.Z}),"\u6D4B\u8BD5AI\u8BC4\u5206"),Uo.createElement("div",{className:Si.btns_pfbz,onClick:()=>{xn?window.location.href=`/classrooms/${at.coursesId}/exercise/${at.categoryId}/detail?random=${Vn}&tabs=11`:ye.history.push(`/classrooms/${at.coursesId}/exercise/add/${at.categoryId}?random=${Vn}&type=2`)}},Uo.createElement("i",{className:"iconfont icon-bianji15 font14 mr5"}),"\u4FEE\u6539\u8BC4\u5206\u6807\u51C6"))),Uo.createElement(z.default,{pagination:!1,dataSource:ga,columns:[{title:"\u8BC4\u5206\u9879\u76EE",dataIndex:"name",width:236},{title:"\u8BC4\u5206\u6807\u51C6",dataIndex:"content",width:684,ellipsis:!0},{title:"\u6743\u91CD\uFF08%\uFF09",dataIndex:"weight",width:140}]}),Uo.createElement("div",{className:Si.title_sty,style:{marginTop:30}},"\u8BC4\u9605\u8303\u56F4"),Uo.createElement("div",{className:Si.znpy,style:{background:"#F6F7F9",padding:"13px 20px"}},Uo.createElement(be.ZP.Group,{style:{display:"flex",flexDirection:"column",gap:18},onChange:Jt=>Wn(Jt.target.value),value:$n,options:[{value:0,label:"\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u672A\u8BC4\u9605\u7684\u5B66\u751F"},{value:1,label:"\u6240\u6709\u5DF2\u63D0\u4EA4\u8BD5\u5377\u7684\u5B66\u751F"}]}))))};var jl=(0,ye.connect)(({exercise:me,globalSetting:ve,loading:le,user:dt})=>({exercise:me,globalSetting:ve,loading:le.effects,user:dt}))(yl),Tr=x(59301),Ml=Object.defineProperty,gl=Object.defineProperties,El=Object.getOwnPropertyDescriptors,Tl=Object.getOwnPropertySymbols,Zl=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Hn=(me,ve,le)=>ve in me?Ml(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Zr=(me,ve)=>{for(var le in ve||(ve={}))Zl.call(ve,le)&&Hn(me,le,ve[le]);if(Tl)for(var le of Tl(ve))Dl.call(ve,le)&&Hn(me,le,ve[le]);return me},Ko=(me,ve)=>gl(me,El(ve)),Ge=(me,ve)=>{var le={};for(var dt in me)Zl.call(me,dt)&&ve.indexOf(dt)<0&&(le[dt]=me[dt]);if(me!=null&&Tl)for(var dt of Tl(me))ve.indexOf(dt)<0&&Dl.call(me,dt)&&(le[dt]=me[dt]);return le},je=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Bt=(me,ve)=>{var le=me,{problemset:dt,exercise:Dt,globalSetting:_e,loading:Wt,dispatch:at,onRef:Oe=()=>{},editData:Pe,cancelAdd:xn=()=>{},editKey:jn,setEditKey:Vn=()=>{},setIsClaer:an=()=>{},addCallback:wn=Ca=>{},reload:aa=()=>{},markBtnVisible:pa,handleMarkWrongQuestion:$n,handleAddCorrectAnswers:Wn}=le,Qa=Ge(le,["problemset","exercise","globalSetting","loading","dispatch","onRef","editData","cancelAdd","editKey","setEditKey","setIsClaer","addCallback","reload","markBtnVisible","handleMarkWrongQuestion","handleAddCorrectAnswers"]);const[On,ga]=(0,a.useState)([]),[Yt,da]=(0,a.useState)(!1),[oa,Ta]=(0,a.useState)(!0),[Jt,va]=(0,a.useState)(1),[ra,ir]=(0,a.useState)(!1),[eo,Pr]=(0,a.useState)([]),Dr=(0,ye.useParams)(),Qt=(0,a.useRef)(null),[tt,ka]=(0,a.useState)(""),[fa,ja]=(0,a.useState)([]),vr=(0,a.useRef)(!1),Sa=Ca=>{Pr([...eo,Zr({},Ca)])};(0,a.useEffect)(()=>{var Ca;if(vr.current)return;if(!(Pe!=null&&Pe.question_title)){da(!0),ka("");return}ka(Pe==null?void 0:Pe.question_title),ir(!(Pe!=null&&Pe.repeat_answer)),va(Pe==null?void 0:Pe.difficulty),ga(Pe.tag_discipline_ids);const ta=(Ca=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:Ca.map(Ba=>{var qn,$a,mr;return Ko(Zr({},Ba),{id:Ba.question_id,name:Ba.question_title,open:!1,score:Ba.question_score,qusList:(qn=Ba==null?void 0:Ba.question_choices)==null?void 0:qn.map(Or=>Or.choice_text),activeQusEditor:null,qusAnswer:(mr=[($a=Ba==null?void 0:Ba.question_choices)==null?void 0:$a.findIndex(Or=>Or.standard_boolean)])==null?void 0:mr.filter(Or=>Or!==-1)})});ja(ta)},[Pe,Yt]),(0,a.useEffect)(()=>{Yt&&Ca();function Ca(){return je(this,null,function*(){var ta,Ba;const qn=yield(0,ne.YY)({sub_discipline_id:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id});Pr(qn.tag_disciplines)})}},[Yt]),(0,a.useEffect)(()=>{var Ca;const ta=(Ca=Dt==null?void 0:Dt.tagDisciplineData)!=null&&Ca.tag_disciplines&&Array.isArray(Dt.tagDisciplineData.tag_disciplines)?Dt.tagDisciplineData.tag_disciplines:[];Pr(ta)},[Dt.tagDisciplineData]),(0,a.useImperativeHandle)(ve,()=>({onSave:za,isEdit:Yt}));const Xr=Ca=>{(Ca==null?void 0:Ca.status)===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),da(!1),Vn(-1),vr.current=!1,aa())},za=()=>je(void 0,null,function*(){var Ca,ta,Ba;if(!tt)return oe.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;if(fa.length===0)return oe.ZP.info("\u8BF7\u60A8\u6DFB\u52A0\u5C0F\u9898"),!1;for(let mr=0;mr!po);if(Co>-1)return oe.ZP.info(`\u8BF7\u5148\u8F93\u5165\u7B2C${mr+1}\u5C0F\u9898${Er.k4[Co]}\u9009\u9879\u7684\u5185\u5BB9`),!1;if(!(Or!=null&&Or.qusAnswer.length))return oe.ZP.info(`\u8BF7\u8BBE\u7F6E\u7B2C${mr+1}\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E`),!1}const qn=fa.map(mr=>{var Or;return{id:mr.id>1?mr.id:null,question_title:mr.name,question_type:1,question_choices:mr.qusList,question_score:mr.score,standard_answers:[((Or=mr.qusAnswer)==null?void 0:Or[0])+1]}});vr.current=!0;let $a;Pe.question_id&&((Pe==null?void 0:Pe.is_my)===1?Fe.default.confirm({title:"\u63D0\u793A",content:"\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",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>je(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:Jt,is_cover:1,repeat_answer:!ra}}),Xr($a)}),onCancel:()=>je(void 0,null,function*(){var mr,Or;$a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(Or=(mr=Dt.editData)==null?void 0:mr.exercise)==null?void 0:Or.sub_discipline_id,difficulty:Jt,repeat_answer:!ra}}),Xr($a)})}):($a=yield at({type:"exercise/editExerciseQuestion",payload:{id:Pe.question_id,question_title:tt,question_type:7,sub_questions:qn,tag_discipline_ids:On,sub_discipline_id:(Ba=(ta=Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.sub_discipline_id,difficulty:Jt,repeat_answer:!ra}}),Xr($a)))}),Oa=[{name:"\u5220\u9664",icon:"iconfont c-light-black ml30 icon-shanchu current",id:"del"},{name:"\u7F16\u8F91",icon:"iconfont c-light-primary ml30 icon-bianjishijuan3x current",id:"edit"}].filter(Ca=>{var ta,Ba;return((Ba=(ta=Dt==null?void 0:Dt.editData)==null?void 0:ta.exercise)==null?void 0:Ba.exercise_status)===1?Ca:Ca.id!=="del"&&Ca.id!=="add"}),Fr=Ca=>je(void 0,null,function*(){if(jn!==-1){oe.ZP.error("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u95EE\u9898\u3002");return}switch(Ca.id){case"del":let ta;Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",onOk(){return je(this,null,function*(){yield(0,ne.Fl)({id:Pe.question_id}),at({type:"exercise/editExercise",payload:Zr({},Dr)})})}});break;case"up":case"down":yield at({type:"exercise/exeriseMoveUpDown",payload:{id:Pe.question_id,opr:Ca.id}}),at({type:"exercise/editExercise",payload:Zr({},Dr)});break;case"edit":Vn(Pe.dragKey),da(!0);break;case"add":wn({key:Pe.key,insert_id:Pe==null?void 0:Pe.question_id,question_type:0});break}}),xr=()=>{var Ca;return Tr.createElement("aside",{ref:Qt},Tr.createElement("div",{className:hr.questionType},!(Pe!=null&&Pe.isPreview)&&Tr.createElement("div",null,Tr.createElement("span",{className:"font16 c-blue"},Pe.key,"\u3001\u7EC4\u5408\u9898"),"\uFF08",Pe.question_score,"\u5206\uFF09")),Pe!=null&&Pe.isPreview?Tr.createElement("div",{style:{display:"flex",alignItems:"flex-start"}},Tr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,"."),Tr.createElement(rl.Z,{value:Pe.question_title}),Tr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08\u5171",Pe==null?void 0:Pe.sub_q_count,"\u5C0F\u9898\uFF0C",Pe.question_score,"\u5206\uFF09")):Tr.createElement("div",{className:"mt5"},Tr.createElement(rl.Z,{value:Pe.question_title})),Tr.createElement("div",{style:{display:oa?"block":"none"},className:hr.questionChoices},(Ca=Pe==null?void 0:Pe.sub_exercise_questions)==null?void 0:Ca.map((ta,Ba)=>{var qn,$a,mr,Or;return Tr.createElement("div",{key:Ba,style:{marginBottom:"20px"}},Tr.createElement("div",{style:{display:"flex",alignItems:"flex-start",marginBottom:"15px"}},Tr.createElement("span",{style:{flexShrink:0},className:"font18"},Pe.key,".",Ba+1,(ta==null?void 0:ta.question_type)==0?"\uFF08\u5355\u9009\u9898\uFF09":(ta==null?void 0:ta.question_type)==1?"\uFF08\u591A\u9009\u9898\uFF09":(ta==null?void 0:ta.question_type)==2?"\uFF08\u5224\u65AD\u9898\uFF09":(ta==null?void 0:ta.question_type)==3?"\uFF08\u586B\u7A7A\u9898\uFF09":"\uFF08\u7B80\u7B54\u9898\uFF09"),Tr.createElement(rl.Z,{value:ta.question_title}),Tr.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",ta.question_score,"\u5206\uFF09")),(ta==null?void 0:ta.question_type)==3&&((qn=ta==null?void 0:ta.standard_answers)==null?void 0:qn.map(function(Co,po){return Tr.createElement(re.Z,{key:po,align:"middle",justify:"start",style:{marginBottom:"5px"}},Tr.createElement(pe.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",Co==null?void 0:Co.choice_id,"\uFF09\uFF1A"),Tr.createElement(pe.Z,{flex:"1"},Tr.createElement(re.Z,{align:"middle",gutter:[1,1]},Co.answer_text.map(function(Gr,ar){var oo;return Tr.createElement(pe.Z,{span:24,key:ar},Tr.createElement(Se.default,{key:po,checked:(oo=ta==null?void 0:ta.standard_answers)==null?void 0:oo.includes(po),disabled:!0,value:Gr}))}))))})),(ta==null?void 0:ta.question_type)==4&&Tr.createElement(rl.Z,{value:(($a=ta==null?void 0:ta.answer_texts)==null?void 0:$a[0])||""}),((ta==null?void 0:ta.question_type)==0||(ta==null?void 0:ta.question_type)==1||(ta==null?void 0:ta.question_type)==2)&&((mr=ta==null?void 0:ta.question_choices)==null?void 0:mr.map(function(Co,po){return Tr.createElement(re.Z,{key:po,align:"middle"},Tr.createElement(pe.Z,null,Tr.createElement(be.ZP,{key:po,checked:ta.standard_answer.includes(po+1),disabled:!0},Er.k4[po],".")),Tr.createElement(pe.Z,{flex:"1"},Tr.createElement("span",{className:"c-black font14"},Tr.createElement(rl.Z,{value:Co.choice_text}))))})),pa&&Tr.createElement(re.Z,{className:"mt20",align:"middle",gutter:20},Tr.createElement(pe.Z,null,Tr.createElement(vo.Z,{state:ta==null?void 0:ta.is_wrong,onClick:()=>$n({value:ta,type:ta==null?void 0:ta.question_type})})),(ta==null?void 0:ta.question_type)==0&&Tr.createElement(pe.Z,null,Tr.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{Wn==null||Wn({value:ta})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),(ta==null?void 0:ta.question_type)==4&&((Or=Dt==null?void 0:Dt.commonHeader)==null?void 0:Or.teacher_permission)&&Tr.createElement(jl,{questionInfo:ta}))})),Tr.createElement("div",{className:hr.action},Tr.createElement("span",{className:"c-light-primary current",onClick:()=>Ta(!oa),style:{}},oa?"\u6536\u8D77":"\u5C55\u5F00"),!Pe.hideAction&&Oa.map(function(ta,Ba){return ta.id==="up"&&Pe.key===1||ta.id==="down"&&Pe.key===Pe.len?null:Tr.createElement(De.Z,{key:Ba,placement:"bottom",title:ta.name},Tr.createElement("span",{onClick:()=>Fr(ta),className:ta.icon}))})))},qa=()=>{var Ca,ta;return Tr.createElement("aside",null,Tr.createElement("div",{className:hr.questionType},Tr.createElement("div",null,Tr.createElement("span",{className:"font16 c-blue"},"\u9009\u62E9\u9898"),"\uFF08\u5BA2\u89C2\u9898\uFF0C\u7531\u7CFB\u7EDF\u81EA\u52A8\u8BC4\u5206\uFF0C\u8BF7\u8BBE\u7F6E\u6807\u51C6\u7B54\u6848\uFF09")),Tr.createElement("section",{className:hr.wrap,style:{padding:0}},Tr.createElement("p",{className:hr.titleWrap},Tr.createElement("span",{className:hr.required},"*"),Tr.createElement("span",{className:hr.title},"\u9898\u5E72\uFF1A")),Tr.createElement(Ul.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:tt,onChange:Ba=>ka(Ba)}),Tr.createElement("p",null,"\u5C0F\u9898\u6570\uFF1A",fa==null?void 0:fa.length),fa==null?void 0:fa.map((Ba,qn)=>{var $a;return Tr.createElement("div",{className:hr.fold,key:Ba.id},Tr.createElement("div",{onClick:()=>Ua("open",qn),className:hr.head},Tr.createElement("i",{className:"iconfont icon-sanjiaoxing",style:{transform:Ba.open?"initial":"rotate(270deg) translate(2px, 4px)"}}),Tr.createElement("span",null,"\u7B2C",qn+1,"\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"),Tr.createElement("b",{onClick:mr=>{mr.stopPropagation(),Ua("delete",qn)},className:"iconfont icon-shanchu8"})),Tr.createElement("div",{className:"mb10",style:{display:Ba.open?"block":"none"}},Tr.createElement(Ul.Z,{watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Ba==null?void 0:Ba.name,onChange:mr=>Ua("value",qn,mr)}),Tr.createElement("p",{className:hr.titleWrap},Tr.createElement("span",{className:hr.required},"*"),Tr.createElement("span",{className:hr.title},"\u7B54\u6848\u9009\u9879\uFF1A",Tr.createElement("span",{className:hr.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),($a=Ba==null?void 0:Ba.qusList)==null?void 0:$a.map((mr,Or)=>{var Co,po;return Tr.createElement("div",{className:hr.choiceWrap,key:Or},Tr.createElement(De.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},Tr.createElement("div",{className:`${hr.answer} ${(Co=Ba==null?void 0:Ba.qusAnswer)!=null&&Co.includes(Or)?hr.activeAnswer:""}`,onClick:()=>Ua("answer",qn,Or)},Er.k4[Or])),Tr.createElement("div",{className:hr.editorWrap},(Ba==null?void 0:Ba.activeQusEditor)===Or?Tr.createElement(Ul.Z,{id:`single-question-option-${Or}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:mr,onChange:Gr=>Ua("details",qn,Gr)}):Tr.createElement("div",{className:hr.htmlWrap,onClick:()=>Ua("edit",qn,Or)},Tr.createElement(rl.Z,{value:mr}))),Or>1&&Tr.createElement(De.Z,{title:"\u5220\u9664"},Tr.createElement("i",{className:`${hr.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>Ua("deleteQus",qn,Or)})),Or<7&&Or===((po=Ba==null?void 0:Ba.qusList)==null?void 0:po.length)-1&&Tr.createElement(De.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Tr.createElement("i",{className:`${hr.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Ua("addQus",qn)})))}),Tr.createElement("p",{className:"mt10"},"\u5206\u503C\uFF1A",Tr.createElement(Te.Z,{value:Ba.score,max:1e4,min:0,onChange:mr=>Ua("score",qn,mr)})," ","\u5206")))}),fa.length<20&&Tr.createElement(Ce.ZP,{type:"primary",onClick:ea},Tr.createElement("i",{className:"iconfont icon-tianjiatimu mr5 font14"}),"\u6DFB\u52A0\u5C0F\u9898")),Tr.createElement("p",{className:"mt10"},Tr.createElement("span",{className:hr.difficult},Tr.createElement("label",{style:{color:"red"}},"*")," \u96BE\u5EA6\uFF1A",Tr.createElement(be.ZP.Group,{value:Jt,onChange:Ba=>{va(Ba.target.value)}},Tr.createElement(be.ZP.Button,{value:1},"\u7B80\u5355"),Tr.createElement(be.ZP.Button,{value:2},"\u9002\u4E2D"),Tr.createElement(be.ZP.Button,{value:3},"\u56F0\u96BE")))),Tr.createElement("p",{className:hr.titleWrap},Tr.createElement("span",{className:`${hr.title}`},"\u77E5\u8BC6\u70B9\uFF1A",Tr.createElement("span",{className:hr.colorGray},"\uFF08\u6240\u6709\u81EA\u5EFA\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u88AB\u5E73\u53F0\u5BA1\u6838\u901A\u8FC7\u4E3A\u5B98\u65B9\u77E5\u8BC6\u70B9\u540E\u6240\u6709\u7528\u6237\u53EF\u89C1\uFF09")),Tr.createElement("div",{className:"mt5"},Tr.createElement(Su.N,{selectvalues:Pe==null?void 0:Pe.tag_discipline_ids,value:On,onChange:ga,subId:(ta=(Ca=Dt.editData)==null?void 0:Ca.exercise)==null?void 0:ta.sub_discipline_id,knowledgeOptions:eo,onAddKnowledgeFinish:Sa}))),Tr.createElement("aside",{className:"tr"},(jn!==-1||Pe.question_id)&&Tr.createElement(Ce.ZP,{type:"default",onClick:()=>{xn(),da(!1)}},"\u53D6\u6D88"),Tr.createElement(Ce.ZP,{className:"ml20",type:"primary",onClick:()=>{za()}},"\u4FDD\u5B58")))},ea=()=>{const Ca={id:Math.random(),item_type:"SINGLE",open:!1,name:"",qusList:["","","",""],activeQusEditor:null,qusAnswer:[],analysis:""};ja(fa.concat(Ca))},Ua=(Ca,ta,Ba)=>{var qn;const $a=(0,Na.cloneDeep)(fa);Ca==="open"&&($a[ta].open=!$a[ta].open),Ca==="delete"&&$a.splice(ta,1),Ca==="value"&&($a[ta].name=Ba),Ca==="answer"&&($a[ta].qusAnswer=[Ba]),Ca==="edit"&&($a[ta].activeQusEditor=Ba),Ca==="details"&&($a[ta].qusList[$a[ta].activeQusEditor]=Ba),Ca==="addQus"&&($a[ta].qusList=$a[ta].qusList.concat("")),Ca==="deleteQus"&&($a[ta].qusList=$a[ta].qusList.filter((mr,Or)=>Or!==Ba),$a[ta].qusAnswer=(qn=$a[ta].qusAnswer)==null?void 0:qn.filter(mr=>mr!==Ba)),Ca==="analysis"&&($a[ta].analysis=Ba),Ca==="score"&&($a[ta].score=Ba),ja($a)};return Tr.createElement("section",{className:hr.wrap},!Yt&&xr(),Yt&&qa())};var It=(0,ye.connect)(({problemset:me,loading:ve,globalSetting:le,exercise:dt})=>({problemset:me,globalSetting:le,exercise:dt,loading:ve.effects}),null,null,{forwardRef:!0})((0,a.forwardRef)(Bt)),Gt=x(11414),Zt={flex_box_center:"flex_box_center___dDNpp",flex_space_between:"flex_space_between___ovpjv",flex_box_vertical_center:"flex_box_vertical_center___oqAEt",flex_box_center_end:"flex_box_center_end___mHCIK",flex_box_column:"flex_box_column___GZMP2",posWarp:"posWarp___ZUxXl",pos:"pos___A7NKx",tips:"tips___ap6NV"},kn=x(86962),Pn=x(24334),Gn=Object.defineProperty,Pa=Object.defineProperties,An=Object.getOwnPropertyDescriptors,ia=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,ur=(me,ve,le)=>ve in me?Gn(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Sr=(me,ve)=>{for(var le in ve||(ve={}))tr.call(ve,le)&&ur(me,le,ve[le]);if(ia)for(var le of ia(ve))Ja.call(ve,le)&&ur(me,le,ve[le]);return me},Lr=(me,ve)=>Pa(me,An(ve)),jr=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const kr=({data:me,exercise:ve,isDragDisabled:le=!1,editorProps:dt={},onDragEnd:Dt=()=>{},dispatch:_e,markBtnVisible:Wt=!1,batchScore:at=[],reload:Oe=()=>{}})=>{const Pe=(0,a.useRef)(),xn=(0,ye.useParams)(),[jn,Vn]=Fe.default.useModal(),an=()=>{var da,oa,Ta,Jt,va,ra,ir,eo,Pr,Dr,Qt,tt,ka,fa,ja,vr;return[{name:"\u5355\u9009\u9898",type:0,count:(da=me==null?void 0:me.exercise_types)==null?void 0:da.q_singles,score:(oa=me==null?void 0:me.exercise_types)==null?void 0:oa.q_singles_scores,items:[]},{name:"\u591A\u9009\u9898",type:1,count:(Ta=me==null?void 0:me.exercise_types)==null?void 0:Ta.q_doubles,score:(Jt=me==null?void 0:me.exercise_types)==null?void 0:Jt.q_doubles_scores,items:[]},{name:"\u5224\u65AD\u9898",type:2,count:(va=me==null?void 0:me.exercise_types)==null?void 0:va.q_judges,score:(ra=me==null?void 0:me.exercise_types)==null?void 0:ra.q_judges_scores,items:[]},{name:"\u586B\u7A7A\u9898",type:3,count:(ir=me==null?void 0:me.exercise_types)==null?void 0:ir.q_nulls,score:(eo=me==null?void 0:me.exercise_types)==null?void 0:eo.q_nulls_scores,items:[]},{name:"\u7B80\u7B54\u9898",type:4,count:(Pr=me==null?void 0:me.exercise_types)==null?void 0:Pr.q_mains,score:(Dr=me==null?void 0:me.exercise_types)==null?void 0:Dr.q_mains_scores,items:[]},{name:"\u5B9E\u8BAD\u9898",type:5,count:(Qt=me==null?void 0:me.exercise_types)==null?void 0:Qt.q_shixuns,score:(tt=me==null?void 0:me.exercise_types)==null?void 0:tt.q_shixuns_scores,items:[]},{name:"\u7F16\u7A0B\u9898",type:6,count:(ka=me==null?void 0:me.exercise_types)==null?void 0:ka.q_pros,score:(fa=me==null?void 0:me.exercise_types)==null?void 0:fa.q_pros_scores,items:[]},{name:"\u7EC4\u5408\u9898",type:7,count:(ja=me==null?void 0:me.exercise_types)==null?void 0:ja.q_combinations,score:(vr=me==null?void 0:me.exercise_types)==null?void 0:vr.q_combination_scores,items:[]}]},wn=(da,oa,Ta)=>{const Jt=Array.from(da),[va]=Jt.splice(oa,1);return Jt.splice(Ta,0,va),Jt},aa=(da,oa,Ta)=>{if(!da.destination)return;const Jt=wn(oa,da.source.index,da.destination.index);Dt(Jt,Ta)},pa=da=>{_e({type:"exercise/setActionTabs",payload:{key:"\u6807\u8BB0\u9519\u9898",params:da}})},$n=(da,oa)=>{var Ta,Jt,va;if(oa===0)return a.createElement(Wo,Sr({reload:Oe,editData:da},da));if(oa===1)return a.createElement(Fc,Sr({reload:Oe,editData:da},da));if(oa===2)return a.createElement(ku,Sr({reload:Oe,editData:da},da));if(oa===3)return a.createElement(Es,Sr({reload:Oe,editData:da},da));if(oa===4)return a.createElement(Ya,Sr({reload:Oe,editData:da},da));if(oa===5)return a.createElement(di,Sr({reload:Oe,editData:da},da));if(oa===6)return a.createElement(No,Sr({editData:da},da));if(oa===7)return a.createElement(It,Sr({handleAddCorrectAnswers:ga,handleMarkWrongQuestion:pa,markBtnVisible:Wt,reload:Oe,editData:da},da));if(oa===8)return a.createElement("div",{style:{padding:"20px 30px"}},a.createElement(rl.Z,{value:da.key+"."+((Ta=da==null?void 0:da.program_attr)==null?void 0:Ta.description)}),a.createElement(rl.Z,{style:{paddingLeft:10},showProgramFill:!0,disabledFill:!0,value:Pn.Base64.decode(((Jt=da==null?void 0:da.program_attr)==null?void 0:Jt.code)||"")}),(va=da==null?void 0:da.standard_answer)==null?void 0:va.map(function(ra,ir){return a.createElement(re.Z,{key:ir,align:"middle",style:{marginTop:20}},a.createElement(pe.Z,null,"\u7B54\u6848\uFF08\u586B\u7A7A",ra.choice_id,"\uFF09\uFF1A"),a.createElement(pe.Z,{flex:"1"},a.createElement(re.Z,{align:"middle",gutter:[1,1]},a.createElement(Se.default,{key:ir,disabled:!0,value:ra.answer_text||"- -"}))))}))},Wn=(da,oa,Ta)=>a.createElement(Gt.Z5,{onDragEnd:Jt=>aa(Jt,da,oa)},a.createElement(Gt.bK,{droppableId:"droppable"},(Jt,va)=>a.createElement("div",Lr(Sr({ref:Jt.innerRef},Jt.droppableProps),{style:{width:"100%"}}),da==null?void 0:da.map((ra,ir)=>{var eo;const Pr=Sr(Lr(Sr({},ra),{key:ir+1,hideAction:!0,isPreview:!0,dragKey:oa+"-"+ir}),dt);return a.createElement(Gt._l,{key:Pr==null?void 0:Pr.question_id,draggableId:(eo=Pr==null?void 0:Pr.question_id)==null?void 0:eo.toString(),index:ir,isDragDisabled:le},(Dr,Qt)=>{var tt;return a.createElement("aside",Sr(Sr({ref:Dr.innerRef},Dr.draggableProps),Dr.dragHandleProps),a.createElement("div",{className:Zt.posWarp,id:Pr.dragKey},$n(Pr,oa),a.createElement(re.Z,{className:"pl30",align:"middle",gutter:20},Wt&&![5,6,7,8].includes(oa)&&a.createElement(pe.Z,null,a.createElement(vo.Z,{state:Pr==null?void 0:Pr.is_wrong,onClick:()=>pa({value:Pr,type:oa})})),[5,6,8].includes(oa)&&(Pr==null?void 0:Pr.show_resubmit)&&a.createElement(pe.Z,null,a.createElement(kn.C,{dataSource:Pr})),Wt&&[0].includes(oa)&&a.createElement(pe.Z,null,a.createElement(Ce.ZP,{style:{color:"#3061D0"},onClick:()=>{ga({value:Pr})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))),oa===4&&((tt=ve==null?void 0:ve.commonHeader)==null?void 0:tt.teacher_permission)&&a.createElement(jl,{questionInfo:Pr}),a.createElement(ul.Z,null),!le&&a.createElement("div",{className:Zt.pos},a.createElement("div",{className:Zt.tips},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u8BD5\u9898\u663E\u793A\u987A\u5E8F"))))})}),Jt.placeholder))),Qa=da=>({\u5355\u9009\u9898:2,\u591A\u9009\u9898:5,\u586B\u7A7A\u9898:2,\u5224\u65AD\u9898:2,\u7B80\u7B54\u9898:10,\u7F16\u7A0B\u9898:10,\u5B9E\u8BAD\u9898:5,\u7EC4\u5408\u9898:10})[da]||0,On=(da,oa)=>{Pe.current=Qa(oa),Fe.default.confirm({centered:!0,title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u6570",content:a.createElement("div",{className:""},a.createElement("span",null,oa==="\u7EC4\u5408\u9898"?"\u7EC4\u5408\u9898\u4E2D\u7684\u6BCF\u5C0F\u9898":oa,"\uFF1A"),a.createElement(Te.Z,{min:1,defaultValue:Pe.current,onChange:Ta=>{Pe.current=Ta}}),a.createElement("span",{className:"ml5"},"\u5206/\u9898"),a.createElement("br",null),oa==="\u586B\u7A7A\u9898"&&a.createElement("div",{style:{color:"rgb(255, 0, 0)"}},"\u6BCF\u7A7A\u5206\u503C\u6309\u6BCF\u9898\u5206\u503C\u53D6\u5E73\u5747\u5206\u8BA1\u7B97")),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>jr(void 0,null,function*(){(yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/batch_set_score.json`,{method:"post",body:{question_type:da,score:Pe.current}})).status!==-1&&Oe()})})},ga=({value:da}={})=>{var oa,Ta;let Jt=(da==null?void 0:da.standard_answer)||[];const va=jn.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:a.createElement(a.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",(oa=da==null?void 0:da.standard_answer)==null?void 0:oa.map(ra=>{var ir;return(ir=Er.k4)==null?void 0:ir[ra-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",a.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",a.createElement("br",null),a.createElement(Re.default.Group,{className:"flex-col mt20",options:(Ta=da==null?void 0:da.question_choices)==null?void 0:Ta.map((ra,ir)=>{var eo;return{value:ra==null?void 0:ra.choice_position,label:a.createElement(rl.Z,{className:"c-black font14",value:`${(eo=Er.k4)==null?void 0:eo[ir]}. ${ra==null?void 0:ra.choice_text}`}),disabled:ra==null?void 0:ra.origin_standard_answer}}),defaultValue:Jt,onChange:ra=>{Jt=ra}})),onOk:()=>jr(void 0,null,function*(){const ra=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/questions/${da==null?void 0:da.question_id}/add_standard_answers.json`,{method:"put",body:{standard_answer:Jt}});(ra==null?void 0:ra.status)===0&&(oe.ZP.success("\u4FEE\u6539\u6210\u529F"),_e({type:"exercise/editExercise",payload:{categoryId:xn.categoryId,coursesId:xn.coursesId}}))})})},Yt=function(){var da;const oa=an();return(da=me==null?void 0:me.exercise_questions)==null||da.forEach(function(Jt,va){var ra,ir,eo,Pr,Dr,Qt,tt,ka,fa,ja,vr,Sa,Xr,za,Oa,Fr;Jt.question_type===0&&((ir=(ra=oa[Jt.question_type])==null?void 0:ra.items)==null||ir.push(Jt)),Jt.question_type===1&&((Pr=(eo=oa[Jt.question_type])==null?void 0:eo.items)==null||Pr.push(Jt)),Jt.question_type===2&&((Qt=(Dr=oa[Jt.question_type])==null?void 0:Dr.items)==null||Qt.push(Jt)),Jt.question_type===3&&((ka=(tt=oa[Jt.question_type])==null?void 0:tt.items)==null||ka.push(Jt)),Jt.question_type===4&&((ja=(fa=oa[Jt.question_type])==null?void 0:fa.items)==null||ja.push(Jt)),Jt.question_type===5&&((Sa=(vr=oa[Jt.question_type])==null?void 0:vr.items)==null||Sa.push(Jt)),Jt.question_type===6&&((za=(Xr=oa[Jt.question_type])==null?void 0:Xr.items)==null||za.push(Jt)),Jt.question_type===7&&((Fr=(Oa=oa[Jt.question_type])==null?void 0:Oa.items)==null||Fr.push(Jt))}),me==null?void 0:me.map((Jt,va)=>{var ra,ir;return a.createElement(a.Fragment,{key:va},a.createElement("div",{className:"pl20",style:{display:"flex",alignItems:"center"}},a.createElement("span",{className:"font16 c-light-primary"},(0,ue.EM)(va+1),"\u3001",Jt.name),a.createElement("span",{className:"c-grey-999"},"\uFF08\u5171",Jt.count,"\u9898",(Jt==null?void 0:Jt.question_type)===7?`\uFF0C\u5305\u542B${Jt.sub_count}\u5C0F\u9898`:"","\uFF1B\u5171",Jt.score,"\u5206\uFF09"),(Jt.question_type==5||Jt.question_type==6)&&a.createElement("div",{style:{flex:1,textAlign:"end",paddingRight:20}},Jt.question_type==5&&a.createElement(Re.default,{defaultChecked:(ir=(ra=ve==null?void 0:ve.editData)==null?void 0:ra.exercise)==null?void 0:ir.show_challenge_task_pass,onChange:eo=>jr(this,null,function*(){let Pr=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:eo.target.checked}});(Pr==null?void 0:Pr.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),_e({type:"exercise/editExercise",payload:Sr({},xn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Jt==null?void 0:Jt.question_type)===6&&a.createElement("span",{style:{marginLeft:20},onClick:()=>{var eo,Pr,Dr,Qt;Fe.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:a.createElement("div",null,a.createElement(Re.default,{defaultChecked:(Pr=(eo=ve==null?void 0:ve.editData)==null?void 0:eo.exercise)==null?void 0:Pr.show_hack_sets,onChange:tt=>jr(this,null,function*(){let ka=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_sets:tt.target.checked}});(ka==null?void 0:ka.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Sr({},xn)}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),a.createElement("br",null),a.createElement(Re.default,{defaultChecked:(Qt=(Dr=ve==null?void 0:ve.editData)==null?void 0:Dr.exercise)==null?void 0:Qt.show_hack_description,onChange:tt=>jr(this,null,function*(){let ka=yield(0,fe.ZP)(`/api/exercises/${xn.categoryId}/update_show_columns.json`,{method:"post",body:{show_hack_description:tt.target.checked}});(ka==null?void 0:ka.status)===0&&(oe.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Fe.default.destroyAll(),_e({type:"exercise/editExercise",payload:Sr({},xn)}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),(at==null?void 0:at.includes(Jt==null?void 0:Jt.name))&&a.createElement(Ce.ZP,{onClick:()=>On(Jt==null?void 0:Jt.question_type,Jt==null?void 0:Jt.name),style:{float:"right"},type:"primary",ghost:!0},"\u6279\u91CF\u8BBE\u7F6E\u5F97\u5206")),Wn(Jt.items,Jt==null?void 0:Jt.question_type,Jt==null?void 0:Jt.name))})};return a.createElement("div",null," ",Yt(),Vn," ")};var ao=(0,ye.connect)()(kr),Vo=x(5101),ei=x(99872),Fo=x(59301),qo=Object.defineProperty,Fi=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,To=Object.prototype.propertyIsEnumerable,Bo=(me,ve,le)=>ve in me?qo(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Yr=(me,ve)=>{for(var le in ve||(ve={}))fo.call(ve,le)&&Bo(me,le,ve[le]);if(Fi)for(var le of Fi(ve))To.call(ve,le)&&Bo(me,le,ve[le]);return me},ro=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const _o=({exercise:me,loading:ve,dispatch:le,activeTabs:dt})=>{var Dt;const _e=(0,ye.useParams)(),[Wt]=(0,a.useState)(Yr(Yr({},_e),{page:1,per_page:10})),{editData:at,commonHeader:{exercise_status:Oe}}=me;(0,a.useEffect)(()=>{dt==="2"&&Pe()},[_e.categoryId,dt]);const Pe=()=>ro(void 0,null,function*(){yield(0,wr.w)(_e.coursesId,_e.categoryId,"",2,3),le({type:"exercise/editExercise",payload:Yr({},Wt)})});return(0,a.useEffect)(()=>(le({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),le({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),()=>{le({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),le({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),Fo.createElement("div",null,Fo.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}},Fo.createElement(b.Z,{style:{marginRight:5,color:"#E99237"}}),Fo.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"),Fo.createElement(Ce.ZP,{onClick:()=>{le({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[_e.categoryId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Fo.createElement("section",{className:"minH1050 mb20 pt30 pb30 pl60 bg-white relative"},Fo.createElement(yt.Z,{spinning:ve["exercise/editExercise"]},Fo.createElement(Vo.Z,{sealStyle:{left:-540},isPreview:!0,activeTabs:dt,showExportBtn:!0}),Fo.createElement(ul.Z,null),Fo.createElement(ao,{data:at==null?void 0:at.exercise_question_types,exercise:me,isDragDisabled:!0,markBtnVisible:Oe===3&&(((Dt=at==null?void 0:at.exercise)==null?void 0:Dt.is_creator)||(0,bt.Ny)())}),Fo.createElement(ei.Z,null))))};var Qi=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve.effects}))(_o),li={flex_box_center:"flex_box_center___VaA8k",flex_space_between:"flex_space_between___TqHqG",flex_box_vertical_center:"flex_box_vertical_center___lRanp",flex_box_center_end:"flex_box_center_end___BPjtN",flex_box_column:"flex_box_column___jWLBM",title:"title___L0cG8",search:"search____WeIQ",head:"head___xmSl4",row:"row___HJKId",btns:"btns___m0Vc7",sort:"sort___qMLQP"},Ho=x(26724),Di=x.n(Ho),Ki=x(34333),_i=x(59477),Rr=x(59301),Yl=Object.defineProperty,Vi=Object.defineProperties,hi=Object.getOwnPropertyDescriptors,Xl=Object.getOwnPropertySymbols,ai=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,Fl=(me,ve,le)=>ve in me?Yl(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,fl=(me,ve)=>{for(var le in ve||(ve={}))ai.call(ve,le)&&Fl(me,le,ve[le]);if(Xl)for(var le of Xl(ve))Hl.call(ve,le)&&Fl(me,le,ve[le]);return me},Yo=(me,ve)=>Vi(me,hi(ve)),Xo=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const ti=({exercise:me,loading:ve,dispatch:le,cb:dt})=>{const Dt=Yo(fl({},(0,ye.useParams)()),{page:0,limit:50,one:null,two:null,save_one:null,save_two:null,sort:null,course_group:"",student_id:"",realname:"",save_course_group:"",save_student_id:"",save_realname:"",commit_types:[0],course_group_ids:[]});let[_e,Wt]=(0,a.useState)(fl({},Dt)),[at,Oe]=(0,a.useState)([]);const[Pe,xn]=(0,a.useState)(!0),[jn,Vn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(0),[aa,pa]=(0,a.useState)(!1),[$n,Wn]=(0,a.useState)([]),[Qa,On]=(0,a.useState)([]),[ga,Yt]=(0,a.useState)([]),[da]=de.default.useForm(),[oa,Ta]=(0,a.useState)("");(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u91CD\u505A"&&(at=[],Jt(),va(1))},[me.actionTabs.key,_e.commit_types]);const Jt=()=>Xo(void 0,null,function*(){var ka,fa;const ja=yield(0,fe.ZP)(`/api/exercises/${_e.categoryId}/header_info.json`,{method:"get"});(ja==null?void 0:ja.status)===0&&(Yt([...(ka=ja==null?void 0:ja.data)==null?void 0:ka.course_groups]),On([...(fa=ja==null?void 0:ja.data)==null?void 0:fa.course_groups]))}),va=ka=>Xo(void 0,null,function*(){var fa;ka==1&&(at=[]),xn(!0),_e.page=ka,Vn(!0);const ja=yield le({type:"exercise/getRedoModal",payload:Yo(fl({},_e),{commit_types:_e.commit_types.includes(0)?[]:_e.commit_types,score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});((fa=ja==null?void 0:ja.exercise_users)==null?void 0:fa.length)<_e.limit&&xn(!1),ja!=null&&ja.exercise_users&&(Wt(fl({},_e)),Oe([...at,...ja==null?void 0:ja.exercise_users]),Vn(!1))}),ra=ka=>{if(ka.target.checked){const fa=at==null?void 0:at.map(ja=>ja.user_id);Wn(fa)}else Wn([])},ir=ka=>{_e.course_group=_e.save_course_group,_e.student_id=_e.save_student_id,_e.realname=_e.save_realname,Wt(fl({},_e)),Oe([]),va(1)},eo=()=>{_e.one=_e.save_one,_e.two=_e.save_two,wn(an+1),Wt(fl({},_e)),Oe([]),va(1)},Pr=()=>{(_e==null?void 0:_e.sort)===null?_e.sort="asc":(_e==null?void 0:_e.sort)==="asc"?_e.sort="desc":(_e==null?void 0:_e.sort)==="desc"&&(_e.sort=null),Wt(fl({},_e)),Oe([]),va(1)},Dr=()=>{let ka=!1;const fa=()=>Xo(void 0,null,function*(){(yield(0,ne.q6)(Yo(fl({},_e),{is_reset:ka,user_ids:$n}))).status===0&&(oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),dt&&dt(),le({type:"exercise/setActionTabs",payload:{}})),le({type:"exercise/getCommonHeader",payload:fl({},_e)})});Fe.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Rr.createElement("div",{style:{margin:"13px 0 0px 0"}},Rr.createElement("p",null,"\u786E\u5B9A\u5C06\u9009\u4E2D\u7684\u5B66\u751F\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Rr.createElement(Re.default,{onChange:ja=>{ka=ja.target.checked}},"\u6E05\u7A7A\u5B66\u751F\u7684\u7B54\u9898\u8BB0\u5F55")),onOk:fa})},Qt=ka=>{const fa=parseInt(ka);return isNaN(fa)?"":fa},tt=(ka,fa)=>ka===0?Rr.createElement("span",{style:{color:"#666666"}},"\u672A\u5F00\u59CB"):ka===1?Rr.createElement("span",{style:{color:"#DF3042"}},!fa.is_make_up&&"\u8003\u8BD5\u4E2D",fa.is_make_up&&"\u8003\u8BD5\u4E2D (\u8865\u8003)"):ka===2?Rr.createElement("span",{style:{color:"#5AB891"}},!fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377",fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003)",fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u8865\u8003/\u5F3A\u5236)",!fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377 (\u5F3A\u5236)"):Rr.createElement("span",{style:{color:"#5AB891"}},!fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54",fa.is_make_up&&!fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003)",fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u8865\u8003/\u5F3A\u5236)",!fa.is_make_up&&fa.is_force_commit&&"\u5DF2\u4EA4\u5377/\u672A\u7B54 (\u5F3A\u5236)");return Rr.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u91CD\u505A",open:me.actionTabs.key==="\u6253\u56DE\u91CD\u505A",width:1e3,bodyStyle:{minHeight:200},confirmLoading:aa,afterClose:()=>{Wt(fl({},Dt)),Wn([]),Oe([]),Ta(""),On([]),Yt([]),da.resetFields()},onOk:Dr,onCancel:()=>{le({type:"exercise/setActionTabs",payload:{}})}},Rr.createElement(re.Z,{align:"middle",gutter:20},Rr.createElement(pe.Z,null,Rr.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Rr.createElement(pe.Z,null,Rr.createElement(Re.default,{className:"mr10",onChange:ka=>{Wt(Yo(fl({},_e),{commit_types:[0]}))},checked:_e==null?void 0:_e.commit_types.includes(0)},"\u5168\u90E8"),Rr.createElement(Re.default.Group,{options:[{label:"\u5DF2\u4EA4\u5377",value:1},{label:"\u5DF2\u4EA4\u5377\uFF08\u5F3A\u5236\uFF09",value:2},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54",value:3},{label:"\u5DF2\u4EA4\u5377/\u672A\u7B54\uFF08\u5F3A\u5236\uFF09",value:4}],value:_e.commit_types,onChange:ka=>{Wt(Yo(fl({},_e),{commit_types:ka}))}}))),Rr.createElement(re.Z,{className:"mt20 mb20",align:"middle",justify:"space-between"},Rr.createElement(pe.Z,null,Rr.createElement(re.Z,{align:"middle",gutter:20},Rr.createElement(pe.Z,null,Rr.createElement("span",null,"\u5206\u6570\u533A\u95F4")),Rr.createElement(pe.Z,null,Rr.createElement(Te.Z,{parser:Qt,onChange:ka=>{Wt(Yo(fl({},_e),{save_one:ka}))},value:_e.save_one,min:0}),Rr.createElement("span",{className:"mr10 ml10"},"-"),Rr.createElement(Te.Z,{parser:Qt,onChange:ka=>{Wt(Yo(fl({},_e),{save_two:ka}))},value:_e.save_two,min:0})),Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{onClick:()=>{Wt(Yo(fl({},_e),{one:"",two:"",save_one:"",save_two:""}))}},"\u6E05\u7A7A")),Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{type:"primary",onClick:eo},"\u786E\u8BA4")))),Rr.createElement(pe.Z,null,Rr.createElement(re.Z,{wrap:!1,align:"middle",gutter:20},Rr.createElement(pe.Z,null,Rr.createElement(Se.default.Search,{value:_e.save_realname,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u5B66\u751F\u59D3\u540D/\u5B66\u53F7\u8FDB\u884C\u641C\u7D22",onChange:ka=>{_e.save_realname=ka.target.value,Wt(fl({},_e))},onSearch:ir})),Rr.createElement(pe.Z,null,Rr.createElement(y.Z,{dropdownRender:ka=>Rr.createElement("div",{className:"bg-white",style:{maxWidth:200,border:"1px solid #f7f7f7"}},Rr.createElement(de.default,{form:da,initialValues:{course_group_ids:[]},onValuesChange:fa=>{Wt(fl(fl({},_e),fa))},onFinish:()=>{va(1)}},Rr.createElement("div",{style:{maxHeight:500,overflow:"auto",padding:"10px"}},Rr.createElement(Se.default,{allowClear:!0,suffix:Rr.createElement("i",{className:`iconfont icon-sousuo9 font14 ${li.searchIcon}`}),className:li.search,placeholder:"\u73ED\u7EA7\u540D\u79F0\u68C0\u7D22",size:"middle",value:oa,onChange:fa=>Xo(void 0,null,function*(){var ja;Ta((ja=fa==null?void 0:fa.target)==null?void 0:ja.value),Yt([...Qa.filter(vr=>{var Sa;return(Sa=vr==null?void 0:vr.exercise_group_name)==null?void 0:Sa.includes(fa.target.value)})])})}),Rr.createElement(de.default.Item,{name:"course_group_ids",valuePropName:"checked"},Rr.createElement(Re.default.Group,null,Rr.createElement(Me.Z,{direction:"vertical",size:10},ga==null?void 0:ga.map((fa,ja)=>Rr.createElement(Re.default,{key:ja,value:fa==null?void 0:fa.exercise_group_id},fa==null?void 0:fa.exercise_group_name)))))),Rr.createElement(re.Z,{wrap:!1,align:"middle"},Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{type:"link",htmlType:"submit"},"\u786E\u8BA4")),Rr.createElement(pe.Z,null,Rr.createElement(Ce.ZP,{type:"link",htmlType:"reset",onClick:()=>{Wt(Yo(fl({},_e),{course_group_ids:[]})),Yt([...Qa]),Ta("")}},"\u91CD\u7F6E")))))},Rr.createElement("a",{onClick:ka=>ka.preventDefault()}," ",Rr.createElement(Me.Z,null," \u5206\u73ED ",Rr.createElement("i",{className:"iconfont icon-a-bianzu11 font12"})," "))))))),Rr.createElement("div",{className:li.head,style:(at==null?void 0:at.length)>5?{paddingRight:15}:{width:944}},Rr.createElement("div",null,Rr.createElement(Re.default,{className:"font14",checked:at!=null&&at.length?($n==null?void 0:$n.length)===(at==null?void 0:at.length):!1,onChange:ra},"\u59D3\u540D")),Rr.createElement("div",null,Rr.createElement("span",null,"\u5B66\u53F7")),Rr.createElement("div",null,Rr.createElement("span",null,"\u5206\u73ED")),Rr.createElement("div",null,Rr.createElement("span",null,"\u63D0\u4EA4\u72B6\u6001")),Rr.createElement("div",{className:li.sort,onClick:Pr},Rr.createElement("span",null,"\u6210\u7EE9\u5206\u6570"),Rr.createElement("aside",null,Rr.createElement(_i.Z,{style:{color:(_e==null?void 0:_e.sort)==="asc"?"#0152d9":"#bfbfbf"}}),Rr.createElement(te.Z,{style:{color:(_e==null?void 0:_e.sort)==="desc"?"#0152d9":"#bfbfbf"}})))),Rr.createElement("div",{style:{height:260,overflow:"auto"}},Rr.createElement(Di(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!jn&&Pe&&va((_e==null?void 0:_e.page)+1)},hasMore:!jn&&Pe,useWindow:!1},Rr.createElement(Re.default.Group,{style:{width:"100%"},value:$n,onChange:ka=>{console.log(ka,444),Wn(ka)}},at==null?void 0:at.map(function(ka,fa){return Rr.createElement("div",{key:ka.user_id,className:li.row},Rr.createElement("div",null,Rr.createElement(Re.default,{className:"font14",value:ka.user_id},ka.user_name)),Rr.createElement("div",null,ka.student_id),Rr.createElement("div",null,ka.course_group_name),Rr.createElement("div",null,tt(ka.commit_status,ka)),Rr.createElement("div",{className:"pl10"},Rr.createElement("span",null,ka.user_score)))})),Rr.createElement(yt.Z,{className:"edu-ant-spin",spinning:jn}))),Rr.createElement("div",{className:li.title},Rr.createElement("img",{style:{objectFit:"contain"},src:Ki.Z}),"\u6253\u56DE\u4E4B\u540E\u5B66\u751F\u5C06\u5F97\u5230\u4E00\u6B21\u91CD\u65B0\u7B54\u9898\u7684\u673A\u4F1A\u3002"))};var Go=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve}))(ti),xo={flex_box_center:"flex_box_center___PohMo",flex_space_between:"flex_space_between___ZyAuO",flex_box_vertical_center:"flex_box_vertical_center___eh0B6",flex_box_center_end:"flex_box_center_end___O1yBK",flex_box_column:"flex_box_column___rCOUW",customModal:"customModal___gYgfZ",checking:"checking___70GE9",content:"content___FtAfN",group:"group___kIfCW",footer:"footer___A6aEg",scoremodal:"scoremodal___FKFBU",selectWrapper:"selectWrapper___J8t1k",allqingchu:"allqingchu___UjfNm",title:"title___tB39D",search:"search___Pnsp3",searchIcon:"searchIcon___mVW2x"},Xa=x(59301),ho=Object.defineProperty,Ei=Object.getOwnPropertySymbols,Yi=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,Fu=(me,ve,le)=>ve in me?ho(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Du=(me,ve)=>{for(var le in ve||(ve={}))Yi.call(ve,le)&&Fu(me,le,ve[le]);if(Ei)for(var le of Ei(ve))wu.call(ve,le)&&Fu(me,le,ve[le]);return me},du=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const lu=({exercise:me,dispatch:ve,onOk:le})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Wt,at]=(0,a.useState)(),[Oe,Pe]=(0,a.useState)([]),[xn,jn]=(0,a.useState)(!0),[Vn,an]=(0,a.useState)(!1),[wn]=de.default.useForm(),[aa,pa]=(0,a.useState)({page:1,limit:10,is_random:"",exercise_status:""}),$n=[{title:"\u5E8F\u53F7",dataIndex:"id",key:"id",render:(Yt,da,oa)=>aa.limit*(aa.page-1)+oa+1},{title:"\u8865\u8003\u8BD5\u5377",dataIndex:"exercise_name",key:"id",width:200,render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u7C7B\u578B",dataIndex:"is_random",key:"is_random",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt?"\u968F\u673A\u7EC4\u5377":"\u4EBA\u5DE5\u7EC4\u5377")},{title:"\u8BD5\u9898\u6570",dataIndex:"question_count",key:"question_count",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u603B\u5206",dataIndex:"total_score",key:"total_score",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u8865\u8003\u4EBA\u6570",dataIndex:"exercise_user_count",key:"exercise_user_count",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt||"- -")},{title:"\u8003\u8BD5\u72B6\u6001",dataIndex:"exercise_status",key:"exercise_status",render:(Yt,da,oa)=>Xa.createElement("span",null,Yt===1?"\u672A\u5F00\u59CB":Yt===2?"\u8003\u8BD5\u4E2D":"\u5DF2\u622A\u6B62")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"id",width:80,align:"right",render:(Yt,da,oa)=>Xa.createElement("div",{style:{flex:1,textAlign:"right"}},Xa.createElement("a",{onClick:()=>{(0,ue.xg)(`/classrooms/${dt.coursesId}/exercise/${da.id}/detail?random=${da.is_random}`)}},"\u67E5\u770B"))}].filter(Yt=>!!Yt);(0,a.useEffect)(()=>{me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55"&&Wn(aa)},[me.actionTabs.key]);const Wn=Yt=>du(void 0,null,function*(){var da,oa;jn(!0);const Ta=yield(0,fe.ZP)(`/api/exercises/${dt==null?void 0:dt.categoryId}/make_up_records.json`,{method:"get",params:Du({},Yt)});Ta&&(_e(((da=Ta==null?void 0:Ta.data)==null?void 0:da.make_up_exercises)||[]),at((oa=Ta==null?void 0:Ta.data)==null?void 0:oa.count)),jn(!1)}),Qa=()=>{ve({type:"exercise/setActionTabs",payload:{}})},On=()=>{le(Oe)},ga=Yt=>{Pe(Yt),an(Yt.length===Dt.length)};return Xa.createElement(Fe.default,{centered:!0,afterClose:()=>{Pe([]),an(!1),wn.resetFields(),pa({page:1,limit:10,is_random:"",exercise_status:""})},title:"\u8865\u8003\u8BB0\u5F55",className:xo.scoremodal,open:me.actionTabs.key==="\u8865\u8003\u8BB0\u5F55",width:1e3,onOk:()=>ve({type:"exercise/setActionTabs",payload:{}}),onCancel:Qa},Xa.createElement(de.default,{layout:"inline",form:wn,onValuesChange:(Yt,da)=>{console.log(Yt),!(Yt.keywords||Yt.keywords==="")&&wn.submit()},onFinish:Yt=>{console.log(Yt),pa(Du(Du({},aa),Yt)),Wn(Du(Du({},aa),Yt))},initialValues:{is_random:"",exercise_status:""}},Xa.createElement(de.default.Item,{name:"is_random"},Xa.createElement(dn.default,{className:xo.selectWrapper,placeholder:"\u5168\u90E8\u7C7B\u578B",style:{width:160},size:"middle"},Xa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u7C7B\u578B"),Xa.createElement(dn.default.Option,{value:0},"\u4EBA\u5DE5\u7EC4\u5377"),Xa.createElement(dn.default.Option,{value:1},"\u968F\u673A\u7EC4\u5377"))),Xa.createElement(de.default.Item,{name:"exercise_status"},Xa.createElement(dn.default,{className:xo.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:160},size:"middle"},Xa.createElement(dn.default.Option,{value:""},"\u5168\u90E8\u72B6\u6001"),Xa.createElement(dn.default.Option,{value:1},"\u672A\u5F00\u59CB"),Xa.createElement(dn.default.Option,{value:2},"\u8003\u8BD5\u4E2D"),Xa.createElement(dn.default.Option,{value:3},"\u5DF2\u622A\u6B62"))),Xa.createElement(de.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keywords"},Xa.createElement(Se.default.Search,{className:xo.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0\u8FDB\u884C\u641C\u7D22",allowClear:!0,suffix:Xa.createElement("i",{className:`iconfont icon-sousuo9 font14 ${xo.searchIcon}`,onClick:()=>wn.submit()}),onSearch:Yt=>{wn.submit()}}))),Xa.createElement(z.default,{style:{marginTop:20,marginBottom:15},scroll:{y:260},dataSource:Dt,pagination:!1,loading:xn,columns:$n}),(Dt==null?void 0:Dt.length)>0&&Xa.createElement(we.Z,{current:aa.page,total:Wt,style:{marginBottom:20},defaultPageSize:aa.limit,showTotal:Yt=>Xa.createElement("span",null,"\u5171\xA0",Xa.createElement("span",{style:{color:"#165DFF"}},Yt),"\xA0\u6761\u6570\u636E"),pageSize:aa.limit,onChange:(Yt,da)=>{aa.page=Yt,aa.limit=da,pa(Du({},aa)),Wn(Du({},aa))}}))};var ri=(0,ye.connect)(({exercise:me})=>({exercise:me}))(lu),Pu={info:"info___FCajO",info_name:"info_name___nVPNy",info_studeng_id:"info_studeng_id___afKvd",info_group:"info_group___xadCu"},Uu="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfQlwW8eZZvcDQIIXeIgnCJ4iRUK8SUmUKFmSZcty4nicTCaZOJ44lgk6s1u73kxqZ7d2Z1Nj18y6tnYmm0ylslOxSMtSZqxax0msXJYlS6Jk8SZAALzFSyRx8BQJgARIAni91TSAgQiAeHh4OEi8rlJREvv4++v+Xh//0RCwiUWARcAjApDFhkWARcAzAixB2NnBIrALAixB2OnBIsAShJ0DLAL0EGBXEHq4saUiBAGWIBEy0Gw36SHAEoQebmypCEGAJUiEDDTbTXoIsAShhxtbKkIQYAkSIQPNdpMeAixB6OHGlooQBFiCRMhAs92khwBLEHq4saUiB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6+E8eNAVqtVHxMToz9w4IA+RKKxzTohwBKEnQ4sArsgwBKEnR4sAixB2DnAIkAPAXYFoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEARYgkTIQLPdpIcASxB6uLGlIgQBliARMtBsN+khwBKEHm5sqQhBgCVIhAw02016CLAEoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEARYgkTIQLPdpIcASxB6uLGlIgQBliARMtBsN+khwBKEHm5sqQhBgCVIhAw02016CLAEoYcbWypCEGAJEiEDzXaTHgIsQejhxpaKEAT+Py6PXhNcWplkAAAAAElFTkSuQmCC",kl=Object.defineProperty,Ql=Object.defineProperties,Jl=Object.getOwnPropertyDescriptors,ru=Object.getOwnPropertySymbols,mu=Object.prototype.hasOwnProperty,sl=Object.prototype.propertyIsEnumerable,ju=(me,ve,le)=>ve in me?kl(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Cu=(me,ve)=>{for(var le in ve||(ve={}))mu.call(ve,le)&&ju(me,le,ve[le]);if(ru)for(var le of ru(ve))sl.call(ve,le)&&ju(me,le,ve[le]);return me},Bl=(me,ve)=>Ql(me,Jl(ve)),mi=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const Eu=({exercise:me,loading:ve,dispatch:le,cb:dt})=>{const Dt=Bl(Cu({},(0,ye.useParams)()),{page:0,limit:20});let[_e,Wt]=(0,a.useState)(Cu({},Dt)),[at,Oe]=(0,a.useState)([]),[Pe,xn]=(0,a.useState)({});const[jn,Vn]=(0,a.useState)(!0),[an,wn]=(0,a.useState)(!0);(0,a.useEffect)(()=>{me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55"&&(at=[],pa(1))},[me.actionTabs.key]);const aa=[{title:"\u6253\u56DE\u6B21\u6570",ellipsis:!0,dataIndex:"index",align:"center",render:($n,Wn,Qa)=>a.createElement(De.Z,{placement:"bottom",title:Qa+1},a.createElement("span",null,Qa+1))},{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"submission_time",ellipsis:!0,align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:Ze()($n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Ze()($n).format("YYYY-MM-DD HH:mm")))},{title:"\u6253\u56DE\u65F6\u95F4",dataIndex:"created_at",align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:Ze()($n).format("YYYY-MM-DD HH:mm")},a.createElement("span",null,Ze()($n).format("YYYY-MM-DD HH:mm")))},{title:"\u8003\u8BD5\u5F97\u5206",dataIndex:"score",ellipsis:!0,align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:$n},a.createElement("span",null,$n||"--"))},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"option_user_name",ellipsis:!0,align:"center",render:$n=>a.createElement(De.Z,{placement:"bottom",title:$n},a.createElement("span",null,$n||"--"))}],pa=$n=>mi(void 0,null,function*(){var Wn;$n==1&&(at=[]),Vn(!0),_e.page=$n,_e.student_id=me.actionTabs.student_id,wn(!0);const Qa=yield le({type:"exercise/getRedoListModal",payload:Bl(Cu({},_e),{score:((_e==null?void 0:_e.one)||0)+`${_e!=null&&_e.two?","+(_e==null?void 0:_e.two):""}`})});xn(Cu({},Qa)),((Wn=Qa==null?void 0:Qa.student_redo_lists)==null?void 0:Wn.length)<_e.limit&&Vn(!1),Qa!=null&&Qa.student_redo_lists&&(Wt(Cu({},_e)),Oe([...at,...Qa==null?void 0:Qa.student_redo_lists]),wn(!1))});return a.createElement(Fe.default,{centered:!0,title:"\u6253\u56DE\u8BB0\u5F55",open:me.actionTabs.key==="\u6253\u56DE\u8BB0\u5F55",width:1e3,bodyStyle:{minHeight:300},cancelButtonProps:{style:{display:"none"}},okButtonProps:{style:{display:"none"}},afterClose:()=>{Wt(Cu({},Dt)),Oe([])},onCancel:()=>{le({type:"exercise/setActionTabs",payload:{}})}},a.createElement("div",{className:Pu.info},a.createElement("div",{className:Pu.info_name},"\u59D3\u540D\uFF1A",(Pe==null?void 0:Pe.name)||"--"),a.createElement("div",{className:Pu.info_studeng_id},"\u5B66\u53F7\uFF1A",(Pe==null?void 0:Pe.student_id)||"--"),a.createElement("div",{className:Pu.info_group},"\u5206\u73ED\uFF1A",(Pe==null?void 0:Pe.course_group_name)||"--")),(at==null?void 0:at.length)===0&&!an&&a.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},a.createElement("img",{src:Uu,width:"100",alt:""}),a.createElement("br",null),a.createElement("p",{className:"mt20"},"\u8BE5\u5B66\u751F\u65E0\u6253\u56DE\u8BB0\u5F55!")),((at==null?void 0:at.length)>0||an)&&a.createElement("section",null,a.createElement("div",{className:"flexd-table-header mt20"},a.createElement(z.default,{pagination:!1,dataSource:[],columns:aa})),a.createElement("div",{style:{maxHeight:170,overflow:"auto"}},a.createElement(Di(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:()=>{!an&&jn&&pa((_e==null?void 0:_e.page)+1)},hasMore:jn,useWindow:!1},a.createElement(z.default,{loading:an,showHeader:!1,pagination:!1,rowKey:"submission_time",dataSource:at,columns:aa})))))};var ou=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve}))(Eu),As=x(83368),ts=x(85150),Qu={flex_box_center:"flex_box_center___WY2F6",flex_space_between:"flex_space_between___iUTlt",flex_box_vertical_center:"flex_box_vertical_center___mDkSS",flex_box_center_end:"flex_box_center_end___Wn6Ih",flex_box_column:"flex_box_column___fErgP",customModal:"customModal___WBifT",checking:"checking___THUYH",content:"content___OYuOv",group:"group___mn5IG",footer:"footer___yBjyD"},Ku=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const su=({exercise:me,dispatch:ve,onOk:le})=>{const dt=(0,ye.useParams)(),[Dt,_e]=(0,a.useState)([]),[Wt,at]=(0,a.useState)([]),[Oe,Pe]=(0,a.useState)(!0),[xn,jn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD"&&Vn()},[me.actionTabs.key]);const Vn=()=>Ku(void 0,null,function*(){Pe(!0);const pa=yield(0,fe.ZP)(`/api/courses/${dt==null?void 0:dt.coursesId}/exercises/exercise_course_groups.json`,{method:"get",params:{id:dt==null?void 0:dt.categoryId}});pa&&_e((pa==null?void 0:pa.course_groups)||[]),Pe(!1)}),an=()=>{ve({type:"exercise/setActionTabs",payload:{}})},wn=()=>{le(Wt)},aa=pa=>{at(pa),jn(pa.length===Dt.length)};return a.createElement(Fe.default,{centered:!0,afterClose:()=>{at([]),jn(!1)},title:"\u4EE3\u7801\u67E5\u91CD",open:me.actionTabs.key==="\u4EE3\u7801\u67E5\u91CD",footer:null,width:718,wrapClassName:Qu.customModal,onCancel:an},a.createElement("aside",{className:Qu.checking},a.createElement("div",{className:Qu.content},a.createElement("div",{className:Qu.group},Dt.length>0?a.createElement("p",null,"\u9009\u62E9\u73ED\u7EA7\uFF1A"):a.createElement("p",null,"\u6682\u65E0\u5206\u73ED"),a.createElement(Re.default.Group,{value:Wt,onChange:aa},Dt.map(pa=>a.createElement(Re.default,{key:pa.id,value:pa.id},pa.name))))),a.createElement("div",{className:Qu.footer},a.createElement(Re.default,{checked:xn,onChange:pa=>{const $n=pa.target.checked?Dt.map(Wn=>Wn.id):[];at($n),jn(pa.target.checked)}},"\u5168\u9009"),a.createElement(Ce.ZP,{onClick:an},"\u53D6\u6D88"),a.createElement(Ce.ZP,{onClick:wn,type:"primary"},"\u786E\u8BA4"))))};var gu=(0,ye.connect)(({exercise:me})=>({exercise:me}))(su),Ps=x(24144),Ii={flex_box_center:"flex_box_center___Onpg9",flex_space_between:"flex_space_between___nYRpC",flex_box_vertical_center:"flex_box_vertical_center___NGA7H",flex_box_center_end:"flex_box_center_end___a2dUm",flex_box_column:"flex_box_column___c5CN2",formDom:"formDom___ahHwX",form:"form___TDc55",fjpy:"fjpy___dshUa",tips:"tips___sHetw",buttonFixed:"buttonFixed___oKPiL",buttonWrap:"buttonWrap___LDtpG",button:"button___ydPRd",scoreSettingWrapper:"scoreSettingWrapper___L7weV",ipItem:"ipItem___nAf_u",ipWrp:"ipWrp___x3LTQ",tagWrap:"tagWrap___PMN4b",tag:"tag___Auf1J",padding:"padding___veqnd",unlockKeyWrapper:"unlockKeyWrapper___UOERJ",unlockKeyInput:"unlockKeyInput___ItI9I",mb40:"mb40___eMjps",mb28:"mb28___ZxJPY",mainRuleText:"mainRuleText___U5cJS",minorRuleText:"minorRuleText___aZezx",contentInterval:"contentInterval___slPV9",CompetitionsListzhezhao:"CompetitionsListzhezhao___bTlUp",numberInput:"numberInput____ONIt",publishRuleIndex:"publishRuleIndex___s2cVA",publishRuleContent:"publishRuleContent___HohmS",groupSelector:"groupSelector___Zxqsw",addAndDelete:"addAndDelete___saTVM",deleteIcon:"deleteIcon___vnkck",addIcon:"addIcon___Yz7Ef",cancelBtn:"cancelBtn___p8Klw",submitBtn:"submitBtn___pmm2G",remindForm:"remindForm___K6X21",remindItem:"remindItem___Z7rRb",remindInput:"remindInput___r_wq3",addRemind:"addRemind___jbnIp",disabled:"disabled___ebijK",removeStyle:"removeStyle___ObL0w",new_title:"new_title___Te4vd",multiple_select:"multiple_select___K8cHJ",title_icon:"title_icon___s6qSK",title:"title___N_aja",btns:"btns___ShvUj",edit:"edit___fPAy2",know:"know___hZcax"},vu=x(59301),vs=Object.defineProperty,Ns=Object.defineProperties,_c=Object.getOwnPropertyDescriptors,Al=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable,cu=(me,ve,le)=>ve in me?vs(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Vu=(me,ve)=>{for(var le in ve||(ve={}))_l.call(ve,le)&&cu(me,le,ve[le]);if(Al)for(var le of Al(ve))Zu.call(ve,le)&&cu(me,le,ve[le]);return me},zu=(me,ve)=>Ns(me,_c(ve)),bs=({disabled:me,time:ve})=>vu.createElement(de.default.List,{name:"exercise_events",rules:[{validator(le,dt){var Dt,_e;const Wt=new Set;for(const at of dt){if(Wt.has(at.reminder_time))return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u5141\u8BB8\u91CD\u590D\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E"));if(at.reminder_time>ve)return Promise.reject(new Error("\u7B54\u9898\u63D0\u9192\u65F6\u95F4\u4E0D\u80FD\u5927\u4E8E\u7B54\u9898\u65F6\u957F"));if(Wt.add(at.reminder_time),!((_e=(Dt=at.reminder_content)==null?void 0:Dt.trim())!=null&&_e.length))return Promise.reject(new Error("\u63D0\u9192\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(le,{add:dt,remove:Dt})=>vu.createElement("div",{className:Ii.remindForm},le.length>0&&vu.createElement("div",null,le.map((_e,Wt)=>vu.createElement(re.Z,{key:_e.key,align:"middle",wrap:!1,className:Ii.remindItem},vu.createElement("span",{className:"mr10",style:{marginLeft:"32px"}},Wt+1,".\u7B54\u9898\u7ED3\u675F\u524D"),vu.createElement(pe.Z,null,vu.createElement(de.default.Item,zu(Vu({},_e),{name:[_e.name,"reminder_time"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u65F6\u95F4"}],noStyle:!0}),vu.createElement(Te.Z,{precision:0,min:1,disabled:me,addonAfter:"\u5206\u949F",className:Ii.remindInput}))),vu.createElement("span",{className:"mr10 ml10"},"\u8FDB\u884C\u63D0\u9192\uFF0C\u63D0\u9192\u5185\u5BB9\u4E3A"),vu.createElement(pe.Z,{flex:1},vu.createElement(de.default.Item,zu(Vu({},_e),{name:[_e.name,"reminder_content"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u63D0\u9192\u5185\u5BB9"}],noStyle:!0}),vu.createElement(Se.default,{className:Ii.remindInput,disabled:me,showCount:!0,maxLength:100}))),vu.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187",opacity:me?.5:1},onClick:()=>{me||dt({reminder_time:""})}}),vu.createElement("i",{className:"iconfont icon-shanjian1",style:{color:"#E30000",cursor:"pointer",fontSize:16,visibility:me?"hidden":"visible"},onClick:()=>Dt(_e.name)})))),le.length<5&&vu.createElement(re.Z,{style:{marginLeft:"30px"}},vu.createElement(pe.Z,{className:`${Ii.addRemind} ${me?Ii.disabled:""}`,onClick:()=>{me||dt({reminder_time:""})}},vu.createElement("i",{className:"iconfont icon-tianjiashitixiaojiahao mr5 font14"}),"\u6DFB\u52A0\u7B54\u9898\u63D0\u9192")))),ec=x(16106),Mc=x(33299),$c=x(64925),Tc=x(16140),yo=x(59301),kc=Object.defineProperty,tc=Object.defineProperties,Qs=Object.getOwnPropertyDescriptors,vd=Object.getOwnPropertySymbols,nc=Object.prototype.hasOwnProperty,ed=Object.prototype.propertyIsEnumerable,ac=(me,ve,le)=>ve in me?kc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,ns=(me,ve)=>{for(var le in ve||(ve={}))nc.call(ve,le)&&ac(me,le,ve[le]);if(vd)for(var le of vd(ve))ed.call(ve,le)&&ac(me,le,ve[le]);return me},rc=(me,ve)=>tc(me,Qs(ve)),Gs=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const{RangePicker:oc}=Fn.default,{Option:jc}=dn.default,Sd=({user:me,classroomList:ve,exercise:le,globalSetting:dt,loading:Dt,dispatch:_e,changeActive:Wt})=>{var at,Oe,Pe,xn,jn,Vn,an,wn,aa,pa,$n,Wn,Qa;const{workSetting:On,commonHeader:ga}=le,Yt=(0,ye.useParams)();Yt.category=Yt.categoryId;const[da,oa]=(0,a.useState)(!1),[Ta,Jt]=(0,a.useState)(!1),[va,ra]=(0,a.useState)(),[ir,eo]=(0,a.useState)({});let[Pr,Dr]=(0,a.useState)([]),[Qt,tt]=(0,a.useState)({unified_setting:!1,publish_time:"",end_time:"",group_settings:[],time:-1,enable_last_times:!1,last_times:1,open_make_up:!1,unified_make_up:!1,make_up_score:0,group_make_ups:[],miss_exam_count:0,no_passing_count:0,is_make_up_exercise:!1,exercise_status:1,is_appoint_user:!1,is_no_passing_user:!1,is_miss_exam_user:!1,enable_answer_time:!1,answer_time:"",exercise_type:1,simulate_exercise_num:3,show_acm:!1});const[ka,fa]=(0,a.useState)(1),[ja,vr]=(0,a.useState)(!1),[Sa,Xr]=(0,a.useState)(!1),[za,Oa]=(0,a.useState)(!1),[Fr,xr]=(0,a.useState)(!1),[qa,ea]=(0,a.useState)([]),[Ua,Ca]=(0,a.useState)([]),[ta,Ba]=(0,a.useState)(!1),[qn,$a]=(0,a.useState)(null),[mr,Or]=(0,a.useState)({});(0,a.useEffect)(()=>{((ga==null?void 0:ga.exercise_status)==="5"||ga!=null&&ga.appraise_label||(0,bt.aQ)())&&oa(!0)},[ga]),(0,a.useEffect)(()=>{Gr()},[On]),(0,a.useEffect)(()=>{(0,bt.dE)()||Co()},[]),(0,a.useEffect)(()=>{le.actionTabs.key=="\u8C03\u6574tabs\u9009\u4E2D"&&Wt("2")},[le.actionTabs.key]);function Co(){return Gs(this,null,function*(){const to=yield(0,fe.ZP)(`/api/courses/${Yt==null?void 0:Yt.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:Yt==null?void 0:Yt.coursesId}});ra(to==null?void 0:to.alert)})}const po=to=>{var Li;const Wl=Qt.publish_time;if(!Wl||(Li=On==null?void 0:On.exercise)!=null&&Li.publish_time)return;let tu;to===1?tu=Ze()(Wl).add(120,"minutes"):tu=Ze()(Wl).add(7,"days"),Qt.end_time=tu,tt(Object.assign({},Qt))},Gr=()=>{var to,Li,Wl,tu,Iu;console.log("\u53D6\u6D88");const nu=JSON.parse(JSON.stringify(On));if(Object.keys(Qt).forEach(Zi=>{var Ru;Qt[Zi]=(Ru=nu==null?void 0:nu.exercise)==null?void 0:Ru[Zi]}),Pr=((to=nu==null?void 0:nu.published_course_groups)==null?void 0:to.map(Zi=>({course_group_id:Zi.course_group_id,end_time:Zi.course_end_time,publish_time:Zi.course_publish_time})))||[{}],(Li=On==null?void 0:On.course_groups)==null||Li.map(Zi=>{var Ru;(Ru=On==null?void 0:On.published_course_groups)==null||Ru.map((is,Ou)=>{var Nr;(Nr=is==null?void 0:is.course_group_id)!=null&&Nr.includes(Zi==null?void 0:Zi.course_group_id)&&(Zi.cilckkey=Ou,Zi.isselect=!0)})}),le.actionTabs.key!=="\u6279\u91CF\u53D1\u5E03"&&ji(""),vr(Qt.time!==-1),tt(Qt),Qt!=null&&Qt.is_appoint_user){const Zi=((tu=(Wl=nu==null?void 0:nu.exercise)==null?void 0:Wl.all_exercise_users)==null?void 0:tu.map(Ru=>Ru.user_id))||[];ea([...Zi])}Xr(Qt.is_appoint_user),Oa(Qt.is_miss_exam_user),xr(Qt.is_no_passing_user),Dr(Pr.length>0?Pr:[{}]),eu.setFieldsValue({exercise_events:(Iu=nu==null?void 0:nu.exercise)==null?void 0:Iu.exercise_events})},ar=()=>Gs(void 0,null,function*(){var to,Li,Wl,tu,Iu,nu;if(((to=me==null?void 0:me.userInfo)==null?void 0:to.user_status)===2){(0,Mc.Rd)();return}if((ga==null?void 0:ga.exercise_question_count)===0){oe.ZP.warning("\u8BD5\u5377\u5185\u6CA1\u6709\u8BD5\u9898\u4E0D\u5141\u8BB8\u53D1\u5E03\u8003\u8BD5");return}const Zi=JSON.parse(JSON.stringify(Qt));console.log("\u63D0\u4EA4");try{yield eu.validateFields();const Ou=eu.getFieldsValue();Zi.exercise_events=Ou.exercise_events}catch(Ou){Ou!=null&&Ou.errorFields&&(eu.scrollToField((Wl=(Li=Ou==null?void 0:Ou.errorFields)==null?void 0:Li[0])==null?void 0:Wl.name,{behavior:"smooth",block:"center"}),oe.ZP.error((nu=(Iu=(tu=Ou==null?void 0:Ou.errorFields)==null?void 0:tu[0])==null?void 0:Iu.errors)==null?void 0:nu[0]));return}if(Zi.categoryId=Yt.categoryId,Zi.publish_time_groups=Pr,Qt!=null&&Qt.is_make_up_exercise){if(Sa&&qa.length<=0||!Sa&&!(za||Fr)){oe.ZP.error("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}Zi.is_appoint_user=Sa,Zi.is_miss_exam_user=za,Zi.is_no_passing_user=Fr,Sa?Zi.make_up_exercise_users=qa==null?void 0:qa.map(Ou=>({user_id:Ou})):Zi.make_up_exercise_users=[]}if(!Qt.unified_setting&&!(Qt!=null&&Qt.is_make_up_exercise)){if(!Pr.length){oe.ZP.warning("\u63D0\u4EA4\u5931\u8D25\uFF1A\u5206\u73ED\u53D1\u5E03\u8BBE\u7F6E\u4E0D\u80FD\u4E3A\u7A7A");return}delete Zi.publish_time,delete Zi.end_time,Pr.map(Ou=>{var Nr;if(!Ou.course_group_id||!((Nr=Ou.course_group_id)!=null&&Nr.length))throw oe.ZP.error("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u5206\u73ED\u4E0D\u80FD\u4E3A\u7A7A");if(!Ou.publish_time||!Ou.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A")})}else if(!Qt.publish_time||!Qt.end_time)throw oe.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");let{exercise:Ru}=On;const is=()=>Gs(void 0,null,function*(){if(Qt.exercise_type==2&&(Ru.is_locked||Ru.open_camera||Ru.screen_open||Ru.login_restrict||Ru.ip_bind||Ru.ip_limit=="pub"||Ru.ip_limit=="inner"||Ru.identity_verify||Ru.open_phone_video_recording)){const Nr=Fe.default.confirm({width:666,centered:!0,okText:"\u7ACB\u5373\u8C03\u6574",cancelText:"\u4E0D\u9700\u8981",title:"\u63D0\u793A",icon:null,content:yo.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u60A8\u5DF2\u5F00\u542F",yo.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Ru)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u662F\u5426\u9700\u8981\u8FDB\u884C\u8C03\u6574\uFF1F"),onOk:()=>Gs(void 0,null,function*(){let gi=yield(0,Tc.Tr)({exercise_ids:[parseInt(Yt==null?void 0:Yt.categoryId)],course_id:Yt.coursesId,type:"exercise"});(gi==null?void 0:gi.student_count)===0?oo(Zi):(eo(Zi),Or(gi)),Wt("2")}),onCancel:()=>Gs(void 0,null,function*(){Nr.destroy();let gi=yield(0,Tc.Tr)({exercise_ids:[Yt==null?void 0:Yt.categoryId],course_id:Yt.coursesId,type:"exercise"});(gi==null?void 0:gi.student_count)===0?oo(Zi):(eo(Zi),Or(gi))})});return}let Ou=yield(0,Tc.Tr)({exercise_ids:[Yt==null?void 0:Yt.categoryId],course_id:Yt.coursesId,type:"exercise"});(Ou==null?void 0:Ou.student_count)===0?oo(Zi):(eo(Zi),Or(Ou))});ga!=null&&ga.high_resources_consume&&!(ga!=null&&ga.high_resources_consume_permission)?_e({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Yt.coursesId,type:"exercise",type_id:Yt.categoryId,name:ga.exercise_name,fn:()=>{is()}}}):is()}),oo=to=>Gs(void 0,null,function*(){Jt(!0),(yield(0,fe.ZP)(`/api/exercises/${Yt==null?void 0:Yt.categoryId}/publish_settings.json`,{method:"post",body:to})).status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),ji(""),_e({type:"exercise/getCommonHeader",payload:ns({},Yt)}),_e({type:"exercise/getWorkSetting",payload:ns({},Yt)})),Jt(!1)}),So=to=>to&&toQt.end_time?to&&(to{var Li,Wl;return((Li=On==null?void 0:On.exercise)==null?void 0:Li.exercise_status)>1&&!(to!=null&&to.new)?!0:(Wl=On==null?void 0:On.published_course_groups)!=null&&Wl.some(tu=>tu.course_group_id===to.course_group_id)?da:!1},zl=to=>{var Li;return da?[!0,!0]:(Li=On==null?void 0:On.published_course_groups)!=null&&Li.some(Wl=>{var tu,Iu;return((tu=Wl.course_group_id)==null?void 0:tu[0])===((Iu=to.course_group_id)==null?void 0:Iu[0])})?da||Ze()()>Ze()(to==null?void 0:to.publish_time)?[!0,!1]:[!1,!1]:[!1,!1]};(0,a.useEffect)(()=>{ji("\u8868\u5355\u672A\u4FDD\u5B58")},[Qt]);const ji=(to="")=>{_e({type:"exercise/setActionTabs",payload:{key:to}})},hu=to=>{to.preventDefault(),to.returnValue=""},Bu=(to,Li,Wl)=>{if(to<=0){oe.ZP.info("\u8BF7\u9009\u62E9\u8865\u8003\u5B66\u751F");return}else ea(Li),Ca(Wl),Ba(!1)},[eu]=de.default.useForm();return yo.createElement("section",{className:Ii.form,style:{padding:"30px 50px",marginBottom:"0px"}},yo.createElement(yt.Z,{spinning:Dt["exercise/getWorkSetting"]||Ta},!(Qt!=null&&Qt.is_make_up_exercise)&&yo.createElement(yo.Fragment,null,yo.createElement("div",{className:Ii.new_title,style:{marginTop:"0px"}},"\u8003\u8BD5\u53D1\u5E03"),yo.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},yo.createElement(be.ZP.Group,{onChange:()=>{var to,Li,Wl,tu,Iu;if((0,bt.Rm)()&&(!((Li=(to=ve==null?void 0:ve.AssistantObject)==null?void 0:to.exercise)!=null&&Li.can_publish)||!((tu=(Wl=ve==null?void 0:ve.AssistantObject)==null?void 0:Wl.exercise)!=null&&tu.can_late))){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(((Iu=On==null?void 0:On.exercise)==null?void 0:Iu.exercise_status)>1){oe.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539");return}Qt.unified_setting=!Qt.unified_setting,Qt.unified_setting===!1&&Pr==""&&Dr(Pr.concat({})),tt(Object.assign({},Qt))},value:Qt.unified_setting,disabled:da||((at=On==null?void 0:On.exercise)==null?void 0:at.exercise_status)>1},yo.createElement(be.ZP,{value:!0,disabled:!((Oe=On==null?void 0:On.exercise)!=null&&Oe.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),((Pe=On.course_groups)==null?void 0:Pe.length)>0&&yo.createElement(be.ZP,{value:!1},"\u5206\u73ED\u53D1\u5E03")))),!(ga!=null&&ga.is_make_up_exercise)&&yo.createElement("div",{style:{color:"red"}},((xn=On==null?void 0:On.exercise)==null?void 0:xn.exercise_status)>1&&va&&"\u5F53\u524D\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\uFF0C\u4E3A\u63D0\u4F9B\u66F4\u597D\u7684\u670D\u52A1\uFF0C\u6211\u4EEC\u5C06\u8FDB\u884C\u670D\u52A1\u5668\u6269\u5BB9\uFF0C\u5EFA\u8BAE\u60A8\u572830\u5206\u949F\u540E\u53D1\u8D77\u8003\u8BD5\u3002\u60A8\u4E5F\u53EF\u4EE5\u7ACB\u5373\u53D1\u5E03\u3002"),(Qt.unified_setting||(ga==null?void 0:ga.is_make_up_exercise))&&yo.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px",alignItems:"center",height:"50px"}},yo.createElement("div",{style:{color:"#666666",marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),yo.createElement(De.Z,{placement:"bottom",title:((jn=On==null?void 0:On.exercise)==null?void 0:jn.exercise_status)>1&&"\u53D1\u5E03\u65F6\u95F4\u5DF2\u8FC7\uFF0C\u4E0D\u80FD\u4FEE\u6539"},yo.createElement(Fn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ze()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:So,disabled:da||((Vn=On==null?void 0:On.exercise)==null?void 0:Vn.exercise_status)>1||(0,bt.Rm)()&&!((wn=(an=ve==null?void 0:ve.AssistantObject)==null?void 0:an.exercise)!=null&&wn.can_publish),value:Qt.publish_time?Ze()(Qt.publish_time):void 0,allowClear:!1,onChange:(to,Li)=>{Qt.publish_time=Li,Qt.end_time||(Qt.end_time=Qt.exercise_type===1?Ze()(to).add(120,"minutes"):Ze()(to).add(7,"days")),tt(Object.assign({},Qt))}})),yo.createElement("div",{style:{color:"#666666",marginLeft:"60px"}},"\u622A\u6B62\u65F6\u95F4"),yo.createElement(Fn.default,{style:{width:235,marginLeft:"10px"},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ze()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:da||(0,bt.Rm)()&&!((pa=(aa=ve==null?void 0:ve.AssistantObject)==null?void 0:aa.exercise)!=null&&pa.can_late)||(ga==null?void 0:ga.open_appraise),allowClear:!1,value:Qt.end_time?Ze()(Qt.end_time):void 0,disabledDate:Mi,onChange:(to,Li)=>{var Wl,tu;if((0,bt.Rm)()&&!((tu=(Wl=ve==null?void 0:ve.AssistantObject)==null?void 0:Wl.exercise)!=null&&tu.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Qt.end_time=Li,tt(Object.assign({},Qt))}})),!Qt.unified_setting&&!(ga!=null&&ga.is_make_up_exercise)&&yo.createElement("div",{style:{color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},Pr&&Pr.map(function(to,Li){var Wl,tu,Iu;return yo.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:Li==(Pr==null?void 0:Pr.length)-1?"0px":"10px"}},yo.createElement("div",{style:{width:"75px",marginLeft:"23px"}},"\u53D1\u5E03\u89C4\u5219",Li+1),yo.createElement(dn.default,{showArrow:!0,allowClear:!0,className:Ii.multiple_select,disabled:da||((Wl=On==null?void 0:On.homework_status)!=null&&Wl.includes("\u672A\u53D1\u5E03")&&to.id||Ze()(){Pr[Li].course_group_id=nu,Dr(Pr.slice()),On.course_groups.map((Zi,Ru)=>{nu.map((is,Ou)=>{Zi.course_group_id===is&&(Zi.cilckkey=Li,Zi.isselect=!0)})})},onDeselect:nu=>{On.course_groups.map((Zi,Ru)=>{Zi.course_group_id===nu&&Zi.cilckkey===Li&&(Zi.cilckkey=Li,Zi.isselect=!1)})}},On.course_groups&&On.course_groups.map(function(nu,Zi){return yo.createElement(jc,{disabled:(nu==null?void 0:nu.isselect)&&nu.cilckkey!=Li,label:nu.course_group_name,value:nu.course_group_id,key:nu.course_group_id},nu.course_group_name)})),yo.createElement(oc,{disabled:zl(to)||(0,bt.Rm)()&&!((Iu=(tu=ve==null?void 0:ve.AssistantObject)==null?void 0:tu.exercise)!=null&&Iu.can_publish),disabledDate:So,style:{width:"620px",marginLeft:"20px"},placeholder:["\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4","\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4"],showTime:{format:"HH:mm",defaultValue:[Ze()((0,ue.U6)(),"HH:mm"),Ze()((0,ue.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",size:"large",value:to.publish_time&&[Ze()(to.publish_time),to.end_time&&Ze()(to.end_time)],onChange:(nu,Zi)=>{Pr[Li].publish_time=Zi[0],!to.end_time&&Zi[0]?Pr[Li].end_time=Ze()(Zi[0]).add(7,"days"):Pr[Li].end_time=Zi[1],Dr([...Pr])},onCalendarChange:(nu,Zi,Ru)=>{if(Zi!=null&&Zi[0]&&!Zi[1]){const is=Qt.exercise_type===1?Ze()(Zi[0]).add(120,"minutes"):Ze()(Zi[0]).add(7,"days");Pr[Li].publish_time=Zi[0],Pr[Li].end_time=is,Dr([...Pr])}}}),yo.createElement("div",{style:{visibility:da?"hidden":"visible",display:"flex",width:"50px"}},yo.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var nu,Zi;if((0,bt.Rm)()&&!((Zi=(nu=ve==null?void 0:ve.AssistantObject)==null?void 0:nu.exercise)!=null&&Zi.can_publish)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Dr(Pr.concat({new:!0}))}}),yo.createElement("i",{className:"iconfont icon-shanjian1",style:{visibility:(to!=null&&to.publish_time&&Ze()(){Pr=Pr.filter((nu,Zi)=>Li!==Zi),Dr([...Pr])}})))})),(($n=On==null?void 0:On.exercise)==null?void 0:$n.have_hacks)&&!((Wn=On==null?void 0:On.exercise)!=null&&Wn.is_random)&&yo.createElement(yo.Fragment,null,yo.createElement("div",{className:Ii.new_title,style:{marginTop:30}},"\u5C55\u793AACM\u6392\u884C\u699C",yo.createElement("span",{style:{color:"#666666"}},"\uFF08\u5C06\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u8FDB\u884C\u6392\u540D\uFF0C\u4EC5\u9488\u5BF9\u4EBA\u5DE5\u7EC4\u5377\u4E14\u8BD5\u5377\u4E2D\u5B58\u5728\u7F16\u7A0B\u9898\u7684\u60C5\u51B5\u751F\u6548\uFF09")),yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},yo.createElement(be.ZP.Group,{value:Qt.show_acm,onChange:to=>{Qt.show_acm=to.target.value,tt(ns({},Qt))},style:{marginTop:"2px"}},yo.createElement(be.ZP,{value:!0,style:{marginRight:"50px"}},"\u5C55\u793AACM\u6392\u884C\u699C"),yo.createElement(be.ZP,{value:!1},"\u9690\u85CFACM\u6392\u884C\u699C")))),!(Qt!=null&&Qt.is_make_up_exercise)&&yo.createElement(yo.Fragment,null,yo.createElement("div",{className:Ii.new_title,style:{marginTop:30}},"\u8003\u8BD5\u6A21\u5F0F"),yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"}},yo.createElement(be.ZP.Group,{value:Qt.exercise_type,disabled:da||((Qa=On==null?void 0:On.exercise)==null?void 0:Qa.exercise_status)>1,onChange:to=>{Qt.exercise_type=to.target.value,tt(ns({},Qt)),po(to.target.value)},style:{marginTop:"2px"}},yo.createElement(be.ZP,{value:1,style:{marginRight:"50px"}},"\u6B63\u5F0F\u8003\u8BD5"),yo.createElement(be.ZP,{value:2},"\u6A21\u62DF\u8003\u8BD5")),(Qt==null?void 0:Qt.exercise_type)===2&&yo.createElement(yo.Fragment,null,yo.createElement("span",{style:{marginLeft:10,color:"#666666"}},"\u6BCF\u4E2A\u5B66\u751F\u5141\u8BB8\u8FDB\u884C\u8003\u8BD5"),yo.createElement(Te.Z,{className:Ii.numberInput,addonAfter:"\u6B21",style:{width:145},precision:0,size:"large",value:Qt==null?void 0:Qt.simulate_exercise_num,disabled:da,min:1,max:999,onChange:to=>{Qt.simulate_exercise_num=to,tt(ns({},Qt))}}),yo.createElement("span",{style:{color:"#666666"}},"\uFF08\u53EF\u8BBE\u7F6E1~999\u6B21\uFF09")))),(Qt==null?void 0:Qt.is_make_up_exercise)&&yo.createElement(yo.Fragment,null,yo.createElement(re.Z,null,yo.createElement("span",{style:{marginRight:"20px",fontSize:"14px",color:"3333",fontWeight:600}},"\u5F85\u8865\u8003\u5B66\u751F"),yo.createElement(Ae.Z,{checked:Sa,onChange:(to,Li)=>{var Wl,tu;if(Xr(to),to){if(Qt!=null&&Qt.is_appoint_user){const Iu=(tu=(Wl=On==null?void 0:On.exercise)==null?void 0:Wl.all_exercise_users)==null?void 0:tu.map(nu=>nu.user_id);ea([...Iu])}else ea([]);Oa(!1),xr(!1)}else Oa(Qt.is_miss_exam_user),xr(Qt.is_no_passing_user)},disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(ga!=null&&ga.allow_create_make_up))}),yo.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"3333"}},"\u6307\u5B9A\u5B66\u751F")),!Sa&&yo.createElement(re.Z,{className:"mt20 mb20",style:{paddingLeft:"90px"},align:"middle"},yo.createElement(Re.default,{checked:za,disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(Qt==null?void 0:Qt.miss_exam_count)>0&&(ga!=null&&ga.allow_create_make_up)),onChange:to=>{Oa(to.target.checked)}},yo.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u7F3A\u8003")),yo.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginRight:"60px"},onClick:()=>{$a(1),Xr(!1),Ba(!0)}},"\uFF08",`${(Qt==null?void 0:Qt.miss_exam_count)||0}\u4EBA`,"\uFF09"),yo.createElement(Re.default,{checked:Fr,disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(Qt==null?void 0:Qt.no_passing_count)>0&&(ga!=null&&ga.allow_create_make_up)),onChange:to=>{xr(to.target.checked)}},yo.createElement("span",{style:{fontSize:"14px",color:"#333"}},"\u672A\u53CA\u683C")),yo.createElement("span",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{$a(2),Xr(!1),Ba(!0)}},"\uFF08",`${(Qt==null?void 0:Qt.no_passing_count)||0}\u4EBA`,"\uFF09")),Sa&&yo.createElement(re.Z,{className:"mb20 mt20",style:{paddingLeft:"90px"}},yo.createElement(Ce.ZP,{type:"primary",ghost:!0,disabled:!((Qt==null?void 0:Qt.exercise_status)===1&&(ga!=null&&ga.allow_create_make_up)),onClick:()=>{Ba(!0),$a(void 0)}},yo.createElement("span",null,yo.createElement("i",{className:"iconfont icon-tianjia4 mr5",style:{fontSize:"14px"}})),yo.createElement("span",null,"\u9009\u62E9\u5B66\u751F")),yo.createElement("span",{style:{color:"#333",display:"inline-block",height:"32px",lineHeight:"32px",marginLeft:"10px"}},"\uFF08\u5DF2\u9009 ",`${qa.length||0} \u4EBA`,"\uFF09"))),yo.createElement("div",{className:Ii.new_title,style:{marginTop:"30px"}},"\u8003\u8BD5\u65F6\u957F\u8BBE\u7F6E"),yo.createElement("div",null,yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px"}},yo.createElement(Re.default,{disabled:da,checked:ja,onChange:to=>{to.target.checked===!1?tt(Li=>rc(ns({},Li),{time:-1})):eu.setFieldsValue({exercise_events:[{reminder_time:30,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C30\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"},{reminder_time:15,reminder_content:"\u8BF7\u6CE8\u610F\uFF0C15\u5206\u949F\u540E\u7981\u6B62\u4F5C\u7B54"}]}),vr(to.target.checked)},style:{fontSize:"14px",marginTop:"2px"}},"\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F"),ja&&yo.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},yo.createElement("div",{style:{marginRight:10,marginLeft:25}},"\u7B54\u9898\u65F6\u957F"),yo.createElement(Te.Z,{size:"large",disabled:da,min:1,style:{width:"200px"},value:Qt.time===-1?null:Qt.time,precision:0,addonAfter:"\u5206\u949F",onChange:to=>{Qt.time=to,tt(ns({},Qt))}}))),ja&&yo.createElement(de.default,{form:eu},yo.createElement(bs,{disabled:da,time:Qt.time})),yo.createElement("div",null,yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},yo.createElement(Re.default,{checked:Qt.enable_last_times,onChange:to=>tt(Li=>rc(ns({},Li),{enable_last_times:to.target.checked})),disabled:da,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u8003\u8BD5\u8FDF\u5230\u65F6\u957F\u9650\u5236"),Qt.enable_last_times&&yo.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},yo.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u8003\u8BD5\u5F00\u59CB\u540E"),yo.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:Qt==null?void 0:Qt.last_times,disabled:da||!Qt.enable_last_times,min:0,onChange:to=>{Qt.last_times=to,tt(ns({},Qt))}}),yo.createElement("span",{style:{marginLeft:"10px"}},"\u7981\u6B62\u5B66\u751F\u8FDB\u5165\u8003\u8BD5"))),yo.createElement("div",{style:{background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},yo.createElement(re.Z,null,yo.createElement(Re.default,{checked:Qt.enable_answer_time,onChange:to=>tt(Li=>rc(ns({},Li),{enable_answer_time:to.target.checked})),disabled:da,style:{fontSize:"14px",marginTop:"2px"}},"\u5B66\u751F\u63D0\u524D\u4EA4\u5377\u65F6\u95F4\u9650\u5236")),Qt.enable_answer_time&&yo.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:20}},yo.createElement("span",{style:{marginLeft:"32px",marginRight:"10px"}},"\u5B66\u751F\u8FDB\u5165\u8003\u8BD5\u4F5C\u7B54\u65F6\u95F4\u5FC5\u987B \u2265"),yo.createElement(Te.Z,{addonAfter:"\u5206\u949F",precision:0,size:"large",style:{width:"200px"},value:Qt==null?void 0:Qt.answer_time,disabled:da||!Qt.enable_answer_time,min:0,onChange:to=>{Qt.answer_time=to,tt(ns({},Qt))}}),yo.createElement("span",{style:{marginLeft:"10px"}},"\u624D\u80FD\u4EA4\u5377")))))),!(ga!=null&&ga.appraise_label)&&(!(ga!=null&&ga.is_make_up_exercise)&&(0,bt.GJ)()||(ga==null?void 0:ga.is_make_up_exercise)&&(ga==null?void 0:ga.allow_create_make_up))&&yo.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:ar},"\u4FDD\u5B58"),yo.createElement(ec.Z,{visible:ta,setVisible:Ba,onK:Bu,selectKeys:qa,selectRows:Ua,appointStudent:Sa,modalParams:qn}),yo.createElement($c.Z,{resdata:mr,type:"exercisepush",okloading:Ta,oktext:(mr==null?void 0:mr.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:to=>Gs(void 0,null,function*(){Jt(!0);let Li=yield(0,fe.ZP)(`/api/courses/${Yt.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"exercise",ids:[parseInt(Yt==null?void 0:Yt.categoryId)]}});Jt(!1),(Li==null?void 0:Li.status)===0&&oo(ir)})}))};var td=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le,classroomList:dt,user:Dt})=>({exercise:me,loading:ve.effects,globalSetting:le,user:Dt,classroomList:dt}))(Sd),hd=x(19248),nd=x(8241),Zc=Object.defineProperty,Sc=Object.getOwnPropertySymbols,ad=Object.prototype.hasOwnProperty,Ed=Object.prototype.propertyIsEnumerable,ic=(me,ve,le)=>ve in me?Zc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,zc=(me,ve)=>{for(var le in ve||(ve={}))ad.call(ve,le)&&ic(me,le,ve[le]);if(Sc)for(var le of Sc(ve))Ed.call(ve,le)&&ic(me,le,ve[le]);return me},Hc=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const{TabPane:Pc}=E.default,Qc=({exercise:me,loading:ve,dispatch:le})=>{var dt;const Dt=(0,ye.useParams)(),_e=(0,ye.useLocation)(),[Wt]=de.default.useForm(),[at,Oe]=(0,a.useState)({}),[Pe,xn]=(0,a.useState)("1");return(0,a.useEffect)(()=>{me.actionTabs.key==="addIp"&&(Wt.resetFields(),xn("1"))},[me.actionTabs]),a.createElement(Fe.default,{centered:!0,title:"\u6DFB\u52A0IP\u8303\u56F4",open:me.actionTabs.key==="addIp",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:600,bodyStyle:{minHeight:200},onOk:()=>Hc(void 0,null,function*(){if(yield Wt.validateFields(),!at.ip){const jn=at.startIP.split(".")[3];if(parseInt(jn)>parseInt(at.endIP)){oe.ZP.warning("IP\u533A\u95F4\u6BB5\u4E0D\u5408\u6CD5");return}}le({type:"exercise/setActionTabs",payload:{key:"insterIp",data:zc({},Wt.getFieldValue()),type:me.actionTabs.type}})}),onCancel:()=>{le({type:"exercise/setActionTabs",payload:{}})}},a.createElement("section",{className:"pl10 pr10"},a.createElement(E.default,{activeKey:Pe,onChange:jn=>{xn(jn),Wt.resetFields()}},a.createElement(Pc,{tab:"\u65B0\u589EIP\u5730\u5740",key:"1"}),a.createElement(Pc,{tab:"\u65B0\u589EIP\u8303\u56F4",key:"2"})),a.createElement(de.default,{form:Wt,className:"pt30",name:"form",layout:"vertical",onValuesChange:(jn,Vn)=>{Oe(zc({},Vn))}},Pe==="1"&&a.createElement(de.default.Item,{name:"ip",rules:[{required:!0,message:"\u8BF7\u8F93\u5165IP\u5730\u5740"}],label:"IP\u5730\u5740"},a.createElement(dn.default,{open:!1,tokenSeparators:[";",",","\uFF1B"],size:"middle",mode:"tags",style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165IP\u5730\u5740,\u53EF\u540C\u65F6\u6DFB\u52A0\u591A\u4E2AIP\u5730\u5740\uFF0C\u4E2D\u95F4\u7528\u82F1\u6587\u7684\u5206\u53F7\u95F4\u9694\u3002",onChange:jn=>{Wt.setFieldsValue({ip:[...jn.filter(Vn=>(0,nd.t)(Vn)?!0:(oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165"),!1))]})}})),Pe==="2"&&a.createElement(re.Z,{gutter:[20,20]},a.createElement(pe.Z,{flex:"1"},a.createElement(de.default.Item,{name:"startIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740"}],label:"\u8D77\u59CBIP\u5730\u5740"},a.createElement(Se.default,{maxLength:15,placeholder:"\u8BF7\u8F93\u5165\u8D77\u59CBIP\u5730\u5740",onBlur:jn=>{let Vn="";(0,nd.t)(jn.target.value)?Vn=jn.target.value:(Vn="",oe.ZP.warning("IP\u4E0D\u5408\u6CD5\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165")),Wt.setFieldsValue({startIP:Vn})}}))),a.createElement(pe.Z,{flex:"1"},a.createElement(de.default.Item,{name:"endIP",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740"},{pattern:/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,message:"\u8BF7\u8F93\u51650-255\u7684\u7F51\u6BB5"}],label:"\u7ED3\u675FIP\u5730\u5740"},a.createElement(Se.default,{onBlur:jn=>{},prefix:a.createElement("span",{className:"font14"},(dt=at.startIP)==null?void 0:dt.substring(0,at.startIP.lastIndexOf("."))),maxLength:3,placeholder:"\u8BF7\u8F93\u5165\u7ED3\u675FIP\u5730\u5740\u7684\u540E\u4E09\u4F4D"})))))))};var bc=(0,ye.connect)(({exercise:me,loading:ve})=>({exercise:me,loading:ve}))(Qc),La=x(59301),xc=Object.defineProperty,rd=Object.defineProperties,Pd=Object.getOwnPropertyDescriptors,Sl=Object.getOwnPropertySymbols,fu=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,xs=(me,ve,le)=>ve in me?xc(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,qu=(me,ve)=>{for(var le in ve||(ve={}))fu.call(ve,le)&&xs(me,le,ve[le]);if(Sl)for(var le of Sl(ve))ls.call(ve,le)&&xs(me,le,ve[le]);return me},lc=(me,ve)=>rd(me,Pd(ve)),uc=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const od=({exercise:me,globalSetting:ve,loading:le,dispatch:dt})=>{var Dt,_e,Wt,at,Oe,Pe,xn;const{workSetting:jn,commonHeader:Vn}=me,[an]=de.default.useForm(),wn=(0,ye.useParams)();wn.category=wn.categoryId;const[aa,pa]=(0,a.useState)(!1),[$n,Wn]=(0,a.useState)(!1),[Qa,On]=(0,a.useState)(!1),ga={question_random:!1,choice_random:!1,start_password:((Dt=jn==null?void 0:jn.exercise)==null?void 0:Dt.start_password)||"",login_restrict:!1,is_start_locked:!1,use_blank_score:!1,ip_limit:!1,identity_verify:!1,open_phone_video_recording:!1,open_camera:!1,photo_count:5,screen_open:!1,screen_num:3,screen_sec:5,ip_bind:!1,ip_bind_type:!1,public_ip:[],inner_ip:[],is_locked:!1,unlock_key:((_e=jn==null?void 0:jn.exercise)==null?void 0:_e.unlock_key)||"",screen_shot_open:!1,forbid_copy:!1};let[Yt,da]=(0,a.useState)(ga);const[oa,Ta]=(0,a.useState)(!1),[Jt,va]=(0,a.useState)(!1),[ra,ir]=(0,a.useState)(!1),[eo,Pr]=(0,a.useState)(null);(0,a.useEffect)(()=>{var Sa;Dr(),jn!=null&&jn.exercise&&!(0,bt.aN)()&&!((Sa=jn==null?void 0:jn.exercise)!=null&&Sa.is_creator)&&pa(!0)},[jn]),(0,a.useEffect)(()=>{((Vn==null?void 0:Vn.exercise_status)==="5"||Vn!=null&&Vn.appraise_label)&&pa(!0)},[Vn]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?Yt[me.actionTabs.type]=[...Yt[me.actionTabs.type]||[],...me.actionTabs.data.ip]:Yt[me.actionTabs.type]=[...Yt[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],Qt(Yt),Ta(!0))},[me.actionTabs]);const Dr=()=>{const Sa=JSON.parse(JSON.stringify(jn));Object.keys(Yt).forEach(Xr=>{var za;Yt[Xr]=(za=Sa==null?void 0:Sa.exercise)==null?void 0:za[Xr]}),Qt(lc(qu({},Yt),{ip_limit:Yt.ip_limit!=="no"}))},Qt=Sa=>{da(Sa),an.setFieldsValue(Sa)},tt=Sa=>{var Xr,za;if(Sa.categoryId=wn.categoryId,Sa.ip_limit=Sa.ip_limit?"pub":"no",Sa.ip_bind||(Sa.ip_bind_type=!1),Sa.open_camera&&Sa.photo_count<1){oe.ZP.warning("\u8BF7\u586B\u5199\u672C\u573A\u8003\u8BD5\u6700\u5927\u62CD\u6444\u6B21\u6570");return}if(!Sa.start_password&&Sa.is_start_locked){oe.ZP.warning("\u8BF7\u586B\u5199\u5F00\u8003\u5BC6\u7801");return}if(Sa.ip_limit!=="no"&&!((Xr=Sa.public_ip)!=null&&Xr.length)&&!((za=Sa.inner_ip)!=null&&za.length)){oe.ZP.warning("\u8BF7\u586B\u5199\u516C\u7F51IP\u6216\u5185\u7F51IP\u5730\u5740");return}if(Sa.is_locked||Sa.open_camera||Sa.screen_open||Sa.login_restrict||Sa.ip_bind||Sa.ip_limit=="pub"||Sa.ip_limit=="inner"||Sa.identity_verify||Sa.open_phone_video_recording){if((Vn==null?void 0:Vn.exercise_type)==1){ka(Sa);return}Fe.default.confirm({width:666,centered:!0,title:"\u63D0\u793A",icon:null,content:La.createElement("div",null,"\u5F53\u524D\u8003\u8BD5\u6A21\u5F0F\u4E3A\u201C\u6A21\u62DF\u8003\u8BD5\u201D\uFF0C\u5F00\u542F",La.createElement("span",{style:{color:"#FA6400"}}," ",(0,ue.hi)(Sa)," "),"\u9632\u4F5C\u5F0A\u89C4\u5219\u53EF\u80FD\u4F1A\u5F71\u54CD\u5B66\u751F\u8FDB\u884C\u91CD\u590D\u8003\u8BD5\u3002\u786E\u5B9A\u5F00\u542F\u5417\uFF1F"),onOk:()=>ka(Sa)});return}fa(Sa)},ka=Sa=>{if(Sa.open_camera||Sa.screen_open){const Xr=Fe.default.confirm({title:"\u8003\u8BD5\u8BF4\u660E",className:"custom-modal-divider",icon:null,width:750,content:La.createElement("div",{className:"font16 p20"},Sa.open_camera&&La.createElement(re.Z,{justify:"start",className:"mt20"},La.createElement(pe.Z,{flex:"24px"},La.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),La.createElement(pe.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u6444\u50CF\u9632\u4F5C\u5F0A\u529F\u80FD\uFF0C",La.createElement("span",{className:"c-red"},"\u8FD9\u9700\u8981\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907"),"\u3002\u5E73\u53F0\u5C06\u4F1A\u4E25\u683C\u4FDD\u62A4\u6240\u6709\u5B66\u751F\u7684\u7167\u7247\u548C\u89C6\u9891\uFF0C\u5E76\u627F\u8BFA\u4E0D\u5728\u672C\u5E73\u53F0\u4EE5\u5916\u4F7F\u7528\u3002",La.createElement("br",null),"\u8BF7\u786E\u8BA4\uFF1A\u4E3A\u4E25\u683C\u76D1\u7763\u8003\u8BD5\u4EE5\u83B7\u5F97\u516C\u5E73\uFF0C\u60A8\u540C\u610F\u5E76\u548C\u8981\u6C42\u5E73\u53F0\u5728\u672C\u6B21\u8003\u8BD5\u4E2D\u8C03\u7528\u5B66\u751F\u7528\u6237\u7684\u6444\u50CF\u8BBE\u5907\u5E76\u83B7\u53D6\u5B66\u751F\u7684\u5F71\u50CF\u4FE1\u606F\u3002")),Sa.screen_open&&La.createElement(re.Z,{justify:"start",className:"mt20"},La.createElement(pe.Z,{flex:"24px",className:"mr20"},La.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),La.createElement(pe.Z,{flex:"1"},"\u60A8\u5DF2\u5F00\u542F\u8003\u8BD5\u4E2D\u9632\u5207\u5C4F\u529F\u80FD\uFF0C\u8FD9\u9879\u529F\u80FD\u6682\u65F6\u4EC5\u652F\u6301\u8C37\u6B4C\u3001\u706B\u72D0\u6D4F\u89C8\u5668\u3002 \u8BF7\u786E\u4FDD\uFF1A\u5728\u6B63\u5F0F\u5F00\u59CB\u8003\u8BD5\u524D\u901A\u77E5\u5168\u4F53\u5B66\u751F\uFF0C\u4F7F\u7528 ",La.createElement("img",{width:"26",src:Ti.JA})," ",La.createElement("span",{className:"c-red"},"\u8C37\u6B4C\u6D4F\u89C8\u5668"),"\u6216",La.createElement("img",{width:"26",src:Ti.Gm})," ",La.createElement("span",{className:"c-red"},"\u706B\u72D0\u6D4F\u89C8\u5668"),"\u8FDB\u884C\u8003\u8BD5\u3002")),La.createElement("p",{className:"ml40 mt40"},La.createElement(Re.default,{onChange:za=>Xr.update({okButtonProps:{disabled:!za.target.checked}})},"\u6211\u5DF2\u9605\u8BFB"))),onOk:()=>{fa(Sa)},okButtonProps:{disabled:!0}})}else fa(Sa)},fa=Sa=>uc(void 0,null,function*(){Wn(!0);const Xr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/prevent_cheating_settings.json`,{method:"post",body:Sa});Wn(!1),Xr.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),dt({type:"exercise/getCommonHeader",payload:qu({},wn)}),dt({type:"exercise/getWorkSetting",payload:qu({},wn)}),Ta(!1))});(0,a.useEffect)(()=>{vr(oa?"\u8868\u5355\u672A\u4FDD\u5B58":"")},[oa]);const ja=Sa=>{Sa.preventDefault(),Sa.returnValue=""},vr=(Sa="")=>{dt({type:"exercise/setActionTabs",payload:{key:Sa}})};return La.createElement("section",{className:Ii.formDom,style:{padding:"30px 50px"}},La.createElement(yt.Z,{spinning:le["exercise/getWorkSetting"]||$n},La.createElement(de.default,{form:an,name:"basicForm",initialValues:ga,colon:!1,onValuesChange:(Sa,Xr)=>{console.log("onValuesChange",Xr);let za=Xr,Oa=!1;for(const Fr in Sa){if(Fr=="is_locked"&&!Xr[Fr]&&(za.login_restrict=!1,za.screen_open=!1),Fr=="login_restrict"&&Xr[Fr]&&(za.is_locked=!0),Fr=="screen_open"&&Xr[Fr]){if(Vn!=null&&Vn.have_unity_3d_shixun){za.screen_open=!1,Qt(za),Fe.default.confirm({title:"\u63D0\u793A",width:518,icon:null,centered:!0,content:La.createElement("div",null,`\u8BD5\u5377\u4E2D\u7684${Vn==null?void 0:Vn.unity_3d_shixun}\u9700\u8981\u6253\u5F00\u7B2C\u4E09\u65B9\u8F6F\u4EF6\u5BA2\u6237\u7AEF\uFF0C\u65E0\u6CD5\u5F00\u542F\u201C\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377\u201D\u8BBE\u7F6E\u9879`),cancelButtonProps:{className:Ii.edit},okText:"\u6211\u77E5\u9053\u4E86",cancelText:"\u4FEE\u6539\u8BD5\u5377",onCancel:()=>{ye.history.push(Vn!=null&&Vn.is_random?`/classrooms/${wn.coursesId}/exercise/${wn.categoryId}/random/edit?type=settings`:`/classrooms/${wn.coursesId}/exercise/add/${wn.categoryId}?random=false&type=2`)}});return}za.is_locked=!0}if(Fr=="screen_shot_open"&&Xr[Fr]){const xr=Fe.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:La.createElement("div",null,La.createElement("div",{className:"mb10"},"1.\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u524D",La.createElement("span",{style:{color:"#F59A23"}},"\u9700\u8981\u9009\u62E9\u4E3B\u5C4F\u5E55\u8FDB\u884C\u5171\u4EAB\uFF0C\u8003\u8BD5\u4F5C\u7B54\u8FC7\u7A0B\u4E2D\u4E5F\u4E0D\u5141\u8BB8\u5173\u95ED\u5C4F\u5E55\u5171\u4EAB\uFF0C\u5426\u5219\u5C06\u4F1A\u76F4\u63A5\u9000\u51FA\u8003\u8BD5\uFF1B")),La.createElement("div",null,"2.\u6559\u5E08\u53EF\u5728\u8003\u8BD5\u76D1\u63A7\u9875\u9762\u67E5\u770B\u622A\u5C4F\u8BB0\u5F55\u3002")),onOk:()=>uc(void 0,null,function*(){za.screen_shot_open=!0,Qt(za)}),onCancel:()=>{za.screen_shot_open=!1,Qt(za),xr.destroy()}});break}(Fr=="ip_bind"||Fr=="ip_limit")&&!Xr.is_locked&&Xr[Fr]&&(za.is_locked=!0),Fr=="open_camera"&&(za.photo_count=za.photo_count||5)}Qt(za),Ta(!0)},onFinish:tt},La.createElement("div",{className:Ii.title},"\u63A8\u8350\u9632\u4F5C\u5F0A\u6A21\u5F0F",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u4E0D\u540C\u7684\u8003\u8BD5\u6A21\u5F0F\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u52FE\u9009\u5BF9\u5E94\u6A21\u5F0F\u63A8\u8350\u7684\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u652F\u6301\u4E8C\u6B21\u8C03\u6574\uFF09")),La.createElement(de.default.Item,null,La.createElement(be.ZP.Group,{style:{background:"#F6F7F9",padding:"5px 30px",display:"flex",alignItems:"center",height:"50px"},value:eo,onChange:Sa=>{if(Sa.target.value==="exam")Qt(lc(qu(qu({},ga),Yt),{question_random:!0,choice_random:!0,is_start_locked:!0,is_locked:!0,login_restrict:!0,screen_open:!0,ip_bind:!0,forbid_copy:!0}));else if(Sa.target.value==="practice"){Fe.default.confirm({title:"\u63D0\u793A",centered:!0,content:"\u6A21\u62DF\u8003\u8BD5\u5C06\u53EA\u4F1A\u5F00\u542F\u201C\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\u548C\u201C\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71\u201D\uFF0C\u786E\u5B9A\u8981\u4F7F\u7528\u6A21\u62DF\u8003\u8BD5\u63A8\u8350\u7684\u8BBE\u7F6E\u5417\uFF1F",icon:null,onOk:()=>{Qt(lc(qu({},ga),{question_random:!0,choice_random:!0,forbid_copy:!1})),Pr(Sa.target.value)}});return}Pr(Sa.target.value)},buttonStyle:"solid",disabled:aa},La.createElement(be.ZP,{value:"exam",style:{marginRight:"40px"}},"\u6B63\u5F0F\u6A21\u5F0F"),La.createElement(be.ZP,{value:"practice"},"\u6A21\u62DF\u6A21\u5F0F"))),La.createElement("div",{className:Ii.title,style:{marginTop:"30px"}},"\u9632\u4F5C\u5F0A\u8BBE\u7F6E"),La.createElement(de.default.Item,{name:"forbid_copy",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"))),La.createElement(de.default.Item,{name:"question_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5C0F\u9898\u9898\u76EE\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),La.createElement(de.default.Item,{name:"choice_random",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71"))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"is_start_locked",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5F00\u8003\u5BC6\u7801 ",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u8003\u8BD5\u65F6\uFF0C\u9700\u8981\u8F93\u5165\u5F00\u8003\u5BC6\u7801\u624D\u80FD\u8FDB\u5165\u8003\u8BD5\u7B54\u9898\u9875\u9762\uFF09"))))),Yt.is_start_locked&&(0,bt.GJ)()?La.createElement(re.Z,{className:Ii.unlockKeyWrapper,align:"middle"},La.createElement(de.default.Item,{name:"start_password",style:{marginBottom:0}},La.createElement(Se.default,{size:"large",className:Ii.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u5F00\u8003\u5BC6\u7801"})),La.createElement(pe.Z,null,!aa&&La.createElement(Ce.ZP,{type:"link",loading:Jt,onClick:()=>uc(void 0,null,function*(){va(!0);let Sa=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Xr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:1,pwd:Sa}});va(!1),(Xr==null?void 0:Xr.status)===0&&an.setFieldsValue({start_password:Sa})})},"\u6362\u4E00\u6362"))):La.createElement(de.default.Item,{hidden:!0,name:"start_password",label:"\u5F00\u8003\u5BC6\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"is_locked",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u89E3\u9501\u7801 ",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5982\u679C\u5B66\u751F\u5728\u8003\u8BD5\u4E2D\u9014\u9000\u51FA\u60F3\u518D\u7EE7\u7EED\u8003\u8BD5\uFF0C\u9700\u8981\u4F7F\u7528\u89E3\u9501\u7801\u8FDB\u884C\u89E3\u9501\u3002\uFF09"))))),Yt.is_locked&&(0,bt.GJ)()?La.createElement(re.Z,{className:Ii.unlockKeyWrapper,align:"middle"},La.createElement(de.default.Item,{style:{marginBottom:0},name:"unlock_key"},La.createElement(Se.default,{size:"large",className:Ii.unlockKeyInput,disabled:aa,placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"})),La.createElement(pe.Z,null,!aa&&La.createElement(Ce.ZP,{type:"link",loading:ra,onClick:()=>uc(void 0,null,function*(){ir(!0);let Sa=Math.floor(Math.random()*1e6).toString().padStart(6,"0"),Xr=yield(0,fe.ZP)(`/api/exercises/${wn==null?void 0:wn.categoryId}/change_pwd.json`,{method:"post",body:{type:2,pwd:Sa}});ir(!1),(Xr==null?void 0:Xr.status)===0&&an.setFieldsValue({unlock_key:Sa})})},"\u6362\u4E00\u6362"))):La.createElement(de.default.Item,{hidden:!0,name:"unlock_key",label:"\u8003\u8BD5\u89E3\u9501\u7801(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement(de.default.Item,{name:"login_restrict",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u767B\u5F55\u9650\u5236",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5728\u8003\u8BD5\u671F\u95F4\u7B2C\u4E8C\u6B21\u53CA\u540E\u7EED\u767B\u5F55\u7CFB\u7EDF\u65F6\uFF0C\u9700\u8981\u76D1\u8003\u8001\u5E08\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801\u624D\u80FD\u767B\u5F55\u7CFB\u7EDF\uFF09"))))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"screen_open",valuePropName:"checked"},La.createElement(Re.default,{disabled:aa},La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"))),Yt.screen_open?La.createElement(La.Fragment,null,La.createElement(re.Z,{gutter:10,className:`${Ii.unlockKeyWrapper}`,style:{color:"#666666"},align:"middle",wrap:!1},La.createElement(pe.Z,null,"\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u5207\u6362\u9875\u9762\u8D85\u8FC7"),La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"screen_num",style:{marginBottom:0}},La.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:10,addonAfter:"\u6B21",style:{width:"150px"}}))),La.createElement(pe.Z,null,"\u540E\u5C06\u88AB\u5F3A\u5236\u4EA4\u5377\uFF0C\u5207\u6362\u5230\u5176\u4ED6\u9875\u9762"),La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"screen_sec",style:{marginBottom:0}},La.createElement(Te.Z,{size:"large",disabled:aa,min:0,max:60,addonAfter:"\u79D2",style:{width:"150px"}}))),La.createElement(pe.Z,null,"\u540E\u5373\u5224\u5B9A\u4E3A\u5207\u5C4F\u3002")),La.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ii.unlockKeyWrapper}`,align:"middle",wrap:!1},La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"screen_shot_open",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Ae.Z,{disabled:aa||!Yt.screen_open}))),La.createElement(pe.Z,{style:{color:"#666666"}},"\u5B66\u751F\u9000\u51FA\u5168\u5C4F\u6216\u5207\u6362\u9875\u9762\u540E\u8FDB\u884C\u622A\u5C4F"))):La.createElement(La.Fragment,null,La.createElement(de.default.Item,{hidden:!0,name:"screen_num",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),La.createElement(de.default.Item,{hidden:!0,name:"screen_sec",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}),La.createElement(de.default.Item,{hidden:!0,name:"screen_shot_open",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"}))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"ip_bind",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"IP\u5730\u5740\u7ED1\u5B9A",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5F00\u59CB\u8003\u8BD5\u7684\u5B66\u751F\u8D26\u53F7\u5C06\u81EA\u52A8\u4E0E\u8BBE\u5907\u516C\u7F51IP\u6216\u5185\u7F51IP\u8FDB\u884C\u7ED1\u5B9A\u3002\u5982\u9047\u7279\u6B8A\u60C5\u51B5\uFF0C\u53EF\u7531\u6559\u5E08/\u52A9\u6559\u8FDB\u884CIP\u89E3\u7ED1\u3002\uFF09"))))),Yt.ip_bind&&(0,bt.GJ)()?La.createElement(re.Z,{className:Ii.unlockKeyWrapper,style:{flexDirection:"column"}},La.createElement(de.default.Item,{name:"ip_bind_type",style:{marginBottom:0}},La.createElement(be.ZP.Group,null,La.createElement(be.ZP,{value:!1,style:{marginRight:"32px",fontWeight:"400"}},La.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5916\u7F51IP",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u6821\u6821\u56ED\u7F51\u7535\u8111\u7684\u516C\u7F51IP\u53EF\u80FD\u4F1A\u5B58\u5728\u53D8\u52A8\uFF09"))),La.createElement(be.ZP,{value:!0,style:{fontWeight:"400"}},La.createElement("span",{style:{color:"#000"}},"\u7ED1\u5B9A\u5185\u7F51IP",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9700\u8981\u5B89\u88C5\u63D2\u4EF6\u624D\u80FD\u83B7\u53D6ip\uFF0C\u524D\u5F80",La.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u4E0B\u8F7D\u63D2\u4EF6"),"\uFF09")))))):La.createElement(de.default.Item,{hidden:!0,name:"ip_bind_type",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"ip_limit",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u9650\u5236\u53C2\u4E0E\u8003\u8BD5\u8BBE\u5907\u7684IP\u5730\u5740\u8303\u56F4\uFF09"))))),La.createElement(de.default.Item,{name:"public_ip",label:"\u516C\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),La.createElement(de.default.Item,{name:"inner_ip",label:"\u5185\u7F51IP\u5730\u5740\u8303\u56F4(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)",hidden:!0}),(Yt==null?void 0:Yt.ip_limit)&&La.createElement(re.Z,{className:Ii.unlockKeyWrapper,style:{flexDirection:"column"}},La.createElement(pe.Z,null,La.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u8981\u6C42\u5B66\u751F\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),La.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?")),La.createElement(re.Z,{className:`mt15 ${Ii.ipWrp}`,style:{background:"#F6F7F9"}},La.createElement(pe.Z,null,"\u516C\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A"),La.createElement(pe.Z,null,(Wt=Yt.public_ip)==null?void 0:Wt.map((Sa,Xr)=>La.createElement("span",{key:Xr,className:Ii.ipItem},La.createElement("i",null,Sa," "),!aa&&La.createElement(hd.Z,{onClick:()=>{Fe.default.confirm({okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Yt.public_ip.splice(Xr,1),Qt(qu({},Yt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&La.createElement("span",{onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"public_ip"}})},className:"font14 c-blue ml10",style:{cursor:"pointer"}}," ",La.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))),La.createElement(re.Z,{className:`mt15 ${Ii.ipWrp}`,style:{background:"#F6F7F9"}},La.createElement(pe.Z,null,La.createElement("span",null,"\u5185\u7F51IP\u5730\u5740\u8303\u56F4\uFF1A")),La.createElement(pe.Z,null,(at=Yt.inner_ip)==null?void 0:at.map((Sa,Xr)=>La.createElement("span",{className:Ii.ipItem},La.createElement("i",null,Sa," "),!aa&&La.createElement(hd.Z,{onClick:()=>{aa||Fe.default.confirm({title:"\u786E\u5B9A\u5220\u9664\u8BE5IP\u5417\uFF1F",onOk:()=>{Yt.inner_ip.splice(Xr,1),Qt(qu({},Yt))}})},className:" c-grey-c",size:20}))),(0,bt.GJ)()&&!aa&&La.createElement("span",{className:"font14 c-blue ml10",onClick:()=>{dt({type:"exercise/setActionTabs",payload:{key:"addIp",type:"inner_ip"}})},style:{cursor:"pointer"}}," ",La.createElement("i",{className:"iconfont icon-xuanyong font14"})," \u6DFB\u52A0"))))),La.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(de.default.Item,{name:"open_camera",valuePropName:"checked",style:{marginBottom:0}},La.createElement(Re.default,{disabled:aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5728\u8003\u8BD5\u8FC7\u7A0B\u4E2D\u4F7F\u7528\u7535\u8111\u6444\u50CF\u5934\u968F\u673A\u6293\u62CD\u7167\u7247\uFF0C\u7528\u4E8E\u76D1\u8003\u548C\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u5206\u6790\u7ED3\u679C\u53EF\u5728\u5B66\u751F\u7B54\u5377\u4E2D\u67E5\u770B\uFF09"))))),Yt.open_camera?La.createElement(re.Z,{gutter:10,className:`c-grey-333 ${Ii.unlockKeyWrapper}`,align:"middle",wrap:!1},La.createElement(pe.Z,{style:{color:"#666666"}},"\u672C\u573A\u8003\u8BD5\u6700\u591A\u62CD\u6444"),La.createElement(pe.Z,null,La.createElement(de.default.Item,{name:"photo_count",style:{marginBottom:0}},La.createElement(Te.Z,{size:"large",disabled:aa||!Yt.open_camera,min:1,max:(0,bt.Ny)()?1e3:10,addonAfter:"\u6B21",style:{width:"150px"}}))),La.createElement(pe.Z,null,La.createElement("span",{className:"c-grey-c font14 ml10",style:{color:"#666"}},"\uFF08\u53EF\u586B\u5199\u6700\u5927\u503C\u4E3A10\uFF09"))):La.createElement(de.default.Item,{hidden:!0,name:"photo_count",label:"(\u53EA\u7528\u6765\u5728\u88AB\u9690\u85CF\u7684\u662F\u65F6\u5019\u8FDB\u884C\u6536\u96C6\u6570\u636E)"})),La.createElement(de.default.Item,{name:"identity_verify",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},La.createElement(Re.default,{disabled:!(0,bt.ag)()||aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C ",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u52FE\u9009\u540E\uFF0C\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u9700\u8981\u4EBA\u8138\u9A8C\u8BC1\u5BA1\u6838\uFF0C\u5BA1\u6838\u901A\u8FC7\u540E\u624D\u53EF\u8FDB\u5165\u7B54\u9898\uFF09"))))),La.createElement(de.default.Item,{name:"open_phone_video_recording",valuePropName:"checked",style:{background:"#F6F7F9",padding:"8px 30px"}},La.createElement(Re.default,{disabled:!(0,bt.ag)()||aa},La.createElement(La.Fragment,null,La.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236",La.createElement("span",{style:{color:"#666",fontSize:14,fontWeight:400}},"\uFF08\u5B66\u751F\u5F00\u59CB\u8003\u8BD5\u524D\u5FC5\u987B\u5148\u5F00\u542F\u624B\u673A\u5F55\u5236\u89C6\u9891\uFF0C\u6559\u5E08/\u52A9\u6559\u53EF\u5728\u8BD5\u5377\u8BE6\u60C5-\u6444\u50CF\u76D1\u63A7\u9875\u9762\u67E5\u770B\u5B66\u751F\u89C6\u9891\u52A8\u6001\uFF09")))))),((0,bt.aN)()||((Oe=me==null?void 0:me.commonHeader)==null?void 0:Oe.exercise_author))&&!(Vn!=null&&Vn.appraise_label)&&La.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:()=>{an.submit()}},"\u4FDD\u5B58")),La.createElement(bc,null),La.createElement(Fe.default,{centered:!0,destroyOnClose:!0,open:Qa,title:"\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:()=>On(!1)},La.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},La.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A",(Pe=ve==null?void 0:ve.setting)==null?void 0:Pe.homepage_tea_qq_number," "),La.createElement("img",{src:`${Le.Z.IMG_SERVER}/${(xn=ve==null?void 0:ve.setting)==null?void 0:xn.homepage_tea_qq_qrcode_url}`,width:200,height:200}))))};var id=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le})=>({exercise:me,loading:ve.effects,globalSetting:le}))(od),Ai=x(59301),n0=Object.defineProperty,a0=Object.defineProperties,bd=Object.getOwnPropertyDescriptors,Ms=Object.getOwnPropertySymbols,Td=Object.prototype.hasOwnProperty,r0=Object.prototype.propertyIsEnumerable,xd=(me,ve,le)=>ve in me?n0(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Ws=(me,ve)=>{for(var le in ve||(ve={}))Td.call(ve,le)&&xd(me,le,ve[le]);if(Ms)for(var le of Ms(ve))r0.call(ve,le)&&xd(me,le,ve[le]);return me},ld=(me,ve)=>a0(me,bd(ve)),kd=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const o0=({exercise:me,loading:ve,dispatch:le})=>{var dt,Dt,_e;const{workSetting:Wt,commonHeader:at}=me,Oe=(0,ye.useParams)();Oe.category=Oe.categoryId;const[Pe,xn]=(0,a.useState)(!1),[jn,Vn]=(0,a.useState)(!1);let[an,wn]=(0,a.useState)({score_open:!1,answer_open:!1,show_statistic:!1,open_total_score:!1,open_score_reviewed:!0,open_score_commited:!1,open_score:!1,answered_open:!1,assistant_auth:!1,passing_rate:60,use_blank_score:!1,downcase:!1,open_make_up:!1,make_up_score:1});(0,a.useEffect)(()=>{pa("\u8868\u5355\u672A\u4FDD\u5B58")},[an]);const aa=On=>{On.preventDefault(),On.returnValue=""},pa=(On="")=>{le({type:"exercise/setActionTabs",payload:{key:On}})};(0,a.useEffect)(()=>{var On,ga;$n(),(On=Wt==null?void 0:Wt.exercise)!=null&&On.id&&!(0,bt.aN)()&&!((ga=Wt==null?void 0:Wt.exercise)!=null&&ga.is_creator)&&xn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{},[]);const $n=()=>{const On=JSON.parse(JSON.stringify(Wt));Object.keys(an).forEach(ga=>{var Yt;an[ga]=(Yt=On==null?void 0:On.exercise)==null?void 0:Yt[ga]}),wn(an),me.actionTabs.key!="\u6279\u91CF\u53D1\u5E03"&&pa("")},Wn=()=>{const On=JSON.parse(JSON.stringify(an));On.categoryId=Oe.categoryId,Qa(On)},Qa=On=>kd(void 0,null,function*(){var ga;if((On==null?void 0:On.use_blank_score)!==((ga=Wt==null?void 0:Wt.exercise)==null?void 0:ga.use_blank_score)){let da=Fe.default.confirm({closable:!0,width:500,centered:!0,icon:null,title:"\u63D0\u793A",onOk:()=>kd(void 0,null,function*(){Vn(!0);const oa=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Vn(!1),oa.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),pa(""),le({type:"exercise/getCommonHeader",payload:Ws({},Oe)}),le({type:"exercise/getWorkSetting",payload:Ws({},Oe)}),Vn(!1))})});On!=null&&On.use_blank_score?da.update({content:Ai.createElement("div",null,"\u60A8\u5DF2\u52FE\u9009",Ai.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")}):da.update({content:Ai.createElement("div",null,"\u60A8\u5DF2\u53D6\u6D88\u52FE\u9009",Ai.createElement("span",{style:{color:"#165DFF"}},"\u201C \u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206 \u201D"),"\uFF0C\u4FDD\u5B58\u8BBE\u7F6E\u540E\u5C06\u4F1A\u6309\u7167\u65B0\u7684\u7ED9\u5206\u65B9\u5F0F\u91CD\u65B0\u8BA1\u7B97\u5206\u503C\u3002\u662F\u5426\u786E\u5B9A\u4FEE\u6539\uFF1F")});return}Vn(!0);const Yt=yield(0,fe.ZP)(`/api/exercises/${Oe==null?void 0:Oe.categoryId}/property_settings.json`,{method:"post",body:On});Vn(!1),Yt.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),pa(""),le({type:"exercise/getCommonHeader",payload:Ws({},Oe)}),le({type:"exercise/getWorkSetting",payload:Ws({},Oe)}))});return Ai.createElement("section",{className:Ii.scoreSettingWrapper,style:{padding:"30px 50px"}},Ai.createElement(yt.Z,{spinning:ve["exercise/getWorkSetting"]||jn},(at==null?void 0:at.is_make_up_exercise)&&Ai.createElement(Ai.Fragment,null,Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.open_make_up,disabled:Pe,onChange:On=>{an.open_make_up=On.target.checked,wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u8865\u8003\u6263\u5206 ")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u7CFB\u7EDF\u5C06\u5728\u6BCF\u4E2A\u53C2\u52A0\u8865\u8003\u5B66\u751F\u6700\u7EC8\u6210\u7EE9\u7684\u57FA\u7840\u4E0A\u81EA\u52A8\u6263\u9664\u5BF9\u5E94\u8BBE\u7F6E\u7684\u5206\u503C\uFF09"))),an.open_make_up&&Ai.createElement("div",{className:"flex item-center gap-10px",style:{background:"#F6F7F9",padding:"13px 54px"}},Ai.createElement("div",null,"\u6263\u5206"),Ai.createElement(Te.Z,{value:an==null?void 0:an.make_up_score,min:1,step:1,max:(dt=Wt==null?void 0:Wt.exercise)!=null&&dt.total_score?Number((Dt=Wt==null?void 0:Wt.exercise)==null?void 0:Dt.total_score):Number.MAX_SAFE_INTEGER,suffix:"\u5206",style:{width:"120px"},onChange:On=>{wn(ld(Ws({},an),{make_up_score:Math.floor(On)}))}}))),Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.use_blank_score,disabled:Pe,onChange:On=>{an.use_blank_score=On.target.checked,wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement(Ai.Fragment,null,Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u591A\u9009\u9898\u6F0F\u9009\u90E8\u5206\u7ED9\u5206"))),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5B66\u751F\u6709\u6F0F\u9009\u6B63\u786E\u7B54\u6848\u4F46\u662F\u9009\u4E2D\u7684\u7B54\u6848\u5168\u90E8\u6B63\u786E\uFF0C\u53EF\u83B7\u5F97\u90E8\u5206\u5206\u503C\uFF0C\u5206\u503C=\u9009\u4E2D\u7684\u7B54\u6848\u4E2A\u6570*\uFF08\u8BE5\u5C0F\u9898\u5206\u503C/\u6B63\u786E\u7B54\u6848\u7684\u4E2A\u6570\uFF09\uFF09"))),Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.downcase,disabled:Pe,onChange:On=>{an.downcase=On.target.checked,wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u586B\u7A7A\u9898\u5224\u5206\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u586B\u7A7A\u9898\u5728\u5224\u5206\u65F6\uFF0C\u5C06\u5FFD\u7565\u7B54\u6848\u603B\u4E2D\u82F1\u6587\u5B57\u6BCD\u5927\u5C0F\u5199\u9650\u5236\uFF09"))),Ai.createElement(re.Z,{align:"middle",justify:"space-between",style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},Ai.createElement(pe.Z,null,Ai.createElement(Re.default,{checked:an.open_total_score,disabled:Pe,onChange:On=>{an.open_total_score=On.target.checked,On.target.checked?(an.open_score=!1,an.open_score_reviewed=!0):(an.open_score=!0,an.open_score_reviewed=!1),wn(Object.assign({},an))},className:Ii.mainRuleText},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5B66\u751F\u67E5\u770B\u6210\u7EE9")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u53EF\u914D\u7F6E\u5B66\u751F\u5728\u67D0\u9636\u6BB5\u53EF\u67E5\u770B\u8003\u8BD5\u6210\u7EE9\uFF09"))),an.open_total_score&&Ai.createElement(Ai.Fragment,null,Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},Ai.createElement(be.ZP.Group,{disabled:Pe,value:an.open_score?"afterEndTime":an!=null&&an.open_score_reviewed?"afterReview":"afterCommit",onChange:On=>{On.target.value==="afterEndTime"?wn(ga=>ld(Ws({},ga),{open_score:!0,open_score_reviewed:!1,open_score_commited:!1})):On.target.value==="afterReview"?wn(ga=>ld(Ws({},ga),{open_score:!1,open_score_reviewed:!0,open_score_commited:!1})):wn(ga=>ld(Ws({},ga),{open_score:!1,open_score_reviewed:!1,open_score_commited:!0}))}},Ai.createElement(be.ZP,{value:"afterEndTime",style:{marginRight:"80px"}},Ai.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u540E")),Ai.createElement(be.ZP,{value:"afterCommit",style:{marginRight:"80px"}},Ai.createElement("span",{style:{color:"#000"}},"\u63D0\u4EA4\u8BD5\u5377\u540E")),Ai.createElement(be.ZP,{value:"afterReview"},Ai.createElement("span",{style:{color:"#000"}},"\u8003\u8BD5\u622A\u6B62\u4E14\u8BD5\u5377\u8BC4\u9605\u5B8C\u6210\u540E")))),Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},Ai.createElement(Re.default,{className:Ii.mainRuleText,checked:an.answered_open,disabled:Pe,onChange:On=>{an.answered_open=On.target.checked,wn(Object.assign({},an))}},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u67E5\u770B\u8BD5\u5377")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u4E2A\u4EBA\u8003\u8BD5\u7B54\u5377\uFF09")),an.answered_open&&Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 54px"}},Ai.createElement(be.ZP.Group,{value:an.answer_open,disabled:Pe,onChange:On=>{an.answer_open=On.target.value,wn(Object.assign({},an))}},Ai.createElement(be.ZP,{value:!0,style:{marginRight:"25px"}},Ai.createElement("span",{style:{color:"#000"}},"\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")),Ai.createElement(be.ZP,{value:!1},Ai.createElement("span",{style:{color:"#000"}},"\u4E0D\u663E\u793A\u8BD5\u9898\u7B54\u6848\u548C\u89E3\u6790")))),Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px",marginTop:"1px"}},Ai.createElement(Re.default,{className:Ii.mainRuleText,checked:an.score_open,disabled:Pe,onChange:On=>{an.score_open=On.target.checked,wn(Object.assign({},an))}},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u5176\u5B83\u5B66\u751F\u7684\u6210\u7EE9")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u67E5\u770B\u5176\u4ED6\u540C\u5B66\u672C\u573A\u8003\u8BD5\u7684\u6210\u7EE9\uFF09")),Ai.createElement(re.Z,{style:{background:"#F6F7F9",padding:"13px 30px"}},Ai.createElement(Re.default,{className:Ii.mainRuleText,checked:an.show_statistic,disabled:Pe,onChange:On=>{an.show_statistic=On.target.checked,wn(Object.assign({},an))}},Ai.createElement("span",{style:{fontWeight:400,color:"#000"},className:"font14"},"\u5141\u8BB8\u5DF2\u63D0\u4EA4\u7B54\u9898\u7684\u5B66\u751F\u67E5\u770B\u7EDF\u8BA1\u7ED3\u679C")),Ai.createElement("span",{style:{color:"#666666"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u5DF2\u7ECF\u4EA4\u5377\u7684\u5B66\u751F\u53EF\u4EE5\u672C\u573A\u8003\u8BD5\u7684\u7EDF\u8BA1\u7ED3\u679C\uFF09"))),((0,bt.aN)()||((_e=me==null?void 0:me.commonHeader)==null?void 0:_e.exercise_author))&&Ai.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Wn},"\u4FDD\u5B58")))};var jd=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le})=>({exercise:me,loading:ve.effects,globalSetting:le}))(o0),Ni=x(59301),i0=Object.defineProperty,l0=Object.defineProperties,ud=Object.getOwnPropertyDescriptors,sd=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,u0=Object.prototype.propertyIsEnumerable,Zd=(me,ve,le)=>ve in me?i0(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,Pl=(me,ve)=>{for(var le in ve||(ve={}))wd.call(ve,le)&&Zd(me,le,ve[le]);if(sd)for(var le of sd(ve))u0.call(ve,le)&&Zd(me,le,ve[le]);return me},$o=(me,ve)=>l0(me,ud(ve)),qi=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const ql=({exercise:me,globalSetting:ve,loading:le,dispatch:dt})=>{const{workSetting:Dt,commonHeader:_e}=me,Wt=(0,ye.useParams)();Wt.category=Wt.categoryId;const[at,Oe]=(0,a.useState)(!1),[Pe,xn]=(0,a.useState)(0),[jn,Vn]=(0,a.useState)(0),[an,wn]=(0,a.useState)(!1),[aa,pa]=(0,a.useState)({}),[$n,Wn]=(0,a.useState)(!1),[Qa,On]=(0,a.useState)([]),[ga,Yt]=(0,a.useState)([]),[da,oa]=(0,a.useState)([]),[Ta,Jt]=(0,a.useState)([]),[va,ra]=(0,a.useState)([]);let[ir,eo]=(0,a.useState)({select_appraise:!1,sealed_review:!1,review_type:0,end_time:""});(0,a.useEffect)(()=>{var Oa;!(0,bt.aN)()&&!((Oa=Dt==null?void 0:Dt.exercise)!=null&&Oa.is_creator)&&Oe(!0)},[Dt]),(0,a.useEffect)(()=>{Pr()},[_e]);const Pr=()=>qi(void 0,null,function*(){wn(!0);const Oa=yield(0,fe.ZP)(`/api/exercises/${Wt==null?void 0:Wt.categoryId}/distinguish_exercise_setting.json`,{method:"get"});Object.keys(ir).forEach(Fr=>{ir[Fr]=Oa==null?void 0:Oa[Fr]}),console.log(Oa,"res"),pa(Pl({},Oa)),ra((Oa==null?void 0:Oa.exercise_questions)||[]),fa(Pl({},Oa)),Yt((Oa==null?void 0:Oa.course_review_teachers)||[]),eo($o(Pl({},ir),{select_appraise:!!Oa.end_time})),xn((Oa==null?void 0:Oa.total)||0),Vn((Oa==null?void 0:Oa.finish_total)||0),wn(!1),za("")}),Dr=()=>{const Oa=JSON.parse(JSON.stringify(ir));if(!Oa.select_appraise){Pr();return}if(!Oa.end_time){oe.ZP.warning("\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");return}if(!Oa.review_type&&!Ta.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if(Oa.review_type&&!va.some(Fr=>!!Fr.appraise_teachers.length)){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}Oa.review_type===0&&(Oa.exercises=Ta==null?void 0:Ta.map(Fr=>{var xr;return{id:Fr.id,total:Fr.total,finish_total:Fr.finish_total,unfinished_total:Fr.unfinished_total,appraise_teacher_ids:(xr=Fr==null?void 0:Fr.appraise_teachers)==null?void 0:xr.map(qa=>({id:qa.id}))}})),Oa.review_type===1&&(Oa.exercise_questions=va==null?void 0:va.map(Fr=>{var xr;return{id:Fr.id,total:Fr.total,question_id:Fr.question_id,appraise_teacher_ids:(xr=Fr==null?void 0:Fr.appraise_teachers)==null?void 0:xr.map(qa=>({id:qa.id,message_status:qa.message_status}))}})),delete Oa.select_appraise,Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,closable:!0,width:650,title:"\u63D0\u793A",content:Ni.createElement("div",null,Ni.createElement("div",null,"\u4E3A\u786E\u4FDD\u96C6\u4E2D\u9605\u5377\u6A21\u5F0F\u8BC4\u5206\u7ED3\u679C\u7684\u51C6\u786E\u6027\uFF0C\u4FDD\u5B58\u8BC4\u9605\u8BBE\u7F6E\u4E4B\u540E\uFF0C\u672C\u573A\u8003\u8BD5\u5C06",Ni.createElement("span",{style:{color:"#FA6400"}},"\u7981\u6B62"),"\u8FDB\u884C\u4EE5\u4E0B\u64CD\u4F5C\uFF1A"),Ni.createElement("div",{style:{padding:10,marginTop:5,background:"#F6F7F9"}},"1.\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5",Ni.createElement("br",null),"2.\u4FEE\u6539\u672C\u573A\u8003\u8BD5\u7ED3\u675F\u65F6\u95F4",Ni.createElement("br",null),"3.\u5F00\u542F\u8865\u8003",Ni.createElement("br",null),"4.\u7F16\u8F91\u8BD5\u5377"),Ni.createElement("div",{className:"c-grey-999",style:{marginTop:10,color:"#FA6A0A",display:"flex",alignItems:"center"}},Ni.createElement(b.Z,{style:{marginRight:3}})," ",Ni.createElement("span",null,"\u6CE8\u610F\uFF1A\u5982\u9700\u53D1\u5E03\u65B0\u73ED\u7EA7\u8003\u8BD5\uFF0C\u8BF7\u521B\u5EFA\u65B0\u8BD5\u5377\u540E\u53D1\u5E03"))),onOk:()=>{Qt(Oa)}})},Qt=Oa=>qi(void 0,null,function*(){wn(!0);const Fr=yield(0,fe.ZP)(`/api/exercises/${Wt==null?void 0:Wt.categoryId}/appraise_settings.json`,{method:"post",body:Oa});if(wn(!1),Fr.status===0){oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),za(""),Pr(),dt({type:"exercise/getCommonHeader",payload:Pl({},Wt)});return}}),tt=(Oa,Fr)=>{const xr=Math.floor(Oa/Fr);let qa=Oa%Fr;const ea=[];for(let Ua=0;Ua0?1:0)),qa--;return ea},ka=Oa=>{var Fr;if(Oa[0]){let xr=[];Ta.forEach(ea=>xr=xr.concat(ea.appraise_teachers));let qa=ga.filter(ea=>xr.every(Ua=>Ua.id!==ea.id));console.log(qa,"newItems"),oa([...qa]),Wn(Oa)}if(!Oa[0]){let xr=[];xr=xr.concat(((Fr=va==null?void 0:va[Oa[1]])==null?void 0:Fr.appraise_teachers)||[]);let qa=ga.filter(ea=>xr.every(Ua=>Ua.id!==ea.id));oa([...qa]),Wn(Oa)}},fa=Oa=>{if(Oa!=null&&Oa.start_appraise){Jt((Oa==null?void 0:Oa.exercises)||[]);return}let Fr=Oa==null?void 0:Oa.exercises;const xr=tt(Oa==null?void 0:Oa.total,Fr.length),qa=tt(Oa==null?void 0:Oa.finish_total,Fr.length);xr.forEach((ea,Ua)=>{Fr[Ua].total=ea}),qa.forEach((ea,Ua)=>{Fr[Ua].finish_total=ea,Fr[Ua].unfinished_total=Fr[Ua].total-Fr[Ua].finish_total}),Fr=Fr.filter(ea=>ea.total>0),Jt(JSON.parse(JSON.stringify(Fr)))},ja=()=>{if(!Qa.length){oe.ZP.warning("\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4F4D\u8BC4\u9605\u6559\u5E08");return}if($n[0]){if($n[1]===null){const Oa=da.filter(ea=>Qa.includes(ea.id));let Fr=[...Ta,...Oa==null?void 0:Oa.map(ea=>({appraise_teachers:[ea],total:0,finish_total:0,unfinished_total:0}))];const xr=tt(Pe,Fr.length),qa=tt(jn,Fr.length);xr.forEach((ea,Ua)=>{Fr[Ua].total=ea}),qa.forEach((ea,Ua)=>{Fr[Ua].finish_total=ea,Fr[Ua].unfinished_total=Fr[Ua].total-Fr[Ua].finish_total}),Fr=Fr.filter(ea=>ea.total>0),Jt(JSON.parse(JSON.stringify(Fr))),Wn(!1)}if($n[1]!==null){const Oa=da.filter(xr=>Qa.includes(xr.id));let Fr=[];Ta.forEach((xr,qa)=>{if($n[1]===qa){Fr.push($o(Pl({},xr),{appraise_teachers:[...xr.appraise_teachers,...Oa]}));return}Fr.push(xr)}),Jt(Fr),Wn(!1)}}if(!$n[0]&&$n[1]!==null){let Oa=da.filter(xr=>Qa.includes(xr.id));Oa=Oa.map(xr=>$o(Pl({},xr),{message_status:aa!=null&&aa.start_appraise?1:0}));let Fr=[];va.forEach((xr,qa)=>{if($n[1]===qa){Fr.push($o(Pl({},xr),{appraise_teachers:[...xr.appraise_teachers,...Oa]}));return}Fr.push(xr)}),ra(Fr),Wn(!1)}},vr=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Oa,Fr,xr)=>xr+1,width:70},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",dataIndex:"appraise_teachers",className:Ii.padding,render:(Oa,Fr,xr)=>Ni.createElement("span",{className:Ii.tagWrap},Ni.createElement("div",null,Oa==null?void 0:Oa.map(qa=>Ni.createElement("div",{className:Ii.tag,key:qa.id},Ni.createElement("b",{title:qa.name},qa.name),(qa==null?void 0:qa.disabled)!==!0&&!at&&Ni.createElement("span",{onClick:ea=>{const Ua=Oa.filter(ta=>ta.id!==qa.id),Ca=Ta.map((ta,Ba)=>Ba===xr?$o(Pl({},ta),{appraise_teachers:Ua}):ta);Ua.length?Jt(Ca):Fe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5220\u9664\u6B64\u6559\u5E08\uFF0C\u8BD5\u5377\u5C06\u91CD\u65B0\u5747\u5206\u7ED9\u5176\u4ED6\u8BC4\u9605\u6559\u5E08\uFF1B\u5982\u9700\u6DFB\u52A0\u6307\u5B9A\u6559\u5E08\uFF0C\u8BF7\u70B9\u51FB\u201C+\u8BC4\u9605\u6559\u5E08\u201D\u6309\u94AE\u3002",onOk:()=>{const ta=Ta==null?void 0:Ta.filter(($a,mr)=>mr!==xr),Ba=tt(Pe,ta.length),qn=tt(jn,ta.length);Ba.forEach(($a,mr)=>{ta[mr].total=$a}),qn.forEach(($a,mr)=>{ta[mr].finish_total=$a,ta[mr].unfinished_total=ta[mr].total-ta[mr].finish_total}),Jt(JSON.parse(JSON.stringify(ta)))}})}},Ni.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Ni.createElement("span",{onClick:()=>ka([!0,xr]),style:{fontSize:14,fontWeight:400},className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}," \u6DFB\u52A0\u5171\u8BC4\u6559\u5E08"))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}],Sa=[{title:"\u5E8F\u53F7",dataIndex:"index",align:"center",render:(Oa,Fr,xr)=>xr+1,width:70},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",align:"center",width:100},{title:"\u8BC4\u9605\u6559\u5E08",align:"center",className:Ii.padding,dataIndex:"appraise_teachers",render:(Oa,Fr,xr)=>Ni.createElement("span",{className:Ii.tagWrap},Ni.createElement("div",null,Oa==null?void 0:Oa.map(qa=>Ni.createElement("div",{className:Ii.tag,key:qa.id},Ni.createElement("b",{title:qa.name},qa.name),(qa==null?void 0:qa.disabled)!==!0&&!at&&Ni.createElement("span",{onClick:()=>{const ea=Oa.filter(Ca=>Ca.id!==qa.id),Ua=va.map((Ca,ta)=>ta===xr?$o(Pl({},Ca),{appraise_teachers:ea}):Ca);ra(Ua)}},Ni.createElement("i",{className:"iconfont icon-guanbi7"}))))),!at&&Ni.createElement("span",{onClick:()=>ka([!1,xr]),className:"iconfont c-gcrz-primary current icon-tianjiatimu ml3"}))},{title:"\u603B\u6570\u91CF",align:"center",dataIndex:"total",width:90},{title:"\u5DF2\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"finish_total",width:100},{title:"\u5F85\u8BC4\u9605\u6570\u91CF",align:"center",dataIndex:"unfinished_total",width:100}];(0,a.useEffect)(()=>{za("\u8868\u5355\u672A\u4FDD\u5B58")},[ir]);const Xr=Oa=>{Oa.preventDefault(),Oa.returnValue=""},za=(Oa="")=>{dt({type:"exercise/setActionTabs",payload:{key:Oa}})};return Ni.createElement("section",{className:Ii.form,style:{padding:"30px 50px",marginBottom:"0px"}},Ni.createElement(yt.Z,{spinning:an},Ni.createElement("div",{className:Ii.title},"\u96C6\u4E2D\u8BC4\u9605",Ni.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5F53\u5B58\u5728\u5B66\u751F\u5DF2\u4EA4\u5377\u3001\u8003\u8BD5\u72B6\u6001\u4E3A\u201C\u5DF2\u622A\u6B62\u201D\uFF0C\u4E14\u8BD5\u5377\u5305\u542B\u586B\u7A7A\u3001\u7B80\u7B54\u3001\u7F16\u7A0B\u3001\u7A0B\u5E8F\u586B\u7A7A\u3001\u5B9E\u8BAD\u9898\u4EFB\u610F\u9898\u578B\u65F6\uFF0C\u65B9\u53EF\u5F00\u542F\u96C6\u4E2D\u8BC4\u9605\uFF09")),Ni.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px"}},Ni.createElement(Re.default,{checked:ir.select_appraise,disabled:at||!(aa!=null&&aa.can_open_appraise&&!(aa!=null&&aa.end_time)),onChange:Oa=>{ir.select_appraise=Oa.target.checked,eo(Object.assign({},ir))}}),Ni.createElement("span",{style:{color:"#000",fontSize:"14px",marginLeft:"10px"}},"\u96C6\u4E2D\u9605\u5377"),Ni.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u5F00\u542F\u96C6\u4E2D\u9605\u5377\u540E\u65E0\u6CD5\u5173\u95ED\uFF09"),ir.select_appraise&&Ni.createElement("div",{style:{marginTop:"15px",marginLeft:30}},Ni.createElement("span",{style:{color:"#666666",marginRight:"20px"}},Ni.createElement("span",{style:{color:"red"}},"*"),"\u622A\u6B62\u65F6\u95F4"),Ni.createElement(Fn.default,{style:{width:234},size:"large",placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Ze()((0,ue.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:at,allowClear:!1,value:ir.end_time?Ze()(ir.end_time):"",disabledDate:Ot.Q8,disabledTime:Oa=>(0,Ot.d0)(Oa),onChange:(Oa,Fr)=>{ir.end_time=Fr,eo(Object.assign({},ir))}}))),ir.select_appraise&&Ni.createElement("div",null,Ni.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Ni.createElement(Re.default,{checked:ir.sealed_review,disabled:at||!(aa!=null&&aa.change_sealed_review),onChange:Oa=>{ir.sealed_review=Oa.target.checked,eo(Object.assign({},ir))}}),Ni.createElement("span",{style:{marginLeft:"10px",fontSize:"14px",color:"#000"}},"\u5C01\u5377\u8BC4\u9605"),Ni.createElement("span",{style:{color:"#666",marginLeft:"5px"}},"\uFF08\u9009\u4E2D\uFF0C\u6559\u5E08\u5728\u96C6\u4E2D\u8BC4\u9605\u754C\u9762\u4E0D\u663E\u793A\u5B66\u751F\u4FE1\u606F\uFF09")),Ni.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:1}},Ni.createElement("div",{style:{color:"#333333",fontSize:14,fontWeight:600,marginBottom:20}},"\u8BC4\u9605\u6A21\u5F0F",Ni.createElement("span",{style:{fontWeight:400,fontSize:14,color:"#666"}},"\uFF08\u8BC4\u9605\u6A21\u5F0F\u5F00\u542F\u540E\u4E0D\u53EF\u66F4\u6539\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C\uFF09")),Ni.createElement(be.ZP.Group,{value:ir.review_type,disabled:at||!!(aa!=null&&aa.end_time),style:{marginLeft:30},onChange:Oa=>{ir.review_type=Oa.target.value,eo(Object.assign({},ir))}},Ni.createElement(be.ZP,{value:0},Ni.createElement("span",{style:{color:"#000"}},"\u8BD5\u5377\u6A21\u5F0F"),Ni.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5B66\u751F\u8BD5\u5377\u5C06\u5747\u5300\u5206\u914D\u7ED9\u8BC4\u9605\u6559\u5E08\uFF0C\u65E0\u6CD5\u5747\u5206\u591A\u51FA\u7684\u8BD5\u5377\u968F\u673A\u5206\u914D\uFF09")),Ni.createElement(be.ZP,{style:{marginLeft:"50px"},value:1},Ni.createElement("span",{style:{color:"#000"}},"\u8BD5\u9898\u6A21\u5F0F"),Ni.createElement("span",{style:{color:"#666",fontWeight:400,fontSize:14}},"\uFF08\u5C06\u5355\u4E2A\u8BD5\u9898\u6307\u5B9A\u7ED9\u591A\u4E2A\u6559\u5E08\u5171\u540C\u8BC4\u9605\uFF09"))),Ni.createElement(re.Z,{style:{width:"100%",marginTop:"15px"},align:"middle"},Ni.createElement("div",{style:{color:"#666666",marginRight:"20px"}},Ni.createElement("span",{style:{color:"red"}},"*"),"\u8BC4\u9605\u6559\u5E08"),ir.review_type===0&&Ni.createElement("div",{style:{flex:1}},Ta.length>0&&Ni.createElement(z.default,{bordered:!0,className:"mb20",pagination:!1,dataSource:Ta,columns:vr}),(aa==null?void 0:aa.start_appraise)===!1&&!at&&Ni.createElement("div",{onClick:()=>ka([!0,null]),style:{display:Pe==1&&(Ta==null?void 0:Ta.length)===1&&"none",width:"124px",height:"38px",lineHeight:"38px",border:"1px #3061D0 solid",borderRadius:"2px",textAlign:"center",cursor:"pointer",color:"#3061D0",background:"#fff"}},"\u6DFB\u52A0\u8BC4\u9605\u6559\u5E08")),ir.review_type===1&&Ni.createElement("div",{style:{flex:1}},va.length>0&&Ni.createElement(z.default,{bordered:!0,pagination:!1,rowKey:"id",dataSource:va,columns:Sa}))))),((0,bt.aN)()||!!aa.exercise_author)&&Ni.createElement(Ce.ZP,{type:"primary",style:{width:"138px",marginTop:"30px"},size:"large",onClick:Dr},"\u4FDD\u5B58")),Ni.createElement(Fe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:!!$n,title:($n==null?void 0:$n[1])===null?"\u6307\u5B9A\u8BC4\u9605\u6559\u5E08":"\u5171\u540C\u8BC4\u9605\u6559\u5E08",bodyStyle:{padding:"0 16px"},okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",width:"800px",onOk:ja,afterClose:()=>{On([])},onCancel:()=>{Wn(!1)}},Ni.createElement(z.default,{pagination:{hideOnSinglePage:!0},bordered:!0,rowSelection:{type:"checkbox",onChange:Oa=>{On(Oa)}},rowKey:"id",dataSource:da,columns:[{title:"\u6559\u5E08\u59D3\u540D",align:"center",dataIndex:"name",width:"25%"},{title:"\u624B\u673A",align:"center",dataIndex:"phone",width:"18%"},{title:"\u90AE\u7BB1",align:"center",dataIndex:"email",width:"28%"},{title:"\u89D2\u8272",align:"center",dataIndex:"identity"}]})))};var bu=(0,ye.connect)(({exercise:me,loading:ve,globalSetting:le})=>({exercise:me,loading:ve.effects,globalSetting:le}))(ql),dl=x(59301),Ts=Object.defineProperty,sc=Object.defineProperties,ks=Object.getOwnPropertyDescriptors,Gc=Object.getOwnPropertySymbols,wc=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,s0=(me,ve,le)=>ve in me?Ts(me,ve,{enumerable:!0,configurable:!0,writable:!0,value:le}):me[ve]=le,c0=(me,ve)=>{for(var le in ve||(ve={}))wc.call(ve,le)&&s0(me,le,ve[le]);if(Gc)for(var le of Gc(ve))Ls.call(ve,le)&&s0(me,le,ve[le]);return me},P0=(me,ve)=>sc(me,ks(ve)),$0=(me,ve,le)=>new Promise((dt,Dt)=>{var _e=Oe=>{try{at(le.next(Oe))}catch(Pe){Dt(Pe)}},Wt=Oe=>{try{at(le.throw(Oe))}catch(Pe){Dt(Pe)}},at=Oe=>Oe.done?dt(Oe.value):Promise.resolve(Oe.value).then(_e,Wt);at((le=le.apply(me,ve)).next())});const b0=({exercise:me,globalSetting:ve,loading:le,dispatch:dt})=>{var Dt,_e;const{workSetting:Wt,commonHeader:at}=me,[Oe]=de.default.useForm(),Pe=(0,ye.useParams)();Pe.category=Pe.categoryId;const[xn,jn]=(0,a.useState)(!1),[Vn,an]=(0,a.useState)(!1),wn={forbid_screen:!1,screen_key:((Dt=Wt==null?void 0:Wt.exercise)==null?void 0:Dt.screen_key)||"",use_white_list:!1,white_list:[],net_limit:!1,net_limit_list:""};let[aa,pa]=(0,a.useState)(wn);const[$n,Wn]=(0,a.useState)(!1);(0,a.useEffect)(()=>{var Jt,va;Qa(),(Jt=Wt==null?void 0:Wt.exercise)!=null&&Jt.id&&!(0,bt.aN)()&&!((va=Wt==null?void 0:Wt.exercise)!=null&&va.is_creator)&&jn(!0)},[me==null?void 0:me.workSetting]),(0,a.useEffect)(()=>{((at==null?void 0:at.exercise_status)==="5"||at!=null&&at.appraise_label)&&jn(!0)},[at]),(0,a.useEffect)(()=>{},[]),(0,a.useEffect)(()=>{me.actionTabs.key==="insterIp"&&(me.actionTabs.data.ip?aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],...me.actionTabs.data.ip]:aa[me.actionTabs.type]=[...aa[me.actionTabs.type]||[],`${me.actionTabs.data.startIP},${me.actionTabs.data.startIP.substring(0,me.actionTabs.data.startIP.lastIndexOf("."))+"."+me.actionTabs.data.endIP}`],On(aa),Wn(!0))},[me.actionTabs]);const Qa=()=>{const Jt=JSON.parse(JSON.stringify(Wt));Object.keys(aa).forEach(va=>{var ra;aa[va]=(ra=Jt==null?void 0:Jt.exercise)==null?void 0:ra[va]}),On(P0(c0({},aa),{ip_limit:aa.ip_limit!=="no"}))},On=Jt=>{pa(Jt),Oe.setFieldsValue(Jt)};function ga(Jt=""){if(!Jt)return!1;const va=Jt.split(` `),ra=/^(http|https):\/\//;for(let ir=0;ir{var va,ra;if(Jt.categoryId=Pe.categoryId,Jt.forbid_screen&&!(Jt!=null&&Jt.screen_key.replace(/\s+/g,""))){oe.ZP.warning("\u8BF7\u586B\u5199\u89E3\u9501\u5207\u5C4F\u7801");return}if(Jt!=null&&Jt.use_white_list&&!((va=Jt==null?void 0:Jt.white_list)!=null&&va.length)){oe.ZP.warning("\u8BF7\u9009\u62E9\u767D\u540D\u5355\u7A0B\u5E8F");return}if(Jt!=null&&Jt.net_limit){if(Jt!=null&&Jt.net_limit_list&&!((ra=Jt==null?void 0:Jt.net_limit_list)!=null&&ra.replace(/\s+/g,""))){oe.ZP.warning("\u7F51\u7EDC\u9650\u5236\u4E2D\uFF0C\u4E0D\u5141\u8BB8\u5168\u90E8\u4E3A\u7A7A\u683C");return}if(ga(Jt==null?void 0:Jt.net_limit_list)){oe.ZP.warning("\u7F51\u7EDC\u9650\u5236\u4E2D\uFF0C\u57DF\u540D\u4E0D\u9700\u8981\u586B\u5199http/https\u7684\u524D\u7F00\uFF0C\u8BF7\u4FEE\u6539");return}}da(Jt)},da=Jt=>$0(void 0,null,function*(){an(!0);const va=yield(0,fe.ZP)(`/api/exercises/${Pe==null?void 0:Pe.categoryId}/client_cheating_settings.json`,{method:"post",body:Jt});an(!1),va.status===0&&(oe.ZP.success("\u4FDD\u5B58\u6210\u529F"),dt({type:"exercise/getCommonHeader",payload:c0({},Pe)}),dt({type:"exercise/getWorkSetting",payload:c0({},Pe)}),Wn(!1))});(0,a.useEffect)(()=>{oa($n?"\u8868\u5355\u672A\u4FDD\u5B58":"")},[$n]);const oa=(Jt="")=>{dt({type:"exercise/setActionTabs",payload:{key:Jt}})},Ta=[{value:"360huabao",label:"360\u753B\u62A5"},{value:"360se",label:"360\u6D4F\u89C8\u5668"},{value:"chrome",label:"google\u6D4F\u89C8\u5668"},{value:"Code",label:"vscode\u7F16\u8F91\u5668"},{value:"msedge",label:"edge\u6D4F\u89C8\u5668"},{value:"QQ",label:"qq\u6D4F\u89C8\u5668"},{value:"SystemSettings",label:"\u7CFB\u7EDF\u8BBE\u7F6E"},{value:"WeChat",label:"\u5FAE\u4FE1"},{value:"WindowsTerminal",label:"\u7EC8\u7AEF"},{value:"WINWORD",label:"\u5FAE\u8F6FOffice"},{value:"Taskmgr",label:"\u4EFB\u52A1\u7BA1\u7406\u5668"},{value:"EXCEL",label:"Microsoft Excel"},{value:"POWERPNT",label:"Microsoft PowerPoint"},{value:"firefox",label:"Firefox"},{value:"DingTalk",label:"\u9489\u9489"}];return dl.createElement("section",{className:Ii.formDom,style:{padding:"30px 50px"}},dl.createElement(yt.Z,{spinning:le["exercise/getWorkSetting"]||Vn},dl.createElement(de.default,{form:Oe,name:"basicForm",initialValues:wn,colon:!1,onValuesChange:(Jt,va)=>{console.log("onValuesChange",va);let ra=va;for(const ir in Jt)ir=="forbid_screen"&&va[ir]&&at!=null&&at.have_unity_3d_shixun&&(ra.forbid_screen=!1,On(ra),Fe.default.confirm({title:"\u63D0\u793A",width:518,icon:null,centered:!0,content:dl.createElement("div",null,`\u8BD5\u5377\u4E2D\u7684${at==null?void 0:at.unity_3d_shixun}\u9700\u8981\u6253\u5F00\u7B2C\u4E09\u65B9\u8F6F\u4EF6\u5BA2\u6237\u7AEF\uFF0C\u65E0\u6CD5\u5F00\u542F\u201C\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377\u201D\u8BBE\u7F6E\u9879`),cancelButtonProps:{className:Ii.edit},okText:"\u6211\u77E5\u9053\u4E86",cancelText:"\u4FEE\u6539\u8BD5\u5377",onCancel:()=>{ye.history.push(at!=null&&at.is_random?`/classrooms/${Pe.coursesId}/exercise/${Pe.categoryId}/random/edit?type=settings`:`/classrooms/${Pe.coursesId}/exercise/add/${Pe.categoryId}?random=false&type=2`)}})),(ir=="ip_bind"||ir=="ip_limit")&&!va.is_locked&&va[ir]&&(ra.is_locked=!0),ir=="open_camera"&&(ra.photo_count=ra.photo_count||5);On(ra),Wn(!0)},onFinish:Yt},dl.createElement("div",{className:Ii.title},"\u5BA2\u6237\u7AEF\u8BBE\u7F6E"),dl.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px"}},dl.createElement("div",{style:{color:"#000"}},"1\u3001\u82E5\u672A\u8BBE\u7F6E\u5BA2\u6237\u7AEF\u7684\u9632\u4F5C\u5F0A\u89C4\u5219\uFF0C\u652F\u6301\u5B66\u751F\u7F51\u9875\u7AEF\u4E0E\u5BA2\u6237\u7AEF\u540C\u65F6\u6309\u7167\u540C\u4E00\u5957\u89C4\u5219\u8FDB\u884C\u8003\u8BD5\uFF0C\u8003\u8BD5\u7684\u6570\u636E\u4E24\u7AEF\u540C\u6B65\u3002\u82E5\u8BBE\u7F6E\u5BA2\u6237\u7AEF\u8003\u8BD5\u4E0B\u7684\u4EFB\u610F\u89C4\u5219\uFF0C\u5219\u5224\u5B9A\u4E3A\u5F00\u542F\u5BA2\u6237\u7AEF\u8BBE\u7F6E\u7684\u8003\u8BD5\u3002"),dl.createElement("div",{style:{color:"#000",marginTop:"20px"}},"2\u3001\u5F00\u542F\u5BA2\u6237\u7AEF\u8BBE\u7F6E\u7684\u8003\u8BD5\uFF0C\u5B66\u751F\u53EA\u80FD\u5728Windows\u7CFB\u7EDF\u7684\u5BA2\u6237\u7AEF\u8FDB\u884C\u8003\u8BD5\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5\u8003\u8BD5\u7CFB\u7EDF\u5BA2\u6237\u7AEF\uFF0C\u70B9\u51FB",dl.createElement("a",{onClick:()=>{window.open("/download")}},"\u3010\u4E0B\u8F7D\u5BA2\u6237\u7AEF\u3011"))),dl.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},dl.createElement(de.default.Item,{name:"forbid_screen",valuePropName:"checked",style:{marginBottom:0}},dl.createElement(Re.default,{disabled:xn},dl.createElement(dl.Fragment,null,dl.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7981\u6B62\u5207\u5C4F")))),aa.forbid_screen&&dl.createElement(re.Z,{className:Ii.unlockKeyWrapper,align:"middle"},dl.createElement("div",{style:{color:"#666666"}},"\u89E3\u9501\u5207\u5C4F\u7801"),dl.createElement(De.Z,{title:"\u5982\u5B66\u751F\u9700\u89E3\u9664\u5207\u5C4F\u9650\u5236\uFF0C\u9700\u6559\u5E08\u8F93\u5165\u89E3\u9501\u7801\u89E3\u9664"},dl.createElement("i",{className:`iconfont icon-tishixiaowenhao ${Ii.title_icon}`,style:{cursor:"pointer",margin:"0 10px"}})),dl.createElement(de.default.Item,{name:"screen_key",style:{marginBottom:0}},dl.createElement(Se.default,{size:"large",className:Ii.unlockKeyInput,disabled:!0,placeholder:"\u8BF7\u8F93\u5165\u89E3\u9501\u5207\u5C4F\u7801"})),dl.createElement(pe.Z,null,!xn&&dl.createElement(Ce.ZP,{type:"link",onClick:()=>{Oe.setFieldsValue({screen_key:Math.floor(Math.random()*1e6).toString().padStart(6,"0")})}},"\u6362\u4E00\u6362")))),dl.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},dl.createElement(de.default.Item,{name:"use_white_list",valuePropName:"checked",style:{marginBottom:0}},dl.createElement(Re.default,{disabled:xn},dl.createElement(dl.Fragment,null,dl.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u8BBE\u7F6E\u767D\u540D\u5355\u7A0B\u5E8F")))),aa.use_white_list&&dl.createElement(re.Z,{className:Ii.unlockKeyWrapper,align:"middle"},dl.createElement(de.default.Item,{name:"white_list",style:{marginBottom:0,marginRight:10}},dl.createElement(dn.default,{mode:"tags",size:"large",disabled:xn,style:{width:1016},options:Ta})))),dl.createElement("div",{className:"ant-form-item",style:{background:"#F6F7F9",padding:"8px 30px",marginTop:"1px"}},dl.createElement(de.default.Item,{name:"net_limit",valuePropName:"checked",style:{marginBottom:0}},dl.createElement(Re.default,{disabled:xn},dl.createElement(dl.Fragment,null,dl.createElement("strong",{style:{fontSize:"14px",color:"#000"}},"\u7F51\u7EDC\u53EF\u8BBF\u95EE\u6E05\u5355")))),aa.net_limit&&dl.createElement(re.Z,{className:Ii.unlockKeyWrapper,align:"middle"},dl.createElement(de.default.Item,{name:"net_limit_list",style:{marginBottom:0}},dl.createElement(Se.default.TextArea,{rows:5,style:{width:1016},disabled:xn,placeholder:`\u652F\u6301 http\u548Cip\u4E24\u79CD\u65B9\u5F0F\uFF0C\u591A\u4E2Ahttp\uFF0Cip\u591A\u884C\u5C55\u793A\u5982\uFF1A www.educoder.net\uFF08\u57DF\u540D\u4E0D\u9700\u8981\u586B\u5199http/https\u524D\u7F00\uFF09 192.160.22.2 diff --git a/p__Classrooms__Lists__LearningPath__index.4daf5701.async.js b/p__Classrooms__Lists__LearningPath__index.b448105c.async.js similarity index 99% rename from p__Classrooms__Lists__LearningPath__index.4daf5701.async.js rename to p__Classrooms__Lists__LearningPath__index.b448105c.async.js index 4f39018556..b4fc96a44a 100644 --- a/p__Classrooms__Lists__LearningPath__index.4daf5701.async.js +++ b/p__Classrooms__Lists__LearningPath__index.b448105c.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[4928],{18785:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return de}});var a=l(54476),S=l(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},P=M,C=l(7657),_=function(J,re){return S.createElement(C.Z,(0,a.Z)({},J,{ref:re,icon:P}))},ue=S.forwardRef(_),de=ue},33853:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return de}});var a=l(54476),S=l(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},P=M,C=l(7657),_=function(J,re){return S.createElement(C.Z,(0,a.Z)({},J,{ref:re,icon:P}))},ue=S.forwardRef(_),de=ue},38819:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return de}});var a=l(54476),S=l(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},P=M,C=l(7657),_=function(J,re){return S.createElement(C.Z,(0,a.Z)({},J,{ref:re,icon:P}))},ue=S.forwardRef(_),de=ue},81032:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return we}});var a=l(59301),S=l(8591),M=l(38854),P=l(96640),C=l(44523),_=l(47141),ue=l(56102),de=l(18030),N={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},J=(ee,q,E)=>new Promise((w,b)=>{var I=T=>{try{O(E.next(T))}catch(A){b(A)}},L=T=>{try{O(E.throw(T))}catch(A){b(A)}},O=T=>T.done?w(T.value):Promise.resolve(T.value).then(I,L);O((E=E.apply(ee,q)).next())});function re(ee){if(isNaN(ee))return{minutes:"00",seconds:"00"};const q=new Date(ee*1e3).toISOString().substr(11,8);return{hour:q.substr(0,2),minutes:q.substr(3,2),seconds:q.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Y(ee,q){return ee-q}function o(ee){ee.sort(Y);let q=0;for(let E=0;E{},handlePlay:T=()=>{},handlePlayEnded:A=()=>{},autoPlay:Q=!1,onPlayEnded:ne=()=>{},isShowWaterMark:pe=!0},Ae)=>{var be;const Be=((be=q==null?void 0:q.split("."))==null?void 0:be.pop())==="flv",F=(0,a.useRef)(),Ge=(0,a.useRef)(),We=(0,a.useRef)(),Z=(0,a.useRef)(),he=(0,a.useRef)(),ie=(0,a.useRef)(),ye=(0,a.useRef)(),se=(0,a.useRef)(),ae=(0,a.useRef)(),ve=(0,a.useRef)(),Ue=(0,a.useRef)(),$e=(0,a.useRef)(),je=(0,a.useRef)(),Xe=(0,a.useRef)(),nt=navigator.userAgent.toLowerCase().match(G),Me=nt?nt[0]:"pc",He=(0,a.useRef)(!1),Qe=(0,_.eY)();let Je=0,et=0,B=0,y=null,s=!1,h=20,f=1,$=!1,d=!1,m=[];(0,a.useImperativeHandle)(Ae,()=>({getLastUpdatedTime:()=>F.current.currentTime,getDuration:()=>F.current.duration})),S.ZP.config({maxCount:1,getContainer:()=>We.current});const x=(0,a.useCallback)((_e,Oe=!1)=>{let xe={point:F.current.currentTime};y?(xe.log_id=y,xe.watch_duration=o(m),xe.total_duration=et):(I?(xe.video_id=parseInt(w,10),xe.course_id=I):xe.video_id=w,xe.duration=Je,xe.device=Me),Oe&&(xe.ed="1");function ot(){return J(this,null,function*(){$=!0,y=yield b==null?void 0:b(xe),$=!1,_e&&_e()})}ot()},[w,I]);(0,a.useEffect)(()=>{F.current&&(Z.current.style.display="none",he.current.style.display="block"),S.ZP.destroy();let _e=null;return P.Z.isSupported&&Be&&q&&(q==null?void 0:q.indexOf(".m3u8"))<0?(_e=P.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:q,muted:!1}),F.current&&(_e.attachMediaElement(F.current),_e.load())):F.current.setAttribute("src",q),R(),()=>{_e&&(_e.unload(),_e.pause(),_e.destroy(),_e=null)}},[F,Be,q]);function u(){F.current.paused?(Z.current.style.display="none",he.current.style.display="block"):(Z.current.style.display="block",he.current.style.display="none")}function R(){Ue.current.style.display="none",je.current.style.display="none",$e.current.style.display="none",F.current.muted||F.current.volume===0?Ue.current.style.display="block":F.current.volume>0&&F.current.volume<=.5?je.current.style.display="block":$e.current.style.display="block"}(0,a.useEffect)(()=>{const _e=document.getElementById("play"),Oe=document.querySelectorAll(".playback-icons use");function xe(){T(),L&&!He.current&&(F.current.currentTime=L),He.current=!0,m.push(F.current.currentTime),s||(s=!0,E&&x())}function ot(){return J(this,null,function*(){u(),m.push(F.current.currentTime),E&&x(()=>{y=null,B=0,s=!1,$=!1,d=!1,m=[],et=0,f=1},!0),ne()})}function _t(){ie.current.value=Math.round(F.current.currentTime),ye.current.value=Math.round(F.current.currentTime)}function j(){const Ie=re(Math.round(F.current.currentTime));ae.current.innerText=`${Ie.hour>0?Ie.hour+":":""}${Ie.minutes}:${Ie.seconds}`,ae.current.setAttribute("datetime",`${Ie.hour>0?" "+Ie.hour+" ":""}${Ie.minutes}m ${Ie.seconds}s`)}function bt(){var Ie,qe,Bt,pt,$t,Pt,St;const Ot=Math.round((Ie=F.current)==null?void 0:Ie.duration);(Bt=(qe=ie.current)==null?void 0:qe.setAttribute)==null||Bt.call(qe,"max",Ot),($t=(pt=ye.current)==null?void 0:pt.setAttribute)==null||$t.call(pt,"max",Ot);const tt=re(Ot);se.current&&(se.current.innerText=`${tt.hour>0?tt.hour+":":""}${tt.minutes}:${tt.seconds}`,(St=(Pt=se.current).setAttribute)==null||St.call(Pt,"datetime",`${tt.hour>0?" "+tt.hour+" ":""}${tt.minutes}m ${tt.seconds}s`))}function ct(){try{const Ie=Math.round(F.current.duration);ie.current.setAttribute("max",Ie),ye.current.setAttribute("max",Ie);const qe=re(Ie);se.current.innerText=`${qe.hour>0?qe.hour+":":""}${qe.minutes}:${qe.seconds}`,se.current.setAttribute("datetime",`${qe.hour>0?" "+qe.hour+" ":""}${qe.minutes}m ${qe.seconds}s`),_t(),j();const{width:Bt,height:pt,x:$t,y:Pt}=Ge.current.getBoundingClientRect();if($t<0||Pt<0||!Bt)return;if(!d){let St=F.current.currentTime,Ot=St-B;Math.abs(Ot)<10?(et+=Math.abs(Ot),B=St,$||et-f*h>=0&&(f++,m.push(B),E&&x())):(B=St,E&&x())}}catch(Ie){console.log(Ie)}}function vt(){d=!0}function it(){F.current.playing&&m.push(F.current.currentTime,B),B=F.current.currentTime,d=!1}function Rt(){Je=F.current.duration,Je<=20&&(h=Je/3),F.current.addEventListener("play",xe)}function Ft(Ie){Ie.preventDefault(),(0,de.vp)()?(F.current.style.width="100%",F.current.style.height="100%"):F.current.style.cssText=""}function Dt(){O()}function Ct(Ie){if(!ee){S.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const qe=Ie.target.dataset.seek?Ie.target.dataset.seek:Ie.target.value;F.current.currentTime=qe,ye.current.value=qe,ie.current.value=qe}function Kt(Ie){const qe=Math.round(Ie.offsetX/Ie.target.clientWidth*parseInt(Ie.target.getAttribute("max"),10));ie.current.setAttribute("data-seek",qe);const Bt=re(qe);ve.current.textContent=`${Bt.hour>0?Bt.hour+":":""}${Bt.minutes}:${Bt.seconds}`;const pt=F.current.getBoundingClientRect();ve.current.style.left=`${Ie.pageX-pt.left}px`}function zt(Ie){switch(Ie.code){case"Space":Ie.preventDefault(),De();break;case"ArrowRight":if(Ie.preventDefault(),!ee){S.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(F.current.currentTime>=F.current.duration)break;F.current.currentTime=parseInt(F.current.currentTime)+5,_t();break;case"ArrowLeft":if(Ie.preventDefault(),!ee){S.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(F.current.currentTime===0)break;F.current.currentTime=parseInt(F.current.currentTime)-5,_t();break;case"ArrowUp":Ie.preventDefault(),F.current.volume<1&&(F.current.volume=(parseInt(F.current.volume*10)+1)/10);break;case"ArrowDown":Ie.preventDefault(),F.current.volume>0&&(F.current.volume=(parseInt(F.current.volume*10)-1)/10);break}}return We.current.addEventListener((0,de.gH)(),Ft),F.current.addEventListener("canplay",Rt),F.current.addEventListener("ended",ot),F.current.addEventListener("seeking",vt),F.current.addEventListener("seeked",it),F.current.addEventListener("loadedmetadata",bt),ie.current.addEventListener("mousemove",Kt),ie.current.addEventListener("input",Ct),F.current.addEventListener("timeupdate",ct),F.current.addEventListener("pause",Dt),F.current.addEventListener("volumechange",R),document.addEventListener("keydown",zt),()=>{var Ie,qe,Bt,pt,$t,Pt,St,Ot,tt,dt,dn,K;(Ie=F.current)==null||Ie.removeEventListener("canplay",Rt),(qe=F.current)==null||qe.removeEventListener("play",xe),(Bt=F.current)==null||Bt.removeEventListener("ended",ot),(pt=F.current)==null||pt.removeEventListener("seeking",vt),($t=F.current)==null||$t.removeEventListener("seeked",it),(Pt=ie.current)==null||Pt.removeEventListener("mousemove",Kt),(St=ie.current)==null||St.removeEventListener("input",Ct),(Ot=F.current)==null||Ot.removeEventListener("timeupdate",ct),(tt=F.current)==null||tt.removeEventListener("pause",Dt),(dt=F.current)==null||dt.removeEventListener("loadedmetadata",bt),(dn=F.current)==null||dn.removeEventListener("volumechange",R),document.removeEventListener("keydown",zt),(K=F.current)!=null&&K.playing&&(m.push(B,F.current.currentTime),E&&x())}},[F,q]),(0,a.useEffect)(()=>{if(F.current.onended=()=>{A(F)},F.current.oncontextmenu=()=>!1,(q==null?void 0:q.indexOf(".m3u8"))>-1){if(F.current.canPlayType("application/vnd.apple.mpegurl"))F.current.src=q;else if(C.ZP.isSupported()){var _e=new C.ZP;_e.loadSource(q),_e.attachMedia(F.current)}}},[q]);const[W,ce]=(0,a.useState)(1),De=()=>{F.current.paused||F.current.ended?F.current.play():F.current.pause(),u()};function Fe(){F.current.muted=!F.current.muted,F.current.muted?(Xe.current.setAttribute("data-volume",volume.value),Xe.current.value=0):Xe.current.value=Xe.current.dataset.volume}return a.createElement("div",{style:{position:"relative"},ref:We},a.createElement("div",{ref:Ge,className:`${N.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${N.animate__loop}`},pe&&Qe?Qe.login:" "),a.createElement("div",{className:N.container},a.createElement("div",{className:N["video-container"],id:"video-container"},a.createElement("div",{className:N["playback-animation"],id:"playback-animation"},a.createElement("svg",{className:N["playback-icons"]},a.createElement("use",{className:"hidden",href:"#play-icon"}),a.createElement("use",{href:"#pause"}))),a.createElement("video",{className:N.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:F,autoPlay:Q}),a.createElement("div",{className:`${N["video-controls"]} `,id:"video-controls"},a.createElement("div",{className:N["bottom-controls"]},a.createElement("div",{className:N["left-controls"]},a.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:De},a.createElement("svg",{className:N["playback-icons"]},a.createElement("use",{ref:he,href:"#play-icon"}),a.createElement("use",{ref:Z,style:{display:"none"},href:"#pause"}))),a.createElement("div",{className:N.time},a.createElement("time",{id:"time-elapsed",ref:ae},"00:00"),a.createElement("span",null," / "),a.createElement("time",{id:"duration",ref:se},"00:00"))),a.createElement("div",{className:N["right-controls"]},ee&&a.createElement(M.Z,{placement:"top",overlayClassName:N.rateOverlay,getPopupContainer:_e=>_e.parentNode,menu:{items:[{key:"1",label:a.createElement("span",{onClick:()=>{ce(1),F.current.playbackRate=1}},"1.0x")},{key:"2",label:a.createElement("span",{onClick:()=>{ce(1.5),F.current.playbackRate=1.5}},"1.5x")},{key:"3",label:a.createElement("span",{onClick:()=>{ce(2),F.current.playbackRate=2}},"2.0x")}]}},a.createElement("div",{className:`${N.controlText} mr5`},"\u500D\u901F")),a.createElement(ue.CopyToClipboard,{text:q,onCopy:()=>S.ZP.success("\u590D\u5236\u6210\u529F")},a.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},a.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),a.createElement("div",{className:N["volume-controls"]},a.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:N["volume-button"],id:"volume-button",onClick:Fe},a.createElement("i",{ref:Ue,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:je,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:$e,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),a.createElement("input",{className:N.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Xe,style:{display:"none"},onClick:R})),a.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:N["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(We.current)}},a.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),a.createElement("div",{className:N["video-progress"]},a.createElement("progress",{ref:ye,value:"0",min:"0"}),a.createElement("input",{className:N.seek,ref:ie,value:"0",min:"0",type:"range",step:"1"}),a.createElement("div",{className:N["seek-tooltip"],ref:ve,id:"seek-tooltip"},"00:00"))))),a.createElement("svg",{style:{display:"none"}},a.createElement("defs",null,a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},91038:function(ut,Re,l){"use strict";l.r(Re),l.d(Re,{default:function(){return q}});var a=l(59301),S=l(92123),M=l(61621),P=l(43418),C={flex_box_center:"flex_box_center___yF0Vb",flex_space_between:"flex_space_between___vsNYO",flex_box_vertical_center:"flex_box_vertical_center___C4UqH",flex_box_center_end:"flex_box_center_end___EGtmE",flex_box_column:"flex_box_column___uX9g9",bg:"bg___sRga2",menu:"menu___s8xQl",desc:"desc___poG1Z",listItem:"listItem___ml9kN",info:"info___Z8R2Z",add:"add___jH8te",addForm:"addForm___O999t",attendanceCode:"attendanceCode___hPKyl",signInStatus:"signInStatus___usMPT",colorE02020:"colorE02020___hZvSz",color0152d9:"color0152d9___RgXzd",colorFA6400:"colorFA6400___g2yU6",iframe:"iframe___HRzMh"},_=l(47141);const ue={init:[{stage_name:"\u521D\u59CB\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{discipline_name:"\u5224\u65AD\u8BED\u53E5",shixun_count:"2",video_count:"2",parent:2,key:"22"},{shixun_name:"if\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"221"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08if\u591A\u91CD\u9009\u62E9\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/23xkyrmn/challenges",parent:"22",key:"222"},{shixun_name:"switch\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"223"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"22",key:"224"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"23",key:"231"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"23",key:"232"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"23",key:"233"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"23",key:"234"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"32",key:"321"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"32",key:"322"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"32",key:"323"},{discipline_name:"\u51FD\u6570\u91CD\u8F7D",shixun_count:"1",video_count:"1",parent:3,key:"33"},{shixun_name:"\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"33",key:"331"},{shixun_name:"C++\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/6hbqpv7e/challenges",parent:"33",key:"332"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"34"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"34",key:"341"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"34",key:"342"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"34",key:"343"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{discipline_name:"\u6307\u9488",shixun_count:"3",video_count:"1",parent:6,key:"62"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"62",key:"621"},{shixun_name:"\u6307\u9488\u7EC3\u624B-\u5B57\u7B26\u4E32\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lkn6xuc3/challenges",parent:"62",key:"622"},{shixun_name:"\u6307\u9488\u6570\u7EC4-\u5355\u8BCD\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/vtk73ny2/challenges",parent:"62",key:"623"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"62",key:"624"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u591A\u6001\u6027",parent:0,key:8},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:8,key:"81"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"81",key:"812"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"81",key:"813"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:9},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"3",parent:9,key:"91"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/459f2693af7b48f8b854033e666a77f8/f5b140c5adc0f24ac56b72492373306a-hd.m3u8",parent:"91",key:"912"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/ccea50bc15d2468aab99aff19eb69e16/a5ecac1ee0c07360d07880187a787085-hd.m3u8",parent:"91",key:"913"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"91",key:"914"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:10},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"3",parent:10,key:"101"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/a5887adcc34445bba695de7dcadb781e/0fb3a6a6ad38f7a107054c5f2f0de262-hd.m3u8",parent:"101",key:"1013"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"101",key:"1014"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA11",parent:0,key:1911},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"1",video_count:"2",parent:1911,key:9111},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)22222",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:9111,key:"91111"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"9111",key:"91112"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"9111",key:"91113"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:12},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:12,key:"121"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"121",key:"1211"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"121",key:"1212"}].map(E=>(E.parent=Number(E.parent),E.key=Number(E.key),E)),review:[{stage_name:"\u590D\u4E60\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:1},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:1,key:"11"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"11",key:"111"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"11",key:"112"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:1,key:"12"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"12",key:"121"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"12",key:"122"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"12",key:"123"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"12",key:"124"},{stage_name:"\u51FD\u6570",parent:0,key:2},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:2,key:"21"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"21",key:"212"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"21",key:"213"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:2,key:"22"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"22",key:"221"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"22",key:"222"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"22",key:"223"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"23",key:"231"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"23",key:"232"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"23",key:"233"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:3},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"31",key:"311"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"31",key:"312"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"31",key:"313"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:4},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"41",key:"411"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"41",key:"412"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:5},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"51",key:"511"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"51",key:"512"},{discipline_name:"\u6307\u9488",shixun_count:"1",video_count:"1",parent:5,key:"52"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"52",key:"521"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"52",key:"522"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:6},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"0",video_count:"2",parent:6,key:"61"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"61",key:"611"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"61",key:"612"},{stage_name:"\u591A\u6001\u6027",parent:0,key:7},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:7,key:"71"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"71",key:"713"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"81",key:"812"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"2",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"101",key:"1013"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(E=>(E.parent=Number(E.parent),E.key=Number(E.key),E)),before:[{stage_name:"\u8003\u524D\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"32",key:"321"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"32",key:"322"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"32",key:"323"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"0",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"0",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"1",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(E=>(E.parent=Number(E.parent),E.key=Number(E.key),E))};var de=l(86541),N=l(81032),J=Object.defineProperty,re=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,G=(E,w,b)=>w in E?J(E,w,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[w]=b,we=(E,w)=>{for(var b in w||(w={}))Y.call(w,b)&&G(E,b,w[b]);if(re)for(var b of re(w))o.call(w,b)&&G(E,b,w[b]);return E};const ee=({classroomList:E,loading:w,dispatch:b})=>{const[I]=(0,S.useSearchParams)(),[L]=(0,a.useState)(we({},(0,S.useParams)())),[O,T]=(0,a.useState)("init"),[A,Q]=(0,a.useState)(""),ne=(0,a.useRef)();(0,a.useEffect)(()=>{const Be=I.get("tabId");Be&&(T(Be),L.status=Be)},[L.categoryId,I.get("tabId")]);const pe=Be=>{T(Be.key)},Ae=[{name:"\u521D\u59CB\u5B66\u4E60",id:"init"},{name:"\u590D\u4E60\u5B66\u4E60",id:"review"},{name:"\u8003\u524D\u5B66\u4E60",id:"before"}],be=Be=>{Be.data.type==="playVideo"&&Q(Be.data.url)};(0,a.useEffect)(()=>{O&&Te(),window.addEventListener("message",be)},[O]);const Te=()=>{var Be;(Be=ne.current.contentWindow)==null||Be.postMessage({data:ue[O]},"*")};return a.createElement("section",null,a.createElement(de.Z,{isLoading:w["classroomList/getClassroomAttendancesList"],tabDataSource:Ae,isAdmin:(0,_.GJ)(),onTabMenuClick:pe,defaultSelectedKeys:[O]}),a.createElement("section",null,a.createElement(M.Z,{loading:w["classroomList/getClassroomAttendancesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},a.createElement("iframe",{src:"/knowledgegraph/parseTree.html",onLoad:Te,className:C.iframe,ref:ne}))),a.createElement(P.default,{open:!!A,onCancel:()=>Q(""),width:800,footer:null,bodyStyle:{padding:0},centered:!0,destroyOnClose:!0},a.createElement(N.Z,{src:A,autoPlay:!0,toLog:!1})))};var q=(0,S.connect)(({classroomList:E,loading:w,globalSetting:b})=>({classroomList:E,globalSetting:b,loading:w.effects}))(ee)},86541:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return o}});var a=l(59301),S=l(95237),M=l(43604),P=l(20834),C=l(6848),_=l(38854),ue=l(8591),de={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},N=l(92123),J=l(47141),re=l(94601),o=({isLoading:G,addText:we,tabDataSource:ee,isAdmin:q,dispatch:E,classroomList:w,type:b,isExercise:I,defaultSelectedKeys:L,onTabMenuClick:O,getDropdownMenu:T,showControlButton:A,buttonText:Q,buttonIcon:ne="icon-tianjiadaohang",extraNode:pe,user:Ae,onButtonClick:be,isModelUser:Te})=>{var Be,F,Ge,We,Z;const he=(0,N.useParams)();return a.createElement("div",{className:de.tabMenuContainer},a.createElement(S.Z,null,a.createElement(M.Z,{flex:"1"},a.createElement(P.default,{onSelect:ie=>G?{}:O(ie),mode:"horizontal",selectedKeys:L},ee.map(ie=>a.createElement(P.default.Item,{key:typeof ie.index=="number"?ie.index:ie.id},a.createElement("span",{className:"c-grey-666"},ie.name),ie.total!==void 0&&q&&a.createElement("span",{className:"c-grey-999 ml20"},ie.total||0))))),q&&I&&a.createElement(C.Z,{title:"\u8003\u60C5\u53EF\u89C6\u5316\u7EDF\u8BA1"},a.createElement("i",{className:"iconfont icon-shuatitongji mr20",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{(0,re.xg)("/zbstatistics")}})),q&&I&&a.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{E({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),q&&a.createElement(M.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},I&&a.createElement(_.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>a.createElement(P.default,null,a.createElement(P.default.Item,{key:1,onClick:()=>{var ie;if((0,J.Rm)()&&!((ie=w.AssistantObject.exercise)!=null&&ie.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}E({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:b,exportType:"exercise",category_id:he.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),a.createElement(P.default.Item,{key:3,onClick:()=>{var ie;if((0,J.Rm)()&&!((ie=w.AssistantObject.exercise)!=null&&ie.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N.history.push(`/classrooms/${he==null?void 0:he.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},a.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},a.createElement("span",{style:{color:"#666666",cursor:"pointer"}},a.createElement("i",{className:"iconfont icon-xiazai6"})))),a.createElement("div",{className:de.control},a.createElement("div",{className:de.extra},pe),A&&(Q=="\u6DFB\u52A0\u76F4\u64AD"?a.createElement(_.Z,{menu:{items:(F=(Be=[{label:a.createElement("div",{onClick:()=>{be("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Te&&{label:a.createElement("div",{onClick:()=>{be("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Be.filter(ie=>ie==null?void 0:ie.show))==null?void 0:F.map(ie=>({label:ie==null?void 0:ie.label,key:ie==null?void 0:ie.key}))}},a.createElement("span",{className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${ne}`})),a.createElement("span",null,Q))):a.createElement("span",{onClick:be,style:{cursor:"pointer"},className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${ne}`})),a.createElement("span",null,Q))),!!T&&a.createElement(_.Z,{disabled:((Ge=Ae==null?void 0:Ae.userInfo)==null?void 0:Ge.user_status)===2,className:"ml10",dropdownRender:T},a.createElement("span",{className:((We=Ae==null?void 0:Ae.userInfo)==null?void 0:We.user_status)===2?de.selectBtn1:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-tianjiadaohang"})),a.createElement(C.Z,{title:((Z=Ae==null?void 0:Ae.userInfo)==null?void 0:Z.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},a.createElement("span",null,we||"\u521B\u5EFA\u8BD5\u5377"))))))))}},18030:function(ut,Re,l){"use strict";l.d(Re,{BU:function(){return S},Dj:function(){return a},gH:function(){return M},vp:function(){return P}});function a(C){try{C.mozRequestFullScreen?C.mozRequestFullScreen():C.webkitRequestFullScreen&&C.webkitRequestFullScreen()}catch(_){console.log(_,":e")}}function S(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const M=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function P(){var C=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,_=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",C),window.isFullScreen?window.isFullScreen:C!=null}},96640:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return dn}});class a{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","error",n),C.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","info",n),C.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","warn",n),C.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","debug",n),C.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","verbose",n),C.ENABLE_VERBOSE&&console.log(n)}}C.GLOBAL_TAG="flv.js",C.FORCE_GLOBAL_TAG=!1,C.ENABLE_ERROR=!0,C.ENABLE_INFO=!0,C.ENABLE_WARN=!0,C.ENABLE_DEBUG=!0,C.ENABLE_VERBOSE=!0,C.ENABLE_CALLBACK=!1,C.emitter=new(P());var _=C;class ue{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var de=ue;class N{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class J extends N{constructor(e){super(e)}get name(){return"IllegalStateException"}}class re extends N{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class Y extends N{constructor(e){super(e)}get name(){return"NotImplementedException"}}const o={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},G={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class we{constructor(e){this._type=e||"undefined",this._status=o.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=o.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===o.kConnecting||this._status===o.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new Y("Unimplemented abstract function!")}abort(){throw new Y("Unimplemented abstract function!")}}let ee={};function q(){let K=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(K)||/(opr)[\/]([\w.]+)/.exec(K)||/(chrome)[ \/]([\w.]+)/.exec(K)||/(iemobile)[\/]([\w.]+)/.exec(K)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(K)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(K)||/(webkit)[ \/]([\w.]+)/.exec(K)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(K)||/(msie) ([\w.]+)/.exec(K)||K.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(K)||K.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(K)||[],t=/(ipad)/.exec(K)||/(ipod)/.exec(K)||/(windows phone)/.exec(K)||/(iphone)/.exec(K)||/(kindle)/.exec(K)||/(android)/.exec(K)||/(windows)/.exec(K)||/(mac)/.exec(K)||/(linux)/.exec(K)||/(cros)/.exec(K)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},i={};if(n.browser){i[n.browser]=!0;let r=n.majorVersion.split(".");i.version={major:parseInt(n.majorVersion,10),string:n.version},r.length>1&&(i.version.minor=parseInt(r[1],10)),r.length>2&&(i.version.build=parseInt(r[2],10))}if(n.platform&&(i[n.platform]=!0),(i.chrome||i.opr||i.safari)&&(i.webkit=!0),i.rv||i.iemobile){i.rv&&delete i.rv;let r="msie";n.browser=r,i[r]=!0}if(i.edge){delete i.edge;let r="msedge";n.browser=r,i[r]=!0}if(i.opr){let r="opera";n.browser=r,i[r]=!0}if(i.safari&&i.android){let r="android";n.browser=r,i[r]=!0}i.name=n.browser,i.platform=n.platform;for(let r in ee)ee.hasOwnProperty(r)&&delete ee[r];Object.assign(ee,i)}q();var E=ee;class w extends we{static isSupported(){try{let e=E.msedge&&E.version.minor>=15048,t=E.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let i=this._seekHandler.getConfig(n,t),r=new self.Headers;if(typeof i.headers=="object"){let g=i.headers;for(let oe in g)g.hasOwnProperty(oe)&&r.append(oe,g[oe])}let c={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let g in this._config.headers)r.append(g,this._config.headers[g]);e.cors===!1&&(c.mode="same-origin"),e.withCredentials&&(c.credentials="include"),e.referrerPolicy&&(c.referrerPolicy=e.referrerPolicy),this._status=o.kConnecting,self.fetch(i.url,c).then(g=>{if(this._requestAbort){this._requestAbort=!1,this._status=o.kIdle;return}if(g.ok&&g.status>=200&&g.status<=299){if(g.url!==i.url&&this._onURLRedirect){let H=this._seekHandler.removeURLParameters(g.url);this._onURLRedirect(H)}let oe=g.headers.get("Content-Length");return oe!=null&&(this._contentLength=parseInt(oe),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,g.body.getReader())}else if(this._status=o.kError,this._onError)this._onError(G.HTTP_STATUS_CODE_INVALID,{code:g.status,msg:g.statusText});else throw new N("FetchStreamLoader: Http code invalid, "+g.status+" "+g.statusText)}).catch(g=>{if(this._status=o.kError,this._onError)this._onError(G.EXCEPTION,{code:-1,msg:g.message});else throw g})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&E.msedge)return;this._status=o.kError;let n=0,i=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=o.kError,this._onError)this._onError(G.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new N("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=o.kBuffering}}_onProgress(e){if(this._status===o.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===o.kError)return;this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=o.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let i=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let i=parseInt(n);i>0&&(this._contentLength=i,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let i=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,r,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+i.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let i=this._seekHandler.getConfig(n,t);this._currentRequestURL=i.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",i.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof i.headers=="object"){let c=i.headers;for(let g in c)c.hasOwnProperty(g)&&r.setRequestHeader(g,c[g])}if(typeof this._config.headers=="object"){let c=this._config.headers;for(let g in c)c.hasOwnProperty(g)&&r.setRequestHeader(g,c[g])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=o.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=o.kBuffering}else if(this._status=o.kError,this._onError)this._onError(G.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new N("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===o.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let i=e.total;this._internalAbort(),i!=null&i!==0&&(this._totalLength=i)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,i=0,r=0,c=n;if(e=t[i]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let c=this._normalizeSpeed(t);this._currentSpeedNormalized!==c&&(this._currentSpeedNormalized=c,this._currentChunkSizeKB=c)}let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=o.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(G.EXCEPTION,t);else throw new N(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=o.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(G.EXCEPTION,t);else throw new N(t.msg)}}var pe=ne;class Ae{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let i;t.to!==-1?i=`bytes=${t.from.toString()}-${t.to.toString()}`:i=`bytes=${t.from.toString()}-`,n.Range=i}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var be=Ae;class Te{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let i=!0;n.indexOf("?")===-1&&(n+="?",i=!1),i&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,i=e.indexOf("?");i!==-1&&(n=e.substring(i+1));let r="";if(n!=null&&n.length>0){let c=n.split("&");for(let g=0;g0;oe[0]!==this._startName&&oe[0]!==this._endName&&(H&&(r+="&"),r+=c[g])}}return r.length===0?t:t+"?"+r}}var Be=Te;class F{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new de,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===Q?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new be(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new Be(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new re("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new re(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=pe;else if(b.isSupported())this._loaderClass=b;else if(L.isSupported())this._loaderClass=L;else if(Q.isSupported())this._loaderClass=Q;else throw new N("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new re("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let i=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(i,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,i=0,r=0,c=n;if(e=t[i]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let c=this._stashBuffer.slice(0,this._stashUsed),g=this._dispatchChunks(c,this._stashByteStart);if(g0){let oe=new Uint8Array(c,g);r.set(oe,0),this._stashUsed=oe.byteLength,this._stashByteStart+=g}}else this._stashUsed=0,this._stashByteStart+=g;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let c=this._dispatchChunks(e,t);if(cthis._bufferSize&&(this._expandBuffer(g),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,c),0),this._stashUsed+=g,this._stashByteStart=t+c}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,t);if(rthis._bufferSize&&this._expandBuffer(c),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=c,this._stashByteStart=t+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let c=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(c0){let g=new Uint8Array(this._stashBuffer,c);r.set(g,0)}this._stashUsed-=c,this._stashByteStart+=c}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),i=t.byteLength-n;if(n0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),c=new Uint8Array(t,n);r.set(c,0),this._stashUsed=c.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,i}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(_.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=G.UNRECOVERABLE_EARLY_EOF),e){case G.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=ae.getConfig();e.emit("change",t)}}static registerListener(e){ae.emitter.addListener("change",e)}static removeListener(e){ae.emitter.removeListener("change",e)}static addLogListener(e){_.emitter.addListener("log",e),_.emitter.listenerCount("log")>0&&(_.ENABLE_CALLBACK=!0,ae._notifyChange())}static removeLogListener(e){_.emitter.removeListener("log",e),_.emitter.listenerCount("log")===0&&(_.ENABLE_CALLBACK=!1,ae._notifyChange())}}ae.emitter=new(P());var ve=ae;class Ue{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,i=e.length-1,r=0,c=0,g=i;for(t=e[r]&&t=128){e.push(String.fromCharCode(r&65535)),n+=2;continue}}}else if(t[n]<240){if(je(t,n,2)){let r=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),n+=3;continue}}}else if(t[n]<248&&je(t,n,3)){let r=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var nt=Xe;let Me=function(){let K=new ArrayBuffer(2);return new DataView(K).setInt16(0,256,!0),new Int16Array(K)[0]===256}();class He{static parseScriptData(e,t,n){let i={};try{let r=He.parseValue(e,t,n),c=He.parseValue(e,t+r.size,n-r.size);i[r.data]=c.data}catch(r){_.e("AMF",r.toString())}return i}static parseObject(e,t,n){if(n<3)throw new J("Data not enough when parse ScriptDataObject");let i=He.parseString(e,t,n),r=He.parseValue(e,t+i.size,n-i.size),c=r.objectEnd;return{data:{name:i.data,value:r.data},size:i.size+r.size,objectEnd:c}}static parseVariable(e,t,n){return He.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new J("Data not enough when parse String");let r=new DataView(e,t,n).getUint16(0,!Me),c;return r>0?c=nt(new Uint8Array(e,t+2,r)):c="",{data:c,size:2+r}}static parseLongString(e,t,n){if(n<4)throw new J("Data not enough when parse LongString");let r=new DataView(e,t,n).getUint32(0,!Me),c;return r>0?c=nt(new Uint8Array(e,t+4,r)):c="",{data:c,size:4+r}}static parseDate(e,t,n){if(n<10)throw new J("Data size invalid when parse Date");let i=new DataView(e,t,n),r=i.getFloat64(0,!Me),c=i.getInt16(8,!Me);return r+=c*60*1e3,{data:new Date(r),size:10}}static parseValue(e,t,n){if(n<1)throw new J("Data not enough when parse Value");let i=new DataView(e,t,n),r=1,c=i.getUint8(0),g,oe=!1;try{switch(c){case 0:g=i.getFloat64(1,!Me),r+=8;break;case 1:{g=!!i.getUint8(1),r+=1;break}case 2:{let H=He.parseString(e,t+1,n-1);g=H.data,r+=H.size;break}case 3:{g={};let H=0;for((i.getUint32(n-4,!Me)&16777215)===9&&(H=3);r32)throw new re("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let c=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,c}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let i=Math.min(n,this._current_word_bits_left),r=this._current_word>>>32-i;return this._current_word<<=i,this._current_word_bits_left-=i,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var et=Je;class B{static _ebsp2rbsp(e){let t=e,n=t.byteLength,i=new Uint8Array(n),r=0;for(let c=0;c=2&&t[c]===3&&t[c-1]===0&&t[c-2]===0||(i[r]=t[c],r++);return new Uint8Array(i.buffer,0,r)}static parseSPS(e){let t=B._ebsp2rbsp(e),n=new et(t);n.readByte();let i=n.readByte();n.readByte();let r=n.readByte();n.readUEG();let c=B.getProfileString(i),g=B.getLevelString(r),oe=1,H=420,fe=[0,420,422,444],Ve=8;if((i===100||i===110||i===122||i===244||i===44||i===83||i===86||i===118||i===128||i===138||i===144)&&(oe=n.readUEG(),oe===3&&n.readBits(1),oe<=3&&(H=fe[oe]),Ve=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let Ke=oe!==3?8:12;for(let Pe=0;Pe0&&Ke<16?(Et=Pe[Ke-1],Ee=rt[Ke-1]):Ke===255&&(Et=n.readByte()<<8|n.readByte(),Ee=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let Ke=n.readBits(32),Pe=n.readBits(32);p=n.readBool(),v=Pe,D=Ke*2,ge=v/D}}let k=1;(Et!==1||Ee!==1)&&(k=Et/Ee);let X=0,z=0;if(oe===0)X=1,z=2-V;else{let Ke=oe===3?1:2,Pe=oe===1?2:1;X=Ke,z=Pe*(2-V)}let Se=(Ne+1)*16,Ze=(2-V)*((me+1)*16);Se-=(te+Ce)*X,Ze-=(Le+Ye)*z;let ke=Math.ceil(Se*k);return n.destroy(),n=null,{profile_string:c,level_string:g,bit_depth:Ve,ref_frames:le,chroma_format:H,chroma_format_string:B.getChromaFormatString(H),frame_rate:{fixed:p,fps:ge,fps_den:D,fps_num:v},sar_ratio:{width:Et,height:Ee},codec_size:{width:Se,height:Ze},present_size:{width:ke,height:Ze}}}static _skipScalingList(e,t){let n=8,i=8,r=0;for(let c=0;c>>8&255|(K&255)<<8}function $(K){return(K&4278190080)>>>24|(K&16711680)>>>8|(K&65280)<<8|(K&255)<<24}function d(K,e){return K[e]<<24|K[e+1]<<16|K[e+2]<<8|K[e+3]}class m{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new $e,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let i=(t[4]&4)>>>2!==0,r=(t[4]&1)!==0,c=d(t,5);return c<9?n:{match:!0,consumed:c,dataOffset:c,hasAudioTrack:i,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new $e}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new J("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,i=this._littleEndian;if(t===0)if(e.byteLength>13)n=m.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&_.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!i)!==0&&_.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let c=r.getUint8(0),g=r.getUint32(0,!i)&16777215;if(n+11+g+4>e.byteLength)break;if(c!==8&&c!==9&&c!==18){_.w(this.TAG,`Unsupported tag type ${c}, skipped`),n+=11+g+4;continue}let oe=r.getUint8(4),H=r.getUint8(5),fe=r.getUint8(6),Ve=r.getUint8(7),ze=fe|H<<8|oe<<16|Ve<<24;(r.getUint32(7,!i)&16777215)!==0&&_.w(this.TAG,"Meet tag which has StreamID != 0!");let Ne=n+11;switch(c){case 8:this._parseAudioData(e,Ne,g,ze);break;case 9:this._parseVideoData(e,Ne,g,ze,t+n);break;case 18:this._parseScriptData(e,Ne,g);break}let me=r.getUint32(11+g,!i);me!==11+g&&_.w(this.TAG,`Invalid PrevTagSize ${me}`),n+=11+g+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let i=Qe.parseScriptData(e,t,n);if(i.hasOwnProperty("onMetaData")){if(i.onMetaData==null||typeof i.onMetaData!="object"){_.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&_.w(this.TAG,"Found another onMetaData tag!"),this._metadata=i;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let c=Math.floor(r.duration*this._timescale);this._duration=c,this._mediaInfo.duration=c}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let c=Math.floor(r.framerate*1e3);if(c>0){let g=c/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=g,this._referenceFrameRate.fps_num=c,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=g}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let c=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(c),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,_.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(i).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},i))}_parseKeyframesIndex(e){let t=[],n=[];for(let i=1;i>>4;if(oe!==2&&oe!==10){this._onError(h.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+oe);return}let H=0,fe=(g&12)>>>2;if(fe>=0&&fe<=4)H=this._flvSoundRateTable[fe];else{this._onError(h.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+fe);return}let Ve=(g&2)>>>1,ze=g&1,le=this._audioMetadata,Ne=this._audioTrack;if(le||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),le=this._audioMetadata={},le.type="audio",le.id=Ne.id,le.timescale=this._timescale,le.duration=this._duration,le.audioSampleRate=H,le.channelCount=ze===0?1:2),oe===10){let me=this._parseAACAudioData(e,t+1,n-1);if(me==null)return;if(me.packetType===0){le.config&&_.w(this.TAG,"Found another AudioSpecificConfig!");let V=me.data;le.audioSampleRate=V.samplingRate,le.channelCount=V.channelCount,le.codec=V.codec,le.originalCodec=V.originalCodec,le.config=V.config,le.refSampleDuration=1024/le.audioSampleRate*le.timescale,_.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",le);let te=this._mediaInfo;te.audioCodec=le.originalCodec,te.audioSampleRate=le.audioSampleRate,te.audioChannelCount=le.channelCount,te.hasVideo?te.videoCodec!=null&&(te.mimeType='video/x-flv; codecs="'+te.videoCodec+","+te.audioCodec+'"'):te.mimeType='video/x-flv; codecs="'+te.audioCodec+'"',te.isComplete()&&this._onMediaInfo(te)}else if(me.packetType===1){let V=this._timestampBase+i,te={unit:me.data,length:me.data.byteLength,dts:V,pts:V};Ne.samples.push(te),Ne.length+=me.data.length}else _.e(this.TAG,`Flv: Unsupported AAC data type ${me.packetType}`)}else if(oe===2){if(!le.codec){let Ce=this._parseMP3AudioData(e,t+1,n-1,!0);if(Ce==null)return;le.audioSampleRate=Ce.samplingRate,le.channelCount=Ce.channelCount,le.codec=Ce.codec,le.originalCodec=Ce.originalCodec,le.refSampleDuration=1152/le.audioSampleRate*le.timescale,_.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",le);let Le=this._mediaInfo;Le.audioCodec=le.codec,Le.audioSampleRate=le.audioSampleRate,Le.audioChannelCount=le.channelCount,Le.audioDataRate=Ce.bitRate,Le.hasVideo?Le.videoCodec!=null&&(Le.mimeType='video/x-flv; codecs="'+Le.videoCodec+","+Le.audioCodec+'"'):Le.mimeType='video/x-flv; codecs="'+Le.audioCodec+'"',Le.isComplete()&&this._onMediaInfo(Le)}let me=this._parseMP3AudioData(e,t+1,n-1,!1);if(me==null)return;let V=this._timestampBase+i,te={unit:me,length:me.byteLength,dts:V,pts:V};Ne.samples.push(te),Ne.length+=me.length}}_parseAACAudioData(e,t,n){if(n<=1){_.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let i={},r=new Uint8Array(e,t,n);return i.packetType=r[0],r[0]===0?i.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):i.data=r.subarray(1),i}_parseAACAudioSpecificConfig(e,t,n){let i=new Uint8Array(e,t,n),r=null,c=0,g=0,oe=null,H=0,fe=null;if(c=g=i[0]>>>3,H=(i[0]&7)<<1|i[1]>>>7,H<0||H>=this._mpegSamplingRates.length){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Ve=this._mpegSamplingRates[H],ze=(i[1]&120)>>>3;if(ze<0||ze>=8){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}c===5&&(fe=(i[1]&7)<<1|i[2]>>>7,oe=(i[2]&124)>>>2);let le=self.navigator.userAgent.toLowerCase();return le.indexOf("firefox")!==-1?H>=6?(c=5,r=new Array(4),fe=H-3):(c=2,r=new Array(2),fe=H):le.indexOf("android")!==-1?(c=2,r=new Array(2),fe=H):(c=5,fe=H,r=new Array(4),H>=6?fe=H-3:ze===1&&(c=2,r=new Array(2),fe=H)),r[0]=c<<3,r[0]|=(H&15)>>>1,r[1]=(H&15)<<7,r[1]|=(ze&15)<<3,c===5&&(r[1]|=(fe&15)>>>1,r[2]=(fe&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:Ve,channelCount:ze,codec:"mp4a.40."+c,originalCodec:"mp4a.40."+g}}_parseMP3AudioData(e,t,n,i){if(n<4){_.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,c=new Uint8Array(e,t,n),g=null;if(i){if(c[0]!==255)return;let oe=c[1]>>>3&3,H=(c[1]&6)>>1,fe=(c[2]&240)>>>4,Ve=(c[2]&12)>>>2,le=(c[3]>>>6&3)!==3?2:1,Ne=0,me=0,V=34,te="mp3";switch(oe){case 0:Ne=this._mpegAudioV25SampleRateTable[Ve];break;case 2:Ne=this._mpegAudioV20SampleRateTable[Ve];break;case 3:Ne=this._mpegAudioV10SampleRateTable[Ve];break}switch(H){case 1:V=34,fe>>4,oe=c&15;if(oe!==7){this._onError(h.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${oe}`);return}this._parseAVCVideoPacket(e,t+1,n-1,i,r,g)}_parseAVCVideoPacket(e,t,n,i,r,c){if(n<4){_.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let g=this._littleEndian,oe=new DataView(e,t,n),H=oe.getUint8(0),Ve=(oe.getUint32(0,!g)&16777215)<<8>>8;if(H===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(H===1)this._parseAVCVideoData(e,t+4,n-4,i,r,c,Ve);else if(H!==2){this._onError(h.FORMAT_ERROR,`Flv: Invalid video packet type ${H}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){_.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let i=this._videoMetadata,r=this._videoTrack,c=this._littleEndian,g=new DataView(e,t,n);i?typeof i.avcc!="undefined"&&_.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),i=this._videoMetadata={},i.type="video",i.id=r.id,i.timescale=this._timescale,i.duration=this._duration);let oe=g.getUint8(0),H=g.getUint8(1),fe=g.getUint8(2),Ve=g.getUint8(3);if(oe!==1||H===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(g.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(h.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let ze=g.getUint8(5)&31;if(ze===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ze>1&&_.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${ze}`);let le=6;for(let me=0;me1&&_.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ne}`);le++;for(let me=0;me=n){_.w(this.TAG,`Malformed Nalu near timestamp ${Ne}, offset = ${ze}, dataSize = ${n}`);break}let V=H.getUint32(ze,!oe);if(le===3&&(V>>>=8),V>n-le){_.w(this.TAG,`Malformed Nalus near timestamp ${Ne}, NaluSize > DataSize!`);return}let te=H.getUint8(ze+le)&31;te===5&&(me=!0);let Ce=new Uint8Array(e,t+ze,le+V),Le={type:te,data:Ce};fe.push(Le),Ve+=Ce.byteLength,ze+=le+V}if(fe.length){let V=this._videoTrack,te={units:fe,length:Ve,isKeyframe:me,dts:Ne,cts:g,pts:Ne+g};me&&(te.fileposition=r),V.samples.push(te),V.length+=Ve}}}var x=m;class u{static init(){u.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in u.types)u.types.hasOwnProperty(t)&&(u.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=u.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,i=Array.prototype.slice.call(arguments,1),r=i.length;for(let g=0;g>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let c=8;for(let g=0;g>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return u.box(u.types.trak,u.tkhd(e),u.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,i=e.presentWidth,r=e.presentHeight;return u.box(u.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>>8&255,i&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return u.box(u.types.mdia,u.mdhd(e),u.hdlr(e),u.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return u.box(u.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=u.constants.HDLR_AUDIO:t=u.constants.HDLR_VIDEO,u.box(u.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=u.box(u.types.smhd,u.constants.SMHD):t=u.box(u.types.vmhd,u.constants.VMHD),u.box(u.types.minf,t,u.dinf(),u.stbl(e))}static dinf(){return u.box(u.types.dinf,u.box(u.types.dref,u.constants.DREF))}static stbl(e){return u.box(u.types.stbl,u.stsd(e),u.box(u.types.stts,u.constants.STTS),u.box(u.types.stsc,u.constants.STSC),u.box(u.types.stsz,u.constants.STSZ),u.box(u.types.stco,u.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp3(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp4a(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types[".mp3"],i)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types.mp4a,i,u.esds(e))}static esds(e){let t=e.config||[],n=t.length,i=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return u.box(u.types.esds,i)}static avc1(e){let t=e.avcc,n=e.codecWidth,i=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,i>>>8&255,i&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return u.box(u.types.avc1,r,u.box(u.types.avcC,t))}static mvex(e){return u.box(u.types.mvex,u.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return u.box(u.types.trex,n)}static moof(e,t){return u.box(u.types.moof,u.mfhd(e.sequenceNumber),u.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return u.box(u.types.mfhd,t)}static traf(e,t){let n=e.id,i=u.box(u.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),r=u.box(u.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),c=u.sdtp(e),g=u.trun(e,c.byteLength+16+16+8+16+8+8);return u.box(u.types.traf,i,r,g,c)}static sdtp(e){let t=e.samples||[],n=t.length,i=new Uint8Array(4+n);for(let r=0;r>>24&255,i>>>16&255,i>>>8&255,i&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let g=0;g>>24&255,oe>>>16&255,oe>>>8&255,oe&255,H>>>24&255,H>>>16&255,H>>>8&255,H&255,fe.isLeading<<2|fe.dependsOn,fe.isDependedOn<<6|fe.hasRedundancy<<4|fe.isNonSync,0,0,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255],12+16*g)}return u.box(u.types.trun,c)}static mdat(e){return u.box(u.types.mdat,e)}}u.init();var R=u;class W{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var ce=W;class De{constructor(e,t,n,i,r){this.dts=e,this.pts=t,this.duration=n,this.originalDts=i,this.isSyncPoint=r,this.fileposition=null}}class Fe{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class _e{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[r].dts&&et[i].lastSample.originalDts&&e=t[i].lastSample.originalDts&&(i===t.length-1||i0&&(r=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class xe{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new Oe("audio"),this._videoSegmentInfoList=new Oe("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(E.chrome&&(E.version.major<50||E.version.major===50&&E.version.build<2661)),this._fillSilentAfterSeek=E.msedge||E.msie,this._mp3UseMpegAudio=!E.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new J("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,i="mp4",r=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(i="mpeg",r="",n=new Uint8Array):n=R.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=R.generateInitSegment(t);else return;if(!this._onInitSegment)throw new J("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:r,container:`${e}/${i}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let i={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(i.samples.push(t),i.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(i,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,i=n.samples,r,c=-1,g=-1,oe=-1,H=this._audioMeta.refSampleDuration,fe=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ve=this._dtsBaseInited&&this._audioNextDts===void 0,ze=!1;if(!i||i.length===0||i.length===1&&!t)return;let le=0,Ne=null,me=0;fe?(le=0,me=n.length):(le=8,me=8+n.length);let V=null;if(i.length>1&&(V=i.pop(),me-=V.length),this._audioStashedLastSample!=null){let Ee=this._audioStashedLastSample;this._audioStashedLastSample=null,i.unshift(Ee),me+=Ee.length}V!=null&&(this._audioStashedLastSample=V);let te=i[0].dts-this._dtsBase;if(this._audioNextDts)r=te-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(ze=!0);else{let Ee=this._audioSegmentInfoList.getLastSampleBefore(te);if(Ee!=null){let ge=te-(Ee.originalDts+Ee.duration);ge<=3&&(ge=0);let p=Ee.dts+Ee.duration+ge;r=te-p}else r=0}if(ze){let Ee=te-r,ge=this._videoSegmentInfoList.getLastSegmentBefore(te);if(ge!=null&&ge.beginDts=1?U=Ce[Ce.length-1].duration:U=Math.floor(H);let k=!1,X=null;if(U>H*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!E.safari){k=!0;let z=Math.abs(U-H),Se=Math.ceil(z/H),Ze=D+H;_.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +(self.webpackChunk=self.webpackChunk||[]).push([[4928],{18785:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return de}});var a=l(54476),S=l(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},P=M,C=l(7657),_=function(J,re){return S.createElement(C.Z,(0,a.Z)({},J,{ref:re,icon:P}))},ue=S.forwardRef(_),de=ue},33853:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return de}});var a=l(54476),S=l(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},P=M,C=l(7657),_=function(J,re){return S.createElement(C.Z,(0,a.Z)({},J,{ref:re,icon:P}))},ue=S.forwardRef(_),de=ue},38819:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return de}});var a=l(54476),S=l(59301),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},P=M,C=l(7657),_=function(J,re){return S.createElement(C.Z,(0,a.Z)({},J,{ref:re,icon:P}))},ue=S.forwardRef(_),de=ue},81032:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return we}});var a=l(59301),S=l(8591),M=l(38854),P=l(96640),C=l(80360),_=l(47141),ue=l(56102),de=l(18030),N={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},J=(ee,q,E)=>new Promise((w,b)=>{var I=T=>{try{O(E.next(T))}catch(A){b(A)}},L=T=>{try{O(E.throw(T))}catch(A){b(A)}},O=T=>T.done?w(T.value):Promise.resolve(T.value).then(I,L);O((E=E.apply(ee,q)).next())});function re(ee){if(isNaN(ee))return{minutes:"00",seconds:"00"};const q=new Date(ee*1e3).toISOString().substr(11,8);return{hour:q.substr(0,2),minutes:q.substr(3,2),seconds:q.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function Y(ee,q){return ee-q}function o(ee){ee.sort(Y);let q=0;for(let E=0;E{},handlePlay:T=()=>{},handlePlayEnded:A=()=>{},autoPlay:Q=!1,onPlayEnded:ne=()=>{},isShowWaterMark:pe=!0},Ae)=>{var be;const Be=((be=q==null?void 0:q.split("."))==null?void 0:be.pop())==="flv",F=(0,a.useRef)(),Ge=(0,a.useRef)(),We=(0,a.useRef)(),Z=(0,a.useRef)(),he=(0,a.useRef)(),ie=(0,a.useRef)(),ye=(0,a.useRef)(),se=(0,a.useRef)(),ae=(0,a.useRef)(),ve=(0,a.useRef)(),Ue=(0,a.useRef)(),$e=(0,a.useRef)(),je=(0,a.useRef)(),Xe=(0,a.useRef)(),nt=navigator.userAgent.toLowerCase().match(G),Me=nt?nt[0]:"pc",He=(0,a.useRef)(!1),Qe=(0,_.eY)();let Je=0,et=0,B=0,y=null,s=!1,h=20,f=1,$=!1,d=!1,m=[];(0,a.useImperativeHandle)(Ae,()=>({getLastUpdatedTime:()=>F.current.currentTime,getDuration:()=>F.current.duration})),S.ZP.config({maxCount:1,getContainer:()=>We.current});const x=(0,a.useCallback)((_e,Oe=!1)=>{let xe={point:F.current.currentTime};y?(xe.log_id=y,xe.watch_duration=o(m),xe.total_duration=et):(I?(xe.video_id=parseInt(w,10),xe.course_id=I):xe.video_id=w,xe.duration=Je,xe.device=Me),Oe&&(xe.ed="1");function ot(){return J(this,null,function*(){$=!0,y=yield b==null?void 0:b(xe),$=!1,_e&&_e()})}ot()},[w,I]);(0,a.useEffect)(()=>{F.current&&(Z.current.style.display="none",he.current.style.display="block"),S.ZP.destroy();let _e=null;return P.Z.isSupported&&Be&&q&&(q==null?void 0:q.indexOf(".m3u8"))<0?(_e=P.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:q,muted:!1}),F.current&&(_e.attachMediaElement(F.current),_e.load())):F.current.setAttribute("src",q),R(),()=>{_e&&(_e.unload(),_e.pause(),_e.destroy(),_e=null)}},[F,Be,q]);function u(){F.current.paused?(Z.current.style.display="none",he.current.style.display="block"):(Z.current.style.display="block",he.current.style.display="none")}function R(){Ue.current.style.display="none",je.current.style.display="none",$e.current.style.display="none",F.current.muted||F.current.volume===0?Ue.current.style.display="block":F.current.volume>0&&F.current.volume<=.5?je.current.style.display="block":$e.current.style.display="block"}(0,a.useEffect)(()=>{const _e=document.getElementById("play"),Oe=document.querySelectorAll(".playback-icons use");function xe(){T(),L&&!He.current&&(F.current.currentTime=L),He.current=!0,m.push(F.current.currentTime),s||(s=!0,E&&x())}function ot(){return J(this,null,function*(){u(),m.push(F.current.currentTime),E&&x(()=>{y=null,B=0,s=!1,$=!1,d=!1,m=[],et=0,f=1},!0),ne()})}function _t(){ie.current.value=Math.round(F.current.currentTime),ye.current.value=Math.round(F.current.currentTime)}function j(){const Ie=re(Math.round(F.current.currentTime));ae.current.innerText=`${Ie.hour>0?Ie.hour+":":""}${Ie.minutes}:${Ie.seconds}`,ae.current.setAttribute("datetime",`${Ie.hour>0?" "+Ie.hour+" ":""}${Ie.minutes}m ${Ie.seconds}s`)}function bt(){var Ie,qe,Bt,pt,$t,Pt,St;const Ot=Math.round((Ie=F.current)==null?void 0:Ie.duration);(Bt=(qe=ie.current)==null?void 0:qe.setAttribute)==null||Bt.call(qe,"max",Ot),($t=(pt=ye.current)==null?void 0:pt.setAttribute)==null||$t.call(pt,"max",Ot);const tt=re(Ot);se.current&&(se.current.innerText=`${tt.hour>0?tt.hour+":":""}${tt.minutes}:${tt.seconds}`,(St=(Pt=se.current).setAttribute)==null||St.call(Pt,"datetime",`${tt.hour>0?" "+tt.hour+" ":""}${tt.minutes}m ${tt.seconds}s`))}function ct(){try{const Ie=Math.round(F.current.duration);ie.current.setAttribute("max",Ie),ye.current.setAttribute("max",Ie);const qe=re(Ie);se.current.innerText=`${qe.hour>0?qe.hour+":":""}${qe.minutes}:${qe.seconds}`,se.current.setAttribute("datetime",`${qe.hour>0?" "+qe.hour+" ":""}${qe.minutes}m ${qe.seconds}s`),_t(),j();const{width:Bt,height:pt,x:$t,y:Pt}=Ge.current.getBoundingClientRect();if($t<0||Pt<0||!Bt)return;if(!d){let St=F.current.currentTime,Ot=St-B;Math.abs(Ot)<10?(et+=Math.abs(Ot),B=St,$||et-f*h>=0&&(f++,m.push(B),E&&x())):(B=St,E&&x())}}catch(Ie){console.log(Ie)}}function vt(){d=!0}function it(){F.current.playing&&m.push(F.current.currentTime,B),B=F.current.currentTime,d=!1}function Rt(){Je=F.current.duration,Je<=20&&(h=Je/3),F.current.addEventListener("play",xe)}function Ft(Ie){Ie.preventDefault(),(0,de.vp)()?(F.current.style.width="100%",F.current.style.height="100%"):F.current.style.cssText=""}function Dt(){O()}function Ct(Ie){if(!ee){S.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const qe=Ie.target.dataset.seek?Ie.target.dataset.seek:Ie.target.value;F.current.currentTime=qe,ye.current.value=qe,ie.current.value=qe}function Kt(Ie){const qe=Math.round(Ie.offsetX/Ie.target.clientWidth*parseInt(Ie.target.getAttribute("max"),10));ie.current.setAttribute("data-seek",qe);const Bt=re(qe);ve.current.textContent=`${Bt.hour>0?Bt.hour+":":""}${Bt.minutes}:${Bt.seconds}`;const pt=F.current.getBoundingClientRect();ve.current.style.left=`${Ie.pageX-pt.left}px`}function zt(Ie){switch(Ie.code){case"Space":Ie.preventDefault(),De();break;case"ArrowRight":if(Ie.preventDefault(),!ee){S.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(F.current.currentTime>=F.current.duration)break;F.current.currentTime=parseInt(F.current.currentTime)+5,_t();break;case"ArrowLeft":if(Ie.preventDefault(),!ee){S.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(F.current.currentTime===0)break;F.current.currentTime=parseInt(F.current.currentTime)-5,_t();break;case"ArrowUp":Ie.preventDefault(),F.current.volume<1&&(F.current.volume=(parseInt(F.current.volume*10)+1)/10);break;case"ArrowDown":Ie.preventDefault(),F.current.volume>0&&(F.current.volume=(parseInt(F.current.volume*10)-1)/10);break}}return We.current.addEventListener((0,de.gH)(),Ft),F.current.addEventListener("canplay",Rt),F.current.addEventListener("ended",ot),F.current.addEventListener("seeking",vt),F.current.addEventListener("seeked",it),F.current.addEventListener("loadedmetadata",bt),ie.current.addEventListener("mousemove",Kt),ie.current.addEventListener("input",Ct),F.current.addEventListener("timeupdate",ct),F.current.addEventListener("pause",Dt),F.current.addEventListener("volumechange",R),document.addEventListener("keydown",zt),()=>{var Ie,qe,Bt,pt,$t,Pt,St,Ot,tt,dt,dn,K;(Ie=F.current)==null||Ie.removeEventListener("canplay",Rt),(qe=F.current)==null||qe.removeEventListener("play",xe),(Bt=F.current)==null||Bt.removeEventListener("ended",ot),(pt=F.current)==null||pt.removeEventListener("seeking",vt),($t=F.current)==null||$t.removeEventListener("seeked",it),(Pt=ie.current)==null||Pt.removeEventListener("mousemove",Kt),(St=ie.current)==null||St.removeEventListener("input",Ct),(Ot=F.current)==null||Ot.removeEventListener("timeupdate",ct),(tt=F.current)==null||tt.removeEventListener("pause",Dt),(dt=F.current)==null||dt.removeEventListener("loadedmetadata",bt),(dn=F.current)==null||dn.removeEventListener("volumechange",R),document.removeEventListener("keydown",zt),(K=F.current)!=null&&K.playing&&(m.push(B,F.current.currentTime),E&&x())}},[F,q]),(0,a.useEffect)(()=>{if(F.current.onended=()=>{A(F)},F.current.oncontextmenu=()=>!1,(q==null?void 0:q.indexOf(".m3u8"))>-1){if(F.current.canPlayType("application/vnd.apple.mpegurl"))F.current.src=q;else if(C.ZP.isSupported()){var _e=new C.ZP;_e.loadSource(q),_e.attachMedia(F.current)}}},[q]);const[W,ce]=(0,a.useState)(1),De=()=>{F.current.paused||F.current.ended?F.current.play():F.current.pause(),u()};function Fe(){F.current.muted=!F.current.muted,F.current.muted?(Xe.current.setAttribute("data-volume",volume.value),Xe.current.value=0):Xe.current.value=Xe.current.dataset.volume}return a.createElement("div",{style:{position:"relative"},ref:We},a.createElement("div",{ref:Ge,className:`${N.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${N.animate__loop}`},pe&&Qe?Qe.login:" "),a.createElement("div",{className:N.container},a.createElement("div",{className:N["video-container"],id:"video-container"},a.createElement("div",{className:N["playback-animation"],id:"playback-animation"},a.createElement("svg",{className:N["playback-icons"]},a.createElement("use",{className:"hidden",href:"#play-icon"}),a.createElement("use",{href:"#pause"}))),a.createElement("video",{className:N.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:F,autoPlay:Q}),a.createElement("div",{className:`${N["video-controls"]} `,id:"video-controls"},a.createElement("div",{className:N["bottom-controls"]},a.createElement("div",{className:N["left-controls"]},a.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:De},a.createElement("svg",{className:N["playback-icons"]},a.createElement("use",{ref:he,href:"#play-icon"}),a.createElement("use",{ref:Z,style:{display:"none"},href:"#pause"}))),a.createElement("div",{className:N.time},a.createElement("time",{id:"time-elapsed",ref:ae},"00:00"),a.createElement("span",null," / "),a.createElement("time",{id:"duration",ref:se},"00:00"))),a.createElement("div",{className:N["right-controls"]},ee&&a.createElement(M.Z,{placement:"top",overlayClassName:N.rateOverlay,getPopupContainer:_e=>_e.parentNode,menu:{items:[{key:"1",label:a.createElement("span",{onClick:()=>{ce(1),F.current.playbackRate=1}},"1.0x")},{key:"2",label:a.createElement("span",{onClick:()=>{ce(1.5),F.current.playbackRate=1.5}},"1.5x")},{key:"3",label:a.createElement("span",{onClick:()=>{ce(2),F.current.playbackRate=2}},"2.0x")}]}},a.createElement("div",{className:`${N.controlText} mr5`},"\u500D\u901F")),a.createElement(ue.CopyToClipboard,{text:q,onCopy:()=>S.ZP.success("\u590D\u5236\u6210\u529F")},a.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},a.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),a.createElement("div",{className:N["volume-controls"]},a.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:N["volume-button"],id:"volume-button",onClick:Fe},a.createElement("i",{ref:Ue,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:je,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),a.createElement("i",{ref:$e,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),a.createElement("input",{className:N.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Xe,style:{display:"none"},onClick:R})),a.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:N["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(We.current)}},a.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),a.createElement("div",{className:N["video-progress"]},a.createElement("progress",{ref:ye,value:"0",min:"0"}),a.createElement("input",{className:N.seek,ref:ie,value:"0",min:"0",type:"range",step:"1"}),a.createElement("div",{className:N["seek-tooltip"],ref:ve,id:"seek-tooltip"},"00:00"))))),a.createElement("svg",{style:{display:"none"}},a.createElement("defs",null,a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},91038:function(ut,Re,l){"use strict";l.r(Re),l.d(Re,{default:function(){return q}});var a=l(59301),S=l(92123),M=l(61621),P=l(43418),C={flex_box_center:"flex_box_center___yF0Vb",flex_space_between:"flex_space_between___vsNYO",flex_box_vertical_center:"flex_box_vertical_center___C4UqH",flex_box_center_end:"flex_box_center_end___EGtmE",flex_box_column:"flex_box_column___uX9g9",bg:"bg___sRga2",menu:"menu___s8xQl",desc:"desc___poG1Z",listItem:"listItem___ml9kN",info:"info___Z8R2Z",add:"add___jH8te",addForm:"addForm___O999t",attendanceCode:"attendanceCode___hPKyl",signInStatus:"signInStatus___usMPT",colorE02020:"colorE02020___hZvSz",color0152d9:"color0152d9___RgXzd",colorFA6400:"colorFA6400___g2yU6",iframe:"iframe___HRzMh"},_=l(47141);const ue={init:[{stage_name:"\u521D\u59CB\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{discipline_name:"\u5224\u65AD\u8BED\u53E5",shixun_count:"2",video_count:"2",parent:2,key:"22"},{shixun_name:"if\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"221"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08if\u591A\u91CD\u9009\u62E9\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/23xkyrmn/challenges",parent:"22",key:"222"},{shixun_name:"switch\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/3b4e821b200443948c553e4c6b51d940/b9601216238e60440192c2deb58adc53-hd.m3u8",parent:"22",key:"223"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"22",key:"224"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"23",key:"231"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"23",key:"232"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"23",key:"233"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"23",key:"234"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"32",key:"321"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"32",key:"322"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"32",key:"323"},{discipline_name:"\u51FD\u6570\u91CD\u8F7D",shixun_count:"1",video_count:"1",parent:3,key:"33"},{shixun_name:"\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"33",key:"331"},{shixun_name:"C++\u51FD\u6570\u91CD\u8F7D",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/6hbqpv7e/challenges",parent:"33",key:"332"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"34"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"34",key:"341"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"34",key:"342"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"34",key:"343"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{discipline_name:"\u6307\u9488",shixun_count:"3",video_count:"1",parent:6,key:"62"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"62",key:"621"},{shixun_name:"\u6307\u9488\u7EC3\u624B-\u5B57\u7B26\u4E32\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lkn6xuc3/challenges",parent:"62",key:"622"},{shixun_name:"\u6307\u9488\u6570\u7EC4-\u5355\u8BCD\u5012\u5E8F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/vtk73ny2/challenges",parent:"62",key:"623"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"62",key:"624"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u591A\u6001\u6027",parent:0,key:8},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:8,key:"81"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"81",key:"812"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"81",key:"813"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:9},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"3",parent:9,key:"91"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/459f2693af7b48f8b854033e666a77f8/f5b140c5adc0f24ac56b72492373306a-hd.m3u8",parent:"91",key:"912"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/ccea50bc15d2468aab99aff19eb69e16/a5ecac1ee0c07360d07880187a787085-hd.m3u8",parent:"91",key:"913"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"91",key:"914"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:10},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"3",parent:10,key:"101"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(3)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/a5887adcc34445bba695de7dcadb781e/0fb3a6a6ad38f7a107054c5f2f0de262-hd.m3u8",parent:"101",key:"1013"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"101",key:"1014"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA11",parent:0,key:1911},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"1",video_count:"2",parent:1911,key:9111},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)22222",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:9111,key:"91111"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"9111",key:"91112"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"9111",key:"91113"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:12},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:12,key:"121"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"121",key:"1211"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"121",key:"1212"}].map(E=>(E.parent=Number(E.parent),E.key=Number(E.key),E)),review:[{stage_name:"\u590D\u4E60\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:1},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:1,key:"11"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"11",key:"111"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"11",key:"112"},{discipline_name:"\u5FAA\u73AF",shixun_count:"2",video_count:"2",parent:1,key:"12"},{shixun_name:"while\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/dda06371a1594f5d865479a0fadc77bb/cb504e3af36ebe2ba979e8fe5fbb2222-hd.m3u8",parent:"12",key:"121"},{shixun_name:"C++\u5FAA\u73AF\u7ED3\u6784\u2014\u2014\uFF08\u719F\u6089while\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/8yhf4sn6/challenges",parent:"12",key:"122"},{shixun_name:"for\u8BED\u53E5",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/503194c483f44ccfacc7f9ee14cda70a/36cbd964c6657d1bbc43eb33b98f0c51-hd.m3u8",parent:"12",key:"123"},{shixun_name:"C++\u9009\u62E9\u7ED3\u6784\u2014\u2014\uFF08\u5DE7\u7528switch\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/sm3c5a7v/challenges",parent:"12",key:"124"},{stage_name:"\u51FD\u6570",parent:0,key:2},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:2,key:"21"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"21",key:"212"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"21",key:"213"},{discipline_name:"\u4F20\u8F93\u4F20\u9012",shixun_count:"2",video_count:"1",parent:2,key:"22"},{shixun_name:"\u51FD\u6570\u7684\u53C2\u6570",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"22",key:"221"},{shixun_name:"C++\u53C2\u6570\u4F20\u90121",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/2phrn8yk/challenges",parent:"22",key:"222"},{shixun_name:"C++\u53C2\u6570\u4F20\u90122",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xsq7p4a6/challenges",parent:"22",key:"223"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"2",parent:2,key:"23"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"23",key:"231"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"23",key:"232"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"23",key:"233"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:3},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"31",key:"311"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"31",key:"312"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"31",key:"313"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:4},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"41",key:"411"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"41",key:"412"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:5},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"51",key:"511"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"51",key:"512"},{discipline_name:"\u6307\u9488",shixun_count:"1",video_count:"1",parent:5,key:"52"},{shixun_name:"\u6307\u9488",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/00a5448862c84c42b1a369ac2be88ae9/9b9627710a725e570ede478663c2589d-hd.m3u8",parent:"52",key:"521"},{shixun_name:"\u7528\u6307\u9488\u89E3\u51B3\u95EE\u9898-\u6587\u672C\u683C\u5F0F\u5904\u7406",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/xfnp73fz/challenges",parent:"52",key:"522"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:6},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"0",video_count:"2",parent:6,key:"61"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"61",key:"611"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"61",key:"612"},{stage_name:"\u591A\u6001\u6027",parent:0,key:7},{discipline_name:"\u591A\u6001\u6027",shixun_count:"1",video_count:"2",parent:7,key:"71"},{shixun_name:"\u591A\u6001\u6027(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/5a960b51ebf346d2b77afb3b70d00768/73d6fa00824f4c73b885d33f688c3294-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u591A\u6001\u6027(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/08fe97a36e184cf1bf27cdd7a24794c9/625c4e9e863840443f5332ccc02761fc-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u865A\u51FD\u6570\u4E0E\u591A\u6001\u6027",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/9pjmg7uf/challenges",parent:"71",key:"713"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"1",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{shixun_name:"\u7FA4\u4F53\u7C7B\u548C\u7FA4\u4F53\u6570\u636E\u7684\u7EC4\u7EC7",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/kfv3my9o/challenges",parent:"81",key:"812"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"1",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hmtw5iq6/challenges",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"2",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/65c02365a4ad40858b69b8cbe3ca4aa1/18a2c5697d4a84a971c500565509f038-hd.m3u8",parent:"101",key:"1012"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/hsvuixpm/challenges",parent:"101",key:"1013"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(E=>(E.parent=Number(E.parent),E.key=Number(E.key),E)),before:[{stage_name:"\u8003\u524D\u5B66\u4E60",parent:9999999,key:0},{stage_name:"\u7EEA\u8BBA",parent:0,key:1},{discipline_name:"\u7EEA\u8BBA",shixun_count:"1",video_count:"2",parent:1,key:"11"},{shixun_name:"\u7EEA\u8BBA1",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f066ae1a9a8f418f837e5bf8d02b2690/76df907c20efd95bea0fa23424f10693-hd.m3u8",parent:"11",key:"111"},{shixun_name:"\u7EEA\u8BBA2",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/068ca7853da448c794eeffb0dee8bed4/5bb446a882043683e37474ff408f601b-hd.m3u8",parent:"11",key:"112"},{shixun_name:"C++\u5F00\u53D1\u73AF\u5883\u5E94\u7528\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/zxb937qn/challenges",parent:"11",key:"113"},{stage_name:"\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",parent:0,key:2},{discipline_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_count:"1",video_count:"1",parent:2,key:"21"},{shixun_name:"\u57FA\u7840\u6570\u636E\u7C7B\u578B\u548C\u8868\u8FBE\u5F0F",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/f5f9c87860cb4a98ba86da37b5bfac70/8d50a9c4d5d4d3382c09bad3f4c5dcb6-hd.m3u8",parent:"21",key:"211"},{shixun_name:"C++\u7B80\u5355\u7A0B\u5E8F\u8BBE\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/lg5afhzv/challenges",parent:"21",key:"212"},{stage_name:"\u51FD\u6570",parent:0,key:3},{discipline_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_count:"2",video_count:"1",parent:3,key:"31"},{shixun_name:"\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c10e39b3afb14ad0b890368aa1751821/ef361445294452e1d9bfacae80b3ec2f-hd.m3u8",parent:"31",key:"311"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75281",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/3q4isevr/challenges",parent:"31",key:"312"},{shixun_name:"C++\u51FD\u6570\u7684\u5B9A\u4E49\u4E0E\u8C03\u75282",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/tlhxwo64/challenges",parent:"31",key:"313"},{discipline_name:"\u9012\u5F52\u51FD\u6570",shixun_count:"2",video_count:"1",parent:3,key:"32"},{shixun_name:"\u51FD\u6570\u7684\u9012\u5F52\u8C03\u7528",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/51a0935ddc884f1b9f6c1395f2011425/7308cd65a7fe1d13eebe2600054d29c7-hd.m3u8",parent:"32",key:"321"},{shixun_name:"\u9012\u5F52\u51FD\u6570\u7F16\u5199\u5165\u95E8",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4qjw9t32/challenges",parent:"32",key:"322"},{shixun_name:"\u9006\u5E8F\u8F93\u51FA\uFF08\u4F7F\u7528\u9012\u5F52\u89E3\u51B3\uFF09",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/oxtrf27l/challenges",parent:"32",key:"323"},{stage_name:"\u7C7B\u548C\u5BF9\u8C61",parent:0,key:4},{discipline_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_count:"2",video_count:"1",parent:4,key:"41"},{shixun_name:"\u6784\u9020\u51FD\u6570\u548C\u6790\u6784\u51FD\u6570",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/b4e17c1e8c8d449f862af9ea94fa9522/bad9e739addf73679a70e38a9d2cc32c-hd.m3u8",parent:"41",key:"411"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/igwom4hs/challenges",parent:"41",key:"412"},{shixun_name:"\u5B9A\u4E49\u548C\u4F7F\u7528\u7ED3\u6784\u4F53",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/5yo6rw3f/challenges",parent:"41",key:"413"},{stage_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",parent:0,key:5},{discipline_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_count:"1",video_count:"1",parent:5,key:"51"},{shixun_name:"\u6570\u636E\u7684\u5171\u4EAB\u4E0E\u4FDD\u62A4",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fde33b24ff2b4bf5bc5e238dc473df8e/3cf407a74af29554226084d17fa17858-hd.m3u8",parent:"51",key:"511"},{shixun_name:"C++\u7A0B\u5E8F\u7684\u7ED3\u6784",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/yqbh3fx5/challenges",parent:"51",key:"512"},{stage_name:"\u6570\u7EC4\u3001\u6307\u9488\u4E0E\u5B57\u7B26\u4E32",parent:0,key:6},{discipline_name:"\u6570\u7EC4",shixun_count:"1",video_count:"1",parent:6,key:"61"},{shixun_name:"\u6570\u7EC4",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7785?subject_id=jpl5vs26",parent:"61",key:"611"},{shixun_name:"\u5E73\u5747\u6210\u7EE9\u4E0E\u7B80\u5355\u7EDF\u8BA1",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/4wcfgm5q/challenges",parent:"61",key:"612"},{stage_name:"\u7C7B\u7684\u7EE7\u627F",parent:0,key:7},{discipline_name:"\u7C7B\u7684\u7EE7\u627F",shixun_count:"1",video_count:"3",parent:7,key:"71"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/1eedcdb9ec43442c93780f04859c9aa9/631b8c88eb263877d24637d5b8d54dc5-hd.m3u8",parent:"71",key:"711"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/fc1e7d8d8140469ba1bc01ee64fcc3c1/9256d13f4a14ae17ba9cac9f895b8a9d-hd.m3u8",parent:"71",key:"712"},{shixun_name:"\u7C7B\u7684\u7EE7\u627F(3)",shixun_type:"\u89C6\u9891",url:"https://www.educoder.net/video/7806?subject_id=jpl5vs26",parent:"71",key:"713"},{shixun_name:"\u7EE7\u627F\u4E0E\u6D3E\u751F",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/f83ipgyo/challenges",parent:"71",key:"714"},{stage_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",parent:0,key:8},{discipline_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E",shixun_count:"0",video_count:"1",parent:8,key:"81"},{shixun_name:"\u6A21\u677F\u4E0E\u7FA4\u4F53\u6570\u636E(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/8dcf418d2d16404d91af1780f669e549/eb538592d8a3b98e1c2f7f844f85b778-hd.m3u8",parent:"81",key:"811"},{stage_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",parent:0,key:9},{discipline_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93",shixun_count:"0",video_count:"1",parent:9,key:"91"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/2f3154d695a542fbaba5c483d8d7f7a9/aea4302c51501634469ed4b91462c810-hd.m3u8",parent:"91",key:"911"},{shixun_name:"\u6CDB\u578B\u7A0B\u5E8F\u8BBE\u8BA1\u4E0EC++\u6807\u51C6\u6A21\u677F\u5E93(2)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/23be6a61e4e54db398b9172b1213a1f2/3f1e88f97957369e29ef2bde63640004-hd.m3u8",parent:"91",key:"912"},{stage_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",parent:0,key:10},{discipline_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165/\u8F93\u51FA",shixun_count:"0",video_count:"1",parent:10,key:"101"},{shixun_name:"\u6D41\u7C7B\u5E93\u4E0E\u8F93\u5165\u8F93\u51FA(1)",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c9e76b949ee847fbb89a926220526692/b80ff8d09a87bfde1064f5b73ae7c34b-hd.m3u8",parent:"101",key:"1011"},{stage_name:"\u5F02\u5E38\u5904\u7406",parent:0,key:9911},{discipline_name:"\u5F02\u5E38\u5904\u7406",shixun_count:"1",video_count:"1",parent:9911,key:"99111"},{shixun_name:"\u5F02\u5E38\u5904\u7406",shixun_type:"\u89C6\u9891",url:"https://video.educoder.net/c95499dd4c064584914e32fca9563717/98a8be24326e3eb35375713f5ccbb8bb-hd.m3u8",parent:"99111",key:"991111"},{shixun_name:"\u7F16\u5199\u5F02\u5E38\u5904\u7406\u7684\u7C7B",shixun_type:"\u5B9E\u8BAD",url:"https://www.educoder.net/shixuns/nlt6f7ae/challenges",parent:"99111",key:"991112"}].map(E=>(E.parent=Number(E.parent),E.key=Number(E.key),E))};var de=l(86541),N=l(81032),J=Object.defineProperty,re=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,G=(E,w,b)=>w in E?J(E,w,{enumerable:!0,configurable:!0,writable:!0,value:b}):E[w]=b,we=(E,w)=>{for(var b in w||(w={}))Y.call(w,b)&&G(E,b,w[b]);if(re)for(var b of re(w))o.call(w,b)&&G(E,b,w[b]);return E};const ee=({classroomList:E,loading:w,dispatch:b})=>{const[I]=(0,S.useSearchParams)(),[L]=(0,a.useState)(we({},(0,S.useParams)())),[O,T]=(0,a.useState)("init"),[A,Q]=(0,a.useState)(""),ne=(0,a.useRef)();(0,a.useEffect)(()=>{const Be=I.get("tabId");Be&&(T(Be),L.status=Be)},[L.categoryId,I.get("tabId")]);const pe=Be=>{T(Be.key)},Ae=[{name:"\u521D\u59CB\u5B66\u4E60",id:"init"},{name:"\u590D\u4E60\u5B66\u4E60",id:"review"},{name:"\u8003\u524D\u5B66\u4E60",id:"before"}],be=Be=>{Be.data.type==="playVideo"&&Q(Be.data.url)};(0,a.useEffect)(()=>{O&&Te(),window.addEventListener("message",be)},[O]);const Te=()=>{var Be;(Be=ne.current.contentWindow)==null||Be.postMessage({data:ue[O]},"*")};return a.createElement("section",null,a.createElement(de.Z,{isLoading:w["classroomList/getClassroomAttendancesList"],tabDataSource:Ae,isAdmin:(0,_.GJ)(),onTabMenuClick:pe,defaultSelectedKeys:[O]}),a.createElement("section",null,a.createElement(M.Z,{loading:w["classroomList/getClassroomAttendancesList"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},a.createElement("iframe",{src:"/knowledgegraph/parseTree.html",onLoad:Te,className:C.iframe,ref:ne}))),a.createElement(P.default,{open:!!A,onCancel:()=>Q(""),width:800,footer:null,bodyStyle:{padding:0},centered:!0,destroyOnClose:!0},a.createElement(N.Z,{src:A,autoPlay:!0,toLog:!1})))};var q=(0,S.connect)(({classroomList:E,loading:w,globalSetting:b})=>({classroomList:E,globalSetting:b,loading:w.effects}))(ee)},86541:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return o}});var a=l(59301),S=l(95237),M=l(43604),P=l(20834),C=l(6848),_=l(38854),ue=l(8591),de={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},N=l(92123),J=l(47141),re=l(94601),o=({isLoading:G,addText:we,tabDataSource:ee,isAdmin:q,dispatch:E,classroomList:w,type:b,isExercise:I,defaultSelectedKeys:L,onTabMenuClick:O,getDropdownMenu:T,showControlButton:A,buttonText:Q,buttonIcon:ne="icon-tianjiadaohang",extraNode:pe,user:Ae,onButtonClick:be,isModelUser:Te})=>{var Be,F,Ge,We,Z;const he=(0,N.useParams)();return a.createElement("div",{className:de.tabMenuContainer},a.createElement(S.Z,null,a.createElement(M.Z,{flex:"1"},a.createElement(P.default,{onSelect:ie=>G?{}:O(ie),mode:"horizontal",selectedKeys:L},ee.map(ie=>a.createElement(P.default.Item,{key:typeof ie.index=="number"?ie.index:ie.id},a.createElement("span",{className:"c-grey-666"},ie.name),ie.total!==void 0&&q&&a.createElement("span",{className:"c-grey-999 ml20"},ie.total||0))))),q&&I&&a.createElement(C.Z,{title:"\u8003\u60C5\u53EF\u89C6\u5316\u7EDF\u8BA1"},a.createElement("i",{className:"iconfont icon-shuatitongji mr20",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{(0,re.xg)("/zbstatistics")}})),q&&I&&a.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{E({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),q&&a.createElement(M.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},I&&a.createElement(_.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>a.createElement(P.default,null,a.createElement(P.default.Item,{key:1,onClick:()=>{var ie;if((0,J.Rm)()&&!((ie=w.AssistantObject.exercise)!=null&&ie.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}E({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:b,exportType:"exercise",category_id:he.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),a.createElement(P.default.Item,{key:3,onClick:()=>{var ie;if((0,J.Rm)()&&!((ie=w.AssistantObject.exercise)!=null&&ie.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}N.history.push(`/classrooms/${he==null?void 0:he.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},a.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},a.createElement("span",{style:{color:"#666666",cursor:"pointer"}},a.createElement("i",{className:"iconfont icon-xiazai6"})))),a.createElement("div",{className:de.control},a.createElement("div",{className:de.extra},pe),A&&(Q=="\u6DFB\u52A0\u76F4\u64AD"?a.createElement(_.Z,{menu:{items:(F=(Be=[{label:a.createElement("div",{onClick:()=>{be("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},Te&&{label:a.createElement("div",{onClick:()=>{be("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:Be.filter(ie=>ie==null?void 0:ie.show))==null?void 0:F.map(ie=>({label:ie==null?void 0:ie.label,key:ie==null?void 0:ie.key}))}},a.createElement("span",{className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${ne}`})),a.createElement("span",null,Q))):a.createElement("span",{onClick:be,style:{cursor:"pointer"},className:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:`iconfont ${ne}`})),a.createElement("span",null,Q))),!!T&&a.createElement(_.Z,{disabled:((Ge=Ae==null?void 0:Ae.userInfo)==null?void 0:Ge.user_status)===2,className:"ml10",dropdownRender:T},a.createElement("span",{className:((We=Ae==null?void 0:Ae.userInfo)==null?void 0:We.user_status)===2?de.selectBtn1:de.selectBtn},a.createElement("span",null,a.createElement("i",{className:"iconfont icon-tianjiadaohang"})),a.createElement(C.Z,{title:((Z=Ae==null?void 0:Ae.userInfo)==null?void 0:Z.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},a.createElement("span",null,we||"\u521B\u5EFA\u8BD5\u5377"))))))))}},18030:function(ut,Re,l){"use strict";l.d(Re,{BU:function(){return S},Dj:function(){return a},gH:function(){return M},vp:function(){return P}});function a(C){try{C.mozRequestFullScreen?C.mozRequestFullScreen():C.webkitRequestFullScreen&&C.webkitRequestFullScreen()}catch(_){console.log(_,":e")}}function S(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const M=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function P(){var C=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,_=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",C),window.isFullScreen?window.isFullScreen:C!=null}},96640:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return dn}});class a{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","error",n),C.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","info",n),C.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","warn",n),C.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","debug",n),C.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||C.FORCE_GLOBAL_TAG)&&(e=C.GLOBAL_TAG);let n=`[${e}] > ${t}`;C.ENABLE_CALLBACK&&C.emitter.emit("log","verbose",n),C.ENABLE_VERBOSE&&console.log(n)}}C.GLOBAL_TAG="flv.js",C.FORCE_GLOBAL_TAG=!1,C.ENABLE_ERROR=!0,C.ENABLE_INFO=!0,C.ENABLE_WARN=!0,C.ENABLE_DEBUG=!0,C.ENABLE_VERBOSE=!0,C.ENABLE_CALLBACK=!1,C.emitter=new(P());var _=C;class ue{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var de=ue;class N{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class J extends N{constructor(e){super(e)}get name(){return"IllegalStateException"}}class re extends N{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class Y extends N{constructor(e){super(e)}get name(){return"NotImplementedException"}}const o={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},G={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class we{constructor(e){this._type=e||"undefined",this._status=o.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=o.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===o.kConnecting||this._status===o.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new Y("Unimplemented abstract function!")}abort(){throw new Y("Unimplemented abstract function!")}}let ee={};function q(){let K=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(K)||/(opr)[\/]([\w.]+)/.exec(K)||/(chrome)[ \/]([\w.]+)/.exec(K)||/(iemobile)[\/]([\w.]+)/.exec(K)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(K)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(K)||/(webkit)[ \/]([\w.]+)/.exec(K)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(K)||/(msie) ([\w.]+)/.exec(K)||K.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(K)||K.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(K)||[],t=/(ipad)/.exec(K)||/(ipod)/.exec(K)||/(windows phone)/.exec(K)||/(iphone)/.exec(K)||/(kindle)/.exec(K)||/(android)/.exec(K)||/(windows)/.exec(K)||/(mac)/.exec(K)||/(linux)/.exec(K)||/(cros)/.exec(K)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},i={};if(n.browser){i[n.browser]=!0;let r=n.majorVersion.split(".");i.version={major:parseInt(n.majorVersion,10),string:n.version},r.length>1&&(i.version.minor=parseInt(r[1],10)),r.length>2&&(i.version.build=parseInt(r[2],10))}if(n.platform&&(i[n.platform]=!0),(i.chrome||i.opr||i.safari)&&(i.webkit=!0),i.rv||i.iemobile){i.rv&&delete i.rv;let r="msie";n.browser=r,i[r]=!0}if(i.edge){delete i.edge;let r="msedge";n.browser=r,i[r]=!0}if(i.opr){let r="opera";n.browser=r,i[r]=!0}if(i.safari&&i.android){let r="android";n.browser=r,i[r]=!0}i.name=n.browser,i.platform=n.platform;for(let r in ee)ee.hasOwnProperty(r)&&delete ee[r];Object.assign(ee,i)}q();var E=ee;class w extends we{static isSupported(){try{let e=E.msedge&&E.version.minor>=15048,t=E.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let i=this._seekHandler.getConfig(n,t),r=new self.Headers;if(typeof i.headers=="object"){let g=i.headers;for(let oe in g)g.hasOwnProperty(oe)&&r.append(oe,g[oe])}let c={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let g in this._config.headers)r.append(g,this._config.headers[g]);e.cors===!1&&(c.mode="same-origin"),e.withCredentials&&(c.credentials="include"),e.referrerPolicy&&(c.referrerPolicy=e.referrerPolicy),this._status=o.kConnecting,self.fetch(i.url,c).then(g=>{if(this._requestAbort){this._requestAbort=!1,this._status=o.kIdle;return}if(g.ok&&g.status>=200&&g.status<=299){if(g.url!==i.url&&this._onURLRedirect){let H=this._seekHandler.removeURLParameters(g.url);this._onURLRedirect(H)}let oe=g.headers.get("Content-Length");return oe!=null&&(this._contentLength=parseInt(oe),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,g.body.getReader())}else if(this._status=o.kError,this._onError)this._onError(G.HTTP_STATUS_CODE_INVALID,{code:g.status,msg:g.statusText});else throw new N("FetchStreamLoader: Http code invalid, "+g.status+" "+g.statusText)}).catch(g=>{if(this._status=o.kError,this._onError)this._onError(G.EXCEPTION,{code:-1,msg:g.message});else throw g})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&E.msedge)return;this._status=o.kError;let n=0,i=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=o.kError,this._onError)this._onError(G.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new N("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=o.kBuffering}}_onProgress(e){if(this._status===o.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===o.kError)return;this._status=o.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=o.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let i=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let i=parseInt(n);i>0&&(this._contentLength=i,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let i=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=i.byteLength,this._onDataArrival&&this._onDataArrival(i,r,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+i.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let i=this._seekHandler.getConfig(n,t);this._currentRequestURL=i.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",i.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof i.headers=="object"){let c=i.headers;for(let g in c)c.hasOwnProperty(g)&&r.setRequestHeader(g,c[g])}if(typeof this._config.headers=="object"){let c=this._config.headers;for(let g in c)c.hasOwnProperty(g)&&r.setRequestHeader(g,c[g])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=o.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=o.kBuffering}else if(this._status=o.kError,this._onError)this._onError(G.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new N("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===o.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let i=e.total;this._internalAbort(),i!=null&i!==0&&(this._totalLength=i)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,i=0,r=0,c=n;if(e=t[i]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let c=this._normalizeSpeed(t);this._currentSpeedNormalized!==c&&(this._currentSpeedNormalized=c,this._currentChunkSizeKB=c)}let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=o.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(G.EXCEPTION,t);else throw new N(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=o.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(G.EXCEPTION,t);else throw new N(t.msg)}}var pe=ne;class Ae{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let i;t.to!==-1?i=`bytes=${t.from.toString()}-${t.to.toString()}`:i=`bytes=${t.from.toString()}-`,n.Range=i}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var be=Ae;class Te{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let i=!0;n.indexOf("?")===-1&&(n+="?",i=!1),i&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,i=e.indexOf("?");i!==-1&&(n=e.substring(i+1));let r="";if(n!=null&&n.length>0){let c=n.split("&");for(let g=0;g0;oe[0]!==this._startName&&oe[0]!==this._endName&&(H&&(r+="&"),r+=c[g])}}return r.length===0?t:t+"?"+r}}var Be=Te;class F{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new de,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===Q?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new be(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new Be(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new re("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new re(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=pe;else if(b.isSupported())this._loaderClass=b;else if(L.isSupported())this._loaderClass=L;else if(Q.isSupported())this._loaderClass=Q;else throw new N("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new re("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let i=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(i,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,i=0,r=0,c=n;if(e=t[i]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let c=this._stashBuffer.slice(0,this._stashUsed),g=this._dispatchChunks(c,this._stashByteStart);if(g0){let oe=new Uint8Array(c,g);r.set(oe,0),this._stashUsed=oe.byteLength,this._stashByteStart+=g}}else this._stashUsed=0,this._stashByteStart+=g;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let c=this._dispatchChunks(e,t);if(cthis._bufferSize&&(this._expandBuffer(g),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,c),0),this._stashUsed+=g,this._stashByteStart=t+c}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,t);if(rthis._bufferSize&&this._expandBuffer(c),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=c,this._stashByteStart=t+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let c=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(c0){let g=new Uint8Array(this._stashBuffer,c);r.set(g,0)}this._stashUsed-=c,this._stashByteStart+=c}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),i=t.byteLength-n;if(n0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),c=new Uint8Array(t,n);r.set(c,0),this._stashUsed=c.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,i}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(_.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=G.UNRECOVERABLE_EARLY_EOF),e){case G.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=ae.getConfig();e.emit("change",t)}}static registerListener(e){ae.emitter.addListener("change",e)}static removeListener(e){ae.emitter.removeListener("change",e)}static addLogListener(e){_.emitter.addListener("log",e),_.emitter.listenerCount("log")>0&&(_.ENABLE_CALLBACK=!0,ae._notifyChange())}static removeLogListener(e){_.emitter.removeListener("log",e),_.emitter.listenerCount("log")===0&&(_.ENABLE_CALLBACK=!1,ae._notifyChange())}}ae.emitter=new(P());var ve=ae;class Ue{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,i=e.length-1,r=0,c=0,g=i;for(t=e[r]&&t=128){e.push(String.fromCharCode(r&65535)),n+=2;continue}}}else if(t[n]<240){if(je(t,n,2)){let r=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),n+=3;continue}}}else if(t[n]<248&&je(t,n,3)){let r=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var nt=Xe;let Me=function(){let K=new ArrayBuffer(2);return new DataView(K).setInt16(0,256,!0),new Int16Array(K)[0]===256}();class He{static parseScriptData(e,t,n){let i={};try{let r=He.parseValue(e,t,n),c=He.parseValue(e,t+r.size,n-r.size);i[r.data]=c.data}catch(r){_.e("AMF",r.toString())}return i}static parseObject(e,t,n){if(n<3)throw new J("Data not enough when parse ScriptDataObject");let i=He.parseString(e,t,n),r=He.parseValue(e,t+i.size,n-i.size),c=r.objectEnd;return{data:{name:i.data,value:r.data},size:i.size+r.size,objectEnd:c}}static parseVariable(e,t,n){return He.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new J("Data not enough when parse String");let r=new DataView(e,t,n).getUint16(0,!Me),c;return r>0?c=nt(new Uint8Array(e,t+2,r)):c="",{data:c,size:2+r}}static parseLongString(e,t,n){if(n<4)throw new J("Data not enough when parse LongString");let r=new DataView(e,t,n).getUint32(0,!Me),c;return r>0?c=nt(new Uint8Array(e,t+4,r)):c="",{data:c,size:4+r}}static parseDate(e,t,n){if(n<10)throw new J("Data size invalid when parse Date");let i=new DataView(e,t,n),r=i.getFloat64(0,!Me),c=i.getInt16(8,!Me);return r+=c*60*1e3,{data:new Date(r),size:10}}static parseValue(e,t,n){if(n<1)throw new J("Data not enough when parse Value");let i=new DataView(e,t,n),r=1,c=i.getUint8(0),g,oe=!1;try{switch(c){case 0:g=i.getFloat64(1,!Me),r+=8;break;case 1:{g=!!i.getUint8(1),r+=1;break}case 2:{let H=He.parseString(e,t+1,n-1);g=H.data,r+=H.size;break}case 3:{g={};let H=0;for((i.getUint32(n-4,!Me)&16777215)===9&&(H=3);r32)throw new re("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let c=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,c}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let i=Math.min(n,this._current_word_bits_left),r=this._current_word>>>32-i;return this._current_word<<=i,this._current_word_bits_left-=i,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var et=Je;class B{static _ebsp2rbsp(e){let t=e,n=t.byteLength,i=new Uint8Array(n),r=0;for(let c=0;c=2&&t[c]===3&&t[c-1]===0&&t[c-2]===0||(i[r]=t[c],r++);return new Uint8Array(i.buffer,0,r)}static parseSPS(e){let t=B._ebsp2rbsp(e),n=new et(t);n.readByte();let i=n.readByte();n.readByte();let r=n.readByte();n.readUEG();let c=B.getProfileString(i),g=B.getLevelString(r),oe=1,H=420,fe=[0,420,422,444],Ve=8;if((i===100||i===110||i===122||i===244||i===44||i===83||i===86||i===118||i===128||i===138||i===144)&&(oe=n.readUEG(),oe===3&&n.readBits(1),oe<=3&&(H=fe[oe]),Ve=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let Ke=oe!==3?8:12;for(let Pe=0;Pe0&&Ke<16?(Et=Pe[Ke-1],Ee=rt[Ke-1]):Ke===255&&(Et=n.readByte()<<8|n.readByte(),Ee=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let Ke=n.readBits(32),Pe=n.readBits(32);p=n.readBool(),v=Pe,D=Ke*2,ge=v/D}}let k=1;(Et!==1||Ee!==1)&&(k=Et/Ee);let X=0,z=0;if(oe===0)X=1,z=2-V;else{let Ke=oe===3?1:2,Pe=oe===1?2:1;X=Ke,z=Pe*(2-V)}let Se=(Ne+1)*16,Ze=(2-V)*((me+1)*16);Se-=(te+Ce)*X,Ze-=(Le+Ye)*z;let ke=Math.ceil(Se*k);return n.destroy(),n=null,{profile_string:c,level_string:g,bit_depth:Ve,ref_frames:le,chroma_format:H,chroma_format_string:B.getChromaFormatString(H),frame_rate:{fixed:p,fps:ge,fps_den:D,fps_num:v},sar_ratio:{width:Et,height:Ee},codec_size:{width:Se,height:Ze},present_size:{width:ke,height:Ze}}}static _skipScalingList(e,t){let n=8,i=8,r=0;for(let c=0;c>>8&255|(K&255)<<8}function $(K){return(K&4278190080)>>>24|(K&16711680)>>>8|(K&65280)<<8|(K&255)<<24}function d(K,e){return K[e]<<24|K[e+1]<<16|K[e+2]<<8|K[e+3]}class m{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new $e,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let i=(t[4]&4)>>>2!==0,r=(t[4]&1)!==0,c=d(t,5);return c<9?n:{match:!0,consumed:c,dataOffset:c,hasAudioTrack:i,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new $e}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new J("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,i=this._littleEndian;if(t===0)if(e.byteLength>13)n=m.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&_.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!i)!==0&&_.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let c=r.getUint8(0),g=r.getUint32(0,!i)&16777215;if(n+11+g+4>e.byteLength)break;if(c!==8&&c!==9&&c!==18){_.w(this.TAG,`Unsupported tag type ${c}, skipped`),n+=11+g+4;continue}let oe=r.getUint8(4),H=r.getUint8(5),fe=r.getUint8(6),Ve=r.getUint8(7),ze=fe|H<<8|oe<<16|Ve<<24;(r.getUint32(7,!i)&16777215)!==0&&_.w(this.TAG,"Meet tag which has StreamID != 0!");let Ne=n+11;switch(c){case 8:this._parseAudioData(e,Ne,g,ze);break;case 9:this._parseVideoData(e,Ne,g,ze,t+n);break;case 18:this._parseScriptData(e,Ne,g);break}let me=r.getUint32(11+g,!i);me!==11+g&&_.w(this.TAG,`Invalid PrevTagSize ${me}`),n+=11+g+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let i=Qe.parseScriptData(e,t,n);if(i.hasOwnProperty("onMetaData")){if(i.onMetaData==null||typeof i.onMetaData!="object"){_.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&_.w(this.TAG,"Found another onMetaData tag!"),this._metadata=i;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let c=Math.floor(r.duration*this._timescale);this._duration=c,this._mediaInfo.duration=c}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let c=Math.floor(r.framerate*1e3);if(c>0){let g=c/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=g,this._referenceFrameRate.fps_num=c,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=g}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let c=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(c),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,_.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(i).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},i))}_parseKeyframesIndex(e){let t=[],n=[];for(let i=1;i>>4;if(oe!==2&&oe!==10){this._onError(h.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+oe);return}let H=0,fe=(g&12)>>>2;if(fe>=0&&fe<=4)H=this._flvSoundRateTable[fe];else{this._onError(h.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+fe);return}let Ve=(g&2)>>>1,ze=g&1,le=this._audioMetadata,Ne=this._audioTrack;if(le||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),le=this._audioMetadata={},le.type="audio",le.id=Ne.id,le.timescale=this._timescale,le.duration=this._duration,le.audioSampleRate=H,le.channelCount=ze===0?1:2),oe===10){let me=this._parseAACAudioData(e,t+1,n-1);if(me==null)return;if(me.packetType===0){le.config&&_.w(this.TAG,"Found another AudioSpecificConfig!");let V=me.data;le.audioSampleRate=V.samplingRate,le.channelCount=V.channelCount,le.codec=V.codec,le.originalCodec=V.originalCodec,le.config=V.config,le.refSampleDuration=1024/le.audioSampleRate*le.timescale,_.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",le);let te=this._mediaInfo;te.audioCodec=le.originalCodec,te.audioSampleRate=le.audioSampleRate,te.audioChannelCount=le.channelCount,te.hasVideo?te.videoCodec!=null&&(te.mimeType='video/x-flv; codecs="'+te.videoCodec+","+te.audioCodec+'"'):te.mimeType='video/x-flv; codecs="'+te.audioCodec+'"',te.isComplete()&&this._onMediaInfo(te)}else if(me.packetType===1){let V=this._timestampBase+i,te={unit:me.data,length:me.data.byteLength,dts:V,pts:V};Ne.samples.push(te),Ne.length+=me.data.length}else _.e(this.TAG,`Flv: Unsupported AAC data type ${me.packetType}`)}else if(oe===2){if(!le.codec){let Ce=this._parseMP3AudioData(e,t+1,n-1,!0);if(Ce==null)return;le.audioSampleRate=Ce.samplingRate,le.channelCount=Ce.channelCount,le.codec=Ce.codec,le.originalCodec=Ce.originalCodec,le.refSampleDuration=1152/le.audioSampleRate*le.timescale,_.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",le);let Le=this._mediaInfo;Le.audioCodec=le.codec,Le.audioSampleRate=le.audioSampleRate,Le.audioChannelCount=le.channelCount,Le.audioDataRate=Ce.bitRate,Le.hasVideo?Le.videoCodec!=null&&(Le.mimeType='video/x-flv; codecs="'+Le.videoCodec+","+Le.audioCodec+'"'):Le.mimeType='video/x-flv; codecs="'+Le.audioCodec+'"',Le.isComplete()&&this._onMediaInfo(Le)}let me=this._parseMP3AudioData(e,t+1,n-1,!1);if(me==null)return;let V=this._timestampBase+i,te={unit:me,length:me.byteLength,dts:V,pts:V};Ne.samples.push(te),Ne.length+=me.length}}_parseAACAudioData(e,t,n){if(n<=1){_.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let i={},r=new Uint8Array(e,t,n);return i.packetType=r[0],r[0]===0?i.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):i.data=r.subarray(1),i}_parseAACAudioSpecificConfig(e,t,n){let i=new Uint8Array(e,t,n),r=null,c=0,g=0,oe=null,H=0,fe=null;if(c=g=i[0]>>>3,H=(i[0]&7)<<1|i[1]>>>7,H<0||H>=this._mpegSamplingRates.length){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Ve=this._mpegSamplingRates[H],ze=(i[1]&120)>>>3;if(ze<0||ze>=8){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}c===5&&(fe=(i[1]&7)<<1|i[2]>>>7,oe=(i[2]&124)>>>2);let le=self.navigator.userAgent.toLowerCase();return le.indexOf("firefox")!==-1?H>=6?(c=5,r=new Array(4),fe=H-3):(c=2,r=new Array(2),fe=H):le.indexOf("android")!==-1?(c=2,r=new Array(2),fe=H):(c=5,fe=H,r=new Array(4),H>=6?fe=H-3:ze===1&&(c=2,r=new Array(2),fe=H)),r[0]=c<<3,r[0]|=(H&15)>>>1,r[1]=(H&15)<<7,r[1]|=(ze&15)<<3,c===5&&(r[1]|=(fe&15)>>>1,r[2]=(fe&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:Ve,channelCount:ze,codec:"mp4a.40."+c,originalCodec:"mp4a.40."+g}}_parseMP3AudioData(e,t,n,i){if(n<4){_.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,c=new Uint8Array(e,t,n),g=null;if(i){if(c[0]!==255)return;let oe=c[1]>>>3&3,H=(c[1]&6)>>1,fe=(c[2]&240)>>>4,Ve=(c[2]&12)>>>2,le=(c[3]>>>6&3)!==3?2:1,Ne=0,me=0,V=34,te="mp3";switch(oe){case 0:Ne=this._mpegAudioV25SampleRateTable[Ve];break;case 2:Ne=this._mpegAudioV20SampleRateTable[Ve];break;case 3:Ne=this._mpegAudioV10SampleRateTable[Ve];break}switch(H){case 1:V=34,fe>>4,oe=c&15;if(oe!==7){this._onError(h.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${oe}`);return}this._parseAVCVideoPacket(e,t+1,n-1,i,r,g)}_parseAVCVideoPacket(e,t,n,i,r,c){if(n<4){_.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let g=this._littleEndian,oe=new DataView(e,t,n),H=oe.getUint8(0),Ve=(oe.getUint32(0,!g)&16777215)<<8>>8;if(H===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(H===1)this._parseAVCVideoData(e,t+4,n-4,i,r,c,Ve);else if(H!==2){this._onError(h.FORMAT_ERROR,`Flv: Invalid video packet type ${H}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){_.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let i=this._videoMetadata,r=this._videoTrack,c=this._littleEndian,g=new DataView(e,t,n);i?typeof i.avcc!="undefined"&&_.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),i=this._videoMetadata={},i.type="video",i.id=r.id,i.timescale=this._timescale,i.duration=this._duration);let oe=g.getUint8(0),H=g.getUint8(1),fe=g.getUint8(2),Ve=g.getUint8(3);if(oe!==1||H===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(g.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(h.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let ze=g.getUint8(5)&31;if(ze===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ze>1&&_.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${ze}`);let le=6;for(let me=0;me1&&_.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ne}`);le++;for(let me=0;me=n){_.w(this.TAG,`Malformed Nalu near timestamp ${Ne}, offset = ${ze}, dataSize = ${n}`);break}let V=H.getUint32(ze,!oe);if(le===3&&(V>>>=8),V>n-le){_.w(this.TAG,`Malformed Nalus near timestamp ${Ne}, NaluSize > DataSize!`);return}let te=H.getUint8(ze+le)&31;te===5&&(me=!0);let Ce=new Uint8Array(e,t+ze,le+V),Le={type:te,data:Ce};fe.push(Le),Ve+=Ce.byteLength,ze+=le+V}if(fe.length){let V=this._videoTrack,te={units:fe,length:Ve,isKeyframe:me,dts:Ne,cts:g,pts:Ne+g};me&&(te.fileposition=r),V.samples.push(te),V.length+=Ve}}}var x=m;class u{static init(){u.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in u.types)u.types.hasOwnProperty(t)&&(u.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=u.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,i=Array.prototype.slice.call(arguments,1),r=i.length;for(let g=0;g>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let c=8;for(let g=0;g>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return u.box(u.types.trak,u.tkhd(e),u.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,i=e.presentWidth,r=e.presentHeight;return u.box(u.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>>8&255,i&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return u.box(u.types.mdia,u.mdhd(e),u.hdlr(e),u.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return u.box(u.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=u.constants.HDLR_AUDIO:t=u.constants.HDLR_VIDEO,u.box(u.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=u.box(u.types.smhd,u.constants.SMHD):t=u.box(u.types.vmhd,u.constants.VMHD),u.box(u.types.minf,t,u.dinf(),u.stbl(e))}static dinf(){return u.box(u.types.dinf,u.box(u.types.dref,u.constants.DREF))}static stbl(e){return u.box(u.types.stbl,u.stsd(e),u.box(u.types.stts,u.constants.STTS),u.box(u.types.stsc,u.constants.STSC),u.box(u.types.stsz,u.constants.STSZ),u.box(u.types.stco,u.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp3(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.mp4a(e)):u.box(u.types.stsd,u.constants.STSD_PREFIX,u.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types[".mp3"],i)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return u.box(u.types.mp4a,i,u.esds(e))}static esds(e){let t=e.config||[],n=t.length,i=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return u.box(u.types.esds,i)}static avc1(e){let t=e.avcc,n=e.codecWidth,i=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,i>>>8&255,i&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return u.box(u.types.avc1,r,u.box(u.types.avcC,t))}static mvex(e){return u.box(u.types.mvex,u.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return u.box(u.types.trex,n)}static moof(e,t){return u.box(u.types.moof,u.mfhd(e.sequenceNumber),u.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return u.box(u.types.mfhd,t)}static traf(e,t){let n=e.id,i=u.box(u.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),r=u.box(u.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),c=u.sdtp(e),g=u.trun(e,c.byteLength+16+16+8+16+8+8);return u.box(u.types.traf,i,r,g,c)}static sdtp(e){let t=e.samples||[],n=t.length,i=new Uint8Array(4+n);for(let r=0;r>>24&255,i>>>16&255,i>>>8&255,i&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let g=0;g>>24&255,oe>>>16&255,oe>>>8&255,oe&255,H>>>24&255,H>>>16&255,H>>>8&255,H&255,fe.isLeading<<2|fe.dependsOn,fe.isDependedOn<<6|fe.hasRedundancy<<4|fe.isNonSync,0,0,Ve>>>24&255,Ve>>>16&255,Ve>>>8&255,Ve&255],12+16*g)}return u.box(u.types.trun,c)}static mdat(e){return u.box(u.types.mdat,e)}}u.init();var R=u;class W{static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var ce=W;class De{constructor(e,t,n,i,r){this.dts=e,this.pts=t,this.duration=n,this.originalDts=i,this.isSyncPoint=r,this.fileposition=null}}class Fe{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class _e{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[r].dts&&et[i].lastSample.originalDts&&e=t[i].lastSample.originalDts&&(i===t.length-1||i0&&(r=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class xe{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new Oe("audio"),this._videoSegmentInfoList=new Oe("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(E.chrome&&(E.version.major<50||E.version.major===50&&E.version.build<2661)),this._fillSilentAfterSeek=E.msedge||E.msie,this._mp3UseMpegAudio=!E.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new J("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,i="mp4",r=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(i="mpeg",r="",n=new Uint8Array):n=R.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=R.generateInitSegment(t);else return;if(!this._onInitSegment)throw new J("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:r,container:`${e}/${i}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let i={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(i.samples.push(t),i.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(i,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,i=n.samples,r,c=-1,g=-1,oe=-1,H=this._audioMeta.refSampleDuration,fe=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ve=this._dtsBaseInited&&this._audioNextDts===void 0,ze=!1;if(!i||i.length===0||i.length===1&&!t)return;let le=0,Ne=null,me=0;fe?(le=0,me=n.length):(le=8,me=8+n.length);let V=null;if(i.length>1&&(V=i.pop(),me-=V.length),this._audioStashedLastSample!=null){let Ee=this._audioStashedLastSample;this._audioStashedLastSample=null,i.unshift(Ee),me+=Ee.length}V!=null&&(this._audioStashedLastSample=V);let te=i[0].dts-this._dtsBase;if(this._audioNextDts)r=te-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(ze=!0);else{let Ee=this._audioSegmentInfoList.getLastSampleBefore(te);if(Ee!=null){let ge=te-(Ee.originalDts+Ee.duration);ge<=3&&(ge=0);let p=Ee.dts+Ee.duration+ge;r=te-p}else r=0}if(ze){let Ee=te-r,ge=this._videoSegmentInfoList.getLastSegmentBefore(te);if(ge!=null&&ge.beginDts=1?U=Ce[Ce.length-1].duration:U=Math.floor(H);let k=!1,X=null;if(U>H*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!E.safari){k=!0;let z=Math.abs(U-H),Se=Math.ceil(z/H),Ze=D+H;_.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${D+U} ms, expected: ${D+Math.round(H)} ms, delta: ${Math.round(z)} ms, generate: ${Se} frames`);let ke=ce.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);ke==null&&(_.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),ke=p),X=[];for(let Pe=0;Pe0){let st=X[X.length-1];st.duration=rt-st.dts}let ht={dts:rt,pts:rt,cts:0,unit:ke,size:ke.byteLength,duration:0,originalDts:v,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};X.push(ht),me+=ht.size,Ze+=H}let Ke=X[X.length-1];Ke.duration=D+U-Ke.dts,U=Math.round(H)}Ce.push({dts:D,pts:D,cts:0,unit:ge.unit,size:ge.unit.byteLength,duration:U,originalDts:v,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),k&&Ce.push.apply(Ce,X)}fe?Ne=new Uint8Array(me):(Ne=new Uint8Array(me),Ne[0]=me>>>24&255,Ne[1]=me>>>16&255,Ne[2]=me>>>8&255,Ne[3]=me&255,Ne.set(R.types.mdat,4));for(let Ee=0;Ee1&&(le=i.pop(),ze-=le.length),this._videoStashedLastSample!=null){let Le=this._videoStashedLastSample;this._videoStashedLastSample=null,i.unshift(Le),ze+=Le.length}le!=null&&(this._videoStashedLastSample=le);let Ne=i[0].dts-this._dtsBase;if(this._videoNextDts)r=Ne-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())r=0;else{let Le=this._videoSegmentInfoList.getLastSampleBefore(Ne);if(Le!=null){let Ye=Ne-(Le.originalDts+Le.duration);Ye<=3&&(Ye=0);let Mt=Le.dts+Le.duration+Ye;r=Ne-Mt}else r=0}let me=new Fe,V=[];for(let Le=0;Le=1?v=V[V.length-1].duration:v=Math.floor(this._videoMeta.refSampleDuration),Et){let D=new De(Ee,p,v,Ye.dts,!0);D.fileposition=Ye.fileposition,me.appendSyncPoint(D)}V.push({dts:Ee,pts:p,cts:ge,units:Ye.units,size:Ye.length,isKeyframe:Et,duration:v,originalDts:Mt,flags:{isLeading:0,dependsOn:Et?2:1,isDependedOn:Et?1:0,hasRedundancy:0,isNonSync:Et?0:1}})}Ve=new Uint8Array(ze),Ve[0]=ze>>>24&255,Ve[1]=ze>>>16&255,Ve[2]=ze>>>8&255,Ve[3]=ze&255,Ve.set(R.types.mdat,4);for(let Le=0;Le{i.timestampBase=n,n+=i.duration,i.cors=e.cors,i.withCredentials=e.withCredentials,t.referrerPolicy&&(i.referrerPolicy=t.referrerPolicy)}),!isNaN(n)&&this._mediaDataSource.duration!==n&&(this._mediaDataSource.duration=n),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,t){this._currentSegmentIndex=e;let n=this._mediaDataSource.segments[e],i=this._ioctl=new Ge(n,this._config,e);i.onError=this._onIOException.bind(this),i.onSeeked=this._onIOSeeked.bind(this),i.onComplete=this._onIOComplete.bind(this),i.onRedirect=this._onIORedirect.bind(this),i.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):i.onDataArrival=this._onInitChunkArrival.bind(this),i.open(t)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e;else{let i=n.getNearestKeyframe(e);this._remuxer.seek(i.milliseconds),this._ioctl.seek(i.fileposition),this._pendingResolveSeekPoint=i.milliseconds}}else{let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{let i=n.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,i.fileposition),this._pendingResolveSeekPoint=i.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let t=this._mediaDataSource.segments,n=t.length-1;for(let i=0;i0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,i=this._demuxer.parseChunks(e,t);else if((n=x.probe(e)).match){this._demuxer=new x(n,this._config),this._remuxer||(this._remuxer=new ot(this._config));let r=this._mediaDataSource;r.duration!=null&&!isNaN(r.duration)&&(this._demuxer.overridedDuration=r.duration),typeof r.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=r.hasAudio),typeof r.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=r.hasVideo),this._demuxer.timestampBase=r.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),i=this._demuxer.parseChunks(e,t)}else n=null,_.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(j.DEMUX_ERROR,h.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),i=0;return i}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,$e.prototype));let t=Object.assign({},e);Object.setPrototypeOf(t,$e.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=t,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let n=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(n)})}_onMetaDataArrived(e){this._emitter.emit(j.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(j.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let n=e+1;n0&&n[0].originalDts===i&&(i=n[0].pts),this._emitter.emit(j.RECOMMEND_SEEKPOINT,i)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let t=this._mediaInfo.segments[e],n=Object.assign({},t);n.duration=this._mediaInfo.duration,n.segmentCount=this._mediaInfo.segmentCount,delete n.segments,delete n.keyframesIndex,this._emitter.emit(j.MEDIA_INFO,n)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(j.STATISTICS_INFO,e)}}var ct=bt,it=function(K){let e="TransmuxingWorker",t=null,n=me.bind(this);S.install(),K.addEventListener("message",function(V){switch(V.data.cmd){case"init":t=new ct(V.data.param[0],V.data.param[1]),t.on(j.IO_ERROR,ze.bind(this)),t.on(j.DEMUX_ERROR,le.bind(this)),t.on(j.INIT_SEGMENT,i.bind(this)),t.on(j.MEDIA_SEGMENT,r.bind(this)),t.on(j.LOADING_COMPLETE,c.bind(this)),t.on(j.RECOVERED_EARLY_EOF,g.bind(this)),t.on(j.MEDIA_INFO,oe.bind(this)),t.on(j.METADATA_ARRIVED,H.bind(this)),t.on(j.SCRIPTDATA_ARRIVED,fe.bind(this)),t.on(j.STATISTICS_INFO,Ve.bind(this)),t.on(j.RECOMMEND_SEEKPOINT,Ne.bind(this));break;case"destroy":t&&(t.destroy(),t=null),K.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(V.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":{let te=V.data.param;ve.applyConfig(te),te.enableCallback===!0?ve.addLogListener(n):ve.removeLogListener(n);break}}});function i(V,te){let Ce={msg:j.INIT_SEGMENT,data:{type:V,data:te}};K.postMessage(Ce,[te.data])}function r(V,te){let Ce={msg:j.MEDIA_SEGMENT,data:{type:V,data:te}};K.postMessage(Ce,[te.data])}function c(){let V={msg:j.LOADING_COMPLETE};K.postMessage(V)}function g(){let V={msg:j.RECOVERED_EARLY_EOF};K.postMessage(V)}function oe(V){let te={msg:j.MEDIA_INFO,data:V};K.postMessage(te)}function H(V){let te={msg:j.METADATA_ARRIVED,data:V};K.postMessage(te)}function fe(V){let te={msg:j.SCRIPTDATA_ARRIVED,data:V};K.postMessage(te)}function Ve(V){let te={msg:j.STATISTICS_INFO,data:V};K.postMessage(te)}function ze(V,te){K.postMessage({msg:j.IO_ERROR,data:{type:V,info:te}})}function le(V,te){K.postMessage({msg:j.DEMUX_ERROR,data:{type:V,info:te}})}function Ne(V){K.postMessage({msg:j.RECOMMEND_SEEKPOINT,data:V})}function me(V,te){K.postMessage({msg:"logcat_callback",data:{type:V,logcat:te}})}};class Rt{constructor(e,t){if(this.TAG="Transmuxer",this._emitter=new(P()),t.enableWorker&&typeof Worker!="undefined")try{let n=l(82059);this._worker=n(it),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,t]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},ve.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:ve.getConfig()})}catch(n){_.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ct(e,t)}else this._controller=new ct(e,t);if(this._controller){let n=this._controller;n.on(j.IO_ERROR,this._onIOError.bind(this)),n.on(j.DEMUX_ERROR,this._onDemuxError.bind(this)),n.on(j.INIT_SEGMENT,this._onInitSegment.bind(this)),n.on(j.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),n.on(j.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),n.on(j.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),n.on(j.MEDIA_INFO,this._onMediaInfo.bind(this)),n.on(j.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),n.on(j.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),n.on(j.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),n.on(j.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),ve.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(j.INIT_SEGMENT,e,t)})}_onMediaSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(j.MEDIA_SEGMENT,e,t)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(j.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(j.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(j.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(j.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(j.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(j.STATISTICS_INFO,e)})}_onIOError(e,t){Promise.resolve().then(()=>{this._emitter.emit(j.IO_ERROR,e,t)})}_onDemuxError(e,t){Promise.resolve().then(()=>{this._emitter.emit(j.DEMUX_ERROR,e,t)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(j.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let t=e.data,n=t.data;if(t.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(t.msg){case j.INIT_SEGMENT:case j.MEDIA_SEGMENT:this._emitter.emit(t.msg,n.type,n.data);break;case j.LOADING_COMPLETE:case j.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case j.MEDIA_INFO:Object.setPrototypeOf(n,$e.prototype),this._emitter.emit(t.msg,n);break;case j.METADATA_ARRIVED:case j.SCRIPTDATA_ARRIVED:case j.STATISTICS_INFO:this._emitter.emit(t.msg,n);break;case j.IO_ERROR:case j.DEMUX_ERROR:this._emitter.emit(t.msg,n.type,n.info);break;case j.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,n);break;case"logcat_callback":_.emitter.emit("log",n.type,n.logcat);break;default:break}}}var Ft=Rt,Ct={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class Kt{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(P()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new _e}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaSource)throw new J("MediaSource has been attached to an HTMLMediaElement!");let t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let t in this._sourceBuffers){let n=this._pendingSegments[t];n.splice(0,n.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;let i=this._sourceBuffers[t];if(i){if(e.readyState!=="closed"){try{e.removeSourceBuffer(i)}catch(r){_.e(this.TAG,r.message)}i.removeEventListener("error",this.e.onSourceBufferError),i.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[t]=null,this._sourceBuffers[t]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(t){_.e(this.TAG,t.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,t){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let n=e,i=`${n.container}`;n.codec&&n.codec.length>0&&(i+=`;codecs=${n.codec}`);let r=!1;if(_.v(this.TAG,"Received Initialization Segment, mimeType: "+i),this._lastInitSegments[n.type]=n,i!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])_.v(this.TAG,`Notice: ${n.type} mimeType changed, origin: ${this._mimeTypes[n.type]}, target: ${i}`);else{r=!0;try{let c=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(i);c.addEventListener("error",this.e.onSourceBufferError),c.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(c){_.e(this.TAG,c.message),this._emitter.emit(Ct.ERROR,{code:c.code,msg:c.message});return}}this._mimeTypes[n.type]=i}t||this._pendingSegments[n.type].push(n),r||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),E.safari&&n.container==="audio/mpeg"&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let n=this._sourceBuffers[t.type];n&&!n.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let t in this._sourceBuffers){if(!this._sourceBuffers[t])continue;let n=this._sourceBuffers[t];if(this._mediaSource.readyState==="open")try{n.abort()}catch(r){_.e(this.TAG,r.message)}this._idrList.clear();let i=this._pendingSegments[t];if(i.splice(0,i.length),this._mediaSource.readyState!=="closed"){for(let r=0;r=1&&e-i.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let t in this._sourceBuffers){let n=this._sourceBuffers[t];if(n){let i=n.buffered,r=!1;for(let c=0;c=this._config.autoCleanupMaxBackwardDuration){r=!0;let H=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:g,end:H})}}else oe0&&(isNaN(t)||n>t)&&(_.v(this.TAG,`Update MediaSource duration from ${t} to ${n}`),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let t=this._sourceBuffers[e],n=this._pendingRemoveRanges[e];for(;n.length&&!t.updating;){let i=n.shift();t.remove(i.start,i.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let t in e)if(!(!this._sourceBuffers[t]||this._sourceBuffers[t].updating)&&e[t].length>0){let n=e[t].shift();if(n.timestampOffset){let i=this._sourceBuffers[t].timestampOffset,r=n.timestampOffset/1e3;Math.abs(i-r)>.1&&(_.v(this.TAG,`Update MPEG audio timestampOffset from ${i} to ${r}`),this._sourceBuffers[t].timestampOffset=r),delete n.timestampOffset}if(!n.data||n.data.byteLength===0)continue;try{this._sourceBuffers[t].appendBuffer(n.data),this._isBufferFull=!1,t==="video"&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(i){this._pendingSegments[t].unshift(n),i.code===22?(this._isBufferFull||this._emitter.emit(Ct.BUFFER_FULL),this._isBufferFull=!0):(_.e(this.TAG,i.message),this._emitter.emit(Ct.ERROR,{code:i.code,msg:i.message}))}}}_onSourceOpen(){if(_.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Ct.SOURCE_OPEN)}_onSourceEnded(){_.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){_.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(Ct.UPDATE_END)}_onSourceBufferError(e){_.e(this.TAG,`SourceBuffer Error: ${e}`)}}var zt=Kt;const Ie={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},qe={NETWORK_EXCEPTION:G.EXCEPTION,NETWORK_STATUS_CODE_INVALID:G.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:G.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:G.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:h.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:h.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:h.CODEC_UNSUPPORTED};class Bt{constructor(e,t){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(P()),this._config=Z(),typeof t=="object"&&Object.assign(this._config,t),e.type.toLowerCase()!=="flv")throw new re("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let n=E.chrome&&(E.version.major<50||E.version.major===50&&E.version.build<2661);this._alwaysSeekKeyframe=!!(n||E.msedge||E.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){e===se.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(se.MEDIA_INFO,this.mediaInfo)}):e===se.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(se.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new zt(this._config),this._msectl.on(Ct.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Ct.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Ct.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(Ct.ERROR,t=>{this._emitter.emit(se.ERROR,Ie.MEDIA_ERROR,qe.MEDIA_MSE_ERROR,t)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new J("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new J("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Ft(this._mediaDataSource,this._config),this._transmuxer.on(j.INIT_SEGMENT,(e,t)=>{this._msectl.appendInitSegment(t)}),this._transmuxer.on(j.MEDIA_SEGMENT,(e,t)=>{if(this._msectl.appendMediaSegment(t),this._config.lazyLoad&&!this._config.isLive){let n=this._mediaElement.currentTime;t.info.endDts>=(n+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(_.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(j.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(se.LOADING_COMPLETE)}),this._transmuxer.on(j.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(se.RECOVERED_EARLY_EOF)}),this._transmuxer.on(j.IO_ERROR,(e,t)=>{this._emitter.emit(se.ERROR,Ie.NETWORK_ERROR,e,t)}),this._transmuxer.on(j.DEMUX_ERROR,(e,t)=>{this._emitter.emit(se.ERROR,Ie.MEDIA_ERROR,e,{code:-1,msg:t})}),this._transmuxer.on(j.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(se.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(j.METADATA_ARRIVED,e=>{this._emitter.emit(se.METADATA_ARRIVED,e)}),this._transmuxer.on(j.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(se.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(j.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(se.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(j.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,i=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();n=r.totalVideoFrames,i=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,i=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=i),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,t=this._mediaElement.currentTime,n=0,i=0;for(let r=0;r=t+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(_.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){_.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,t=this._mediaElement.buffered,n=!1;for(let i=0;i=r&&e=c-this._config.lazyLoadRecoverDuration&&(n=!0);break}}n&&(window.clearInterval(this._progressChecker),this._progressChecker=null,n&&(_.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let t=this._mediaElement.buffered;for(let n=0;n=i&&e0){let r=this._mediaElement.buffered.start(0);(r<1&&e0&&t.currentTime0){let i=n.start(0);if(i<1&&t{this._emitter.emit(se.MEDIA_INFO,this.mediaInfo)}):e===se.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(se.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new J("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let t={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,i=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();n=r.totalVideoFrames,i=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,i=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=i),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(se.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(se.STATISTICS_INFO,this.statisticsInfo)}}var Pt=$t;S.install();function St(K,e){let t=K;if(t==null||typeof t!="object")throw new re("MediaDataSource must be an javascript object!");if(!t.hasOwnProperty("type"))throw new re("MediaDataSource must has type field to indicate video file type!");switch(t.type){case"flv":return new pt(t,e);default:return new Pt(t,e)}}function Ot(){return ie.supportMSEH264Playback()}function tt(){return ie.getFeatureList()}let dt={};dt.createPlayer=St,dt.isSupported=Ot,dt.getFeatureList=tt,dt.BaseLoader=we,dt.LoaderStatus=o,dt.LoaderErrors=G,dt.Events=se,dt.ErrorTypes=Ie,dt.ErrorDetails=qe,dt.FlvPlayer=pt,dt.NativePlayer=Pt,dt.LoggingControl=ve,Object.defineProperty(dt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var dn=dt},91857:function(ut,Re,l){"use strict";var a=l(59301),S=l(38819),M=l(92310),P=l.n(M),C=l(31561),_=l(70425),ue=l(18929),de=l(2738),N=l(79676),J=l(53487),re=l(92343),Y=l(36355),o=l(20834),G=l(40875),we=l(88088),ee=l(47211);const q=null,E=L=>{const{menu:O,arrow:T,prefixCls:A,children:Q,trigger:ne,disabled:pe,dropdownRender:Ae,getPopupContainer:be,overlayClassName:Te,rootClassName:Be,open:F,onOpenChange:Ge,visible:We,onVisibleChange:Z,mouseEnterDelay:he=.15,mouseLeaveDelay:ie=.1,autoAdjustOverflow:ye=!0,placement:se="",overlay:ae,transitionName:ve}=L,{getPopupContainer:Ue,getPrefixCls:$e,direction:je}=a.useContext(Y.E_),Xe=a.useMemo(()=>{const R=$e();return ve!==void 0?ve:se.includes("top")?`${R}-slide-down`:`${R}-slide-up`},[$e,se,ve]),nt=a.useMemo(()=>se?se.includes("Center")?se.slice(0,se.indexOf("Center")):se:je==="rtl"?"bottomRight":"bottomLeft",[se,je]),Me=$e("dropdown",A),[He,Qe]=(0,ee.Z)(Me),[,Je]=(0,we.Z)(),et=a.Children.only(Q),B=(0,re.Tm)(et,{className:P()(`${Me}-trigger`,{[`${Me}-rtl`]:je==="rtl"},et.props.className),disabled:pe}),y=pe?[]:ne;let s;y&&y.includes("contextMenu")&&(s=!0);const[h,f]=(0,ue.Z)(!1,{value:F!=null?F:We}),$=(0,_.useEvent)(R=>{Ge==null||Ge(R),Z==null||Z(R),f(R)}),d=P()(Te,Be,Qe,{[`${Me}-rtl`]:je==="rtl"}),m=(0,N.Z)({arrowPointAtCenter:typeof T=="object"&&T.pointAtCenter,autoAdjustOverflow:ye,offset:Je.marginXXS,arrowWidth:T?Je.sizePopupArrow:0,borderRadius:Je.borderRadius}),x=a.useCallback(()=>{f(!1)},[]),u=()=>{let R;return O!=null&&O.items?R=a.createElement(o.default,Object.assign({},O)):typeof ae=="function"?R=ae():R=ae,Ae&&(R=Ae(R)),R=a.Children.only(typeof R=="string"?a.createElement("span",null,R):R),a.createElement(G.J,{prefixCls:`${Me}-menu`,expandIcon:a.createElement("span",{className:`${Me}-menu-submenu-arrow`},a.createElement(S.Z,{className:`${Me}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:x,validator:W=>{let{mode:ce}=W}},R)};return He(a.createElement(C.Z,Object.assign({alignPoint:s},(0,de.Z)(L,["rootClassName"]),{mouseEnterDelay:he,mouseLeaveDelay:ie,visible:h,builtinPlacements:m,arrow:!!T,overlayClassName:d,prefixCls:Me,getPopupContainer:be||Ue,transitionName:Xe,trigger:y,overlay:u,placement:nt,onVisibleChange:$}),B))};function w(L){return Object.assign(Object.assign({},L),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const b=(0,J.Z)(E,"dropdown",L=>L,w),I=L=>a.createElement(b,Object.assign({},L),a.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=I,Re.Z=E},38854:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return we}});var a=l(91857),S=l(92310),M=l.n(S),P=l(59301),C=l(18785),_=l(3113),ue=l(36355),de=l(81327),N=l(33234),J=l(47211),re=function(ee,q){var E={};for(var w in ee)Object.prototype.hasOwnProperty.call(ee,w)&&q.indexOf(w)<0&&(E[w]=ee[w]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,w=Object.getOwnPropertySymbols(ee);b{const{getPopupContainer:q,getPrefixCls:E,direction:w}=P.useContext(ue.E_),{prefixCls:b,type:I="default",danger:L,disabled:O,loading:T,onClick:A,htmlType:Q,children:ne,className:pe,menu:Ae,arrow:be,autoFocus:Te,overlay:Be,trigger:F,align:Ge,open:We,onOpenChange:Z,placement:he,getPopupContainer:ie,href:ye,icon:se=P.createElement(C.Z,null),title:ae,buttonsRender:ve=u=>u,mouseEnterDelay:Ue,mouseLeaveDelay:$e,overlayClassName:je,overlayStyle:Xe,destroyPopupOnHide:nt,dropdownRender:Me}=ee,He=re(ee,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Qe=E("dropdown",b),Je=`${Qe}-button`,[et,B]=(0,J.Z)(Qe),y={menu:Ae,arrow:be,autoFocus:Te,align:Ge,disabled:O,trigger:O?[]:F,onOpenChange:Z,getPopupContainer:ie||q,mouseEnterDelay:Ue,mouseLeaveDelay:$e,overlayClassName:je,overlayStyle:Xe,destroyPopupOnHide:nt,dropdownRender:Me},{compactSize:s,compactItemClassnames:h}=(0,N.ri)(Qe,w),f=M()(Je,h,pe,B);"overlay"in ee&&(y.overlay=Be),"open"in ee&&(y.open=We),"placement"in ee?y.placement=he:y.placement=w==="rtl"?"bottomLeft":"bottomRight";const $=P.createElement(_.ZP,{type:I,danger:L,disabled:O,loading:T,onClick:A,htmlType:Q,href:ye,title:ae},ne),d=P.createElement(_.ZP,{type:I,danger:L,icon:se}),[m,x]=ve([$,d]);return et(P.createElement(de.Z.Compact,Object.assign({className:f,size:s,block:!0},He),m,P.createElement(a.Z,Object.assign({},y),x)))};Y.__ANT_BUTTON=!0;var o=Y;const G=a.Z;G.Button=o;var we=G},47211:function(ut,Re,l){"use strict";l.d(Re,{Z:function(){return re}});var a=l(17313),S=l(13826),M=l(92899),P=l(29878),C=l(19447),_=l(83116),ue=l(37613),N=Y=>{const{componentCls:o,menuCls:G,colorError:we,colorTextLightSolid:ee}=Y,q=`${G}-item`;return{[`${o}, ${o}-menu-submenu`]:{[`${G} ${q}`]:{[`&${q}-danger:not(${q}-disabled)`]:{color:we,"&:hover":{color:ee,backgroundColor:we}}}}}};const J=Y=>{const{componentCls:o,menuCls:G,zIndexPopup:we,dropdownArrowDistance:ee,sizePopupArrow:q,antCls:E,iconCls:w,motionDurationMid:b,dropdownPaddingVertical:I,fontSize:L,dropdownEdgeChildPadding:O,colorTextDisabled:T,fontSizeIcon:A,controlPaddingHorizontal:Q,colorBgElevated:ne}=Y;return[{[o]:Object.assign(Object.assign({},(0,a.Wf)(Y)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:we,display:"block","&::before":{position:"absolute",insetBlock:-ee+q/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${w}-down, & > ${E}-btn-icon > ${w}-down`]:{fontSize:A}},[`${o}-wrap`]:{position:"relative",[`${E}-btn > ${w}-down`]:{fontSize:A},[`${w}-down::before`]:{transition:`transform ${b}`}},[`${o}-wrap-open`]:{[`${w}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${o}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${o}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${o}-placement-bottom, diff --git a/p__Classrooms__Lists__ResourceRecommend__index.f8130f9c.async.js b/p__Classrooms__Lists__ResourceRecommend__index.f2eaffa4.async.js similarity index 99% rename from p__Classrooms__Lists__ResourceRecommend__index.f8130f9c.async.js rename to p__Classrooms__Lists__ResourceRecommend__index.f2eaffa4.async.js index cc0c6729bc..98803a8485 100644 --- a/p__Classrooms__Lists__ResourceRecommend__index.f8130f9c.async.js +++ b/p__Classrooms__Lists__ResourceRecommend__index.f2eaffa4.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[1257],{40001:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},49198:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},84105:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},18785:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},33853:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},62772:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},38819:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},47472:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},41136:function(At,Fe,l){"use strict";l.d(Fe,{K:function(){return T}});var f=l(59301),g=l(43418),O=l(81032),z={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},R=l(24334);const T=({visible:he,width:ge,videoId:Y,file_url:w,course_id:we,copyUrl:b,toLog:C=!0,logWatchHistory:Oe=()=>{},allow_skip:Te,onClose:Ne=()=>{},autoPlay:ze=!1,onPlayEnded:K=()=>{}})=>f.createElement(g.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:he,title:null,footer:null,width:ge,className:z.modal},f.createElement("i",{className:`${z.closeIcon} iconfont icon-guanbi10`,onClick:Ne}),he&&f.createElement(O.Z,{onPlayEnded:K,autoPlay:ze,allow_skip:Te,courseId:we,src:w!=null&&w.startsWith("http")?w:R.Base64.decode(w),videoId:Y,toLog:C,logWatchHistory:Oe}))},81032:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return Te}});var f=l(59301),g=l(8591),O=l(38854),z=l(96640),R=l(44523),T=l(47141),he=l(56102),ge=l(18030),Y={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},w=(Ne,ze,K)=>new Promise((ne,U)=>{var j=y=>{try{c(K.next(y))}catch(x){U(x)}},v=y=>{try{c(K.throw(y))}catch(x){U(x)}},c=y=>y.done?ne(y.value):Promise.resolve(y.value).then(j,v);c((K=K.apply(Ne,ze)).next())});function we(Ne){if(isNaN(Ne))return{minutes:"00",seconds:"00"};const ze=new Date(Ne*1e3).toISOString().substr(11,8);return{hour:ze.substr(0,2),minutes:ze.substr(3,2),seconds:ze.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function b(Ne,ze){return Ne-ze}function C(Ne){Ne.sort(b);let ze=0;for(let K=0;K{},handlePlay:y=()=>{},handlePlayEnded:x=()=>{},autoPlay:ie=!1,onPlayEnded:ue=()=>{},isShowWaterMark:Ce=!0},ke)=>{var je;const He=((je=ze==null?void 0:ze.split("."))==null?void 0:je.pop())==="flv",E=(0,f.useRef)(),De=(0,f.useRef)(),xe=(0,f.useRef)(),J=(0,f.useRef)(),ye=(0,f.useRef)(),Me=(0,f.useRef)(),k=(0,f.useRef)(),ee=(0,f.useRef)(),ce=(0,f.useRef)(),fe=(0,f.useRef)(),We=(0,f.useRef)(),tt=(0,f.useRef)(),qe=(0,f.useRef)(),vt=(0,f.useRef)(),rt=navigator.userAgent.toLowerCase().match(Oe),Ke=rt?rt[0]:"pc",lt=(0,f.useRef)(!1),gt=(0,T.eY)();let H=0,Ze=0,N=0,D=null,h=!1,S=20,A=1,Z=!1,s=!1,u=[];(0,f.useImperativeHandle)(ke,()=>({getLastUpdatedTime:()=>E.current.currentTime,getDuration:()=>E.current.duration})),g.ZP.config({maxCount:1,getContainer:()=>xe.current});const P=(0,f.useCallback)((re,le=!1)=>{let pe={point:E.current.currentTime};D?(pe.log_id=D,pe.watch_duration=C(u),pe.total_duration=Ze):(j?(pe.video_id=parseInt(ne,10),pe.course_id=j):pe.video_id=ne,pe.duration=H,pe.device=Ke),le&&(pe.ed="1");function Xe(){return w(this,null,function*(){Z=!0,D=yield U==null?void 0:U(pe),Z=!1,re&&re()})}Xe()},[ne,j]);(0,f.useEffect)(()=>{E.current&&(J.current.style.display="none",ye.current.style.display="block"),g.ZP.destroy();let re=null;return z.Z.isSupported&&He&&ze&&(ze==null?void 0:ze.indexOf(".m3u8"))<0?(re=z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:ze,muted:!1}),E.current&&(re.attachMediaElement(E.current),re.load())):E.current.setAttribute("src",ze),m(),()=>{re&&(re.unload(),re.pause(),re.destroy(),re=null)}},[E,He,ze]);function d(){E.current.paused?(J.current.style.display="none",ye.current.style.display="block"):(J.current.style.display="block",ye.current.style.display="none")}function m(){We.current.style.display="none",qe.current.style.display="none",tt.current.style.display="none",E.current.muted||E.current.volume===0?We.current.style.display="block":E.current.volume>0&&E.current.volume<=.5?qe.current.style.display="block":tt.current.style.display="block"}(0,f.useEffect)(()=>{const re=document.getElementById("play"),le=document.querySelectorAll(".playback-icons use");function pe(){y(),v&&!lt.current&&(E.current.currentTime=v),lt.current=!0,u.push(E.current.currentTime),h||(h=!0,K&&P())}function Xe(){return w(this,null,function*(){d(),u.push(E.current.currentTime),K&&P(()=>{D=null,N=0,h=!1,Z=!1,s=!1,u=[],Ze=0,A=1},!0),ue()})}function Pe(){Me.current.value=Math.round(E.current.currentTime),k.current.value=Math.round(E.current.currentTime)}function te(){const Ue=we(Math.round(E.current.currentTime));ce.current.innerText=`${Ue.hour>0?Ue.hour+":":""}${Ue.minutes}:${Ue.seconds}`,ce.current.setAttribute("datetime",`${Ue.hour>0?" "+Ue.hour+" ":""}${Ue.minutes}m ${Ue.seconds}s`)}function nt(){var Ue,St,Xt,ft,Lt,ln,Zt;const qt=Math.round((Ue=E.current)==null?void 0:Ue.duration);(Xt=(St=Me.current)==null?void 0:St.setAttribute)==null||Xt.call(St,"max",qt),(Lt=(ft=k.current)==null?void 0:ft.setAttribute)==null||Lt.call(ft,"max",qt);const Ut=we(qt);ee.current&&(ee.current.innerText=`${Ut.hour>0?Ut.hour+":":""}${Ut.minutes}:${Ut.seconds}`,(Zt=(ln=ee.current).setAttribute)==null||Zt.call(ln,"datetime",`${Ut.hour>0?" "+Ut.hour+" ":""}${Ut.minutes}m ${Ut.seconds}s`))}function ot(){try{const Ue=Math.round(E.current.duration);Me.current.setAttribute("max",Ue),k.current.setAttribute("max",Ue);const St=we(Ue);ee.current.innerText=`${St.hour>0?St.hour+":":""}${St.minutes}:${St.seconds}`,ee.current.setAttribute("datetime",`${St.hour>0?" "+St.hour+" ":""}${St.minutes}m ${St.seconds}s`),Pe(),te();const{width:Xt,height:ft,x:Lt,y:ln}=De.current.getBoundingClientRect();if(Lt<0||ln<0||!Xt)return;if(!s){let Zt=E.current.currentTime,qt=Zt-N;Math.abs(qt)<10?(Ze+=Math.abs(qt),N=Zt,Z||Ze-A*S>=0&&(A++,u.push(N),K&&P())):(N=Zt,K&&P())}}catch(Ue){console.log(Ue)}}function pt(){s=!0}function ut(){E.current.playing&&u.push(E.current.currentTime,N),N=E.current.currentTime,s=!1}function Tt(){H=E.current.duration,H<=20&&(S=H/3),E.current.addEventListener("play",pe)}function Mt(Ue){Ue.preventDefault(),(0,ge.vp)()?(E.current.style.width="100%",E.current.style.height="100%"):E.current.style.cssText=""}function Ht(){c()}function kt(Ue){if(!Ne){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const St=Ue.target.dataset.seek?Ue.target.dataset.seek:Ue.target.value;E.current.currentTime=St,k.current.value=St,Me.current.value=St}function Jt(Ue){const St=Math.round(Ue.offsetX/Ue.target.clientWidth*parseInt(Ue.target.getAttribute("max"),10));Me.current.setAttribute("data-seek",St);const Xt=we(St);fe.current.textContent=`${Xt.hour>0?Xt.hour+":":""}${Xt.minutes}:${Xt.seconds}`;const ft=E.current.getBoundingClientRect();fe.current.style.left=`${Ue.pageX-ft.left}px`}function Wt(Ue){switch(Ue.code){case"Space":Ue.preventDefault(),Q();break;case"ArrowRight":if(Ue.preventDefault(),!Ne){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime>=E.current.duration)break;E.current.currentTime=parseInt(E.current.currentTime)+5,Pe();break;case"ArrowLeft":if(Ue.preventDefault(),!Ne){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime===0)break;E.current.currentTime=parseInt(E.current.currentTime)-5,Pe();break;case"ArrowUp":Ue.preventDefault(),E.current.volume<1&&(E.current.volume=(parseInt(E.current.volume*10)+1)/10);break;case"ArrowDown":Ue.preventDefault(),E.current.volume>0&&(E.current.volume=(parseInt(E.current.volume*10)-1)/10);break}}return xe.current.addEventListener((0,ge.gH)(),Mt),E.current.addEventListener("canplay",Tt),E.current.addEventListener("ended",Xe),E.current.addEventListener("seeking",pt),E.current.addEventListener("seeked",ut),E.current.addEventListener("loadedmetadata",nt),Me.current.addEventListener("mousemove",Jt),Me.current.addEventListener("input",kt),E.current.addEventListener("timeupdate",ot),E.current.addEventListener("pause",Ht),E.current.addEventListener("volumechange",m),document.addEventListener("keydown",Wt),()=>{var Ue,St,Xt,ft,Lt,ln,Zt,qt,Ut,Kt,pn,_e;(Ue=E.current)==null||Ue.removeEventListener("canplay",Tt),(St=E.current)==null||St.removeEventListener("play",pe),(Xt=E.current)==null||Xt.removeEventListener("ended",Xe),(ft=E.current)==null||ft.removeEventListener("seeking",pt),(Lt=E.current)==null||Lt.removeEventListener("seeked",ut),(ln=Me.current)==null||ln.removeEventListener("mousemove",Jt),(Zt=Me.current)==null||Zt.removeEventListener("input",kt),(qt=E.current)==null||qt.removeEventListener("timeupdate",ot),(Ut=E.current)==null||Ut.removeEventListener("pause",Ht),(Kt=E.current)==null||Kt.removeEventListener("loadedmetadata",nt),(pn=E.current)==null||pn.removeEventListener("volumechange",m),document.removeEventListener("keydown",Wt),(_e=E.current)!=null&&_e.playing&&(u.push(N,E.current.currentTime),K&&P())}},[E,ze]),(0,f.useEffect)(()=>{if(E.current.onended=()=>{x(E)},E.current.oncontextmenu=()=>!1,(ze==null?void 0:ze.indexOf(".m3u8"))>-1){if(E.current.canPlayType("application/vnd.apple.mpegurl"))E.current.src=ze;else if(R.ZP.isSupported()){var re=new R.ZP;re.loadSource(ze),re.attachMedia(E.current)}}},[ze]);const[B,oe]=(0,f.useState)(1),Q=()=>{E.current.paused||E.current.ended?E.current.play():E.current.pause(),d()};function Re(){E.current.muted=!E.current.muted,E.current.muted?(vt.current.setAttribute("data-volume",volume.value),vt.current.value=0):vt.current.value=vt.current.dataset.volume}return f.createElement("div",{style:{position:"relative"},ref:xe},f.createElement("div",{ref:De,className:`${Y.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${Y.animate__loop}`},Ce&>?gt.login:" "),f.createElement("div",{className:Y.container},f.createElement("div",{className:Y["video-container"],id:"video-container"},f.createElement("div",{className:Y["playback-animation"],id:"playback-animation"},f.createElement("svg",{className:Y["playback-icons"]},f.createElement("use",{className:"hidden",href:"#play-icon"}),f.createElement("use",{href:"#pause"}))),f.createElement("video",{className:Y.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:E,autoPlay:ie}),f.createElement("div",{className:`${Y["video-controls"]} `,id:"video-controls"},f.createElement("div",{className:Y["bottom-controls"]},f.createElement("div",{className:Y["left-controls"]},f.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Q},f.createElement("svg",{className:Y["playback-icons"]},f.createElement("use",{ref:ye,href:"#play-icon"}),f.createElement("use",{ref:J,style:{display:"none"},href:"#pause"}))),f.createElement("div",{className:Y.time},f.createElement("time",{id:"time-elapsed",ref:ce},"00:00"),f.createElement("span",null," / "),f.createElement("time",{id:"duration",ref:ee},"00:00"))),f.createElement("div",{className:Y["right-controls"]},Ne&&f.createElement(O.Z,{placement:"top",overlayClassName:Y.rateOverlay,getPopupContainer:re=>re.parentNode,menu:{items:[{key:"1",label:f.createElement("span",{onClick:()=>{oe(1),E.current.playbackRate=1}},"1.0x")},{key:"2",label:f.createElement("span",{onClick:()=>{oe(1.5),E.current.playbackRate=1.5}},"1.5x")},{key:"3",label:f.createElement("span",{onClick:()=>{oe(2),E.current.playbackRate=2}},"2.0x")}]}},f.createElement("div",{className:`${Y.controlText} mr5`},"\u500D\u901F")),f.createElement(he.CopyToClipboard,{text:ze,onCopy:()=>g.ZP.success("\u590D\u5236\u6210\u529F")},f.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},f.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),f.createElement("div",{className:Y["volume-controls"]},f.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:Y["volume-button"],id:"volume-button",onClick:Re},f.createElement("i",{ref:We,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:qe,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:tt,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),f.createElement("input",{className:Y.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:vt,style:{display:"none"},onClick:m})),f.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:Y["fullscreen-button"],onClick:()=>{(0,ge.vp)()?(0,ge.BU)():(0,ge.Dj)(xe.current)}},f.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),f.createElement("div",{className:Y["video-progress"]},f.createElement("progress",{ref:k,value:"0",min:"0"}),f.createElement("input",{className:Y.seek,ref:Me,value:"0",min:"0",type:"range",step:"1"}),f.createElement("div",{className:Y["seek-tooltip"],ref:fe,id:"seek-tooltip"},"00:00"))))),f.createElement("svg",{style:{display:"none"}},f.createElement("defs",null,f.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),f.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},f.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),f.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),f.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},f.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),f.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},f.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),f.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),f.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},f.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),f.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},f.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},95648:function(At,Fe,l){"use strict";l.r(Fe),l.d(Fe,{default:function(){return k}});var f=l(59301),g=l(92123),O=l(8591),z=l(13570),R=l(71418),T=l(58421),he=l(43597),ge=l(47141),Y=l(62556),w=l(18889),we=l(55988),b=l(36193),C={flex_box_center:"flex_box_center___riBIL",flex_space_between:"flex_space_between___QnIxq",flex_box_vertical_center:"flex_box_vertical_center___lDoLU",flex_box_center_end:"flex_box_center_end___cJ2F_",flex_box_column:"flex_box_column___PSzC7",wrap:"wrap___Mlk1H",mask:"mask___MVQfB",playIconWrap:"playIconWrap___QcDy0",playIcon:"playIcon___MXK2W",linkWrap:"linkWrap___rXjTB",link:"link___uEr60",imgWrap:"imgWrap___nCe4C",cardBottom:"cardBottom___CqJQC",bottomTitle:"bottomTitle___oTGoY",timeWrap:"timeWrap___ioirP",time:"time___hl75k",bottomActionWrap:"bottomActionWrap___RhhZY",peopleWrap:"peopleWrap___TwLjM",actionIcon:"actionIcon___BfAaN"},Oe=l(41136),Te=l(85386),Ne=l(24334),ze=Object.defineProperty,K=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(ee,ce,fe)=>ce in ee?ze(ee,ce,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[ce]=fe,y=(ee,ce)=>{for(var fe in ce||(ce={}))j.call(ce,fe)&&c(ee,fe,ce[fe]);if(U)for(var fe of U(ce))v.call(ce,fe)&&c(ee,fe,ce[fe]);return ee},x=(ee,ce)=>K(ee,ne(ce));const ie=({data:ee,params:ce,onSend:fe})=>{const[We,tt]=(0,f.useState)(),[qe,vt]=(0,f.useState)({}),rt="90%",Ke="55%",lt=H=>{H.link||(tt(!0),vt({videoId:H.id,course_id:ce.coursesId,file_url:H.play_url||H.file_url,copyUrl:gt(H.play_url||H.file_url,H.cover_url),logWatchHistory:()=>{}}))},gt=(H,Ze)=>{let N=Ne.Base64.decode(H);if(H)return``};return f.createElement(f.Fragment,null,ee==null?void 0:ee.map((H,Ze)=>{var N;const D=H!=null&&H.cover_url?(N=H==null?void 0:H.cover_url)!=null&&N.includes("https")?H.cover_url:Te.Z.API_SERVER+H.cover_url:we;return f.createElement("a",{className:C.wrap,key:H.id},f.createElement(w.Z,{className:`animated fadeIn ${C.cardWrap}`},f.createElement(R.Z,{tip:"\u6B63\u5728\u8F6C\u7801\uFF0C\u8BF7\u7A0D\u7B49...",spinning:!H.transcoded&&!H.link},f.createElement("span",{className:C.imgWrap,onClick:()=>{lt(H)}},f.createElement("img",{src:D}),H.link&&f.createElement("a",{className:C.linkWrap,href:H.link,target:"_blank",title:H.title},f.createElement("span",{className:C.link},"\u5916\u94FE")),f.createElement(f.Fragment,null,f.createElement("div",{className:C.mask}),f.createElement("div",{className:C.playIconWrap},!H.link&&f.createElement("img",{className:C.playIcon,src:b}))))),f.createElement("div",{className:C.cardBottom},f.createElement("div",{title:H.title,className:C.bottomTitle},H.title),f.createElement("div",{className:C.bottomActionWrap},f.createElement("div",null,"\u8BFE\u7A0B\uFF1A",f.createElement("span",{title:H.subject},H.subject)),f.createElement("b",{onClick:()=>fe(H)},"\u4F7F\u7528\u89C6\u9891")))))}),f.createElement(Oe.K,x(y({},qe),{visible:We,width:800,onClose:()=>{tt(!1),vt({})}})))};var ue=(0,g.connect)(({classroomList:ee})=>({classroomList:ee}))(ie),Ce={flex_box_center:"flex_box_center___p5F4p",flex_space_between:"flex_space_between___XpX93",flex_box_vertical_center:"flex_box_vertical_center___CZqxk",flex_box_center_end:"flex_box_center_end___CinPQ",flex_box_column:"flex_box_column___RMknq",wrap:"wrap___fNq3s",listWrap:"listWrap____pT8s",list:"list___xQ3gD",top:"top___KkWz1",bottom:"bottom___MTHH1",tag:"tag___Sj7ii",rate:"rate___RKAhp",videoWrap:"videoWrap___Kv7Tg"},ke=l(86541),je=Object.defineProperty,de=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,De=(ee,ce,fe)=>ce in ee?je(ee,ce,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[ce]=fe,xe=(ee,ce)=>{for(var fe in ce||(ce={}))He.call(ce,fe)&&De(ee,fe,ce[fe]);if(de)for(var fe of de(ce))E.call(ce,fe)&&De(ee,fe,ce[fe]);return ee},J=(ee,ce)=>{var fe={};for(var We in ee)He.call(ee,We)&&ce.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&de)for(var We of de(ee))ce.indexOf(We)<0&&E.call(ee,We)&&(fe[We]=ee[We]);return fe},ye=(ee,ce,fe)=>new Promise((We,tt)=>{var qe=Ke=>{try{rt(fe.next(Ke))}catch(lt){tt(lt)}},vt=Ke=>{try{rt(fe.throw(Ke))}catch(lt){tt(lt)}},rt=Ke=>Ke.done?We(Ke.value):Promise.resolve(Ke.value).then(qe,vt);rt((fe=fe.apply(ee,ce)).next())});const Me=ee=>{var ce=ee,{classroomList:fe,globalSetting:We,user:tt,dispatch:qe}=ce,vt=J(ce,["classroomList","globalSetting","user","dispatch"]);const rt=(0,g.useParams)(),{detailTopBanner:Ke,detailLeftMenus:lt,shareStatus:gt}=fe,[H,Ze]=(0,f.useState)("1"),[N,D]=(0,f.useState)(0),[h,S]=(0,f.useState)(!0),[A,Z]=(0,f.useState)([]),[s,u]=(0,f.useState)({page:1,limit:9,order:"random"});(0,f.useEffect)(()=>{s.page=1,m(s)},[H]);const P=Pe=>ye(void 0,null,function*(){S(!0);let te=yield(0,he.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:xe({type:1},Pe)});te!=null&&te.shixuns&&(Z((te==null?void 0:te.shixuns)||[]),D(te==null?void 0:te.total_count)),S(!1)}),d=Pe=>ye(void 0,null,function*(){S(!0);let te=yield(0,he.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:xe({type:2},Pe)});te!=null&&te.videos&&(Z((te==null?void 0:te.videos)||[]),D(te==null?void 0:te.total_count)),S(!1)}),m=Pe=>{H==="1"?P(Pe):d(Pe)},B=Pe=>{Ze(Pe.key)},oe=[{name:"\u5B9E\u8BAD\u8D44\u6E90\u63A8\u8350",id:"1"},{name:"\u89C6\u9891\u8D44\u6E90\u63A8\u8350",id:"2"}],Q=Pe=>{s.page=Pe,u(xe({},s)),H==="1"?P(s):d(s)},Re=Pe=>ye(void 0,null,function*(){const te=yield(0,he.ZP)(`/api/shixuns/${Pe.identifier}/send_to_course.json`,{method:"post",body:{id:Pe.identifier,identifier:Pe.identifier,courses:[{course_id:rt==null?void 0:rt.coursesId,id:Pe.identifier,identifier:Pe.identifier,type:"normal",is_use:1,is_copy:0}]}});(te==null?void 0:te.status)===1&&(qe({type:"classroomList/getClassroomLeftMenus",payload:{id:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),re=Pe=>ye(void 0,null,function*(){const te="jpl5vs26";console.log(Pe);const nt=yield(0,he.ZP)(`/api/paths/${Pe==null?void 0:Pe.subject_identifier}/send_to_course.json`,{method:"post",body:{course_id:Ke==null?void 0:Ke.course_id,id:Pe==null?void 0:Pe.subject_identifier,stage_shixuns:[{stage_shixun_id:Pe.stage_shixun_id,is_copy:0,is_use:1}],type:"video",sync_catelog:0}});(nt==null?void 0:nt.status)===1&&(qe({type:"classroomList/getClassroomLeftMenus",payload:{id:rt==null?void 0:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),le=()=>f.createElement("div",{className:Ce.listWrap},A==null?void 0:A.map((Pe,te)=>f.createElement("div",{key:Pe.id,className:Ce.list},f.createElement("div",{className:Ce.top},f.createElement("aside",{title:Pe.name},Pe.name),f.createElement("div",{onClick:()=>Re(Pe)},"\u4F7F\u7528\u5B9E\u8BAD")),f.createElement("div",{className:Ce.bottom},f.createElement("div",{className:Ce.tag},Pe==null?void 0:Pe.author_name),f.createElement("div",{className:Ce.tag},Pe==null?void 0:Pe.author_school_name),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5173\u5361"),Pe==null?void 0:Pe.challenges_count),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),Pe==null?void 0:Pe.myshixuns_count),f.createElement("div",{className:Ce.rate},f.createElement(z.Z,{allowHalf:!0,disabled:!0,defaultValue:Pe.score_info}),f.createElement("span",{className:"font14"},"\xA0",Pe.score_info?`${Pe.score_info}\u5206`:"5\u5206")))))),pe=()=>f.createElement("div",{className:Ce.videoWrap},f.createElement(ue,{params:rt,dispatch:qe,data:A,onSend:re})),Xe=!!(Ke!=null&&Ke.sub_discipline_id);return console.log("detailTopBanner"),console.log(!!(Ke!=null&&Ke.sub_discipline_id)),f.createElement("section",{className:Ce.wrap},f.createElement(ke.Z,{isLoading:!1,tabDataSource:oe,isAdmin:(0,ge.GJ)(),onTabMenuClick:B,defaultSelectedKeys:[H],extraNode:(0,ge.GJ)()&&Xe&&f.createElement("span",{className:"c-blue font14 ml20 current",onClick:Pe=>{Pe.preventDefault(),m(s)}},f.createElement("i",{className:"iconfont icon-huanyipi font14 mr5"}),"\u6362\u4E00\u6279")}),f.createElement(R.Z,{spinning:h},N===0?f.createElement(Y.Z,null):H==="1"?le():pe()),f.createElement(T.Z,{hideOnSinglePage:!0,onChange:Pe=>Q(Pe),current:s.page,pageSize:s.limit,total:N,showQuickJumper:!0,showSizeChanger:!1,showTotal:Pe=>f.createElement("span",{className:"mr10"},"\u5171",f.createElement("span",{className:"c-orange"},Pe),"\u6761\u6570\u636E"),className:"tr pb20"}))};var k=(0,g.connect)(({classroomList:ee,user:ce,globalSetting:fe})=>({user:ce,classroomList:ee,globalSetting:fe}))(Me)},86541:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return C}});var f=l(59301),g=l(95237),O=l(43604),z=l(20834),R=l(6848),T=l(38854),he=l(8591),ge={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},Y=l(92123),w=l(47141),we=l(94601),C=({isLoading:Oe,addText:Te,tabDataSource:Ne,isAdmin:ze,dispatch:K,classroomList:ne,type:U,isExercise:j,defaultSelectedKeys:v,onTabMenuClick:c,getDropdownMenu:y,showControlButton:x,buttonText:ie,buttonIcon:ue="icon-tianjiadaohang",extraNode:Ce,user:ke,onButtonClick:je,isModelUser:de})=>{var He,E,De,xe,J;const ye=(0,Y.useParams)();return f.createElement("div",{className:ge.tabMenuContainer},f.createElement(g.Z,null,f.createElement(O.Z,{flex:"1"},f.createElement(z.default,{onSelect:Me=>Oe?{}:c(Me),mode:"horizontal",selectedKeys:v},Ne.map(Me=>f.createElement(z.default.Item,{key:typeof Me.index=="number"?Me.index:Me.id},f.createElement("span",{className:"c-grey-666"},Me.name),Me.total!==void 0&&ze&&f.createElement("span",{className:"c-grey-999 ml20"},Me.total||0))))),ze&&j&&f.createElement(R.Z,{title:"\u8003\u60C5\u53EF\u89C6\u5316\u7EDF\u8BA1"},f.createElement("i",{className:"iconfont icon-shuatitongji mr20",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{(0,we.xg)("/zbstatistics")}})),ze&&j&&f.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{K({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),ze&&f.createElement(O.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},j&&f.createElement(T.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>f.createElement(z.default,null,f.createElement(z.default.Item,{key:1,onClick:()=>{var Me;if((0,w.Rm)()&&!((Me=ne.AssistantObject.exercise)!=null&&Me.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}K({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:U,exportType:"exercise",category_id:ye.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),f.createElement(z.default.Item,{key:3,onClick:()=>{var Me;if((0,w.Rm)()&&!((Me=ne.AssistantObject.exercise)!=null&&Me.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Y.history.push(`/classrooms/${ye==null?void 0:ye.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},f.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},f.createElement("span",{style:{color:"#666666",cursor:"pointer"}},f.createElement("i",{className:"iconfont icon-xiazai6"})))),f.createElement("div",{className:ge.control},f.createElement("div",{className:ge.extra},Ce),x&&(ie=="\u6DFB\u52A0\u76F4\u64AD"?f.createElement(T.Z,{menu:{items:(E=(He=[{label:f.createElement("div",{onClick:()=>{je("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},de&&{label:f.createElement("div",{onClick:()=>{je("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:He.filter(Me=>Me==null?void 0:Me.show))==null?void 0:E.map(Me=>({label:Me==null?void 0:Me.label,key:Me==null?void 0:Me.key}))}},f.createElement("span",{className:ge.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${ue}`})),f.createElement("span",null,ie))):f.createElement("span",{onClick:je,style:{cursor:"pointer"},className:ge.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${ue}`})),f.createElement("span",null,ie))),!!y&&f.createElement(T.Z,{disabled:((De=ke==null?void 0:ke.userInfo)==null?void 0:De.user_status)===2,className:"ml10",dropdownRender:y},f.createElement("span",{className:((xe=ke==null?void 0:ke.userInfo)==null?void 0:xe.user_status)===2?ge.selectBtn1:ge.selectBtn},f.createElement("span",null,f.createElement("i",{className:"iconfont icon-tianjiadaohang"})),f.createElement(R.Z,{title:((J=ke==null?void 0:ke.userInfo)==null?void 0:J.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},f.createElement("span",null,Te||"\u521B\u5EFA\u8BD5\u5377"))))))))}},18030:function(At,Fe,l){"use strict";l.d(Fe,{BU:function(){return g},Dj:function(){return f},gH:function(){return O},vp:function(){return z}});function f(R){try{R.mozRequestFullScreen?R.mozRequestFullScreen():R.webkitRequestFullScreen&&R.webkitRequestFullScreen()}catch(T){console.log(T,":e")}}function g(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const O=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function z(){var R=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,T=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",R),window.isFullScreen?window.isFullScreen:R!=null}},96640:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return pn}});class f{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let n=Object(e);for(let i=1;i ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","error",i),R.ENABLE_ERROR&&(console.error?console.error(i):console.warn?console.warn(i):console.log(i))}static i(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","info",i),R.ENABLE_INFO&&(console.info?console.info(i):console.log(i))}static w(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","warn",i),R.ENABLE_WARN&&(console.warn?console.warn(i):console.log(i))}static d(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","debug",i),R.ENABLE_DEBUG&&(console.debug?console.debug(i):console.log(i))}static v(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","verbose",i),R.ENABLE_VERBOSE&&console.log(i)}}R.GLOBAL_TAG="flv.js",R.FORCE_GLOBAL_TAG=!1,R.ENABLE_ERROR=!0,R.ENABLE_INFO=!0,R.ENABLE_WARN=!0,R.ENABLE_DEBUG=!0,R.ENABLE_VERBOSE=!0,R.ENABLE_CALLBACK=!1,R.emitter=new(z());var T=R;class he{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var ge=he;class Y{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class w extends Y{constructor(e){super(e)}get name(){return"IllegalStateException"}}class we extends Y{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class b extends Y{constructor(e){super(e)}get name(){return"NotImplementedException"}}const C={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},Oe={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class Te{constructor(e){this._type=e||"undefined",this._status=C.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=C.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===C.kConnecting||this._status===C.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,n){throw new b("Unimplemented abstract function!")}abort(){throw new b("Unimplemented abstract function!")}}let Ne={};function ze(){let _e=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(_e)||/(opr)[\/]([\w.]+)/.exec(_e)||/(chrome)[ \/]([\w.]+)/.exec(_e)||/(iemobile)[\/]([\w.]+)/.exec(_e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(_e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(_e)||/(webkit)[ \/]([\w.]+)/.exec(_e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(_e)||/(msie) ([\w.]+)/.exec(_e)||_e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(_e)||_e.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(_e)||[],n=/(ipad)/.exec(_e)||/(ipod)/.exec(_e)||/(windows phone)/.exec(_e)||/(iphone)/.exec(_e)||/(kindle)/.exec(_e)||/(android)/.exec(_e)||/(windows)/.exec(_e)||/(mac)/.exec(_e)||/(linux)/.exec(_e)||/(cros)/.exec(_e)||[],i={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:n[0]||""},t={};if(i.browser){t[i.browser]=!0;let r=i.majorVersion.split(".");t.version={major:parseInt(i.majorVersion,10),string:i.version},r.length>1&&(t.version.minor=parseInt(r[1],10)),r.length>2&&(t.version.build=parseInt(r[2],10))}if(i.platform&&(t[i.platform]=!0),(t.chrome||t.opr||t.safari)&&(t.webkit=!0),t.rv||t.iemobile){t.rv&&delete t.rv;let r="msie";i.browser=r,t[r]=!0}if(t.edge){delete t.edge;let r="msedge";i.browser=r,t[r]=!0}if(t.opr){let r="opera";i.browser=r,t[r]=!0}if(t.safari&&t.android){let r="android";i.browser=r,t[r]=!0}t.name=i.browser,t.platform=i.platform;for(let r in Ne)Ne.hasOwnProperty(r)&&delete Ne[r];Object.assign(Ne,t)}ze();var K=Ne;class ne extends Te{static isSupported(){try{let e=K.msedge&&K.version.minor>=15048,n=K.msedge?e:!0;return self.fetch&&self.ReadableStream&&n}catch(e){return!1}}constructor(e,n){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=n,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,n){this._dataSource=e,this._range=n;let i=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(i=e.redirectedURL);let t=this._seekHandler.getConfig(i,n),r=new self.Headers;if(typeof t.headers=="object"){let a=t.headers;for(let I in a)a.hasOwnProperty(I)&&r.append(I,a[I])}let o={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let a in this._config.headers)r.append(a,this._config.headers[a]);e.cors===!1&&(o.mode="same-origin"),e.withCredentials&&(o.credentials="include"),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),this._status=C.kConnecting,self.fetch(t.url,o).then(a=>{if(this._requestAbort){this._requestAbort=!1,this._status=C.kIdle;return}if(a.ok&&a.status>=200&&a.status<=299){if(a.url!==t.url&&this._onURLRedirect){let p=this._seekHandler.removeURLParameters(a.url);this._onURLRedirect(p)}let I=a.headers.get("Content-Length");return I!=null&&(this._contentLength=parseInt(I),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,a.body.getReader())}else if(this._status=C.kError,this._onError)this._onError(Oe.HTTP_STATUS_CODE_INVALID,{code:a.status,msg:a.statusText});else throw new Y("FetchStreamLoader: Http code invalid, "+a.status+" "+a.statusText)}).catch(a=>{if(this._status=C.kError,this._onError)this._onError(Oe.EXCEPTION,{code:-1,msg:a.message});else throw a})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(n=>{if(n.done)if(this._contentLength!==null&&this._receivedLength{if(n.code===11&&K.msedge)return;this._status=C.kError;let i=0,t=null;if((n.code===19||n.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=C.kError,this._onError)this._onError(Oe.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new Y("MozChunkedLoader: Http code invalid, "+n.status+" "+n.statusText);else this._status=C.kBuffering}}_onProgress(e){if(this._status===C.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===C.kError)return;this._status=C.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=C.kError;let n=0,i=null;if(this._contentLength&&e.loaded=200&&n.status<=299){if(this._status=LoaderStatus.kBuffering,n.responseURL!=null){let t=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&t!==this._currentRedirectedURL&&(this._currentRedirectedURL=t,this._onURLRedirect&&this._onURLRedirect(t))}let i=n.getResponseHeader("Content-Length");if(i!=null&&this._contentLength==null){let t=parseInt(i);t>0&&(this._contentLength=t,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+n.status+" "+n.statusText);else if(n.readyState===3&&n.status>=200&&n.status<=299){this._status=LoaderStatus.kBuffering;let i=n.response;this._reader.readAsArrayBuffer(i)}}_xhrOnError(e){this._status=LoaderStatus.kError;let n=LoaderErrors.EXCEPTION,i={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(n,i);else throw new RuntimeException(i.msg)}_msrOnProgress(e){let i=e.target.result;if(i==null){this._doReconnectIfNeeded();return}let t=i.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=i.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength),i.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+t.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(i=this._range.from+this._contentLength-1),this._currentRequestRange={from:n,to:i},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,n){this._lastTimeLoaded=0;let i=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?i=this._currentRedirectedURL:e.redirectedURL!=null&&(i=e.redirectedURL));let t=this._seekHandler.getConfig(i,n);this._currentRequestURL=t.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",t.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof t.headers=="object"){let o=t.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}if(typeof this._config.headers=="object"){let o=this._config.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=C.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let n=e.target;if(n.readyState===2){if(n.responseURL!=null){let i=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}if(n.status>=200&&n.status<=299){if(this._waitForTotalLength)return;this._status=C.kBuffering}else if(this._status=C.kError,this._onError)this._onError(Oe.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new Y("RangeLoader: Http code invalid, "+n.status+" "+n.statusText)}}_onProgress(e){if(this._status===C.kError)return;if(this._contentLength===null){let i=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,i=!0;let t=e.total;this._internalAbort(),t!=null&t!==0&&(this._totalLength=t)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,i){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let n=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(n)}_normalizeSpeed(e){let n=this._chunkSizeKBList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=3&&(n=this._speedSampler.currentKBps)),n!==0){let o=this._normalizeSpeed(n);this._currentSpeedNormalized!==o&&(this._currentSpeedNormalized=o,this._currentChunkSizeKB=o)}let i=e.target.response,t=this._range.from+this._receivedLength;this._receivedLength+=i.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(n.result)},n.readAsArrayBuffer(e.data)}else{this._status=C.kError;let n={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(Oe.EXCEPTION,n);else throw new Y(n.msg)}}_dispatchArrayBuffer(e){let n=e,i=this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onWebSocketError(e){this._status=C.kError;let n={code:e.code,msg:e.message};if(this._onError)this._onError(Oe.EXCEPTION,n);else throw new Y(n.msg)}}var Ce=ue;class ke{constructor(e){this._zeroStart=e||!1}getConfig(e,n){let i={};if(n.from!==0||n.to!==-1){let t;n.to!==-1?t=`bytes=${n.from.toString()}-${n.to.toString()}`:t=`bytes=${n.from.toString()}-`,i.Range=t}else this._zeroStart&&(i.Range="bytes=0-");return{url:e,headers:i}}removeURLParameters(e){return e}}var je=ke;class de{constructor(e,n){this._startName=e,this._endName=n}getConfig(e,n){let i=e;if(n.from!==0||n.to!==-1){let t=!0;i.indexOf("?")===-1&&(i+="?",t=!1),t&&(i+="&"),i+=`${this._startName}=${n.from.toString()}`,n.to!==-1&&(i+=`&${this._endName}=${n.to.toString()}`)}return{url:i,headers:{}}}removeURLParameters(e){let n=e.split("?")[0],i,t=e.indexOf("?");t!==-1&&(i=e.substring(t+1));let r="";if(i!=null&&i.length>0){let o=i.split("&");for(let a=0;a0;I[0]!==this._startName&&I[0]!==this._endName&&(p&&(r+="&"),r+=o[a])}}return r.length===0?n:n+"?"+r}}var He=de;class E{constructor(e,n,i){this.TAG="IOController",this._config=n,this._extraData=i,this._stashInitialSize=1024*384,n.stashInitialSize!=null&&n.stashInitialSize>0&&(this._stashInitialSize=n.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,n.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new ge,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===ie?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new je(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let n=e.seekParamStart||"bstart",i=e.seekParamEnd||"bend";this._seekHandler=new He(n,i)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new we("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new we(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Ce;else if(U.isSupported())this._loaderClass=U;else if(v.isSupported())this._loaderClass=v;else if(ie.isSupported())this._loaderClass=ie;else throw new Y("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,n){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(n),this._loader.destroy(),this._loader=null;let i={from:e,to:-1};this._currentRange={from:i.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,i),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new we("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let n=this._stashSize;for(;n+1024*1024*10){let t=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(i,0,n).set(t,0)}this._stashBuffer=i,this._bufferSize=n}_normalizeSpeed(e){let n=this._speedNormalizeList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=512&&e<=1024?n=Math.floor(e*1.5):n=e*2,n>8192&&(n=8192);let i=n*1024+1024*1024*1;this._bufferSize0){let o=this._stashBuffer.slice(0,this._stashUsed),a=this._dispatchChunks(o,this._stashByteStart);if(a0){let I=new Uint8Array(o,a);r.set(I,0),this._stashUsed=I.byteLength,this._stashByteStart+=a}}else this._stashUsed=0,this._stashByteStart+=a;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let o=this._dispatchChunks(e,n);if(othis._bufferSize&&(this._expandBuffer(a),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,o),0),this._stashUsed+=a,this._stashByteStart=n+o}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,n);if(rthis._bufferSize&&this._expandBuffer(o),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=o,this._stashByteStart=n+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let o=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(o0){let a=new Uint8Array(this._stashBuffer,o);r.set(a,0)}this._stashUsed-=o,this._stashByteStart+=o}}_flushStashBuffer(e){if(this._stashUsed>0){let n=this._stashBuffer.slice(0,this._stashUsed),i=this._dispatchChunks(n,this._stashByteStart),t=n.byteLength-i;if(i0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),o=new Uint8Array(n,i);r.set(o,0),this._stashUsed=o.byteLength,this._stashByteStart+=i}return 0}return this._stashUsed=0,this._stashByteStart=0,t}return 0}_onLoaderComplete(e,n){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,n){switch(T.e(this.TAG,`Loader error, code = ${n.code}, msg = ${n.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=Oe.UNRECOVERABLE_EARLY_EOF),e){case Oe.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let i=this._currentRange.to+1;i0){let n=ce.getConfig();e.emit("change",n)}}static registerListener(e){ce.emitter.addListener("change",e)}static removeListener(e){ce.emitter.removeListener("change",e)}static addLogListener(e){T.emitter.addListener("log",e),T.emitter.listenerCount("log")>0&&(T.ENABLE_CALLBACK=!0,ce._notifyChange())}static removeLogListener(e){T.emitter.removeListener("log",e),T.emitter.listenerCount("log")===0&&(T.ENABLE_CALLBACK=!1,ce._notifyChange())}}ce.emitter=new(z());var fe=ce;class We{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,n=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&n}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let n=this.keyframesIndex,i=this._search(n.times,e);return{index:i,milliseconds:n.times[i],fileposition:n.filepositions[i]}}_search(e,n){let i=0,t=e.length-1,r=0,o=0,a=t;for(n=e[r]&&n=128){e.push(String.fromCharCode(r&65535)),i+=2;continue}}}else if(n[i]<240){if(qe(n,i,2)){let r=(n[i]&15)<<12|(n[i+1]&63)<<6|n[i+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),i+=3;continue}}}else if(n[i]<248&&qe(n,i,3)){let r=(n[i]&7)<<18|(n[i+1]&63)<<12|(n[i+2]&63)<<6|n[i+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),i+=4;continue}}}e.push("\uFFFD"),++i}return e.join("")}var rt=vt;let Ke=function(){let _e=new ArrayBuffer(2);return new DataView(_e).setInt16(0,256,!0),new Int16Array(_e)[0]===256}();class lt{static parseScriptData(e,n,i){let t={};try{let r=lt.parseValue(e,n,i),o=lt.parseValue(e,n+r.size,i-r.size);t[r.data]=o.data}catch(r){T.e("AMF",r.toString())}return t}static parseObject(e,n,i){if(i<3)throw new w("Data not enough when parse ScriptDataObject");let t=lt.parseString(e,n,i),r=lt.parseValue(e,n+t.size,i-t.size),o=r.objectEnd;return{data:{name:t.data,value:r.data},size:t.size+r.size,objectEnd:o}}static parseVariable(e,n,i){return lt.parseObject(e,n,i)}static parseString(e,n,i){if(i<2)throw new w("Data not enough when parse String");let r=new DataView(e,n,i).getUint16(0,!Ke),o;return r>0?o=rt(new Uint8Array(e,n+2,r)):o="",{data:o,size:2+r}}static parseLongString(e,n,i){if(i<4)throw new w("Data not enough when parse LongString");let r=new DataView(e,n,i).getUint32(0,!Ke),o;return r>0?o=rt(new Uint8Array(e,n+4,r)):o="",{data:o,size:4+r}}static parseDate(e,n,i){if(i<10)throw new w("Data size invalid when parse Date");let t=new DataView(e,n,i),r=t.getFloat64(0,!Ke),o=t.getInt16(8,!Ke);return r+=o*60*1e3,{data:new Date(r),size:10}}static parseValue(e,n,i){if(i<1)throw new w("Data not enough when parse Value");let t=new DataView(e,n,i),r=1,o=t.getUint8(0),a,I=!1;try{switch(o){case 0:a=t.getFloat64(1,!Ke),r+=8;break;case 1:{a=!!t.getUint8(1),r+=1;break}case 2:{let p=lt.parseString(e,n+1,i-1);a=p.data,r+=p.size;break}case 3:{a={};let p=0;for((t.getUint32(i-4,!Ke)&16777215)===9&&(p=3);r32)throw new we("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let o=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,o}let n=this._current_word_bits_left?this._current_word:0;n=n>>>32-this._current_word_bits_left;let i=e-this._current_word_bits_left;this._fillCurrentWord();let t=Math.min(i,this._current_word_bits_left),r=this._current_word>>>32-t;return this._current_word<<=t,this._current_word_bits_left-=t,n=n<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Ze=H;class N{static _ebsp2rbsp(e){let n=e,i=n.byteLength,t=new Uint8Array(i),r=0;for(let o=0;o=2&&n[o]===3&&n[o-1]===0&&n[o-2]===0||(t[r]=n[o],r++);return new Uint8Array(t.buffer,0,r)}static parseSPS(e){let n=N._ebsp2rbsp(e),i=new Ze(n);i.readByte();let t=i.readByte();i.readByte();let r=i.readByte();i.readUEG();let o=N.getProfileString(t),a=N.getLevelString(r),I=1,p=420,M=[0,420,422,444],W=8;if((t===100||t===110||t===122||t===244||t===44||t===83||t===86||t===118||t===128||t===138||t===144)&&(I=i.readUEG(),I===3&&i.readBits(1),I<=3&&(p=M[I]),W=i.readUEG()+8,i.readUEG(),i.readBits(1),i.readBool())){let $e=I!==3?8:12;for(let Ye=0;Ye<$e;Ye++)i.readBool()&&(Ye<6?N._skipScalingList(i,16):N._skipScalingList(i,64))}i.readUEG();let se=i.readUEG();if(se===0)i.readUEG();else if(se===1){i.readBits(1),i.readSEG(),i.readSEG();let $e=i.readUEG();for(let Ye=0;Ye<$e;Ye++)i.readSEG()}let G=i.readUEG();i.readBits(1);let be=i.readUEG(),ae=i.readUEG(),q=i.readBits(1);q===0&&i.readBits(1),i.readBits(1);let X=0,Ee=0,ve=0,Be=0;i.readBool()&&(X=i.readUEG(),Ee=i.readUEG(),ve=i.readUEG(),Be=i.readUEG());let et=1,Ie=1,Le=0,_=!0,L=0,F=0;if(i.readBool()){if(i.readBool()){let $e=i.readByte(),Ye=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],yt=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];$e>0&&$e<16?(et=Ye[$e-1],Ie=yt[$e-1]):$e===255&&(et=i.readByte()<<8|i.readByte(),Ie=i.readByte()<<8|i.readByte())}if(i.readBool()&&i.readBool(),i.readBool()&&(i.readBits(4),i.readBool()&&i.readBits(24)),i.readBool()&&(i.readUEG(),i.readUEG()),i.readBool()){let $e=i.readBits(32),Ye=i.readBits(32);_=i.readBool(),L=Ye,F=$e*2,Le=L/F}}let V=1;(et!==1||Ie!==1)&&(V=et/Ie);let Se=0,me=0;if(I===0)Se=1,me=2-q;else{let $e=I===3?1:2,Ye=I===1?2:1;Se=$e,me=Ye*(2-q)}let Ae=(be+1)*16,Ge=(2-q)*((ae+1)*16);Ae-=(X+Ee)*Se,Ge-=(ve+Be)*me;let Ve=Math.ceil(Ae*V);return i.destroy(),i=null,{profile_string:o,level_string:a,bit_depth:W,ref_frames:G,chroma_format:p,chroma_format_string:N.getChromaFormatString(p),frame_rate:{fixed:_,fps:Le,fps_den:F,fps_num:L},sar_ratio:{width:et,height:Ie},codec_size:{width:Ae,height:Ge},present_size:{width:Ve,height:Ge}}}static _skipScalingList(e,n){let i=8,t=8,r=0;for(let o=0;o>>8&255|(_e&255)<<8}function Z(_e){return(_e&4278190080)>>>24|(_e&16711680)>>>8|(_e&65280)<<8|(_e&255)<<24}function s(_e,e){return _e[e]<<24|_e[e+1]<<16|_e[e+2]<<8|_e[e+3]}class u{constructor(e,n){this.TAG="FLVDemuxer",this._config=n,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new tt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let i=new ArrayBuffer(2);return new DataView(i).setInt16(0,256,!0),new Int16Array(i)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let n=new Uint8Array(e),i={match:!1};if(n[0]!==70||n[1]!==76||n[2]!==86||n[3]!==1)return i;let t=(n[4]&4)>>>2!==0,r=(n[4]&1)!==0,o=s(n,5);return o<9?i:{match:!0,consumed:o,dataOffset:o,hasAudioTrack:t,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new tt}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,n){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new w("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let i=0,t=this._littleEndian;if(n===0)if(e.byteLength>13)i=u.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,n+i!==this._dataOffset&&T.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,i).getUint32(0,!t)!==0&&T.w(this.TAG,"PrevTagSize0 !== 0 !!!"),i+=4);ie.byteLength)break;let o=r.getUint8(0),a=r.getUint32(0,!t)&16777215;if(i+11+a+4>e.byteLength)break;if(o!==8&&o!==9&&o!==18){T.w(this.TAG,`Unsupported tag type ${o}, skipped`),i+=11+a+4;continue}let I=r.getUint8(4),p=r.getUint8(5),M=r.getUint8(6),W=r.getUint8(7),se=M|p<<8|I<<16|W<<24;(r.getUint32(7,!t)&16777215)!==0&&T.w(this.TAG,"Meet tag which has StreamID != 0!");let be=i+11;switch(o){case 8:this._parseAudioData(e,be,a,se);break;case 9:this._parseVideoData(e,be,a,se,n+i);break;case 18:this._parseScriptData(e,be,a);break}let ae=r.getUint32(11+a,!t);ae!==11+a&&T.w(this.TAG,`Invalid PrevTagSize ${ae}`),i+=11+a+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),i}_parseScriptData(e,n,i){let t=gt.parseScriptData(e,n,i);if(t.hasOwnProperty("onMetaData")){if(t.onMetaData==null||typeof t.onMetaData!="object"){T.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&T.w(this.TAG,"Found another onMetaData tag!"),this._metadata=t;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let o=Math.floor(r.duration*this._timescale);this._duration=o,this._mediaInfo.duration=o}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let o=Math.floor(r.framerate*1e3);if(o>0){let a=o/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=a,this._referenceFrameRate.fps_num=o,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=a}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let o=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(o),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,T.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(t).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},t))}_parseKeyframesIndex(e){let n=[],i=[];for(let t=1;t>>4;if(I!==2&&I!==10){this._onError(S.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+I);return}let p=0,M=(a&12)>>>2;if(M>=0&&M<=4)p=this._flvSoundRateTable[M];else{this._onError(S.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+M);return}let W=(a&2)>>>1,se=a&1,G=this._audioMetadata,be=this._audioTrack;if(G||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),G=this._audioMetadata={},G.type="audio",G.id=be.id,G.timescale=this._timescale,G.duration=this._duration,G.audioSampleRate=p,G.channelCount=se===0?1:2),I===10){let ae=this._parseAACAudioData(e,n+1,i-1);if(ae==null)return;if(ae.packetType===0){G.config&&T.w(this.TAG,"Found another AudioSpecificConfig!");let q=ae.data;G.audioSampleRate=q.samplingRate,G.channelCount=q.channelCount,G.codec=q.codec,G.originalCodec=q.originalCodec,G.config=q.config,G.refSampleDuration=1024/G.audioSampleRate*G.timescale,T.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",G);let X=this._mediaInfo;X.audioCodec=G.originalCodec,X.audioSampleRate=G.audioSampleRate,X.audioChannelCount=G.channelCount,X.hasVideo?X.videoCodec!=null&&(X.mimeType='video/x-flv; codecs="'+X.videoCodec+","+X.audioCodec+'"'):X.mimeType='video/x-flv; codecs="'+X.audioCodec+'"',X.isComplete()&&this._onMediaInfo(X)}else if(ae.packetType===1){let q=this._timestampBase+t,X={unit:ae.data,length:ae.data.byteLength,dts:q,pts:q};be.samples.push(X),be.length+=ae.data.length}else T.e(this.TAG,`Flv: Unsupported AAC data type ${ae.packetType}`)}else if(I===2){if(!G.codec){let Ee=this._parseMP3AudioData(e,n+1,i-1,!0);if(Ee==null)return;G.audioSampleRate=Ee.samplingRate,G.channelCount=Ee.channelCount,G.codec=Ee.codec,G.originalCodec=Ee.originalCodec,G.refSampleDuration=1152/G.audioSampleRate*G.timescale,T.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",G);let ve=this._mediaInfo;ve.audioCodec=G.codec,ve.audioSampleRate=G.audioSampleRate,ve.audioChannelCount=G.channelCount,ve.audioDataRate=Ee.bitRate,ve.hasVideo?ve.videoCodec!=null&&(ve.mimeType='video/x-flv; codecs="'+ve.videoCodec+","+ve.audioCodec+'"'):ve.mimeType='video/x-flv; codecs="'+ve.audioCodec+'"',ve.isComplete()&&this._onMediaInfo(ve)}let ae=this._parseMP3AudioData(e,n+1,i-1,!1);if(ae==null)return;let q=this._timestampBase+t,X={unit:ae,length:ae.byteLength,dts:q,pts:q};be.samples.push(X),be.length+=ae.length}}_parseAACAudioData(e,n,i){if(i<=1){T.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let t={},r=new Uint8Array(e,n,i);return t.packetType=r[0],r[0]===0?t.data=this._parseAACAudioSpecificConfig(e,n+1,i-1):t.data=r.subarray(1),t}_parseAACAudioSpecificConfig(e,n,i){let t=new Uint8Array(e,n,i),r=null,o=0,a=0,I=null,p=0,M=null;if(o=a=t[0]>>>3,p=(t[0]&7)<<1|t[1]>>>7,p<0||p>=this._mpegSamplingRates.length){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let W=this._mpegSamplingRates[p],se=(t[1]&120)>>>3;if(se<0||se>=8){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}o===5&&(M=(t[1]&7)<<1|t[2]>>>7,I=(t[2]&124)>>>2);let G=self.navigator.userAgent.toLowerCase();return G.indexOf("firefox")!==-1?p>=6?(o=5,r=new Array(4),M=p-3):(o=2,r=new Array(2),M=p):G.indexOf("android")!==-1?(o=2,r=new Array(2),M=p):(o=5,M=p,r=new Array(4),p>=6?M=p-3:se===1&&(o=2,r=new Array(2),M=p)),r[0]=o<<3,r[0]|=(p&15)>>>1,r[1]=(p&15)<<7,r[1]|=(se&15)<<3,o===5&&(r[1]|=(M&15)>>>1,r[2]=(M&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:W,channelCount:se,codec:"mp4a.40."+o,originalCodec:"mp4a.40."+a}}_parseMP3AudioData(e,n,i,t){if(i<4){T.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,o=new Uint8Array(e,n,i),a=null;if(t){if(o[0]!==255)return;let I=o[1]>>>3&3,p=(o[1]&6)>>1,M=(o[2]&240)>>>4,W=(o[2]&12)>>>2,G=(o[3]>>>6&3)!==3?2:1,be=0,ae=0,q=34,X="mp3";switch(I){case 0:be=this._mpegAudioV25SampleRateTable[W];break;case 2:be=this._mpegAudioV20SampleRateTable[W];break;case 3:be=this._mpegAudioV10SampleRateTable[W];break}switch(p){case 1:q=34,M>>4,I=o&15;if(I!==7){this._onError(S.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${I}`);return}this._parseAVCVideoPacket(e,n+1,i-1,t,r,a)}_parseAVCVideoPacket(e,n,i,t,r,o){if(i<4){T.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let a=this._littleEndian,I=new DataView(e,n,i),p=I.getUint8(0),W=(I.getUint32(0,!a)&16777215)<<8>>8;if(p===0)this._parseAVCDecoderConfigurationRecord(e,n+4,i-4);else if(p===1)this._parseAVCVideoData(e,n+4,i-4,t,r,o,W);else if(p!==2){this._onError(S.FORMAT_ERROR,`Flv: Invalid video packet type ${p}`);return}}_parseAVCDecoderConfigurationRecord(e,n,i){if(i<7){T.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let t=this._videoMetadata,r=this._videoTrack,o=this._littleEndian,a=new DataView(e,n,i);t?typeof t.avcc!="undefined"&&T.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),t=this._videoMetadata={},t.type="video",t.id=r.id,t.timescale=this._timescale,t.duration=this._duration);let I=a.getUint8(0),p=a.getUint8(1),M=a.getUint8(2),W=a.getUint8(3);if(I!==1||p===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(a.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(S.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let se=a.getUint8(5)&31;if(se===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else se>1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${se}`);let G=6;for(let ae=0;ae1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${be}`);G++;for(let ae=0;ae=i){T.w(this.TAG,`Malformed Nalu near timestamp ${be}, offset = ${se}, dataSize = ${i}`);break}let q=p.getUint32(se,!I);if(G===3&&(q>>>=8),q>i-G){T.w(this.TAG,`Malformed Nalus near timestamp ${be}, NaluSize > DataSize!`);return}let X=p.getUint8(se+G)&31;X===5&&(ae=!0);let Ee=new Uint8Array(e,n+se,G+q),ve={type:X,data:Ee};M.push(ve),W+=Ee.byteLength,se+=G+q}if(M.length){let q=this._videoTrack,X={units:M,length:W,isKeyframe:ae,dts:be,cts:a,pts:be+a};ae&&(X.fileposition=r),q.samples.push(X),q.length+=W}}}var P=u;class d{static init(){d.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let n in d.types)d.types.hasOwnProperty(n)&&(d.types[n]=[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3)]);let e=d.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let n=8,i=null,t=Array.prototype.slice.call(arguments,1),r=t.length;for(let a=0;a>>24&255,i[1]=n>>>16&255,i[2]=n>>>8&255,i[3]=n&255,i.set(e,4);let o=8;for(let a=0;a>>24&255,e>>>16&255,e>>>8&255,e&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return d.box(d.types.trak,d.tkhd(e),d.mdia(e))}static tkhd(e){let n=e.id,i=e.duration,t=e.presentWidth,r=e.presentHeight;return d.box(d.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,t>>>8&255,t&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return d.box(d.types.mdia,d.mdhd(e),d.hdlr(e),d.minf(e))}static mdhd(e){let n=e.timescale,i=e.duration;return d.box(d.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255,85,196,0,0]))}static hdlr(e){let n=null;return e.type==="audio"?n=d.constants.HDLR_AUDIO:n=d.constants.HDLR_VIDEO,d.box(d.types.hdlr,n)}static minf(e){let n=null;return e.type==="audio"?n=d.box(d.types.smhd,d.constants.SMHD):n=d.box(d.types.vmhd,d.constants.VMHD),d.box(d.types.minf,n,d.dinf(),d.stbl(e))}static dinf(){return d.box(d.types.dinf,d.box(d.types.dref,d.constants.DREF))}static stbl(e){return d.box(d.types.stbl,d.stsd(e),d.box(d.types.stts,d.constants.STTS),d.box(d.types.stsc,d.constants.STSC),d.box(d.types.stsz,d.constants.STSZ),d.box(d.types.stco,d.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp3(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp4a(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.avc1(e))}static mp3(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types[".mp3"],t)}static mp4a(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types.mp4a,t,d.esds(e))}static esds(e){let n=e.config||[],i=n.length,t=new Uint8Array([0,0,0,0,3,23+i,0,1,0,4,15+i,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([i]).concat(n).concat([6,1,2]));return d.box(d.types.esds,t)}static avc1(e){let n=e.avcc,i=e.codecWidth,t=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,i>>>8&255,i&255,t>>>8&255,t&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return d.box(d.types.avc1,r,d.box(d.types.avcC,n))}static mvex(e){return d.box(d.types.mvex,d.trex(e))}static trex(e){let n=e.id,i=new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return d.box(d.types.trex,i)}static moof(e,n){return d.box(d.types.moof,d.mfhd(e.sequenceNumber),d.traf(e,n))}static mfhd(e){let n=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return d.box(d.types.mfhd,n)}static traf(e,n){let i=e.id,t=d.box(d.types.tfhd,new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255])),r=d.box(d.types.tfdt,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),o=d.sdtp(e),a=d.trun(e,o.byteLength+16+16+8+16+8+8);return d.box(d.types.traf,t,r,a,o)}static sdtp(e){let n=e.samples||[],i=n.length,t=new Uint8Array(4+i);for(let r=0;r>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0);for(let a=0;a>>24&255,I>>>16&255,I>>>8&255,I&255,p>>>24&255,p>>>16&255,p>>>8&255,p&255,M.isLeading<<2|M.dependsOn,M.isDependedOn<<6|M.hasRedundancy<<4|M.isNonSync,0,0,W>>>24&255,W>>>16&255,W>>>8&255,W&255],12+16*a)}return d.box(d.types.trun,o)}static mdat(e){return d.box(d.types.mdat,e)}}d.init();var m=d;class B{static getSilentFrame(e,n){if(e==="mp4a.40.2"){if(n===1)return new Uint8Array([0,200,0,128,35,128]);if(n===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(n===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(n===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(n===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(n===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(n===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var oe=B;class Q{constructor(e,n,i,t,r){this.dts=e,this.pts=n,this.duration=i,this.originalDts=t,this.isSyncPoint=r,this.fileposition=null}}class Re{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class re{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let n=this._list;e.length!==0&&(n.length>0&&e[0].originalDts=n[r].dts&&en[t].lastSample.originalDts&&e=n[t].lastSample.originalDts&&(t===n.length-1||t0&&(r=this._searchNearestSegmentBefore(i.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,i)}getLastSegmentBefore(e){let n=this._searchNearestSegmentBefore(e);return n>=0?this._list[n]:null}getLastSampleBefore(e){let n=this.getLastSegmentBefore(e);return n!=null?n.lastSample:null}getLastSyncPointBefore(e){let n=this._searchNearestSegmentBefore(e),i=this._list[n].syncPoints;for(;i.length===0&&n>0;)n--,i=this._list[n].syncPoints;return i.length>0?i[i.length-1]:null}}class pe{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new le("audio"),this._videoSegmentInfoList=new le("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(K.chrome&&(K.version.major<50||K.version.major===50&&K.version.build<2661)),this._fillSilentAfterSeek=K.msedge||K.msie,this._mp3UseMpegAudio=!K.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,n){if(!this._onMediaSegment)throw new w("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,n),this._remuxVideo(n),this._remuxAudio(e)}_onTrackMetadataReceived(e,n){let i=null,t="mp4",r=n.codec;if(e==="audio")this._audioMeta=n,n.codec==="mp3"&&this._mp3UseMpegAudio?(t="mpeg",r="",i=new Uint8Array):i=m.generateInitSegment(n);else if(e==="video")this._videoMeta=n,i=m.generateInitSegment(n);else return;if(!this._onInitSegment)throw new w("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:i.buffer,codec:r,container:`${e}/${t}`,mediaDuration:n.duration})}_calculateDtsBase(e,n){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),n.samples&&n.samples.length&&(this._videoDtsBase=n.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,n=this._audioStashedLastSample,i={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(i.samples.push(e),i.length=e.length);let t={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};n!=null&&(t.samples.push(n),t.length=n.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(i,!0),this._remuxAudio(t,!0)}_remuxAudio(e,n){if(this._audioMeta==null)return;let i=e,t=i.samples,r,o=-1,a=-1,I=-1,p=this._audioMeta.refSampleDuration,M=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,W=this._dtsBaseInited&&this._audioNextDts===void 0,se=!1;if(!t||t.length===0||t.length===1&&!n)return;let G=0,be=null,ae=0;M?(G=0,ae=i.length):(G=8,ae=8+i.length);let q=null;if(t.length>1&&(q=t.pop(),ae-=q.length),this._audioStashedLastSample!=null){let Ie=this._audioStashedLastSample;this._audioStashedLastSample=null,t.unshift(Ie),ae+=Ie.length}q!=null&&(this._audioStashedLastSample=q);let X=t[0].dts-this._dtsBase;if(this._audioNextDts)r=X-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(se=!0);else{let Ie=this._audioSegmentInfoList.getLastSampleBefore(X);if(Ie!=null){let Le=X-(Ie.originalDts+Ie.duration);Le<=3&&(Le=0);let _=Ie.dts+Ie.duration+Le;r=X-_}else r=0}if(se){let Ie=X-r,Le=this._videoSegmentInfoList.getLastSegmentBefore(X);if(Le!=null&&Le.beginDts=1?$=Ee[Ee.length-1].duration:$=Math.floor(p);let V=!1,Se=null;if($>p*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!K.safari){V=!0;let me=Math.abs($-p),Ae=Math.ceil(me/p),Ge=F+p;T.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +(self.webpackChunk=self.webpackChunk||[]).push([[1257],{40001:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},49198:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},84105:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},18785:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},33853:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},62772:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},38819:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},47472:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return ge}});var f=l(54476),g=l(59301),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},z=O,R=l(7657),T=function(w,we){return g.createElement(R.Z,(0,f.Z)({},w,{ref:we,icon:z}))},he=g.forwardRef(T),ge=he},41136:function(At,Fe,l){"use strict";l.d(Fe,{K:function(){return T}});var f=l(59301),g=l(43418),O=l(81032),z={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},R=l(24334);const T=({visible:he,width:ge,videoId:Y,file_url:w,course_id:we,copyUrl:b,toLog:C=!0,logWatchHistory:Oe=()=>{},allow_skip:Te,onClose:Ne=()=>{},autoPlay:ze=!1,onPlayEnded:K=()=>{}})=>f.createElement(g.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:he,title:null,footer:null,width:ge,className:z.modal},f.createElement("i",{className:`${z.closeIcon} iconfont icon-guanbi10`,onClick:Ne}),he&&f.createElement(O.Z,{onPlayEnded:K,autoPlay:ze,allow_skip:Te,courseId:we,src:w!=null&&w.startsWith("http")?w:R.Base64.decode(w),videoId:Y,toLog:C,logWatchHistory:Oe}))},81032:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return Te}});var f=l(59301),g=l(8591),O=l(38854),z=l(96640),R=l(80360),T=l(47141),he=l(56102),ge=l(18030),Y={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},w=(Ne,ze,K)=>new Promise((ne,U)=>{var j=y=>{try{c(K.next(y))}catch(x){U(x)}},v=y=>{try{c(K.throw(y))}catch(x){U(x)}},c=y=>y.done?ne(y.value):Promise.resolve(y.value).then(j,v);c((K=K.apply(Ne,ze)).next())});function we(Ne){if(isNaN(Ne))return{minutes:"00",seconds:"00"};const ze=new Date(Ne*1e3).toISOString().substr(11,8);return{hour:ze.substr(0,2),minutes:ze.substr(3,2),seconds:ze.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function b(Ne,ze){return Ne-ze}function C(Ne){Ne.sort(b);let ze=0;for(let K=0;K{},handlePlay:y=()=>{},handlePlayEnded:x=()=>{},autoPlay:ie=!1,onPlayEnded:ue=()=>{},isShowWaterMark:Ce=!0},ke)=>{var je;const He=((je=ze==null?void 0:ze.split("."))==null?void 0:je.pop())==="flv",E=(0,f.useRef)(),De=(0,f.useRef)(),xe=(0,f.useRef)(),J=(0,f.useRef)(),ye=(0,f.useRef)(),Me=(0,f.useRef)(),k=(0,f.useRef)(),ee=(0,f.useRef)(),ce=(0,f.useRef)(),fe=(0,f.useRef)(),We=(0,f.useRef)(),tt=(0,f.useRef)(),qe=(0,f.useRef)(),vt=(0,f.useRef)(),rt=navigator.userAgent.toLowerCase().match(Oe),Ke=rt?rt[0]:"pc",lt=(0,f.useRef)(!1),gt=(0,T.eY)();let H=0,Ze=0,N=0,D=null,h=!1,S=20,A=1,Z=!1,s=!1,u=[];(0,f.useImperativeHandle)(ke,()=>({getLastUpdatedTime:()=>E.current.currentTime,getDuration:()=>E.current.duration})),g.ZP.config({maxCount:1,getContainer:()=>xe.current});const P=(0,f.useCallback)((re,le=!1)=>{let pe={point:E.current.currentTime};D?(pe.log_id=D,pe.watch_duration=C(u),pe.total_duration=Ze):(j?(pe.video_id=parseInt(ne,10),pe.course_id=j):pe.video_id=ne,pe.duration=H,pe.device=Ke),le&&(pe.ed="1");function Xe(){return w(this,null,function*(){Z=!0,D=yield U==null?void 0:U(pe),Z=!1,re&&re()})}Xe()},[ne,j]);(0,f.useEffect)(()=>{E.current&&(J.current.style.display="none",ye.current.style.display="block"),g.ZP.destroy();let re=null;return z.Z.isSupported&&He&&ze&&(ze==null?void 0:ze.indexOf(".m3u8"))<0?(re=z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:ze,muted:!1}),E.current&&(re.attachMediaElement(E.current),re.load())):E.current.setAttribute("src",ze),m(),()=>{re&&(re.unload(),re.pause(),re.destroy(),re=null)}},[E,He,ze]);function d(){E.current.paused?(J.current.style.display="none",ye.current.style.display="block"):(J.current.style.display="block",ye.current.style.display="none")}function m(){We.current.style.display="none",qe.current.style.display="none",tt.current.style.display="none",E.current.muted||E.current.volume===0?We.current.style.display="block":E.current.volume>0&&E.current.volume<=.5?qe.current.style.display="block":tt.current.style.display="block"}(0,f.useEffect)(()=>{const re=document.getElementById("play"),le=document.querySelectorAll(".playback-icons use");function pe(){y(),v&&!lt.current&&(E.current.currentTime=v),lt.current=!0,u.push(E.current.currentTime),h||(h=!0,K&&P())}function Xe(){return w(this,null,function*(){d(),u.push(E.current.currentTime),K&&P(()=>{D=null,N=0,h=!1,Z=!1,s=!1,u=[],Ze=0,A=1},!0),ue()})}function Pe(){Me.current.value=Math.round(E.current.currentTime),k.current.value=Math.round(E.current.currentTime)}function te(){const Ue=we(Math.round(E.current.currentTime));ce.current.innerText=`${Ue.hour>0?Ue.hour+":":""}${Ue.minutes}:${Ue.seconds}`,ce.current.setAttribute("datetime",`${Ue.hour>0?" "+Ue.hour+" ":""}${Ue.minutes}m ${Ue.seconds}s`)}function nt(){var Ue,St,Xt,ft,Lt,ln,Zt;const qt=Math.round((Ue=E.current)==null?void 0:Ue.duration);(Xt=(St=Me.current)==null?void 0:St.setAttribute)==null||Xt.call(St,"max",qt),(Lt=(ft=k.current)==null?void 0:ft.setAttribute)==null||Lt.call(ft,"max",qt);const Ut=we(qt);ee.current&&(ee.current.innerText=`${Ut.hour>0?Ut.hour+":":""}${Ut.minutes}:${Ut.seconds}`,(Zt=(ln=ee.current).setAttribute)==null||Zt.call(ln,"datetime",`${Ut.hour>0?" "+Ut.hour+" ":""}${Ut.minutes}m ${Ut.seconds}s`))}function ot(){try{const Ue=Math.round(E.current.duration);Me.current.setAttribute("max",Ue),k.current.setAttribute("max",Ue);const St=we(Ue);ee.current.innerText=`${St.hour>0?St.hour+":":""}${St.minutes}:${St.seconds}`,ee.current.setAttribute("datetime",`${St.hour>0?" "+St.hour+" ":""}${St.minutes}m ${St.seconds}s`),Pe(),te();const{width:Xt,height:ft,x:Lt,y:ln}=De.current.getBoundingClientRect();if(Lt<0||ln<0||!Xt)return;if(!s){let Zt=E.current.currentTime,qt=Zt-N;Math.abs(qt)<10?(Ze+=Math.abs(qt),N=Zt,Z||Ze-A*S>=0&&(A++,u.push(N),K&&P())):(N=Zt,K&&P())}}catch(Ue){console.log(Ue)}}function pt(){s=!0}function ut(){E.current.playing&&u.push(E.current.currentTime,N),N=E.current.currentTime,s=!1}function Tt(){H=E.current.duration,H<=20&&(S=H/3),E.current.addEventListener("play",pe)}function Mt(Ue){Ue.preventDefault(),(0,ge.vp)()?(E.current.style.width="100%",E.current.style.height="100%"):E.current.style.cssText=""}function Ht(){c()}function kt(Ue){if(!Ne){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const St=Ue.target.dataset.seek?Ue.target.dataset.seek:Ue.target.value;E.current.currentTime=St,k.current.value=St,Me.current.value=St}function Jt(Ue){const St=Math.round(Ue.offsetX/Ue.target.clientWidth*parseInt(Ue.target.getAttribute("max"),10));Me.current.setAttribute("data-seek",St);const Xt=we(St);fe.current.textContent=`${Xt.hour>0?Xt.hour+":":""}${Xt.minutes}:${Xt.seconds}`;const ft=E.current.getBoundingClientRect();fe.current.style.left=`${Ue.pageX-ft.left}px`}function Wt(Ue){switch(Ue.code){case"Space":Ue.preventDefault(),Q();break;case"ArrowRight":if(Ue.preventDefault(),!Ne){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime>=E.current.duration)break;E.current.currentTime=parseInt(E.current.currentTime)+5,Pe();break;case"ArrowLeft":if(Ue.preventDefault(),!Ne){g.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(E.current.currentTime===0)break;E.current.currentTime=parseInt(E.current.currentTime)-5,Pe();break;case"ArrowUp":Ue.preventDefault(),E.current.volume<1&&(E.current.volume=(parseInt(E.current.volume*10)+1)/10);break;case"ArrowDown":Ue.preventDefault(),E.current.volume>0&&(E.current.volume=(parseInt(E.current.volume*10)-1)/10);break}}return xe.current.addEventListener((0,ge.gH)(),Mt),E.current.addEventListener("canplay",Tt),E.current.addEventListener("ended",Xe),E.current.addEventListener("seeking",pt),E.current.addEventListener("seeked",ut),E.current.addEventListener("loadedmetadata",nt),Me.current.addEventListener("mousemove",Jt),Me.current.addEventListener("input",kt),E.current.addEventListener("timeupdate",ot),E.current.addEventListener("pause",Ht),E.current.addEventListener("volumechange",m),document.addEventListener("keydown",Wt),()=>{var Ue,St,Xt,ft,Lt,ln,Zt,qt,Ut,Kt,pn,_e;(Ue=E.current)==null||Ue.removeEventListener("canplay",Tt),(St=E.current)==null||St.removeEventListener("play",pe),(Xt=E.current)==null||Xt.removeEventListener("ended",Xe),(ft=E.current)==null||ft.removeEventListener("seeking",pt),(Lt=E.current)==null||Lt.removeEventListener("seeked",ut),(ln=Me.current)==null||ln.removeEventListener("mousemove",Jt),(Zt=Me.current)==null||Zt.removeEventListener("input",kt),(qt=E.current)==null||qt.removeEventListener("timeupdate",ot),(Ut=E.current)==null||Ut.removeEventListener("pause",Ht),(Kt=E.current)==null||Kt.removeEventListener("loadedmetadata",nt),(pn=E.current)==null||pn.removeEventListener("volumechange",m),document.removeEventListener("keydown",Wt),(_e=E.current)!=null&&_e.playing&&(u.push(N,E.current.currentTime),K&&P())}},[E,ze]),(0,f.useEffect)(()=>{if(E.current.onended=()=>{x(E)},E.current.oncontextmenu=()=>!1,(ze==null?void 0:ze.indexOf(".m3u8"))>-1){if(E.current.canPlayType("application/vnd.apple.mpegurl"))E.current.src=ze;else if(R.ZP.isSupported()){var re=new R.ZP;re.loadSource(ze),re.attachMedia(E.current)}}},[ze]);const[B,oe]=(0,f.useState)(1),Q=()=>{E.current.paused||E.current.ended?E.current.play():E.current.pause(),d()};function Re(){E.current.muted=!E.current.muted,E.current.muted?(vt.current.setAttribute("data-volume",volume.value),vt.current.value=0):vt.current.value=vt.current.dataset.volume}return f.createElement("div",{style:{position:"relative"},ref:xe},f.createElement("div",{ref:De,className:`${Y.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${Y.animate__loop}`},Ce&>?gt.login:" "),f.createElement("div",{className:Y.container},f.createElement("div",{className:Y["video-container"],id:"video-container"},f.createElement("div",{className:Y["playback-animation"],id:"playback-animation"},f.createElement("svg",{className:Y["playback-icons"]},f.createElement("use",{className:"hidden",href:"#play-icon"}),f.createElement("use",{href:"#pause"}))),f.createElement("video",{className:Y.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:E,autoPlay:ie}),f.createElement("div",{className:`${Y["video-controls"]} `,id:"video-controls"},f.createElement("div",{className:Y["bottom-controls"]},f.createElement("div",{className:Y["left-controls"]},f.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Q},f.createElement("svg",{className:Y["playback-icons"]},f.createElement("use",{ref:ye,href:"#play-icon"}),f.createElement("use",{ref:J,style:{display:"none"},href:"#pause"}))),f.createElement("div",{className:Y.time},f.createElement("time",{id:"time-elapsed",ref:ce},"00:00"),f.createElement("span",null," / "),f.createElement("time",{id:"duration",ref:ee},"00:00"))),f.createElement("div",{className:Y["right-controls"]},Ne&&f.createElement(O.Z,{placement:"top",overlayClassName:Y.rateOverlay,getPopupContainer:re=>re.parentNode,menu:{items:[{key:"1",label:f.createElement("span",{onClick:()=>{oe(1),E.current.playbackRate=1}},"1.0x")},{key:"2",label:f.createElement("span",{onClick:()=>{oe(1.5),E.current.playbackRate=1.5}},"1.5x")},{key:"3",label:f.createElement("span",{onClick:()=>{oe(2),E.current.playbackRate=2}},"2.0x")}]}},f.createElement("div",{className:`${Y.controlText} mr5`},"\u500D\u901F")),f.createElement(he.CopyToClipboard,{text:ze,onCopy:()=>g.ZP.success("\u590D\u5236\u6210\u529F")},f.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},f.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),f.createElement("div",{className:Y["volume-controls"]},f.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:Y["volume-button"],id:"volume-button",onClick:Re},f.createElement("i",{ref:We,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:qe,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),f.createElement("i",{ref:tt,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),f.createElement("input",{className:Y.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:vt,style:{display:"none"},onClick:m})),f.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:Y["fullscreen-button"],onClick:()=>{(0,ge.vp)()?(0,ge.BU)():(0,ge.Dj)(xe.current)}},f.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),f.createElement("div",{className:Y["video-progress"]},f.createElement("progress",{ref:k,value:"0",min:"0"}),f.createElement("input",{className:Y.seek,ref:Me,value:"0",min:"0",type:"range",step:"1"}),f.createElement("div",{className:Y["seek-tooltip"],ref:fe,id:"seek-tooltip"},"00:00"))))),f.createElement("svg",{style:{display:"none"}},f.createElement("defs",null,f.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),f.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},f.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),f.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),f.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},f.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),f.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},f.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),f.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},f.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),f.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},f.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),f.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},f.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},95648:function(At,Fe,l){"use strict";l.r(Fe),l.d(Fe,{default:function(){return k}});var f=l(59301),g=l(92123),O=l(8591),z=l(13570),R=l(71418),T=l(58421),he=l(43597),ge=l(47141),Y=l(62556),w=l(18889),we=l(55988),b=l(36193),C={flex_box_center:"flex_box_center___riBIL",flex_space_between:"flex_space_between___QnIxq",flex_box_vertical_center:"flex_box_vertical_center___lDoLU",flex_box_center_end:"flex_box_center_end___cJ2F_",flex_box_column:"flex_box_column___PSzC7",wrap:"wrap___Mlk1H",mask:"mask___MVQfB",playIconWrap:"playIconWrap___QcDy0",playIcon:"playIcon___MXK2W",linkWrap:"linkWrap___rXjTB",link:"link___uEr60",imgWrap:"imgWrap___nCe4C",cardBottom:"cardBottom___CqJQC",bottomTitle:"bottomTitle___oTGoY",timeWrap:"timeWrap___ioirP",time:"time___hl75k",bottomActionWrap:"bottomActionWrap___RhhZY",peopleWrap:"peopleWrap___TwLjM",actionIcon:"actionIcon___BfAaN"},Oe=l(41136),Te=l(85386),Ne=l(24334),ze=Object.defineProperty,K=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(ee,ce,fe)=>ce in ee?ze(ee,ce,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[ce]=fe,y=(ee,ce)=>{for(var fe in ce||(ce={}))j.call(ce,fe)&&c(ee,fe,ce[fe]);if(U)for(var fe of U(ce))v.call(ce,fe)&&c(ee,fe,ce[fe]);return ee},x=(ee,ce)=>K(ee,ne(ce));const ie=({data:ee,params:ce,onSend:fe})=>{const[We,tt]=(0,f.useState)(),[qe,vt]=(0,f.useState)({}),rt="90%",Ke="55%",lt=H=>{H.link||(tt(!0),vt({videoId:H.id,course_id:ce.coursesId,file_url:H.play_url||H.file_url,copyUrl:gt(H.play_url||H.file_url,H.cover_url),logWatchHistory:()=>{}}))},gt=(H,Ze)=>{let N=Ne.Base64.decode(H);if(H)return``};return f.createElement(f.Fragment,null,ee==null?void 0:ee.map((H,Ze)=>{var N;const D=H!=null&&H.cover_url?(N=H==null?void 0:H.cover_url)!=null&&N.includes("https")?H.cover_url:Te.Z.API_SERVER+H.cover_url:we;return f.createElement("a",{className:C.wrap,key:H.id},f.createElement(w.Z,{className:`animated fadeIn ${C.cardWrap}`},f.createElement(R.Z,{tip:"\u6B63\u5728\u8F6C\u7801\uFF0C\u8BF7\u7A0D\u7B49...",spinning:!H.transcoded&&!H.link},f.createElement("span",{className:C.imgWrap,onClick:()=>{lt(H)}},f.createElement("img",{src:D}),H.link&&f.createElement("a",{className:C.linkWrap,href:H.link,target:"_blank",title:H.title},f.createElement("span",{className:C.link},"\u5916\u94FE")),f.createElement(f.Fragment,null,f.createElement("div",{className:C.mask}),f.createElement("div",{className:C.playIconWrap},!H.link&&f.createElement("img",{className:C.playIcon,src:b}))))),f.createElement("div",{className:C.cardBottom},f.createElement("div",{title:H.title,className:C.bottomTitle},H.title),f.createElement("div",{className:C.bottomActionWrap},f.createElement("div",null,"\u8BFE\u7A0B\uFF1A",f.createElement("span",{title:H.subject},H.subject)),f.createElement("b",{onClick:()=>fe(H)},"\u4F7F\u7528\u89C6\u9891")))))}),f.createElement(Oe.K,x(y({},qe),{visible:We,width:800,onClose:()=>{tt(!1),vt({})}})))};var ue=(0,g.connect)(({classroomList:ee})=>({classroomList:ee}))(ie),Ce={flex_box_center:"flex_box_center___p5F4p",flex_space_between:"flex_space_between___XpX93",flex_box_vertical_center:"flex_box_vertical_center___CZqxk",flex_box_center_end:"flex_box_center_end___CinPQ",flex_box_column:"flex_box_column___RMknq",wrap:"wrap___fNq3s",listWrap:"listWrap____pT8s",list:"list___xQ3gD",top:"top___KkWz1",bottom:"bottom___MTHH1",tag:"tag___Sj7ii",rate:"rate___RKAhp",videoWrap:"videoWrap___Kv7Tg"},ke=l(86541),je=Object.defineProperty,de=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,De=(ee,ce,fe)=>ce in ee?je(ee,ce,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ee[ce]=fe,xe=(ee,ce)=>{for(var fe in ce||(ce={}))He.call(ce,fe)&&De(ee,fe,ce[fe]);if(de)for(var fe of de(ce))E.call(ce,fe)&&De(ee,fe,ce[fe]);return ee},J=(ee,ce)=>{var fe={};for(var We in ee)He.call(ee,We)&&ce.indexOf(We)<0&&(fe[We]=ee[We]);if(ee!=null&&de)for(var We of de(ee))ce.indexOf(We)<0&&E.call(ee,We)&&(fe[We]=ee[We]);return fe},ye=(ee,ce,fe)=>new Promise((We,tt)=>{var qe=Ke=>{try{rt(fe.next(Ke))}catch(lt){tt(lt)}},vt=Ke=>{try{rt(fe.throw(Ke))}catch(lt){tt(lt)}},rt=Ke=>Ke.done?We(Ke.value):Promise.resolve(Ke.value).then(qe,vt);rt((fe=fe.apply(ee,ce)).next())});const Me=ee=>{var ce=ee,{classroomList:fe,globalSetting:We,user:tt,dispatch:qe}=ce,vt=J(ce,["classroomList","globalSetting","user","dispatch"]);const rt=(0,g.useParams)(),{detailTopBanner:Ke,detailLeftMenus:lt,shareStatus:gt}=fe,[H,Ze]=(0,f.useState)("1"),[N,D]=(0,f.useState)(0),[h,S]=(0,f.useState)(!0),[A,Z]=(0,f.useState)([]),[s,u]=(0,f.useState)({page:1,limit:9,order:"random"});(0,f.useEffect)(()=>{s.page=1,m(s)},[H]);const P=Pe=>ye(void 0,null,function*(){S(!0);let te=yield(0,he.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:xe({type:1},Pe)});te!=null&&te.shixuns&&(Z((te==null?void 0:te.shixuns)||[]),D(te==null?void 0:te.total_count)),S(!1)}),d=Pe=>ye(void 0,null,function*(){S(!0);let te=yield(0,he.ZP)(`/api/courses/${rt==null?void 0:rt.coursesId}/ilearning_resource.json`,{method:"get",params:xe({type:2},Pe)});te!=null&&te.videos&&(Z((te==null?void 0:te.videos)||[]),D(te==null?void 0:te.total_count)),S(!1)}),m=Pe=>{H==="1"?P(Pe):d(Pe)},B=Pe=>{Ze(Pe.key)},oe=[{name:"\u5B9E\u8BAD\u8D44\u6E90\u63A8\u8350",id:"1"},{name:"\u89C6\u9891\u8D44\u6E90\u63A8\u8350",id:"2"}],Q=Pe=>{s.page=Pe,u(xe({},s)),H==="1"?P(s):d(s)},Re=Pe=>ye(void 0,null,function*(){const te=yield(0,he.ZP)(`/api/shixuns/${Pe.identifier}/send_to_course.json`,{method:"post",body:{id:Pe.identifier,identifier:Pe.identifier,courses:[{course_id:rt==null?void 0:rt.coursesId,id:Pe.identifier,identifier:Pe.identifier,type:"normal",is_use:1,is_copy:0}]}});(te==null?void 0:te.status)===1&&(qe({type:"classroomList/getClassroomLeftMenus",payload:{id:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),re=Pe=>ye(void 0,null,function*(){const te="jpl5vs26";console.log(Pe);const nt=yield(0,he.ZP)(`/api/paths/${Pe==null?void 0:Pe.subject_identifier}/send_to_course.json`,{method:"post",body:{course_id:Ke==null?void 0:Ke.course_id,id:Pe==null?void 0:Pe.subject_identifier,stage_shixuns:[{stage_shixun_id:Pe.stage_shixun_id,is_copy:0,is_use:1}],type:"video",sync_catelog:0}});(nt==null?void 0:nt.status)===1&&(qe({type:"classroomList/getClassroomLeftMenus",payload:{id:rt==null?void 0:rt.coursesId}}),O.ZP.success("\u4F7F\u7528\u6210\u529F"))}),le=()=>f.createElement("div",{className:Ce.listWrap},A==null?void 0:A.map((Pe,te)=>f.createElement("div",{key:Pe.id,className:Ce.list},f.createElement("div",{className:Ce.top},f.createElement("aside",{title:Pe.name},Pe.name),f.createElement("div",{onClick:()=>Re(Pe)},"\u4F7F\u7528\u5B9E\u8BAD")),f.createElement("div",{className:Ce.bottom},f.createElement("div",{className:Ce.tag},Pe==null?void 0:Pe.author_name),f.createElement("div",{className:Ce.tag},Pe==null?void 0:Pe.author_school_name),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5173\u5361"),Pe==null?void 0:Pe.challenges_count),f.createElement("div",{className:Ce.tag},f.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),Pe==null?void 0:Pe.myshixuns_count),f.createElement("div",{className:Ce.rate},f.createElement(z.Z,{allowHalf:!0,disabled:!0,defaultValue:Pe.score_info}),f.createElement("span",{className:"font14"},"\xA0",Pe.score_info?`${Pe.score_info}\u5206`:"5\u5206")))))),pe=()=>f.createElement("div",{className:Ce.videoWrap},f.createElement(ue,{params:rt,dispatch:qe,data:A,onSend:re})),Xe=!!(Ke!=null&&Ke.sub_discipline_id);return console.log("detailTopBanner"),console.log(!!(Ke!=null&&Ke.sub_discipline_id)),f.createElement("section",{className:Ce.wrap},f.createElement(ke.Z,{isLoading:!1,tabDataSource:oe,isAdmin:(0,ge.GJ)(),onTabMenuClick:B,defaultSelectedKeys:[H],extraNode:(0,ge.GJ)()&&Xe&&f.createElement("span",{className:"c-blue font14 ml20 current",onClick:Pe=>{Pe.preventDefault(),m(s)}},f.createElement("i",{className:"iconfont icon-huanyipi font14 mr5"}),"\u6362\u4E00\u6279")}),f.createElement(R.Z,{spinning:h},N===0?f.createElement(Y.Z,null):H==="1"?le():pe()),f.createElement(T.Z,{hideOnSinglePage:!0,onChange:Pe=>Q(Pe),current:s.page,pageSize:s.limit,total:N,showQuickJumper:!0,showSizeChanger:!1,showTotal:Pe=>f.createElement("span",{className:"mr10"},"\u5171",f.createElement("span",{className:"c-orange"},Pe),"\u6761\u6570\u636E"),className:"tr pb20"}))};var k=(0,g.connect)(({classroomList:ee,user:ce,globalSetting:fe})=>({user:ce,classroomList:ee,globalSetting:fe}))(Me)},86541:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return C}});var f=l(59301),g=l(95237),O=l(43604),z=l(20834),R=l(6848),T=l(38854),he=l(8591),ge={tabMenuContainer:"tabMenuContainer___uf5IP",control:"control___GheLs",iconH:"iconH___Wzw_r",selectBtn:"selectBtn___mfEnI",selectBtn1:"selectBtn1___rJF8S"},Y=l(92123),w=l(47141),we=l(94601),C=({isLoading:Oe,addText:Te,tabDataSource:Ne,isAdmin:ze,dispatch:K,classroomList:ne,type:U,isExercise:j,defaultSelectedKeys:v,onTabMenuClick:c,getDropdownMenu:y,showControlButton:x,buttonText:ie,buttonIcon:ue="icon-tianjiadaohang",extraNode:Ce,user:ke,onButtonClick:je,isModelUser:de})=>{var He,E,De,xe,J;const ye=(0,Y.useParams)();return f.createElement("div",{className:ge.tabMenuContainer},f.createElement(g.Z,null,f.createElement(O.Z,{flex:"1"},f.createElement(z.default,{onSelect:Me=>Oe?{}:c(Me),mode:"horizontal",selectedKeys:v},Ne.map(Me=>f.createElement(z.default.Item,{key:typeof Me.index=="number"?Me.index:Me.id},f.createElement("span",{className:"c-grey-666"},Me.name),Me.total!==void 0&&ze&&f.createElement("span",{className:"c-grey-999 ml20"},Me.total||0))))),ze&&j&&f.createElement(R.Z,{title:"\u8003\u60C5\u53EF\u89C6\u5316\u7EDF\u8BA1"},f.createElement("i",{className:"iconfont icon-shuatitongji mr20",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{(0,we.xg)("/zbstatistics")}})),ze&&j&&f.createElement("i",{className:"iconfont icon-shezhi8",style:{display:"flex",alignItems:"center",cursor:"pointer"},onClick:()=>{K({type:"classroomList/setActionTabs",payload:{key:"\u5728\u7EBF\u8003\u8BD5\u8BBE\u7F6E"}})}}),ze&&f.createElement(O.Z,{className:"mr20 gutter-row",style:{display:"flex",alignItems:"center",color:"#0152d9",paddingBottom:3}},j&&f.createElement(T.Z,{className:"mr15",placement:"bottom",arrow:!0,dropdownRender:()=>f.createElement(z.default,null,f.createElement(z.default.Item,{key:1,onClick:()=>{var Me;if((0,w.Rm)()&&!((Me=ne.AssistantObject.exercise)!=null&&Me.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}K({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u6210\u7EE9",type:U,exportType:"exercise",category_id:ye.categoryId}})}},"\u5B66\u751F\u6210\u7EE9"),f.createElement(z.default.Item,{key:3,onClick:()=>{var Me;if((0,w.Rm)()&&!((Me=ne.AssistantObject.exercise)!=null&&Me.can_download)){he.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Y.history.push(`/classrooms/${ye==null?void 0:ye.coursesId}/exportlist/exercise_score,export_exercise_users`)}},"\u5386\u53F2\u5BFC\u51FA"))},f.createElement("div",{className:"c-blue font16 ml20 current",style:{marginTop:2}},f.createElement("span",{style:{color:"#666666",cursor:"pointer"}},f.createElement("i",{className:"iconfont icon-xiazai6"})))),f.createElement("div",{className:ge.control},f.createElement("div",{className:ge.extra},Ce),x&&(ie=="\u6DFB\u52A0\u76F4\u64AD"?f.createElement(T.Z,{menu:{items:(E=(He=[{label:f.createElement("div",{onClick:()=>{je("\u5916\u94FE")}},"\u5916\u94FE\u76F4\u64AD"),key:"1",show:!0},de&&{label:f.createElement("div",{onClick:()=>{je("\u5934\u6B4C")}},"\u76F4\u64AD"),key:"2",show:!0}])==null?void 0:He.filter(Me=>Me==null?void 0:Me.show))==null?void 0:E.map(Me=>({label:Me==null?void 0:Me.label,key:Me==null?void 0:Me.key}))}},f.createElement("span",{className:ge.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${ue}`})),f.createElement("span",null,ie))):f.createElement("span",{onClick:je,style:{cursor:"pointer"},className:ge.selectBtn},f.createElement("span",null,f.createElement("i",{className:`iconfont ${ue}`})),f.createElement("span",null,ie))),!!y&&f.createElement(T.Z,{disabled:((De=ke==null?void 0:ke.userInfo)==null?void 0:De.user_status)===2,className:"ml10",dropdownRender:y},f.createElement("span",{className:((xe=ke==null?void 0:ke.userInfo)==null?void 0:xe.user_status)===2?ge.selectBtn1:ge.selectBtn},f.createElement("span",null,f.createElement("i",{className:"iconfont icon-tianjiadaohang"})),f.createElement(R.Z,{title:((J=ke==null?void 0:ke.userInfo)==null?void 0:J.user_status)===2&&"\u6559\u5B66\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5E73\u53F0\u5DF2\u6682\u505C\u63D0\u4F9B\u5728\u7EBF\u8003\u8BD5\u521B\u5EFA\u529F\u80FD"},f.createElement("span",null,Te||"\u521B\u5EFA\u8BD5\u5377"))))))))}},18030:function(At,Fe,l){"use strict";l.d(Fe,{BU:function(){return g},Dj:function(){return f},gH:function(){return O},vp:function(){return z}});function f(R){try{R.mozRequestFullScreen?R.mozRequestFullScreen():R.webkitRequestFullScreen&&R.webkitRequestFullScreen()}catch(T){console.log(T,":e")}}function g(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const O=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function z(){var R=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,T=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",R),window.isFullScreen?window.isFullScreen:R!=null}},96640:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return pn}});class f{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let n=Object(e);for(let i=1;i ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","error",i),R.ENABLE_ERROR&&(console.error?console.error(i):console.warn?console.warn(i):console.log(i))}static i(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","info",i),R.ENABLE_INFO&&(console.info?console.info(i):console.log(i))}static w(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","warn",i),R.ENABLE_WARN&&(console.warn?console.warn(i):console.log(i))}static d(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","debug",i),R.ENABLE_DEBUG&&(console.debug?console.debug(i):console.log(i))}static v(e,n){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let i=`[${e}] > ${n}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","verbose",i),R.ENABLE_VERBOSE&&console.log(i)}}R.GLOBAL_TAG="flv.js",R.FORCE_GLOBAL_TAG=!1,R.ENABLE_ERROR=!0,R.ENABLE_INFO=!0,R.ENABLE_WARN=!0,R.ENABLE_DEBUG=!0,R.ENABLE_VERBOSE=!0,R.ENABLE_CALLBACK=!1,R.emitter=new(z());var T=R;class he{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var ge=he;class Y{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class w extends Y{constructor(e){super(e)}get name(){return"IllegalStateException"}}class we extends Y{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class b extends Y{constructor(e){super(e)}get name(){return"NotImplementedException"}}const C={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},Oe={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class Te{constructor(e){this._type=e||"undefined",this._status=C.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=C.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===C.kConnecting||this._status===C.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,n){throw new b("Unimplemented abstract function!")}abort(){throw new b("Unimplemented abstract function!")}}let Ne={};function ze(){let _e=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(_e)||/(opr)[\/]([\w.]+)/.exec(_e)||/(chrome)[ \/]([\w.]+)/.exec(_e)||/(iemobile)[\/]([\w.]+)/.exec(_e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(_e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(_e)||/(webkit)[ \/]([\w.]+)/.exec(_e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(_e)||/(msie) ([\w.]+)/.exec(_e)||_e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(_e)||_e.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(_e)||[],n=/(ipad)/.exec(_e)||/(ipod)/.exec(_e)||/(windows phone)/.exec(_e)||/(iphone)/.exec(_e)||/(kindle)/.exec(_e)||/(android)/.exec(_e)||/(windows)/.exec(_e)||/(mac)/.exec(_e)||/(linux)/.exec(_e)||/(cros)/.exec(_e)||[],i={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:n[0]||""},t={};if(i.browser){t[i.browser]=!0;let r=i.majorVersion.split(".");t.version={major:parseInt(i.majorVersion,10),string:i.version},r.length>1&&(t.version.minor=parseInt(r[1],10)),r.length>2&&(t.version.build=parseInt(r[2],10))}if(i.platform&&(t[i.platform]=!0),(t.chrome||t.opr||t.safari)&&(t.webkit=!0),t.rv||t.iemobile){t.rv&&delete t.rv;let r="msie";i.browser=r,t[r]=!0}if(t.edge){delete t.edge;let r="msedge";i.browser=r,t[r]=!0}if(t.opr){let r="opera";i.browser=r,t[r]=!0}if(t.safari&&t.android){let r="android";i.browser=r,t[r]=!0}t.name=i.browser,t.platform=i.platform;for(let r in Ne)Ne.hasOwnProperty(r)&&delete Ne[r];Object.assign(Ne,t)}ze();var K=Ne;class ne extends Te{static isSupported(){try{let e=K.msedge&&K.version.minor>=15048,n=K.msedge?e:!0;return self.fetch&&self.ReadableStream&&n}catch(e){return!1}}constructor(e,n){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=n,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,n){this._dataSource=e,this._range=n;let i=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(i=e.redirectedURL);let t=this._seekHandler.getConfig(i,n),r=new self.Headers;if(typeof t.headers=="object"){let a=t.headers;for(let I in a)a.hasOwnProperty(I)&&r.append(I,a[I])}let o={method:"GET",headers:r,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let a in this._config.headers)r.append(a,this._config.headers[a]);e.cors===!1&&(o.mode="same-origin"),e.withCredentials&&(o.credentials="include"),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),this._status=C.kConnecting,self.fetch(t.url,o).then(a=>{if(this._requestAbort){this._requestAbort=!1,this._status=C.kIdle;return}if(a.ok&&a.status>=200&&a.status<=299){if(a.url!==t.url&&this._onURLRedirect){let p=this._seekHandler.removeURLParameters(a.url);this._onURLRedirect(p)}let I=a.headers.get("Content-Length");return I!=null&&(this._contentLength=parseInt(I),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,a.body.getReader())}else if(this._status=C.kError,this._onError)this._onError(Oe.HTTP_STATUS_CODE_INVALID,{code:a.status,msg:a.statusText});else throw new Y("FetchStreamLoader: Http code invalid, "+a.status+" "+a.statusText)}).catch(a=>{if(this._status=C.kError,this._onError)this._onError(Oe.EXCEPTION,{code:-1,msg:a.message});else throw a})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(n=>{if(n.done)if(this._contentLength!==null&&this._receivedLength{if(n.code===11&&K.msedge)return;this._status=C.kError;let i=0,t=null;if((n.code===19||n.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=C.kError,this._onError)this._onError(Oe.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new Y("MozChunkedLoader: Http code invalid, "+n.status+" "+n.statusText);else this._status=C.kBuffering}}_onProgress(e){if(this._status===C.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let n=e.target.response,i=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===C.kError)return;this._status=C.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=C.kError;let n=0,i=null;if(this._contentLength&&e.loaded=200&&n.status<=299){if(this._status=LoaderStatus.kBuffering,n.responseURL!=null){let t=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&t!==this._currentRedirectedURL&&(this._currentRedirectedURL=t,this._onURLRedirect&&this._onURLRedirect(t))}let i=n.getResponseHeader("Content-Length");if(i!=null&&this._contentLength==null){let t=parseInt(i);t>0&&(this._contentLength=t,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+n.status+" "+n.statusText);else if(n.readyState===3&&n.status>=200&&n.status<=299){this._status=LoaderStatus.kBuffering;let i=n.response;this._reader.readAsArrayBuffer(i)}}_xhrOnError(e){this._status=LoaderStatus.kError;let n=LoaderErrors.EXCEPTION,i={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(n,i);else throw new RuntimeException(i.msg)}_msrOnProgress(e){let i=e.target.result;if(i==null){this._doReconnectIfNeeded();return}let t=i.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=i.byteLength;let r=this._totalRange.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,r,this._receivedLength),i.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${r+t.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(i=this._range.from+this._contentLength-1),this._currentRequestRange={from:n,to:i},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,n){this._lastTimeLoaded=0;let i=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?i=this._currentRedirectedURL:e.redirectedURL!=null&&(i=e.redirectedURL));let t=this._seekHandler.getConfig(i,n);this._currentRequestURL=t.url;let r=this._xhr=new XMLHttpRequest;if(r.open("GET",t.url,!0),r.responseType="arraybuffer",r.onreadystatechange=this._onReadyStateChange.bind(this),r.onprogress=this._onProgress.bind(this),r.onload=this._onLoad.bind(this),r.onerror=this._onXhrError.bind(this),e.withCredentials&&(r.withCredentials=!0),typeof t.headers=="object"){let o=t.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}if(typeof this._config.headers=="object"){let o=this._config.headers;for(let a in o)o.hasOwnProperty(a)&&r.setRequestHeader(a,o[a])}r.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=C.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let n=e.target;if(n.readyState===2){if(n.responseURL!=null){let i=this._seekHandler.removeURLParameters(n.responseURL);n.responseURL!==this._currentRequestURL&&i!==this._currentRedirectedURL&&(this._currentRedirectedURL=i,this._onURLRedirect&&this._onURLRedirect(i))}if(n.status>=200&&n.status<=299){if(this._waitForTotalLength)return;this._status=C.kBuffering}else if(this._status=C.kError,this._onError)this._onError(Oe.HTTP_STATUS_CODE_INVALID,{code:n.status,msg:n.statusText});else throw new Y("RangeLoader: Http code invalid, "+n.status+" "+n.statusText)}}_onProgress(e){if(this._status===C.kError)return;if(this._contentLength===null){let i=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,i=!0;let t=e.total;this._internalAbort(),t!=null&t!==0&&(this._totalLength=t)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,i){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let n=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(n)}_normalizeSpeed(e){let n=this._chunkSizeKBList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=3&&(n=this._speedSampler.currentKBps)),n!==0){let o=this._normalizeSpeed(n);this._currentSpeedNormalized!==o&&(this._currentSpeedNormalized=o,this._currentChunkSizeKB=o)}let i=e.target.response,t=this._range.from+this._receivedLength;this._receivedLength+=i.byteLength;let r=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(n.result)},n.readAsArrayBuffer(e.data)}else{this._status=C.kError;let n={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(Oe.EXCEPTION,n);else throw new Y(n.msg)}}_dispatchArrayBuffer(e){let n=e,i=this._receivedLength;this._receivedLength+=n.byteLength,this._onDataArrival&&this._onDataArrival(n,i,this._receivedLength)}_onWebSocketError(e){this._status=C.kError;let n={code:e.code,msg:e.message};if(this._onError)this._onError(Oe.EXCEPTION,n);else throw new Y(n.msg)}}var Ce=ue;class ke{constructor(e){this._zeroStart=e||!1}getConfig(e,n){let i={};if(n.from!==0||n.to!==-1){let t;n.to!==-1?t=`bytes=${n.from.toString()}-${n.to.toString()}`:t=`bytes=${n.from.toString()}-`,i.Range=t}else this._zeroStart&&(i.Range="bytes=0-");return{url:e,headers:i}}removeURLParameters(e){return e}}var je=ke;class de{constructor(e,n){this._startName=e,this._endName=n}getConfig(e,n){let i=e;if(n.from!==0||n.to!==-1){let t=!0;i.indexOf("?")===-1&&(i+="?",t=!1),t&&(i+="&"),i+=`${this._startName}=${n.from.toString()}`,n.to!==-1&&(i+=`&${this._endName}=${n.to.toString()}`)}return{url:i,headers:{}}}removeURLParameters(e){let n=e.split("?")[0],i,t=e.indexOf("?");t!==-1&&(i=e.substring(t+1));let r="";if(i!=null&&i.length>0){let o=i.split("&");for(let a=0;a0;I[0]!==this._startName&&I[0]!==this._endName&&(p&&(r+="&"),r+=o[a])}}return r.length===0?n:n+"?"+r}}var He=de;class E{constructor(e,n,i){this.TAG="IOController",this._config=n,this._extraData=i,this._stashInitialSize=1024*384,n.stashInitialSize!=null&&n.stashInitialSize>0&&(this._stashInitialSize=n.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,n.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new ge,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===ie?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new je(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let n=e.seekParamStart||"bstart",i=e.seekParamEnd||"bend";this._seekHandler=new He(n,i)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new we("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new we(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=Ce;else if(U.isSupported())this._loaderClass=U;else if(v.isSupported())this._loaderClass=v;else if(ie.isSupported())this._loaderClass=ie;else throw new Y("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,n){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(n),this._loader.destroy(),this._loader=null;let i={from:e,to:-1};this._currentRange={from:i.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,i),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new we("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let n=this._stashSize;for(;n+1024*1024*10){let t=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(i,0,n).set(t,0)}this._stashBuffer=i,this._bufferSize=n}_normalizeSpeed(e){let n=this._speedNormalizeList,i=n.length-1,t=0,r=0,o=i;if(e=n[t]&&e=512&&e<=1024?n=Math.floor(e*1.5):n=e*2,n>8192&&(n=8192);let i=n*1024+1024*1024*1;this._bufferSize0){let o=this._stashBuffer.slice(0,this._stashUsed),a=this._dispatchChunks(o,this._stashByteStart);if(a0){let I=new Uint8Array(o,a);r.set(I,0),this._stashUsed=I.byteLength,this._stashByteStart+=a}}else this._stashUsed=0,this._stashByteStart+=a;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let o=this._dispatchChunks(e,n);if(othis._bufferSize&&(this._expandBuffer(a),r=new Uint8Array(this._stashBuffer,0,this._bufferSize)),r.set(new Uint8Array(e,o),0),this._stashUsed+=a,this._stashByteStart=n+o}}}else if(this._stashUsed===0){let r=this._dispatchChunks(e,n);if(rthis._bufferSize&&this._expandBuffer(o),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,r),0),this._stashUsed+=o,this._stashByteStart=n+r}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let r=new Uint8Array(this._stashBuffer,0,this._bufferSize);r.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let o=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(o0){let a=new Uint8Array(this._stashBuffer,o);r.set(a,0)}this._stashUsed-=o,this._stashByteStart+=o}}_flushStashBuffer(e){if(this._stashUsed>0){let n=this._stashBuffer.slice(0,this._stashUsed),i=this._dispatchChunks(n,this._stashByteStart),t=n.byteLength-i;if(i0){let r=new Uint8Array(this._stashBuffer,0,this._bufferSize),o=new Uint8Array(n,i);r.set(o,0),this._stashUsed=o.byteLength,this._stashByteStart+=i}return 0}return this._stashUsed=0,this._stashByteStart=0,t}return 0}_onLoaderComplete(e,n){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,n){switch(T.e(this.TAG,`Loader error, code = ${n.code}, msg = ${n.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=Oe.UNRECOVERABLE_EARLY_EOF),e){case Oe.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let i=this._currentRange.to+1;i0){let n=ce.getConfig();e.emit("change",n)}}static registerListener(e){ce.emitter.addListener("change",e)}static removeListener(e){ce.emitter.removeListener("change",e)}static addLogListener(e){T.emitter.addListener("log",e),T.emitter.listenerCount("log")>0&&(T.ENABLE_CALLBACK=!0,ce._notifyChange())}static removeLogListener(e){T.emitter.removeListener("log",e),T.emitter.listenerCount("log")===0&&(T.ENABLE_CALLBACK=!1,ce._notifyChange())}}ce.emitter=new(z());var fe=ce;class We{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,n=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&n}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let n=this.keyframesIndex,i=this._search(n.times,e);return{index:i,milliseconds:n.times[i],fileposition:n.filepositions[i]}}_search(e,n){let i=0,t=e.length-1,r=0,o=0,a=t;for(n=e[r]&&n=128){e.push(String.fromCharCode(r&65535)),i+=2;continue}}}else if(n[i]<240){if(qe(n,i,2)){let r=(n[i]&15)<<12|(n[i+1]&63)<<6|n[i+2]&63;if(r>=2048&&(r&63488)!==55296){e.push(String.fromCharCode(r&65535)),i+=3;continue}}}else if(n[i]<248&&qe(n,i,3)){let r=(n[i]&7)<<18|(n[i+1]&63)<<12|(n[i+2]&63)<<6|n[i+3]&63;if(r>65536&&r<1114112){r-=65536,e.push(String.fromCharCode(r>>>10|55296)),e.push(String.fromCharCode(r&1023|56320)),i+=4;continue}}}e.push("\uFFFD"),++i}return e.join("")}var rt=vt;let Ke=function(){let _e=new ArrayBuffer(2);return new DataView(_e).setInt16(0,256,!0),new Int16Array(_e)[0]===256}();class lt{static parseScriptData(e,n,i){let t={};try{let r=lt.parseValue(e,n,i),o=lt.parseValue(e,n+r.size,i-r.size);t[r.data]=o.data}catch(r){T.e("AMF",r.toString())}return t}static parseObject(e,n,i){if(i<3)throw new w("Data not enough when parse ScriptDataObject");let t=lt.parseString(e,n,i),r=lt.parseValue(e,n+t.size,i-t.size),o=r.objectEnd;return{data:{name:t.data,value:r.data},size:t.size+r.size,objectEnd:o}}static parseVariable(e,n,i){return lt.parseObject(e,n,i)}static parseString(e,n,i){if(i<2)throw new w("Data not enough when parse String");let r=new DataView(e,n,i).getUint16(0,!Ke),o;return r>0?o=rt(new Uint8Array(e,n+2,r)):o="",{data:o,size:2+r}}static parseLongString(e,n,i){if(i<4)throw new w("Data not enough when parse LongString");let r=new DataView(e,n,i).getUint32(0,!Ke),o;return r>0?o=rt(new Uint8Array(e,n+4,r)):o="",{data:o,size:4+r}}static parseDate(e,n,i){if(i<10)throw new w("Data size invalid when parse Date");let t=new DataView(e,n,i),r=t.getFloat64(0,!Ke),o=t.getInt16(8,!Ke);return r+=o*60*1e3,{data:new Date(r),size:10}}static parseValue(e,n,i){if(i<1)throw new w("Data not enough when parse Value");let t=new DataView(e,n,i),r=1,o=t.getUint8(0),a,I=!1;try{switch(o){case 0:a=t.getFloat64(1,!Ke),r+=8;break;case 1:{a=!!t.getUint8(1),r+=1;break}case 2:{let p=lt.parseString(e,n+1,i-1);a=p.data,r+=p.size;break}case 3:{a={};let p=0;for((t.getUint32(i-4,!Ke)&16777215)===9&&(p=3);r32)throw new we("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let o=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,o}let n=this._current_word_bits_left?this._current_word:0;n=n>>>32-this._current_word_bits_left;let i=e-this._current_word_bits_left;this._fillCurrentWord();let t=Math.min(i,this._current_word_bits_left),r=this._current_word>>>32-t;return this._current_word<<=t,this._current_word_bits_left-=t,n=n<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Ze=H;class N{static _ebsp2rbsp(e){let n=e,i=n.byteLength,t=new Uint8Array(i),r=0;for(let o=0;o=2&&n[o]===3&&n[o-1]===0&&n[o-2]===0||(t[r]=n[o],r++);return new Uint8Array(t.buffer,0,r)}static parseSPS(e){let n=N._ebsp2rbsp(e),i=new Ze(n);i.readByte();let t=i.readByte();i.readByte();let r=i.readByte();i.readUEG();let o=N.getProfileString(t),a=N.getLevelString(r),I=1,p=420,M=[0,420,422,444],W=8;if((t===100||t===110||t===122||t===244||t===44||t===83||t===86||t===118||t===128||t===138||t===144)&&(I=i.readUEG(),I===3&&i.readBits(1),I<=3&&(p=M[I]),W=i.readUEG()+8,i.readUEG(),i.readBits(1),i.readBool())){let $e=I!==3?8:12;for(let Ye=0;Ye<$e;Ye++)i.readBool()&&(Ye<6?N._skipScalingList(i,16):N._skipScalingList(i,64))}i.readUEG();let se=i.readUEG();if(se===0)i.readUEG();else if(se===1){i.readBits(1),i.readSEG(),i.readSEG();let $e=i.readUEG();for(let Ye=0;Ye<$e;Ye++)i.readSEG()}let G=i.readUEG();i.readBits(1);let be=i.readUEG(),ae=i.readUEG(),q=i.readBits(1);q===0&&i.readBits(1),i.readBits(1);let X=0,Ee=0,ve=0,Be=0;i.readBool()&&(X=i.readUEG(),Ee=i.readUEG(),ve=i.readUEG(),Be=i.readUEG());let et=1,Ie=1,Le=0,_=!0,L=0,F=0;if(i.readBool()){if(i.readBool()){let $e=i.readByte(),Ye=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],yt=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];$e>0&&$e<16?(et=Ye[$e-1],Ie=yt[$e-1]):$e===255&&(et=i.readByte()<<8|i.readByte(),Ie=i.readByte()<<8|i.readByte())}if(i.readBool()&&i.readBool(),i.readBool()&&(i.readBits(4),i.readBool()&&i.readBits(24)),i.readBool()&&(i.readUEG(),i.readUEG()),i.readBool()){let $e=i.readBits(32),Ye=i.readBits(32);_=i.readBool(),L=Ye,F=$e*2,Le=L/F}}let V=1;(et!==1||Ie!==1)&&(V=et/Ie);let Se=0,me=0;if(I===0)Se=1,me=2-q;else{let $e=I===3?1:2,Ye=I===1?2:1;Se=$e,me=Ye*(2-q)}let Ae=(be+1)*16,Ge=(2-q)*((ae+1)*16);Ae-=(X+Ee)*Se,Ge-=(ve+Be)*me;let Ve=Math.ceil(Ae*V);return i.destroy(),i=null,{profile_string:o,level_string:a,bit_depth:W,ref_frames:G,chroma_format:p,chroma_format_string:N.getChromaFormatString(p),frame_rate:{fixed:_,fps:Le,fps_den:F,fps_num:L},sar_ratio:{width:et,height:Ie},codec_size:{width:Ae,height:Ge},present_size:{width:Ve,height:Ge}}}static _skipScalingList(e,n){let i=8,t=8,r=0;for(let o=0;o>>8&255|(_e&255)<<8}function Z(_e){return(_e&4278190080)>>>24|(_e&16711680)>>>8|(_e&65280)<<8|(_e&255)<<24}function s(_e,e){return _e[e]<<24|_e[e+1]<<16|_e[e+2]<<8|_e[e+3]}class u{constructor(e,n){this.TAG="FLVDemuxer",this._config=n,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new tt,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let i=new ArrayBuffer(2);return new DataView(i).setInt16(0,256,!0),new Int16Array(i)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let n=new Uint8Array(e),i={match:!1};if(n[0]!==70||n[1]!==76||n[2]!==86||n[3]!==1)return i;let t=(n[4]&4)>>>2!==0,r=(n[4]&1)!==0,o=s(n,5);return o<9?i:{match:!0,consumed:o,dataOffset:o,hasAudioTrack:t,hasVideoTrack:r}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new tt}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,n){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new w("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let i=0,t=this._littleEndian;if(n===0)if(e.byteLength>13)i=u.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,n+i!==this._dataOffset&&T.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,i).getUint32(0,!t)!==0&&T.w(this.TAG,"PrevTagSize0 !== 0 !!!"),i+=4);ie.byteLength)break;let o=r.getUint8(0),a=r.getUint32(0,!t)&16777215;if(i+11+a+4>e.byteLength)break;if(o!==8&&o!==9&&o!==18){T.w(this.TAG,`Unsupported tag type ${o}, skipped`),i+=11+a+4;continue}let I=r.getUint8(4),p=r.getUint8(5),M=r.getUint8(6),W=r.getUint8(7),se=M|p<<8|I<<16|W<<24;(r.getUint32(7,!t)&16777215)!==0&&T.w(this.TAG,"Meet tag which has StreamID != 0!");let be=i+11;switch(o){case 8:this._parseAudioData(e,be,a,se);break;case 9:this._parseVideoData(e,be,a,se,n+i);break;case 18:this._parseScriptData(e,be,a);break}let ae=r.getUint32(11+a,!t);ae!==11+a&&T.w(this.TAG,`Invalid PrevTagSize ${ae}`),i+=11+a+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),i}_parseScriptData(e,n,i){let t=gt.parseScriptData(e,n,i);if(t.hasOwnProperty("onMetaData")){if(t.onMetaData==null||typeof t.onMetaData!="object"){T.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&T.w(this.TAG,"Found another onMetaData tag!"),this._metadata=t;let r=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},r)),typeof r.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=r.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof r.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=r.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof r.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=r.audiodatarate),typeof r.videodatarate=="number"&&(this._mediaInfo.videoDataRate=r.videodatarate),typeof r.width=="number"&&(this._mediaInfo.width=r.width),typeof r.height=="number"&&(this._mediaInfo.height=r.height),typeof r.duration=="number"){if(!this._durationOverrided){let o=Math.floor(r.duration*this._timescale);this._duration=o,this._mediaInfo.duration=o}}else this._mediaInfo.duration=0;if(typeof r.framerate=="number"){let o=Math.floor(r.framerate*1e3);if(o>0){let a=o/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=a,this._referenceFrameRate.fps_num=o,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=a}}if(typeof r.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let o=r.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(o),r.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=r,T.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(t).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},t))}_parseKeyframesIndex(e){let n=[],i=[];for(let t=1;t>>4;if(I!==2&&I!==10){this._onError(S.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+I);return}let p=0,M=(a&12)>>>2;if(M>=0&&M<=4)p=this._flvSoundRateTable[M];else{this._onError(S.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+M);return}let W=(a&2)>>>1,se=a&1,G=this._audioMetadata,be=this._audioTrack;if(G||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),G=this._audioMetadata={},G.type="audio",G.id=be.id,G.timescale=this._timescale,G.duration=this._duration,G.audioSampleRate=p,G.channelCount=se===0?1:2),I===10){let ae=this._parseAACAudioData(e,n+1,i-1);if(ae==null)return;if(ae.packetType===0){G.config&&T.w(this.TAG,"Found another AudioSpecificConfig!");let q=ae.data;G.audioSampleRate=q.samplingRate,G.channelCount=q.channelCount,G.codec=q.codec,G.originalCodec=q.originalCodec,G.config=q.config,G.refSampleDuration=1024/G.audioSampleRate*G.timescale,T.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",G);let X=this._mediaInfo;X.audioCodec=G.originalCodec,X.audioSampleRate=G.audioSampleRate,X.audioChannelCount=G.channelCount,X.hasVideo?X.videoCodec!=null&&(X.mimeType='video/x-flv; codecs="'+X.videoCodec+","+X.audioCodec+'"'):X.mimeType='video/x-flv; codecs="'+X.audioCodec+'"',X.isComplete()&&this._onMediaInfo(X)}else if(ae.packetType===1){let q=this._timestampBase+t,X={unit:ae.data,length:ae.data.byteLength,dts:q,pts:q};be.samples.push(X),be.length+=ae.data.length}else T.e(this.TAG,`Flv: Unsupported AAC data type ${ae.packetType}`)}else if(I===2){if(!G.codec){let Ee=this._parseMP3AudioData(e,n+1,i-1,!0);if(Ee==null)return;G.audioSampleRate=Ee.samplingRate,G.channelCount=Ee.channelCount,G.codec=Ee.codec,G.originalCodec=Ee.originalCodec,G.refSampleDuration=1152/G.audioSampleRate*G.timescale,T.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",G);let ve=this._mediaInfo;ve.audioCodec=G.codec,ve.audioSampleRate=G.audioSampleRate,ve.audioChannelCount=G.channelCount,ve.audioDataRate=Ee.bitRate,ve.hasVideo?ve.videoCodec!=null&&(ve.mimeType='video/x-flv; codecs="'+ve.videoCodec+","+ve.audioCodec+'"'):ve.mimeType='video/x-flv; codecs="'+ve.audioCodec+'"',ve.isComplete()&&this._onMediaInfo(ve)}let ae=this._parseMP3AudioData(e,n+1,i-1,!1);if(ae==null)return;let q=this._timestampBase+t,X={unit:ae,length:ae.byteLength,dts:q,pts:q};be.samples.push(X),be.length+=ae.length}}_parseAACAudioData(e,n,i){if(i<=1){T.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let t={},r=new Uint8Array(e,n,i);return t.packetType=r[0],r[0]===0?t.data=this._parseAACAudioSpecificConfig(e,n+1,i-1):t.data=r.subarray(1),t}_parseAACAudioSpecificConfig(e,n,i){let t=new Uint8Array(e,n,i),r=null,o=0,a=0,I=null,p=0,M=null;if(o=a=t[0]>>>3,p=(t[0]&7)<<1|t[1]>>>7,p<0||p>=this._mpegSamplingRates.length){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let W=this._mpegSamplingRates[p],se=(t[1]&120)>>>3;if(se<0||se>=8){this._onError(S.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}o===5&&(M=(t[1]&7)<<1|t[2]>>>7,I=(t[2]&124)>>>2);let G=self.navigator.userAgent.toLowerCase();return G.indexOf("firefox")!==-1?p>=6?(o=5,r=new Array(4),M=p-3):(o=2,r=new Array(2),M=p):G.indexOf("android")!==-1?(o=2,r=new Array(2),M=p):(o=5,M=p,r=new Array(4),p>=6?M=p-3:se===1&&(o=2,r=new Array(2),M=p)),r[0]=o<<3,r[0]|=(p&15)>>>1,r[1]=(p&15)<<7,r[1]|=(se&15)<<3,o===5&&(r[1]|=(M&15)>>>1,r[2]=(M&1)<<7,r[2]|=8,r[3]=0),{config:r,samplingRate:W,channelCount:se,codec:"mp4a.40."+o,originalCodec:"mp4a.40."+a}}_parseMP3AudioData(e,n,i,t){if(i<4){T.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let r=this._littleEndian,o=new Uint8Array(e,n,i),a=null;if(t){if(o[0]!==255)return;let I=o[1]>>>3&3,p=(o[1]&6)>>1,M=(o[2]&240)>>>4,W=(o[2]&12)>>>2,G=(o[3]>>>6&3)!==3?2:1,be=0,ae=0,q=34,X="mp3";switch(I){case 0:be=this._mpegAudioV25SampleRateTable[W];break;case 2:be=this._mpegAudioV20SampleRateTable[W];break;case 3:be=this._mpegAudioV10SampleRateTable[W];break}switch(p){case 1:q=34,M>>4,I=o&15;if(I!==7){this._onError(S.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${I}`);return}this._parseAVCVideoPacket(e,n+1,i-1,t,r,a)}_parseAVCVideoPacket(e,n,i,t,r,o){if(i<4){T.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let a=this._littleEndian,I=new DataView(e,n,i),p=I.getUint8(0),W=(I.getUint32(0,!a)&16777215)<<8>>8;if(p===0)this._parseAVCDecoderConfigurationRecord(e,n+4,i-4);else if(p===1)this._parseAVCVideoData(e,n+4,i-4,t,r,o,W);else if(p!==2){this._onError(S.FORMAT_ERROR,`Flv: Invalid video packet type ${p}`);return}}_parseAVCDecoderConfigurationRecord(e,n,i){if(i<7){T.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let t=this._videoMetadata,r=this._videoTrack,o=this._littleEndian,a=new DataView(e,n,i);t?typeof t.avcc!="undefined"&&T.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),t=this._videoMetadata={},t.type="video",t.id=r.id,t.timescale=this._timescale,t.duration=this._duration);let I=a.getUint8(0),p=a.getUint8(1),M=a.getUint8(2),W=a.getUint8(3);if(I!==1||p===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(a.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(S.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let se=a.getUint8(5)&31;if(se===0){this._onError(S.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else se>1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${se}`);let G=6;for(let ae=0;ae1&&T.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${be}`);G++;for(let ae=0;ae=i){T.w(this.TAG,`Malformed Nalu near timestamp ${be}, offset = ${se}, dataSize = ${i}`);break}let q=p.getUint32(se,!I);if(G===3&&(q>>>=8),q>i-G){T.w(this.TAG,`Malformed Nalus near timestamp ${be}, NaluSize > DataSize!`);return}let X=p.getUint8(se+G)&31;X===5&&(ae=!0);let Ee=new Uint8Array(e,n+se,G+q),ve={type:X,data:Ee};M.push(ve),W+=Ee.byteLength,se+=G+q}if(M.length){let q=this._videoTrack,X={units:M,length:W,isKeyframe:ae,dts:be,cts:a,pts:be+a};ae&&(X.fileposition=r),q.samples.push(X),q.length+=W}}}var P=u;class d{static init(){d.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let n in d.types)d.types.hasOwnProperty(n)&&(d.types[n]=[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3)]);let e=d.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let n=8,i=null,t=Array.prototype.slice.call(arguments,1),r=t.length;for(let a=0;a>>24&255,i[1]=n>>>16&255,i[2]=n>>>8&255,i[3]=n&255,i.set(e,4);let o=8;for(let a=0;a>>24&255,e>>>16&255,e>>>8&255,e&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return d.box(d.types.trak,d.tkhd(e),d.mdia(e))}static tkhd(e){let n=e.id,i=e.duration,t=e.presentWidth,r=e.presentHeight;return d.box(d.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,t>>>8&255,t&255,0,0,r>>>8&255,r&255,0,0]))}static mdia(e){return d.box(d.types.mdia,d.mdhd(e),d.hdlr(e),d.minf(e))}static mdhd(e){let n=e.timescale,i=e.duration;return d.box(d.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,i>>>24&255,i>>>16&255,i>>>8&255,i&255,85,196,0,0]))}static hdlr(e){let n=null;return e.type==="audio"?n=d.constants.HDLR_AUDIO:n=d.constants.HDLR_VIDEO,d.box(d.types.hdlr,n)}static minf(e){let n=null;return e.type==="audio"?n=d.box(d.types.smhd,d.constants.SMHD):n=d.box(d.types.vmhd,d.constants.VMHD),d.box(d.types.minf,n,d.dinf(),d.stbl(e))}static dinf(){return d.box(d.types.dinf,d.box(d.types.dref,d.constants.DREF))}static stbl(e){return d.box(d.types.stbl,d.stsd(e),d.box(d.types.stts,d.constants.STTS),d.box(d.types.stsc,d.constants.STSC),d.box(d.types.stsz,d.constants.STSZ),d.box(d.types.stco,d.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp3(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.mp4a(e)):d.box(d.types.stsd,d.constants.STSD_PREFIX,d.avc1(e))}static mp3(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types[".mp3"],t)}static mp4a(e){let n=e.channelCount,i=e.audioSampleRate,t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,n,0,16,0,0,0,0,i>>>8&255,i&255,0,0]);return d.box(d.types.mp4a,t,d.esds(e))}static esds(e){let n=e.config||[],i=n.length,t=new Uint8Array([0,0,0,0,3,23+i,0,1,0,4,15+i,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([i]).concat(n).concat([6,1,2]));return d.box(d.types.esds,t)}static avc1(e){let n=e.avcc,i=e.codecWidth,t=e.codecHeight,r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,i>>>8&255,i&255,t>>>8&255,t&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return d.box(d.types.avc1,r,d.box(d.types.avcC,n))}static mvex(e){return d.box(d.types.mvex,d.trex(e))}static trex(e){let n=e.id,i=new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return d.box(d.types.trex,i)}static moof(e,n){return d.box(d.types.moof,d.mfhd(e.sequenceNumber),d.traf(e,n))}static mfhd(e){let n=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return d.box(d.types.mfhd,n)}static traf(e,n){let i=e.id,t=d.box(d.types.tfhd,new Uint8Array([0,0,0,0,i>>>24&255,i>>>16&255,i>>>8&255,i&255])),r=d.box(d.types.tfdt,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),o=d.sdtp(e),a=d.trun(e,o.byteLength+16+16+8+16+8+8);return d.box(d.types.traf,t,r,a,o)}static sdtp(e){let n=e.samples||[],i=n.length,t=new Uint8Array(4+i);for(let r=0;r>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0);for(let a=0;a>>24&255,I>>>16&255,I>>>8&255,I&255,p>>>24&255,p>>>16&255,p>>>8&255,p&255,M.isLeading<<2|M.dependsOn,M.isDependedOn<<6|M.hasRedundancy<<4|M.isNonSync,0,0,W>>>24&255,W>>>16&255,W>>>8&255,W&255],12+16*a)}return d.box(d.types.trun,o)}static mdat(e){return d.box(d.types.mdat,e)}}d.init();var m=d;class B{static getSilentFrame(e,n){if(e==="mp4a.40.2"){if(n===1)return new Uint8Array([0,200,0,128,35,128]);if(n===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(n===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(n===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(n===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(n===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(n===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var oe=B;class Q{constructor(e,n,i,t,r){this.dts=e,this.pts=n,this.duration=i,this.originalDts=t,this.isSyncPoint=r,this.fileposition=null}}class Re{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class re{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let n=this._list;e.length!==0&&(n.length>0&&e[0].originalDts=n[r].dts&&en[t].lastSample.originalDts&&e=n[t].lastSample.originalDts&&(t===n.length-1||t0&&(r=this._searchNearestSegmentBefore(i.originalBeginDts)+1),this._lastAppendLocation=r,this._list.splice(r,0,i)}getLastSegmentBefore(e){let n=this._searchNearestSegmentBefore(e);return n>=0?this._list[n]:null}getLastSampleBefore(e){let n=this.getLastSegmentBefore(e);return n!=null?n.lastSample:null}getLastSyncPointBefore(e){let n=this._searchNearestSegmentBefore(e),i=this._list[n].syncPoints;for(;i.length===0&&n>0;)n--,i=this._list[n].syncPoints;return i.length>0?i[i.length-1]:null}}class pe{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new le("audio"),this._videoSegmentInfoList=new le("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(K.chrome&&(K.version.major<50||K.version.major===50&&K.version.build<2661)),this._fillSilentAfterSeek=K.msedge||K.msie,this._mp3UseMpegAudio=!K.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,n){if(!this._onMediaSegment)throw new w("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,n),this._remuxVideo(n),this._remuxAudio(e)}_onTrackMetadataReceived(e,n){let i=null,t="mp4",r=n.codec;if(e==="audio")this._audioMeta=n,n.codec==="mp3"&&this._mp3UseMpegAudio?(t="mpeg",r="",i=new Uint8Array):i=m.generateInitSegment(n);else if(e==="video")this._videoMeta=n,i=m.generateInitSegment(n);else return;if(!this._onInitSegment)throw new w("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:i.buffer,codec:r,container:`${e}/${t}`,mediaDuration:n.duration})}_calculateDtsBase(e,n){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),n.samples&&n.samples.length&&(this._videoDtsBase=n.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,n=this._audioStashedLastSample,i={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(i.samples.push(e),i.length=e.length);let t={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};n!=null&&(t.samples.push(n),t.length=n.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(i,!0),this._remuxAudio(t,!0)}_remuxAudio(e,n){if(this._audioMeta==null)return;let i=e,t=i.samples,r,o=-1,a=-1,I=-1,p=this._audioMeta.refSampleDuration,M=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,W=this._dtsBaseInited&&this._audioNextDts===void 0,se=!1;if(!t||t.length===0||t.length===1&&!n)return;let G=0,be=null,ae=0;M?(G=0,ae=i.length):(G=8,ae=8+i.length);let q=null;if(t.length>1&&(q=t.pop(),ae-=q.length),this._audioStashedLastSample!=null){let Ie=this._audioStashedLastSample;this._audioStashedLastSample=null,t.unshift(Ie),ae+=Ie.length}q!=null&&(this._audioStashedLastSample=q);let X=t[0].dts-this._dtsBase;if(this._audioNextDts)r=X-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())r=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(se=!0);else{let Ie=this._audioSegmentInfoList.getLastSampleBefore(X);if(Ie!=null){let Le=X-(Ie.originalDts+Ie.duration);Le<=3&&(Le=0);let _=Ie.dts+Ie.duration+Le;r=X-_}else r=0}if(se){let Ie=X-r,Le=this._videoSegmentInfoList.getLastSegmentBefore(X);if(Le!=null&&Le.beginDts=1?$=Ee[Ee.length-1].duration:$=Math.floor(p);let V=!1,Se=null;if($>p*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!K.safari){V=!0;let me=Math.abs($-p),Ae=Math.ceil(me/p),Ge=F+p;T.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${F+$} ms, expected: ${F+Math.round(p)} ms, delta: ${Math.round(me)} ms, generate: ${Ae} frames`);let Ve=oe.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);Ve==null&&(T.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),Ve=_),Se=[];for(let Ye=0;Ye0){let Je=Se[Se.length-1];Je.duration=yt-Je.dts}let st={dts:yt,pts:yt,cts:0,unit:Ve,size:Ve.byteLength,duration:0,originalDts:L,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Se.push(st),ae+=st.size,Ge+=p}let $e=Se[Se.length-1];$e.duration=F+$-$e.dts,$=Math.round(p)}Ee.push({dts:F,pts:F,cts:0,unit:Le.unit,size:Le.unit.byteLength,duration:$,originalDts:L,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),V&&Ee.push.apply(Ee,Se)}M?be=new Uint8Array(ae):(be=new Uint8Array(ae),be[0]=ae>>>24&255,be[1]=ae>>>16&255,be[2]=ae>>>8&255,be[3]=ae&255,be.set(m.types.mdat,4));for(let Ie=0;Ie1&&(G=t.pop(),se-=G.length),this._videoStashedLastSample!=null){let ve=this._videoStashedLastSample;this._videoStashedLastSample=null,t.unshift(ve),se+=ve.length}G!=null&&(this._videoStashedLastSample=G);let be=t[0].dts-this._dtsBase;if(this._videoNextDts)r=be-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())r=0;else{let ve=this._videoSegmentInfoList.getLastSampleBefore(be);if(ve!=null){let Be=be-(ve.originalDts+ve.duration);Be<=3&&(Be=0);let it=ve.dts+ve.duration+Be;r=be-it}else r=0}let ae=new Re,q=[];for(let ve=0;ve=1?L=q[q.length-1].duration:L=Math.floor(this._videoMeta.refSampleDuration),et){let F=new Q(Ie,_,L,Be.dts,!0);F.fileposition=Be.fileposition,ae.appendSyncPoint(F)}q.push({dts:Ie,pts:_,cts:Le,units:Be.units,size:Be.length,isKeyframe:et,duration:L,originalDts:it,flags:{isLeading:0,dependsOn:et?2:1,isDependedOn:et?1:0,hasRedundancy:0,isNonSync:et?0:1}})}W=new Uint8Array(se),W[0]=se>>>24&255,W[1]=se>>>16&255,W[2]=se>>>8&255,W[3]=se&255,W.set(m.types.mdat,4);for(let ve=0;ve{t.timestampBase=i,i+=t.duration,t.cors=e.cors,t.withCredentials=e.withCredentials,n.referrerPolicy&&(t.referrerPolicy=n.referrerPolicy)}),!isNaN(i)&&this._mediaDataSource.duration!==i&&(this._mediaDataSource.duration=i),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,n){this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,n){this._currentSegmentIndex=e;let i=this._mediaDataSource.segments[e],t=this._ioctl=new De(i,this._config,e);t.onError=this._onIOException.bind(this),t.onSeeked=this._onIOSeeked.bind(this),t.onComplete=this._onIOComplete.bind(this),t.onRedirect=this._onIORedirect.bind(this),t.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),n?this._demuxer.bindDataSource(this._ioctl):t.onDataArrival=this._onInitChunkArrival.bind(this),t.open(n)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let n=this._searchSegmentIndexContains(e);if(n===this._currentSegmentIndex){let i=this._mediaInfo.segments[n];if(i==null)this._pendingSeekTime=e;else{let t=i.getNearestKeyframe(e);this._remuxer.seek(t.milliseconds),this._ioctl.seek(t.fileposition),this._pendingResolveSeekPoint=t.milliseconds}}else{let i=this._mediaInfo.segments[n];if(i==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(n);else{let t=i.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[n].timestampBase,this._loadSegment(n,t.fileposition),this._pendingResolveSeekPoint=t.milliseconds,this._reportSegmentMediaInfo(n)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let n=this._mediaDataSource.segments,i=n.length-1;for(let t=0;t0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,t=this._demuxer.parseChunks(e,n);else if((i=P.probe(e)).match){this._demuxer=new P(i,this._config),this._remuxer||(this._remuxer=new Xe(this._config));let r=this._mediaDataSource;r.duration!=null&&!isNaN(r.duration)&&(this._demuxer.overridedDuration=r.duration),typeof r.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=r.hasAudio),typeof r.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=r.hasVideo),this._demuxer.timestampBase=r.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),t=this._demuxer.parseChunks(e,n)}else i=null,T.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(te.DEMUX_ERROR,S.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),t=0;return t}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,tt.prototype));let n=Object.assign({},e);Object.setPrototypeOf(n,tt.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=n,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let i=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(i)})}_onMetaDataArrived(e){this._emitter.emit(te.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(te.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let i=e+1;i0&&i[0].originalDts===t&&(t=i[0].pts),this._emitter.emit(te.RECOMMEND_SEEKPOINT,t)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let n=this._mediaInfo.segments[e],i=Object.assign({},n);i.duration=this._mediaInfo.duration,i.segmentCount=this._mediaInfo.segmentCount,delete i.segments,delete i.keyframesIndex,this._emitter.emit(te.MEDIA_INFO,i)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(te.STATISTICS_INFO,e)}}var ot=nt,ut=function(_e){let e="TransmuxingWorker",n=null,i=ae.bind(this);g.install(),_e.addEventListener("message",function(q){switch(q.data.cmd){case"init":n=new ot(q.data.param[0],q.data.param[1]),n.on(te.IO_ERROR,se.bind(this)),n.on(te.DEMUX_ERROR,G.bind(this)),n.on(te.INIT_SEGMENT,t.bind(this)),n.on(te.MEDIA_SEGMENT,r.bind(this)),n.on(te.LOADING_COMPLETE,o.bind(this)),n.on(te.RECOVERED_EARLY_EOF,a.bind(this)),n.on(te.MEDIA_INFO,I.bind(this)),n.on(te.METADATA_ARRIVED,p.bind(this)),n.on(te.SCRIPTDATA_ARRIVED,M.bind(this)),n.on(te.STATISTICS_INFO,W.bind(this)),n.on(te.RECOMMEND_SEEKPOINT,be.bind(this));break;case"destroy":n&&(n.destroy(),n=null),_e.postMessage({msg:"destroyed"});break;case"start":n.start();break;case"stop":n.stop();break;case"seek":n.seek(q.data.param);break;case"pause":n.pause();break;case"resume":n.resume();break;case"logging_config":{let X=q.data.param;fe.applyConfig(X),X.enableCallback===!0?fe.addLogListener(i):fe.removeLogListener(i);break}}});function t(q,X){let Ee={msg:te.INIT_SEGMENT,data:{type:q,data:X}};_e.postMessage(Ee,[X.data])}function r(q,X){let Ee={msg:te.MEDIA_SEGMENT,data:{type:q,data:X}};_e.postMessage(Ee,[X.data])}function o(){let q={msg:te.LOADING_COMPLETE};_e.postMessage(q)}function a(){let q={msg:te.RECOVERED_EARLY_EOF};_e.postMessage(q)}function I(q){let X={msg:te.MEDIA_INFO,data:q};_e.postMessage(X)}function p(q){let X={msg:te.METADATA_ARRIVED,data:q};_e.postMessage(X)}function M(q){let X={msg:te.SCRIPTDATA_ARRIVED,data:q};_e.postMessage(X)}function W(q){let X={msg:te.STATISTICS_INFO,data:q};_e.postMessage(X)}function se(q,X){_e.postMessage({msg:te.IO_ERROR,data:{type:q,info:X}})}function G(q,X){_e.postMessage({msg:te.DEMUX_ERROR,data:{type:q,info:X}})}function be(q){_e.postMessage({msg:te.RECOMMEND_SEEKPOINT,data:q})}function ae(q,X){_e.postMessage({msg:"logcat_callback",data:{type:q,logcat:X}})}};class Tt{constructor(e,n){if(this.TAG="Transmuxer",this._emitter=new(z()),n.enableWorker&&typeof Worker!="undefined")try{let i=l(82059);this._worker=i(ut),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,n]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},fe.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:fe.getConfig()})}catch(i){T.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new ot(e,n)}else this._controller=new ot(e,n);if(this._controller){let i=this._controller;i.on(te.IO_ERROR,this._onIOError.bind(this)),i.on(te.DEMUX_ERROR,this._onDemuxError.bind(this)),i.on(te.INIT_SEGMENT,this._onInitSegment.bind(this)),i.on(te.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),i.on(te.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),i.on(te.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),i.on(te.MEDIA_INFO,this._onMediaInfo.bind(this)),i.on(te.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),i.on(te.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),i.on(te.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),i.on(te.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),fe.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,n){this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,n){Promise.resolve().then(()=>{this._emitter.emit(te.INIT_SEGMENT,e,n)})}_onMediaSegment(e,n){Promise.resolve().then(()=>{this._emitter.emit(te.MEDIA_SEGMENT,e,n)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(te.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(te.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(te.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(te.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(te.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(te.STATISTICS_INFO,e)})}_onIOError(e,n){Promise.resolve().then(()=>{this._emitter.emit(te.IO_ERROR,e,n)})}_onDemuxError(e,n){Promise.resolve().then(()=>{this._emitter.emit(te.DEMUX_ERROR,e,n)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(te.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let n=e.data,i=n.data;if(n.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(n.msg){case te.INIT_SEGMENT:case te.MEDIA_SEGMENT:this._emitter.emit(n.msg,i.type,i.data);break;case te.LOADING_COMPLETE:case te.RECOVERED_EARLY_EOF:this._emitter.emit(n.msg);break;case te.MEDIA_INFO:Object.setPrototypeOf(i,tt.prototype),this._emitter.emit(n.msg,i);break;case te.METADATA_ARRIVED:case te.SCRIPTDATA_ARRIVED:case te.STATISTICS_INFO:this._emitter.emit(n.msg,i);break;case te.IO_ERROR:case te.DEMUX_ERROR:this._emitter.emit(n.msg,i.type,i.info);break;case te.RECOMMEND_SEEKPOINT:this._emitter.emit(n.msg,i);break;case"logcat_callback":T.emitter.emit("log",i.type,i.logcat);break;default:break}}}var Mt=Tt,kt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class Jt{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(z()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new re}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,n){this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}attachMediaElement(e){if(this._mediaSource)throw new w("MediaSource has been attached to an HTMLMediaElement!");let n=this._mediaSource=new window.MediaSource;n.addEventListener("sourceopen",this.e.onSourceOpen),n.addEventListener("sourceended",this.e.onSourceEnded),n.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let n in this._sourceBuffers){let i=this._pendingSegments[n];i.splice(0,i.length),this._pendingSegments[n]=null,this._pendingRemoveRanges[n]=null,this._lastInitSegments[n]=null;let t=this._sourceBuffers[n];if(t){if(e.readyState!=="closed"){try{e.removeSourceBuffer(t)}catch(r){T.e(this.TAG,r.message)}t.removeEventListener("error",this.e.onSourceBufferError),t.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[n]=null,this._sourceBuffers[n]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(n){T.e(this.TAG,n.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,n){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let i=e,t=`${i.container}`;i.codec&&i.codec.length>0&&(t+=`;codecs=${i.codec}`);let r=!1;if(T.v(this.TAG,"Received Initialization Segment, mimeType: "+t),this._lastInitSegments[i.type]=i,t!==this._mimeTypes[i.type]){if(this._mimeTypes[i.type])T.v(this.TAG,`Notice: ${i.type} mimeType changed, origin: ${this._mimeTypes[i.type]}, target: ${t}`);else{r=!0;try{let o=this._sourceBuffers[i.type]=this._mediaSource.addSourceBuffer(t);o.addEventListener("error",this.e.onSourceBufferError),o.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(o){T.e(this.TAG,o.message),this._emitter.emit(kt.ERROR,{code:o.code,msg:o.message});return}}this._mimeTypes[i.type]=t}n||this._pendingSegments[i.type].push(i),r||this._sourceBuffers[i.type]&&!this._sourceBuffers[i.type].updating&&this._doAppendSegments(),K.safari&&i.container==="audio/mpeg"&&i.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=i.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let n=e;this._pendingSegments[n.type].push(n),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let i=this._sourceBuffers[n.type];i&&!i.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let n in this._sourceBuffers){if(!this._sourceBuffers[n])continue;let i=this._sourceBuffers[n];if(this._mediaSource.readyState==="open")try{i.abort()}catch(r){T.e(this.TAG,r.message)}this._idrList.clear();let t=this._pendingSegments[n];if(t.splice(0,t.length),this._mediaSource.readyState!=="closed"){for(let r=0;r=1&&e-t.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let n in this._sourceBuffers){let i=this._sourceBuffers[n];if(i){let t=i.buffered,r=!1;for(let o=0;o=this._config.autoCleanupMaxBackwardDuration){r=!0;let p=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[n].push({start:a,end:p})}}else I0&&(isNaN(n)||i>n)&&(T.v(this.TAG,`Update MediaSource duration from ${n} to ${i}`),this._mediaSource.duration=i),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let n=this._sourceBuffers[e],i=this._pendingRemoveRanges[e];for(;i.length&&!n.updating;){let t=i.shift();n.remove(t.start,t.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let n in e)if(!(!this._sourceBuffers[n]||this._sourceBuffers[n].updating)&&e[n].length>0){let i=e[n].shift();if(i.timestampOffset){let t=this._sourceBuffers[n].timestampOffset,r=i.timestampOffset/1e3;Math.abs(t-r)>.1&&(T.v(this.TAG,`Update MPEG audio timestampOffset from ${t} to ${r}`),this._sourceBuffers[n].timestampOffset=r),delete i.timestampOffset}if(!i.data||i.data.byteLength===0)continue;try{this._sourceBuffers[n].appendBuffer(i.data),this._isBufferFull=!1,n==="video"&&i.hasOwnProperty("info")&&this._idrList.appendArray(i.info.syncPoints)}catch(t){this._pendingSegments[n].unshift(i),t.code===22?(this._isBufferFull||this._emitter.emit(kt.BUFFER_FULL),this._isBufferFull=!0):(T.e(this.TAG,t.message),this._emitter.emit(kt.ERROR,{code:t.code,msg:t.message}))}}}_onSourceOpen(){if(T.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let n=e.shift();this.appendInitSegment(n,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(kt.SOURCE_OPEN)}_onSourceEnded(){T.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){T.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(kt.UPDATE_END)}_onSourceBufferError(e){T.e(this.TAG,`SourceBuffer Error: ${e}`)}}var Wt=Jt;const Ue={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},St={NETWORK_EXCEPTION:Oe.EXCEPTION,NETWORK_STATUS_CODE_INVALID:Oe.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:Oe.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:Oe.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:S.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:S.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:S.CODEC_UNSUPPORTED};class Xt{constructor(e,n){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(z()),this._config=J(),typeof n=="object"&&Object.assign(this._config,n),e.type.toLowerCase()!=="flv")throw new we("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let i=K.chrome&&(K.version.major<50||K.version.major===50&&K.version.build<2661);this._alwaysSeekKeyframe=!!(i||K.msedge||K.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,n){e===ee.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(ee.MEDIA_INFO,this.mediaInfo)}):e===ee.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(ee.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new Wt(this._config),this._msectl.on(kt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(kt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(kt.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(kt.ERROR,n=>{this._emitter.emit(ee.ERROR,Ue.MEDIA_ERROR,St.MEDIA_MSE_ERROR,n)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(n){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new w("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new w("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new Mt(this._mediaDataSource,this._config),this._transmuxer.on(te.INIT_SEGMENT,(e,n)=>{this._msectl.appendInitSegment(n)}),this._transmuxer.on(te.MEDIA_SEGMENT,(e,n)=>{if(this._msectl.appendMediaSegment(n),this._config.lazyLoad&&!this._config.isLive){let i=this._mediaElement.currentTime;n.info.endDts>=(i+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(T.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(te.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(ee.LOADING_COMPLETE)}),this._transmuxer.on(te.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(ee.RECOVERED_EARLY_EOF)}),this._transmuxer.on(te.IO_ERROR,(e,n)=>{this._emitter.emit(ee.ERROR,Ue.NETWORK_ERROR,e,n)}),this._transmuxer.on(te.DEMUX_ERROR,(e,n)=>{this._emitter.emit(ee.ERROR,Ue.MEDIA_ERROR,e,{code:-1,msg:n})}),this._transmuxer.on(te.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(ee.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(te.METADATA_ARRIVED,e=>{this._emitter.emit(ee.METADATA_ARRIVED,e)}),this._transmuxer.on(te.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(ee.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(te.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(ee.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(te.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let n=!0,i=0,t=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();i=r.totalVideoFrames,t=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(i=this._mediaElement.webkitDecodedFrameCount,t=this._mediaElement.webkitDroppedFrameCount):n=!1;return n&&(e.decodedFrames=i,e.droppedFrames=t),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,n=this._mediaElement.currentTime,i=0,t=0;for(let r=0;r=n+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(T.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){T.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,n=this._mediaElement.buffered,i=!1;for(let t=0;t=r&&e=o-this._config.lazyLoadRecoverDuration&&(i=!0);break}}i&&(window.clearInterval(this._progressChecker),this._progressChecker=null,i&&(T.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let n=this._mediaElement.buffered;for(let i=0;i=t&&e0){let r=this._mediaElement.buffered.start(0);(r<1&&e0&&n.currentTime0){let t=i.start(0);if(t<1&&n{this._emitter.emit(ee.MEDIA_INFO,this.mediaInfo)}):e===ee.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(ee.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,n)}off(e,n){this._emitter.removeListener(e,n)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(n){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new w("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let n={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(n.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(n.width=this._mediaElement.videoWidth,n.height=this._mediaElement.videoHeight)),n}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let n=!0,i=0,t=0;if(this._mediaElement.getVideoPlaybackQuality){let r=this._mediaElement.getVideoPlaybackQuality();i=r.totalVideoFrames,t=r.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(i=this._mediaElement.webkitDecodedFrameCount,t=this._mediaElement.webkitDroppedFrameCount):n=!1;return n&&(e.decodedFrames=i,e.droppedFrames=t),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(ee.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(ee.STATISTICS_INFO,this.statisticsInfo)}}var ln=Lt;g.install();function Zt(_e,e){let n=_e;if(n==null||typeof n!="object")throw new we("MediaDataSource must be an javascript object!");if(!n.hasOwnProperty("type"))throw new we("MediaDataSource must has type field to indicate video file type!");switch(n.type){case"flv":return new ft(n,e);default:return new ln(n,e)}}function qt(){return Me.supportMSEH264Playback()}function Ut(){return Me.getFeatureList()}let Kt={};Kt.createPlayer=Zt,Kt.isSupported=qt,Kt.getFeatureList=Ut,Kt.BaseLoader=Te,Kt.LoaderStatus=C,Kt.LoaderErrors=Oe,Kt.Events=ee,Kt.ErrorTypes=Ue,Kt.ErrorDetails=St,Kt.FlvPlayer=ft,Kt.NativePlayer=ln,Kt.LoggingControl=fe,Object.defineProperty(Kt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var pn=Kt},56762:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return g}});var f=l(59301);function g(){const[,O]=f.useReducer(z=>z+1,0);return O}},19080:function(At,Fe,l){"use strict";l.d(Fe,{F:function(){return R},Z:function(){return z}});var f=l(92310),g=l.n(f);const O=null;function z(T,he,ge){return g()({[`${T}-status-success`]:he==="success",[`${T}-status-warning`]:he==="warning",[`${T}-status-error`]:he==="error",[`${T}-status-validating`]:he==="validating",[`${T}-has-feedback`]:ge})}const R=(T,he)=>he||T},18889:function(At,Fe,l){"use strict";l.d(Fe,{Z:function(){return He}});var f=l(92310),g=l.n(f),O=l(2738),z=l(59301),R=l(36355),T=l(19716),he=l(61621),ge=l(99313),Y=function(E,De){var xe={};for(var J in E)Object.prototype.hasOwnProperty.call(E,J)&&De.indexOf(J)<0&&(xe[J]=E[J]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,J=Object.getOwnPropertySymbols(E);ye{var{prefixCls:De,className:xe,hoverable:J=!0}=E,ye=Y(E,["prefixCls","className","hoverable"]);const{getPrefixCls:Me}=z.useContext(R.E_),k=Me("card",De),ee=g()(`${k}-grid`,xe,{[`${k}-grid-hoverable`]:J});return z.createElement("div",Object.assign({},ye,{className:ee}))},b=l(17313),C=l(83116),Oe=l(37613);const Te=E=>{const{antCls:De,componentCls:xe,headerHeight:J,cardPaddingBase:ye,tabsMarginBottom:Me}=E;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:J,marginBottom:-1,padding:`0 ${ye}px`,color:E.colorTextHeading,fontWeight:E.fontWeightStrong,fontSize:E.headerFontSize,background:E.headerBg,borderBottom:`${E.lineWidth}px ${E.lineType} ${E.colorBorderSecondary}`,borderRadius:`${E.borderRadiusLG}px ${E.borderRadiusLG}px 0 0`},(0,b.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},b.vS),{[` > ${xe}-typography, > ${xe}-typography-edit-content diff --git a/p__Classrooms__Lists__Video__Items__videoInfo__index.b763bef0.async.js b/p__Classrooms__Lists__Video__Items__videoInfo__index.978ae8a8.async.js similarity index 99% rename from p__Classrooms__Lists__Video__Items__videoInfo__index.b763bef0.async.js rename to p__Classrooms__Lists__Video__Items__videoInfo__index.978ae8a8.async.js index c8f20c8166..11c7d0d0a3 100644 --- a/p__Classrooms__Lists__Video__Items__videoInfo__index.b763bef0.async.js +++ b/p__Classrooms__Lists__Video__Items__videoInfo__index.978ae8a8.async.js @@ -1,4 +1,4 @@ -!(function(){var Yr=Object.defineProperty,Jr=Object.defineProperties;var Qr=Object.getOwnPropertyDescriptors;var Ir=Object.getOwnPropertySymbols;var Br=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable;var Nr=(Je,q,r)=>q in Je?Yr(Je,q,{enumerable:!0,configurable:!0,writable:!0,value:r}):Je[q]=r,qn=(Je,q)=>{for(var r in q||(q={}))Br.call(q,r)&&Nr(Je,r,q[r]);if(Ir)for(var r of Ir(q))Kr.call(q,r)&&Nr(Je,r,q[r]);return Je},Ar=(Je,q)=>Jr(Je,Qr(q));var Zr=(Je,q)=>{var r={};for(var u in Je)Br.call(Je,u)&&q.indexOf(u)<0&&(r[u]=Je[u]);if(Je!=null&&Ir)for(var u of Ir(Je))q.indexOf(u)<0&&Kr.call(Je,u)&&(r[u]=Je[u]);return r};(self.webpackChunk=self.webpackChunk||[]).push([[895],{40001:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},49198:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},84105:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},18785:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},52671:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},8657:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},56082:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},33853:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},15075:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},43531:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},38819:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},47472:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},64154:function(Je,q,r){"use strict";r.d(q,{Z:function(){return ue}});var u=r(59301),p=r(92123),P=r(8591),Z=r(43597),R={flex_box_center:"flex_box_center___kVqBh",flex_space_between:"flex_space_between___FMnNq",flex_box_vertical_center:"flex_box_vertical_center___meESe",flex_box_center_end:"flex_box_center_end___KFpOb",flex_box_column:"flex_box_column___GHIK9",video:"video___nn_cD"},S=r(51148),U=r(59301),te=(L,_,j)=>new Promise((k,B)=>{var z=I=>{try{A(j.next(I))}catch(b){B(b)}},w=I=>{try{A(j.throw(I))}catch(b){B(b)}},A=I=>I.done?k(I.value):Promise.resolve(I.value).then(z,w);A((j=j.apply(L,_)).next())});const Y=function(_,j){const k=_.split(","),B=k[0].match(/:(.*?);/)[1],z=atob(k[1]);let w=z.length;const A=new Uint8Array(w);for(;w--;)A[w]=z.charCodeAt(w);return new Blob([A],{type:B})};var ue=(0,u.forwardRef)(({time:L,number:_,supportCamera:j,take_photo:k,isExercise:B=!0,update:z,onUserMediaLoaded:w},A)=>{const I=(0,u.useRef)(),b=(0,u.useRef)(),c=(0,p.useParams)();let[i,s]=(0,u.useState)([]),[f,N]=(0,u.useState)(0);const[F,ie]=(0,u.useState)("");let[M,ce]=(0,u.useState)();const[H,be]=(0,u.useState)(0),T=(xe,Ue)=>te(void 0,null,function*(){return(0,Z.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:xe,file:Ue}})}),ae=xe=>te(void 0,null,function*(){const Ue=new Date().valueOf();if(xe){const tt=yield T(`\u7167\u7247${Ue}`,xe);tt.status||(yield(0,S.Ju)({container_id:c.categoryId,container_type:"Exercise",attachment_id:tt==null?void 0:tt.id}))}});(0,u.useEffect)(()=>(we(),()=>{Re(),De()}),[]),(0,u.useEffect)(()=>{f===2&&L&&_>0&&(se(),be(1))},[L]),(0,u.useEffect)(()=>{if(H!==0){if(H===2)clearInterval(M);else{let xe=0,Ue=setInterval(()=>{i.includes(xe)&&Ie(),xe++},1e3);ce(Ue)}return()=>clearInterval(M)}},[H]),(0,u.useImperativeHandle)(A,()=>({handlePhoto:Ie,handleTakePhoto:Ce}));const De=()=>{be(2)},se=()=>{const xe=L/_,Ue=[];function tt(he,je){return parseInt(Math.floor(Math.random()*(je-he+1))+he)}new Array(_).fill(0).map((he,je)=>{k?Ue.push(tt(xe*je,xe*(je+1))):je==0?Ue.push(0):Ue.push(tt(xe*je,xe*(je+1)))}),i=Ue,s([...Ue]),console.log(Ue)},we=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(xe){const Ue=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return Ue?new Promise(function(tt,he){Ue.call(navigator,xe,tt,he)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(xe){Se.current=xe,j&&j(2),N(2),"srcObject"in I.current?I.current.srcObject=xe:I.current.src=window.URL.createObjectURL(xe),I.current.onloadedmetadata=function(Ue){I.current.play(),w&&w()},I.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),De(),B&&P.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(xe){N(1),j&&j(1),xe.message==="Permission denied"||xe.name==="NotAllowedError"?P.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):P.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+xe.name),console.log("err: "+xe.message)})},Ie=()=>{try{b.current.width=I.current.videoWidth,b.current.height=I.current.videoHeight,b.current.getContext("2d").drawImage(I.current,0,0,b.current.width,b.current.height),ie(b.current.toDataURL("image/png")),ae(b.current.toDataURL("image/png")),Ne(b.current.toDataURL("image/png"))}catch(xe){}},Ce=()=>{try{return b.current.width=I.current.videoWidth,b.current.height=I.current.videoHeight,b.current.getContext("2d").drawImage(I.current,0,0,b.current.width,b.current.height),b.current.toDataURL("image/png")}catch(xe){}},Se=(0,u.useRef)(),Re=()=>{try{Se.current.getTracks().forEach(function(tt){tt.stop()}),I.current.srcObject=null}catch(xe){}},Ne=xe=>te(void 0,null,function*(){const Ue=new FormData;Ue.append("file",Y(xe,"1")),Ue.append("1","123");var tt=new window.XMLHttpRequest;tt.withCredentials=!0,tt.addEventListener("load",function(he){let je=JSON.parse(he.target.responseText);(0,Z.ZP)(`/api/exercises/${id}/upload_photo.json`,{method:"post",body:{attachment_id:je.id}})},!1),tt.addEventListener("error",function(he){console.error(he)},!1),tt.open("POST",`${ENV.API_SERVER}/api/attachments.json`),tt.send(Ue)});return U.createElement(U.Fragment,null,f!==3&&U.createElement("aside",{className:R.video,id:"screenshot"},f===0&&U.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),f===1&&U.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),f===2&&U.createElement("div",null,U.createElement("video",{width:"288",ref:I,autoPlay:!0}),U.createElement("canvas",{style:{display:"none"},ref:b}))))})},80092:function(Je,q,r){"use strict";var u=r(59301),p=r(51148),P=r(43597),Z=r(43418),R=r(96249),S=r.n(R),U=r(64154),te=Object.defineProperty,Y=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,L=(B,z,w)=>z in B?te(B,z,{enumerable:!0,configurable:!0,writable:!0,value:w}):B[z]=w,_=(B,z)=>{for(var w in z||(z={}))E.call(z,w)&&L(B,w,z[w]);if(Y)for(var w of Y(z))ue.call(z,w)&&L(B,w,z[w]);return B},j=(B,z,w)=>new Promise((A,I)=>{var b=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(b,c);i((w=w.apply(B,z)).next())});const k=({style:B={},data:z={}})=>{const w=(0,u.useRef)(),A=(0,u.useRef)(),[I,b]=(0,u.useState)(!1),[c,i]=(0,u.useState)(!1),[s,f]=(0,u.useState)({left:0,top:0,bottom:0,right:0}),N=(0,u.useRef)(null);(0,u.useEffect)(()=>(Z.default.info({title:"\u63D0\u793A",width:642,icon:null,centered:!0,content:u.createElement("div",null,u.createElement("div",null,"\u5DF2\u7ECF\u5F00\u542F\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u9700\u8981\u8C03\u7528\u4F60\u8BBE\u5907\u7684\u6444\u50CF\u5934\uFF0C\u8BF7\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\u3002"),u.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/36625"},"\u5982\u4F55\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\uFF1F")),okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{b(!0)}}),()=>{clearInterval(A.current)}),[]);const F=(ce,H)=>j(void 0,null,function*(){return(0,P.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:ce,file:H}})}),ie=()=>j(void 0,null,function*(){var ce;const H=(ce=w.current)==null?void 0:ce.handleTakePhoto(),be=new Date().valueOf();if(H){const T=yield F(`\u7167\u7247${be}`,H);T.status||(yield(0,p.Ju)(_({attachment_id:T==null?void 0:T.id},z)))}}),M=(ce,H)=>{var be;const{clientWidth:T,clientHeight:ae}=window.document.documentElement,De=(be=N.current)==null?void 0:be.getBoundingClientRect();f({left:-De.left+H.x,right:T-(De.right-H.x),top:-De.top+H.y,bottom:ae-(De.bottom-H.y)})};return u.createElement(u.Fragment,null,I&&u.createElement(S(),{disabled:c,bounds:s,onStart:(ce,H)=>M(ce,H)},u.createElement("div",{ref:N,style:_({position:"fixed",left:40,top:92,zIndex:101},B)},u.createElement("div",{onMouseOver:()=>{c&&i(!1)},onMouseOut:()=>{i(!0)}},u.createElement("div",null,u.createElement(U.Z,{ref:w,isExercise:!1,onUserMediaLoaded:()=>{ie(),A.current=window.setInterval(()=>j(void 0,null,function*(){ie()}),1e3*120)}}))))))};q.Z=k},81032:function(Je,q,r){"use strict";r.d(q,{Z:function(){return k}});var u=r(59301),p=r(8591),P=r(38854),Z=r(96640),R=r(44523),S=r(47141),U=r(56102),te=r(18030),Y={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},E=(B,z,w)=>new Promise((A,I)=>{var b=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(b,c);i((w=w.apply(B,z)).next())});function ue(B){if(isNaN(B))return{minutes:"00",seconds:"00"};const z=new Date(B*1e3).toISOString().substr(11,8);return{hour:z.substr(0,2),minutes:z.substr(3,2),seconds:z.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function L(B,z){return B-z}function _(B){B.sort(L);let z=0;for(let w=0;w{},handlePlay:s=()=>{},handlePlayEnded:f=()=>{},autoPlay:N=!1,onPlayEnded:F=()=>{},isShowWaterMark:ie=!0},M)=>{var ce;const be=((ce=z==null?void 0:z.split("."))==null?void 0:ce.pop())==="flv",T=(0,u.useRef)(),ae=(0,u.useRef)(),De=(0,u.useRef)(),se=(0,u.useRef)(),we=(0,u.useRef)(),Ie=(0,u.useRef)(),Ce=(0,u.useRef)(),Se=(0,u.useRef)(),Re=(0,u.useRef)(),Ne=(0,u.useRef)(),xe=(0,u.useRef)(),Ue=(0,u.useRef)(),tt=(0,u.useRef)(),he=(0,u.useRef)(),je=navigator.userAgent.toLowerCase().match(j),Pe=je?je[0]:"pc",We=(0,u.useRef)(!1),rt=(0,S.eY)();let me=0,Ve=0,O=0,D=null,x=!1,h=20,K=1,re=!1,a=!1,o=[];(0,u.useImperativeHandle)(M,()=>({getLastUpdatedTime:()=>T.current.currentTime,getDuration:()=>T.current.duration})),p.ZP.config({maxCount:1,getContainer:()=>De.current});const C=(0,u.useCallback)((J,oe=!1)=>{let X={point:T.current.currentTime};D?(X.log_id=D,X.watch_duration=_(o),X.total_duration=Ve):(b?(X.video_id=parseInt(A,10),X.course_id=b):X.video_id=A,X.duration=me,X.device=Pe),oe&&(X.ed="1");function Be(){return E(this,null,function*(){re=!0,D=yield I==null?void 0:I(X),re=!1,J&&J()})}Be()},[A,b]);(0,u.useEffect)(()=>{T.current&&(se.current.style.display="none",we.current.style.display="block"),p.ZP.destroy();let J=null;return Z.Z.isSupported&&be&&z&&(z==null?void 0:z.indexOf(".m3u8"))<0?(J=Z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:z,muted:!1}),T.current&&(J.attachMediaElement(T.current),J.load())):T.current.setAttribute("src",z),g(),()=>{J&&(J.unload(),J.pause(),J.destroy(),J=null)}},[T,be,z]);function l(){T.current.paused?(se.current.style.display="none",we.current.style.display="block"):(se.current.style.display="block",we.current.style.display="none")}function g(){xe.current.style.display="none",tt.current.style.display="none",Ue.current.style.display="none",T.current.muted||T.current.volume===0?xe.current.style.display="block":T.current.volume>0&&T.current.volume<=.5?tt.current.style.display="block":Ue.current.style.display="block"}(0,u.useEffect)(()=>{const J=document.getElementById("play"),oe=document.querySelectorAll(".playback-icons use");function X(){s(),c&&!We.current&&(T.current.currentTime=c),We.current=!0,o.push(T.current.currentTime),x||(x=!0,w&&C())}function Be(){return E(this,null,function*(){l(),o.push(T.current.currentTime),w&&C(()=>{D=null,O=0,x=!1,re=!1,a=!1,o=[],Ve=0,K=1},!0),F()})}function Te(){Ie.current.value=Math.round(T.current.currentTime),Ce.current.value=Math.round(T.current.currentTime)}function V(){const He=ue(Math.round(T.current.currentTime));Re.current.innerText=`${He.hour>0?He.hour+":":""}${He.minutes}:${He.seconds}`,Re.current.setAttribute("datetime",`${He.hour>0?" "+He.hour+" ":""}${He.minutes}m ${He.seconds}s`)}function Me(){var He,ft,Lt,lt,Tt,nn,$t;const Xt=Math.round((He=T.current)==null?void 0:He.duration);(Lt=(ft=Ie.current)==null?void 0:ft.setAttribute)==null||Lt.call(ft,"max",Xt),(Tt=(lt=Ce.current)==null?void 0:lt.setAttribute)==null||Tt.call(lt,"max",Xt);const Kt=ue(Xt);Se.current&&(Se.current.innerText=`${Kt.hour>0?Kt.hour+":":""}${Kt.minutes}:${Kt.seconds}`,($t=(nn=Se.current).setAttribute)==null||$t.call(nn,"datetime",`${Kt.hour>0?" "+Kt.hour+" ":""}${Kt.minutes}m ${Kt.seconds}s`))}function Ye(){try{const He=Math.round(T.current.duration);Ie.current.setAttribute("max",He),Ce.current.setAttribute("max",He);const ft=ue(He);Se.current.innerText=`${ft.hour>0?ft.hour+":":""}${ft.minutes}:${ft.seconds}`,Se.current.setAttribute("datetime",`${ft.hour>0?" "+ft.hour+" ":""}${ft.minutes}m ${ft.seconds}s`),Te(),V();const{width:Lt,height:lt,x:Tt,y:nn}=ae.current.getBoundingClientRect();if(Tt<0||nn<0||!Lt)return;if(!a){let $t=T.current.currentTime,Xt=$t-O;Math.abs(Xt)<10?(Ve+=Math.abs(Xt),O=$t,re||Ve-K*h>=0&&(K++,o.push(O),w&&C())):(O=$t,w&&C())}}catch(He){console.log(He)}}function ot(){a=!0}function nt(){T.current.playing&&o.push(T.current.currentTime,O),O=T.current.currentTime,a=!1}function qe(){me=T.current.duration,me<=20&&(h=me/3),T.current.addEventListener("play",X)}function ht(He){He.preventDefault(),(0,te.vp)()?(T.current.style.width="100%",T.current.style.height="100%"):T.current.style.cssText=""}function mt(){i()}function vt(He){if(!B){p.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const ft=He.target.dataset.seek?He.target.dataset.seek:He.target.value;T.current.currentTime=ft,Ce.current.value=ft,Ie.current.value=ft}function wt(He){const ft=Math.round(He.offsetX/He.target.clientWidth*parseInt(He.target.getAttribute("max"),10));Ie.current.setAttribute("data-seek",ft);const Lt=ue(ft);Ne.current.textContent=`${Lt.hour>0?Lt.hour+":":""}${Lt.minutes}:${Lt.seconds}`;const lt=T.current.getBoundingClientRect();Ne.current.style.left=`${He.pageX-lt.left}px`}function xt(He){switch(He.code){case"Space":He.preventDefault(),Q();break;case"ArrowRight":if(He.preventDefault(),!B){p.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime>=T.current.duration)break;T.current.currentTime=parseInt(T.current.currentTime)+5,Te();break;case"ArrowLeft":if(He.preventDefault(),!B){p.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime===0)break;T.current.currentTime=parseInt(T.current.currentTime)-5,Te();break;case"ArrowUp":He.preventDefault(),T.current.volume<1&&(T.current.volume=(parseInt(T.current.volume*10)+1)/10);break;case"ArrowDown":He.preventDefault(),T.current.volume>0&&(T.current.volume=(parseInt(T.current.volume*10)-1)/10);break}}return De.current.addEventListener((0,te.gH)(),ht),T.current.addEventListener("canplay",qe),T.current.addEventListener("ended",Be),T.current.addEventListener("seeking",ot),T.current.addEventListener("seeked",nt),T.current.addEventListener("loadedmetadata",Me),Ie.current.addEventListener("mousemove",wt),Ie.current.addEventListener("input",vt),T.current.addEventListener("timeupdate",Ye),T.current.addEventListener("pause",mt),T.current.addEventListener("volumechange",g),document.addEventListener("keydown",xt),()=>{var He,ft,Lt,lt,Tt,nn,$t,Xt,Kt,kt,fn,Ke;(He=T.current)==null||He.removeEventListener("canplay",qe),(ft=T.current)==null||ft.removeEventListener("play",X),(Lt=T.current)==null||Lt.removeEventListener("ended",Be),(lt=T.current)==null||lt.removeEventListener("seeking",ot),(Tt=T.current)==null||Tt.removeEventListener("seeked",nt),(nn=Ie.current)==null||nn.removeEventListener("mousemove",wt),($t=Ie.current)==null||$t.removeEventListener("input",vt),(Xt=T.current)==null||Xt.removeEventListener("timeupdate",Ye),(Kt=T.current)==null||Kt.removeEventListener("pause",mt),(kt=T.current)==null||kt.removeEventListener("loadedmetadata",Me),(fn=T.current)==null||fn.removeEventListener("volumechange",g),document.removeEventListener("keydown",xt),(Ke=T.current)!=null&&Ke.playing&&(o.push(O,T.current.currentTime),w&&C())}},[T,z]),(0,u.useEffect)(()=>{if(T.current.onended=()=>{f(T)},T.current.oncontextmenu=()=>!1,(z==null?void 0:z.indexOf(".m3u8"))>-1){if(T.current.canPlayType("application/vnd.apple.mpegurl"))T.current.src=z;else if(R.ZP.isSupported()){var J=new R.ZP;J.loadSource(z),J.attachMedia(T.current)}}},[z]);const[$,ne]=(0,u.useState)(1),Q=()=>{T.current.paused||T.current.ended?T.current.play():T.current.pause(),l()};function de(){T.current.muted=!T.current.muted,T.current.muted?(he.current.setAttribute("data-volume",volume.value),he.current.value=0):he.current.value=he.current.dataset.volume}return u.createElement("div",{style:{position:"relative"},ref:De},u.createElement("div",{ref:ae,className:`${Y.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${Y.animate__loop}`},ie&&rt?rt.login:" "),u.createElement("div",{className:Y.container},u.createElement("div",{className:Y["video-container"],id:"video-container"},u.createElement("div",{className:Y["playback-animation"],id:"playback-animation"},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{className:"hidden",href:"#play-icon"}),u.createElement("use",{href:"#pause"}))),u.createElement("video",{className:Y.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:T,autoPlay:N}),u.createElement("div",{className:`${Y["video-controls"]} `,id:"video-controls"},u.createElement("div",{className:Y["bottom-controls"]},u.createElement("div",{className:Y["left-controls"]},u.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Q},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{ref:we,href:"#play-icon"}),u.createElement("use",{ref:se,style:{display:"none"},href:"#pause"}))),u.createElement("div",{className:Y.time},u.createElement("time",{id:"time-elapsed",ref:Re},"00:00"),u.createElement("span",null," / "),u.createElement("time",{id:"duration",ref:Se},"00:00"))),u.createElement("div",{className:Y["right-controls"]},B&&u.createElement(P.Z,{placement:"top",overlayClassName:Y.rateOverlay,getPopupContainer:J=>J.parentNode,menu:{items:[{key:"1",label:u.createElement("span",{onClick:()=>{ne(1),T.current.playbackRate=1}},"1.0x")},{key:"2",label:u.createElement("span",{onClick:()=>{ne(1.5),T.current.playbackRate=1.5}},"1.5x")},{key:"3",label:u.createElement("span",{onClick:()=>{ne(2),T.current.playbackRate=2}},"2.0x")}]}},u.createElement("div",{className:`${Y.controlText} mr5`},"\u500D\u901F")),u.createElement(U.CopyToClipboard,{text:z,onCopy:()=>p.ZP.success("\u590D\u5236\u6210\u529F")},u.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},u.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),u.createElement("div",{className:Y["volume-controls"]},u.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:Y["volume-button"],id:"volume-button",onClick:de},u.createElement("i",{ref:xe,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:tt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:Ue,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),u.createElement("input",{className:Y.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:he,style:{display:"none"},onClick:g})),u.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:Y["fullscreen-button"],onClick:()=>{(0,te.vp)()?(0,te.BU)():(0,te.Dj)(De.current)}},u.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),u.createElement("div",{className:Y["video-progress"]},u.createElement("progress",{ref:Ce,value:"0",min:"0"}),u.createElement("input",{className:Y.seek,ref:Ie,value:"0",min:"0",type:"range",step:"1"}),u.createElement("div",{className:Y["seek-tooltip"],ref:Ne,id:"seek-tooltip"},"00:00"))))),u.createElement("svg",{style:{display:"none"}},u.createElement("defs",null,u.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),u.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},u.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),u.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),u.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},u.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),u.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},u.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),u.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),u.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},u.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),u.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},u.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},76332:function(Je,q,r){"use strict";r.r(q),r.d(q,{default:function(){return tt}});var u=r(59301),p=r(92123),P=r(71418),Z={flex_box_center:"flex_box_center___gO3nd",flex_space_between:"flex_space_between___KljaZ",flex_box_vertical_center:"flex_box_vertical_center___fa17H",flex_box_center_end:"flex_box_center_end___Iha2a",flex_box_column:"flex_box_column___mCF7g",bg:"bg___yhRK8"},R=r(24334),S=r(81032),U=r(6848),te=r(58421),Y={contentWrap:"contentWrap___d4rCm",title:"title___bLyk5",footer:"footer___V7GbH",footer_left:"footer_left___ofIZM",footer_bfcs:"footer_bfcs___HUUgS",footer_bfcs_value:"footer_bfcs_value___T9e5h",pingfen:"pingfen___SEAu2",fenshu:"fenshu___GM8ss",radioGroup:"radioGroup___Bedpr",wrap:"wrap___PxISS",introName:"introName___l9xpu",rating:"rating___vCxjz",modalRating:"modalRating___UBNfA",zdbf:"zdbf___YbIbO",video_list:"video_list___KuU04",video_list_item:"video_list_item___gErkF",list_img:"list_img___MPWpq",list_text:"list_text___bEa03"},E=r(51148),ue=r(43597),L=r(94601),_=r(80092),j=r(47141),k=r(59301),B=Object.defineProperty,z=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,I=(he,je,Pe)=>je in he?B(he,je,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[je]=Pe,b=(he,je)=>{for(var Pe in je||(je={}))w.call(je,Pe)&&I(he,Pe,je[Pe]);if(z)for(var Pe of z(je))A.call(je,Pe)&&I(he,Pe,je[Pe]);return he},c=(he,je)=>{var Pe={};for(var We in he)w.call(he,We)&&je.indexOf(We)<0&&(Pe[We]=he[We]);if(he!=null&&z)for(var We of z(he))je.indexOf(We)<0&&A.call(he,We)&&(Pe[We]=he[We]);return Pe},i=(he,je,Pe)=>new Promise((We,rt)=>{var me=D=>{try{O(Pe.next(D))}catch(x){rt(x)}},Ve=D=>{try{O(Pe.throw(D))}catch(x){rt(x)}},O=D=>D.done?We(D.value):Promise.resolve(D.value).then(me,Ve);O((Pe=Pe.apply(he,je)).next())});const s=he=>{var je=he,{videoDetail:Pe,globalSetting:We,loading:rt,dispatch:me}=je,Ve=c(je,["videoDetail","globalSetting","loading","dispatch"]);const O=(0,p.useParams)(),[D]=(0,p.useSearchParams)(),[x,h]=(0,u.useState)({}),[K,re]=(0,u.useState)([]),[a,o]=(0,u.useState)(!1),[C,l]=(0,u.useState)(1),[g,$]=(0,u.useState)(4),[ne,Q]=(0,u.useState)(0),de=(0,u.useRef)(),J=(0,u.useRef)(),oe=(0,u.useRef)(5),X=(0,u.useRef)(null),Be=(qe,ht)=>i(void 0,null,function*(){var mt,vt,wt,xt;if((vt=(mt=Pe==null?void 0:Pe.detail)==null?void 0:mt.detail)!=null&&vt.course_video_id){let He=yield(0,ue.ZP)(`/api/courses/${O==null?void 0:O.videoId}/ilearning_videos.json`,{method:"get",params:{type:2,limit:ht,video_id:(xt=(wt=Pe==null?void 0:Pe.detail)==null?void 0:wt.detail)==null?void 0:xt.course_video_id,page:qe}});(He==null?void 0:He.status)==0&&(re(He==null?void 0:He.videos),Q(He==null?void 0:He.total_count))}});(0,u.useEffect)(()=>{var qe;h((qe=Pe==null?void 0:Pe.detail)==null?void 0:qe.detail),l(1),Be(1,g),clearTimeout(X.current),o(!1),X.current=setTimeout(()=>{var ht,mt;(mt=(ht=Pe==null?void 0:Pe.detail)==null?void 0:ht.detail)!=null&&mt.action_analysis&&o(!0)},1e3)},[Pe==null?void 0:Pe.detail]);const Te=qe=>{if(!qe.length)return[];const ht=[],mt=vt=>(vt.forEach(wt=>{let xt={};xt=JSON.parse(JSON.stringify(wt)),wt!=null&&wt.course_video_id&&ht.push(xt),wt.coruse_videos&&mt(wt.coruse_videos)}),ht);return mt(qe)},V=(qe=!1)=>{const ht=qe?{is_f:1}:{};return(0,E.DH)(b(b({},ht),{id:O.videoId,point:de.current.getLastUpdatedTime(),total:de.current.getDuration()}))},Me=()=>{J.current=!1},Ye=()=>{J.current=!0},ot=qe=>{o(!1)},nt=qe=>me({type:"userDetail/logWatchHistory",payload:qe});return console.log(x,O,"video_item"),k.createElement("aside",{className:Y.contentWrap},k.createElement("aside",{className:Y.wrap},k.createElement("div",{className:Y.title},x==null?void 0:x.title),k.createElement(S.Z,{ref:de,isShowWaterMark:x==null?void 0:x.show_watermark,startTime:x==null?void 0:x.last_point,src:x!=null&&x.is_link?x==null?void 0:x.link:(x==null?void 0:x.play_url)&&R.Base64.decode(x==null?void 0:x.play_url),videoId:x==null?void 0:x.course_video_id,courseId:O==null?void 0:O.videoId,handlePause:Me,handlePlay:Ye,allow_skip:x==null?void 0:x.allow_skip,handlePlayEnded:ot,logWatchHistory:nt,toLog:()=>{}}),k.createElement("div",{className:Y.footer},k.createElement("div",{className:Y.footer_left},k.createElement("div",{className:Y.footer_bfcs},"\u64AD\u653E\u6B21\u6570 "),k.createElement("div",{className:Y.footer_bfcs_value},(x==null?void 0:x.people_num)||0))),k.createElement("div",{className:Y.title,style:{fontSize:20,fontWeight:400}},"\u76F8\u5173\u89C6\u9891\u63A8\u8350"),k.createElement("div",{className:Y.video_list},K==null?void 0:K.map((qe,ht)=>k.createElement("div",{key:ht,className:Y.video_list_item,onClick:()=>{(0,L.xg)(qe==null?void 0:qe.link_url)}},k.createElement("img",{src:qe==null?void 0:qe.cover_url,className:Y.list_img}),k.createElement(U.Z,{placement:"bottom",title:qe==null?void 0:qe.title},k.createElement("div",{className:Y.list_text},qe==null?void 0:qe.title))))),k.createElement(te.Z,{showQuickJumper:!0,style:{marginTop:10,textAlign:"right"},onChange:(qe,ht)=>{$(ht),l(qe),Be(qe,ht)},showSizeChanger:!0,pageSizeOptions:["4","8","12","16","20"],defaultCurrent:1,pageSize:g,current:C,hideOnSinglePage:!ne,total:ne})),a&&(0,j.dE)()&&k.createElement(_.Z,{data:{container_id:x.course_video_id,container_type:"CourseVideo"}}))};var f=(0,p.connect)(({videoDetail:he,loading:je,globalSetting:Pe})=>({videoDetail:he,globalSetting:Pe,loading:je}))(s),N=r(43418),F=r(8591),ie=r(17574),M={flex_box_center:"flex_box_center___hRcmo",flex_space_between:"flex_space_between___mhQ84",flex_box_vertical_center:"flex_box_vertical_center___pWKUB",flex_box_center_end:"flex_box_center_end____UrsC",flex_box_column:"flex_box_column___qkAD1",list:"list___hYrSN",tree_style:"tree_style___UBl2H",title:"title___sw9X3",gray:"gray___KV9jR",brght:"brght___uqI6i",s1:"s1___kwobs",s3:"s3___CFhfR",active:"active___NS7Wp",tree_line:"tree_line___YDLUU",tabs_style:"tabs_style___ZG9FL",tabs_item:"tabs_item___oVjFx",tabs_item_active:"tabs_item_active___pLWXc"},ce=r(39598),H=r(16140),be=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,De=(he,je)=>{var Pe={};for(var We in he)T.call(he,We)&&je.indexOf(We)<0&&(Pe[We]=he[We]);if(he!=null&&be)for(var We of be(he))je.indexOf(We)<0&&ae.call(he,We)&&(Pe[We]=he[We]);return Pe},se=(he,je,Pe)=>new Promise((We,rt)=>{var me=D=>{try{O(Pe.next(D))}catch(x){rt(x)}},Ve=D=>{try{O(Pe.throw(D))}catch(x){rt(x)}},O=D=>D.done?We(D.value):Promise.resolve(D.value).then(me,Ve);O((Pe=Pe.apply(he,je)).next())});const we=[{name:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",icon:u.createElement("i",{className:"iconfont icon-shixun2 font20"}),bq:u.createElement("span",{style:{border:"1px solid #FF9D18",color:"#FF9D18"},className:M.s1},"\u5B9E\u8BAD")},{name:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",icon:u.createElement("i",{className:"iconfont icon-shipin font20"}),bq:u.createElement("span",{style:{border:"1px solid #9B18FF",color:"#9B18FF"},className:M.s1},"\u89C6\u9891")},{name:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",icon:u.createElement("i",{className:"iconfont icon-jiaoxueanli font20"}),bq:u.createElement("span",{style:{border:"1px solid #3061D0",color:"#3061D0"},className:M.s1},"\u8D44\u6599")},{name:"\u7A7A\u76EE\u5F55",type:"StageCatalog",icon:u.createElement("i",{className:"iconfont icon-kongbai font20"}),bq:u.createElement("span",null)}],Ie=he=>{var je=he,{dispatch:Pe,pathsDetail:We,videoDetail:rt,user:me}=je,Ve=De(je,["dispatch","pathsDetail","videoDetail","user"]);const{queryParams:O,stages:D,cust_seq:x,active:h}=rt,[K]=(0,p.useSearchParams)(),[re,a]=(0,u.useState)([]),[o,C]=(0,u.useState)("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"),l=(0,p.useParams)(),[g,$]=(0,u.useState)(0),[ne,Q]=(0,u.useState)("");(0,u.useEffect)(()=>{Pe({type:"videoDetail/getVideoData",payload:{id:l==null?void 0:l.videoId}})},[]),(0,u.useEffect)(()=>{var Te,V;$((V=(Te=rt==null?void 0:rt.detail)==null?void 0:Te.detail)==null?void 0:V.course_video_id),Q(new Date)},[rt==null?void 0:rt.detail]),(0,u.useEffect)(()=>{de()},[rt==null?void 0:rt.stages]);const de=()=>{let Te=re;D.forEach((V,Me)=>{Pe({type:"videoDetail/setVideoTabs",payload:{key:K.get("new_video_id")}}),K.get("new_video_id")==(V==null?void 0:V.course_video_id)&&Pe({type:"videoDetail/setVideoValue",payload:{detail:V}}),Te.push({title:u.createElement("div",{title:V.name,className:M.title},V.name),value:V==null?void 0:V.id,key:V==null?void 0:V.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:J(V.children||[])})}),a(Te)},J=Te=>{function V(Me){const Ye=Me.children,ot=Array.isArray(Ye)&&Ye.length>0,{name:nt,course_video_id:qe}=Me,ht=M.brght,mt=K.get("new_video_id")===qe?`${ht} ${M.active}`:ht;return K.get("new_video_id")==(Me==null?void 0:Me.course_video_id)&&Pe({type:"videoDetail/setVideoValue",payload:{detail:Me}}),{title:u.createElement("div",{onClick:()=>Be(Me),className:ht,title:nt},u.createElement("div",{className:M.s3},nt)),value:qe,key:Te.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:ot?Ye==null?void 0:Ye.map(vt=>V(vt)):[]}}return Te==null?void 0:Te.map(Me=>V(Me))},oe=Te=>{N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Te,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},X=Te=>{Te=Te!=null&&Te.includes(".json")?Te:`${Te}.json`,N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>se(void 0,null,function*(){const V=yield(0,ce.L8)({url:Te});if(!V)return;F.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Me=yield(0,H.Ir)({id:V.shixun_identifier});if(Me!=null&&Me.game_identifier){(0,L.xg)(`/tasks/${Me.game_identifier}`);return}(Me==null?void 0:Me.status)===2?X(Me==null?void 0:Me.message):(Me==null?void 0:Me.status)===3&&oe(Me==null?void 0:Me.message)})})},Be=Te=>{if(Te.link){(0,L.xg)(Te.link);return}clearTimeout(window.videoTimer),Pe({type:"videoDetail/setVideoValue",payload:{detail:Te}})};return u.createElement("aside",{className:M.list},u.createElement("div",{className:M.tabs_style},u.createElement("div",{className:M.tabs_item,onClick:()=>{C("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55")}},"\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55",o=="\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"&&u.createElement("div",{className:M.tabs_item_active}))),u.createElement("div",{className:M.tree_style},(re==null?void 0:re.length)>0&&u.createElement(ie.default,{key:ne,defaultSelectedKeys:[g||Number(g)||Number(K.get("new_video_id"))],blockNode:!0,treeData:re,defaultExpandAll:!0,className:M.tree_line})))};var Ce=(0,p.connect)(({user:he,videoDetail:je,loading:Pe,globalSetting:We,pathsDetail:rt})=>({user:he,videoDetail:je,globalSetting:We,loading:Pe,pathsDetail:rt}))(Ie),Se=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,xe=(he,je)=>{var Pe={};for(var We in he)Re.call(he,We)&&je.indexOf(We)<0&&(Pe[We]=he[We]);if(he!=null&&Se)for(var We of Se(he))je.indexOf(We)<0&&Ne.call(he,We)&&(Pe[We]=he[We]);return Pe};const Ue=he=>{var je=he,{videoDetail:Pe,globalSetting:We,loading:rt,pathsDetail:me,dispatch:Ve}=je,O=xe(je,["videoDetail","globalSetting","loading","pathsDetail","dispatch"]);return u.createElement(P.Z,{spinning:!1},u.createElement("section",{className:Z.bg},u.createElement(Ce,null),u.createElement(f,null)))};var tt=(0,p.connect)(({videoDetail:he,loading:je,globalSetting:Pe,pathsDetail:We})=>({videoDetail:he,globalSetting:Pe,loading:je,pathsDetail:We}))(Ue)},18030:function(Je,q,r){"use strict";r.d(q,{BU:function(){return p},Dj:function(){return u},gH:function(){return P},vp:function(){return Z}});function u(R){try{R.mozRequestFullScreen?R.mozRequestFullScreen():R.webkitRequestFullScreen&&R.webkitRequestFullScreen()}catch(S){console.log(S,":e")}}function p(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const P=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Z(){var R=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,S=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",R),window.isFullScreen?window.isFullScreen:R!=null}},96640:function(Je,q,r){"use strict";r.d(q,{Z:function(){return fn}});class u{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","error",n),R.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","info",n),R.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","warn",n),R.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","debug",n),R.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","verbose",n),R.ENABLE_VERBOSE&&console.log(n)}}R.GLOBAL_TAG="flv.js",R.FORCE_GLOBAL_TAG=!1,R.ENABLE_ERROR=!0,R.ENABLE_INFO=!0,R.ENABLE_WARN=!0,R.ENABLE_DEBUG=!0,R.ENABLE_VERBOSE=!0,R.ENABLE_CALLBACK=!1,R.emitter=new(Z());var S=R;class U{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var te=U;class Y{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class E extends Y{constructor(e){super(e)}get name(){return"IllegalStateException"}}class ue extends Y{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class L extends Y{constructor(e){super(e)}get name(){return"NotImplementedException"}}const _={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},j={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class k{constructor(e){this._type=e||"undefined",this._status=_.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=_.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===_.kConnecting||this._status===_.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new L("Unimplemented abstract function!")}abort(){throw new L("Unimplemented abstract function!")}}let B={};function z(){let Ke=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(Ke)||/(opr)[\/]([\w.]+)/.exec(Ke)||/(chrome)[ \/]([\w.]+)/.exec(Ke)||/(iemobile)[\/]([\w.]+)/.exec(Ke)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+)/.exec(Ke)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Ke)||/(msie) ([\w.]+)/.exec(Ke)||Ke.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Ke)||Ke.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Ke)||[],t=/(ipad)/.exec(Ke)||/(ipod)/.exec(Ke)||/(windows phone)/.exec(Ke)||/(iphone)/.exec(Ke)||/(kindle)/.exec(Ke)||/(android)/.exec(Ke)||/(windows)/.exec(Ke)||/(mac)/.exec(Ke)||/(linux)/.exec(Ke)||/(cros)/.exec(Ke)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},d={};if(n.browser){d[n.browser]=!0;let y=n.majorVersion.split(".");d.version={major:parseInt(n.majorVersion,10),string:n.version},y.length>1&&(d.version.minor=parseInt(y[1],10)),y.length>2&&(d.version.build=parseInt(y[2],10))}if(n.platform&&(d[n.platform]=!0),(d.chrome||d.opr||d.safari)&&(d.webkit=!0),d.rv||d.iemobile){d.rv&&delete d.rv;let y="msie";n.browser=y,d[y]=!0}if(d.edge){delete d.edge;let y="msedge";n.browser=y,d[y]=!0}if(d.opr){let y="opera";n.browser=y,d[y]=!0}if(d.safari&&d.android){let y="android";n.browser=y,d[y]=!0}d.name=n.browser,d.platform=n.platform;for(let y in B)B.hasOwnProperty(y)&&delete B[y];Object.assign(B,d)}z();var w=B;class A extends k{static isSupported(){try{let e=w.msedge&&w.version.minor>=15048,t=w.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let d=this._seekHandler.getConfig(n,t),y=new self.Headers;if(typeof d.headers=="object"){let v=d.headers;for(let fe in v)v.hasOwnProperty(fe)&&y.append(fe,v[fe])}let m={method:"GET",headers:y,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let v in this._config.headers)y.append(v,this._config.headers[v]);e.cors===!1&&(m.mode="same-origin"),e.withCredentials&&(m.credentials="include"),e.referrerPolicy&&(m.referrerPolicy=e.referrerPolicy),this._status=_.kConnecting,self.fetch(d.url,m).then(v=>{if(this._requestAbort){this._requestAbort=!1,this._status=_.kIdle;return}if(v.ok&&v.status>=200&&v.status<=299){if(v.url!==d.url&&this._onURLRedirect){let W=this._seekHandler.removeURLParameters(v.url);this._onURLRedirect(W)}let fe=v.headers.get("Content-Length");return fe!=null&&(this._contentLength=parseInt(fe),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,v.body.getReader())}else if(this._status=_.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:v.status,msg:v.statusText});else throw new Y("FetchStreamLoader: Http code invalid, "+v.status+" "+v.statusText)}).catch(v=>{if(this._status=_.kError,this._onError)this._onError(j.EXCEPTION,{code:-1,msg:v.message});else throw v})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&w.msedge)return;this._status=_.kError;let n=0,d=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=_.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=_.kBuffering}}_onProgress(e){if(this._status===_.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===_.kError)return;this._status=_.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=_.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let d=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&d!==this._currentRedirectedURL&&(this._currentRedirectedURL=d,this._onURLRedirect&&this._onURLRedirect(d))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let d=parseInt(n);d>0&&(this._contentLength=d,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let d=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let y=this._totalRange.from+this._receivedLength;this._receivedLength+=d.byteLength,this._onDataArrival&&this._onDataArrival(d,y,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${y+d.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let d=this._seekHandler.getConfig(n,t);this._currentRequestURL=d.url;let y=this._xhr=new XMLHttpRequest;if(y.open("GET",d.url,!0),y.responseType="arraybuffer",y.onreadystatechange=this._onReadyStateChange.bind(this),y.onprogress=this._onProgress.bind(this),y.onload=this._onLoad.bind(this),y.onerror=this._onXhrError.bind(this),e.withCredentials&&(y.withCredentials=!0),typeof d.headers=="object"){let m=d.headers;for(let v in m)m.hasOwnProperty(v)&&y.setRequestHeader(v,m[v])}if(typeof this._config.headers=="object"){let m=this._config.headers;for(let v in m)m.hasOwnProperty(v)&&y.setRequestHeader(v,m[v])}y.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=_.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=_.kBuffering}else if(this._status=_.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===_.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let d=e.total;this._internalAbort(),d!=null&d!==0&&(this._totalLength=d)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,d=0,y=0,m=n;if(e=t[d]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let m=this._normalizeSpeed(t);this._currentSpeedNormalized!==m&&(this._currentSpeedNormalized=m,this._currentChunkSizeKB=m)}let n=e.target.response,d=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let y=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=_.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=_.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}var ie=F;class M{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let d;t.to!==-1?d=`bytes=${t.from.toString()}-${t.to.toString()}`:d=`bytes=${t.from.toString()}-`,n.Range=d}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var ce=M;class H{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let d=!0;n.indexOf("?")===-1&&(n+="?",d=!1),d&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,d=e.indexOf("?");d!==-1&&(n=e.substring(d+1));let y="";if(n!=null&&n.length>0){let m=n.split("&");for(let v=0;v0;fe[0]!==this._startName&&fe[0]!==this._endName&&(W&&(y+="&"),y+=m[v])}}return y.length===0?t:t+"?"+y}}var be=H;class T{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new te,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===N?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new ce(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new be(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new ue("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new ue(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=ie;else if(I.isSupported())this._loaderClass=I;else if(c.isSupported())this._loaderClass=c;else if(N.isSupported())this._loaderClass=N;else throw new Y("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new ue("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let d=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(d,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,d=0,y=0,m=n;if(e=t[d]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let m=this._stashBuffer.slice(0,this._stashUsed),v=this._dispatchChunks(m,this._stashByteStart);if(v0){let fe=new Uint8Array(m,v);y.set(fe,0),this._stashUsed=fe.byteLength,this._stashByteStart+=v}}else this._stashUsed=0,this._stashByteStart+=v;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let m=this._dispatchChunks(e,t);if(mthis._bufferSize&&(this._expandBuffer(v),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e,m),0),this._stashUsed+=v,this._stashByteStart=t+m}}}else if(this._stashUsed===0){let y=this._dispatchChunks(e,t);if(ythis._bufferSize&&this._expandBuffer(m),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,y),0),this._stashUsed+=m,this._stashByteStart=t+y}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let y=new Uint8Array(this._stashBuffer,0,this._bufferSize);y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let m=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(m0){let v=new Uint8Array(this._stashBuffer,m);y.set(v,0)}this._stashUsed-=m,this._stashByteStart+=m}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),d=t.byteLength-n;if(n0){let y=new Uint8Array(this._stashBuffer,0,this._bufferSize),m=new Uint8Array(t,n);y.set(m,0),this._stashUsed=m.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,d}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(S.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=j.UNRECOVERABLE_EARLY_EOF),e){case j.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=Re.getConfig();e.emit("change",t)}}static registerListener(e){Re.emitter.addListener("change",e)}static removeListener(e){Re.emitter.removeListener("change",e)}static addLogListener(e){S.emitter.addListener("log",e),S.emitter.listenerCount("log")>0&&(S.ENABLE_CALLBACK=!0,Re._notifyChange())}static removeLogListener(e){S.emitter.removeListener("log",e),S.emitter.listenerCount("log")===0&&(S.ENABLE_CALLBACK=!1,Re._notifyChange())}}Re.emitter=new(Z());var Ne=Re;class xe{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,d=e.length-1,y=0,m=0,v=d;for(t=e[y]&&t=128){e.push(String.fromCharCode(y&65535)),n+=2;continue}}}else if(t[n]<240){if(tt(t,n,2)){let y=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(y>=2048&&(y&63488)!==55296){e.push(String.fromCharCode(y&65535)),n+=3;continue}}}else if(t[n]<248&&tt(t,n,3)){let y=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(y>65536&&y<1114112){y-=65536,e.push(String.fromCharCode(y>>>10|55296)),e.push(String.fromCharCode(y&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var je=he;let Pe=function(){let Ke=new ArrayBuffer(2);return new DataView(Ke).setInt16(0,256,!0),new Int16Array(Ke)[0]===256}();class We{static parseScriptData(e,t,n){let d={};try{let y=We.parseValue(e,t,n),m=We.parseValue(e,t+y.size,n-y.size);d[y.data]=m.data}catch(y){S.e("AMF",y.toString())}return d}static parseObject(e,t,n){if(n<3)throw new E("Data not enough when parse ScriptDataObject");let d=We.parseString(e,t,n),y=We.parseValue(e,t+d.size,n-d.size),m=y.objectEnd;return{data:{name:d.data,value:y.data},size:d.size+y.size,objectEnd:m}}static parseVariable(e,t,n){return We.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new E("Data not enough when parse String");let y=new DataView(e,t,n).getUint16(0,!Pe),m;return y>0?m=je(new Uint8Array(e,t+2,y)):m="",{data:m,size:2+y}}static parseLongString(e,t,n){if(n<4)throw new E("Data not enough when parse LongString");let y=new DataView(e,t,n).getUint32(0,!Pe),m;return y>0?m=je(new Uint8Array(e,t+4,y)):m="",{data:m,size:4+y}}static parseDate(e,t,n){if(n<10)throw new E("Data size invalid when parse Date");let d=new DataView(e,t,n),y=d.getFloat64(0,!Pe),m=d.getInt16(8,!Pe);return y+=m*60*1e3,{data:new Date(y),size:10}}static parseValue(e,t,n){if(n<1)throw new E("Data not enough when parse Value");let d=new DataView(e,t,n),y=1,m=d.getUint8(0),v,fe=!1;try{switch(m){case 0:v=d.getFloat64(1,!Pe),y+=8;break;case 1:{v=!!d.getUint8(1),y+=1;break}case 2:{let W=We.parseString(e,t+1,n-1);v=W.data,y+=W.size;break}case 3:{v={};let W=0;for((d.getUint32(n-4,!Pe)&16777215)===9&&(W=3);y32)throw new ue("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let m=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,m}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let d=Math.min(n,this._current_word_bits_left),y=this._current_word>>>32-d;return this._current_word<<=d,this._current_word_bits_left-=d,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Ve=me;class O{static _ebsp2rbsp(e){let t=e,n=t.byteLength,d=new Uint8Array(n),y=0;for(let m=0;m=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(d[y]=t[m],y++);return new Uint8Array(d.buffer,0,y)}static parseSPS(e){let t=O._ebsp2rbsp(e),n=new Ve(t);n.readByte();let d=n.readByte();n.readByte();let y=n.readByte();n.readUEG();let m=O.getProfileString(d),v=O.getLevelString(y),fe=1,W=420,Ee=[0,420,422,444],Ae=8;if((d===100||d===110||d===122||d===244||d===44||d===83||d===86||d===118||d===128||d===138||d===144)&&(fe=n.readUEG(),fe===3&&n.readBits(1),fe<=3&&(W=Ee[fe]),Ae=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let pt=fe!==3?8:12;for(let at=0;at0&&pt<16?(yt=at[pt-1],Ge=It[pt-1]):pt===255&&(yt=n.readByte()<<8|n.readByte(),Ge=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let pt=n.readBits(32),at=n.readBits(32);G=n.readBool(),ee=at,le=pt*2,Xe=ee/le}}let ge=1;(yt!==1||Ge!==1)&&(ge=yt/Ge);let Fe=0,$e=0;if(fe===0)Fe=1,$e=2-pe;else{let pt=fe===3?1:2,at=fe===1?2:1;Fe=pt,$e=at*(2-pe)}let et=(ke+1)*16,dt=(2-pe)*((Le+1)*16);et-=(ye+ze)*Fe,dt-=(Oe+Qe)*$e;let ct=Math.ceil(et*ge);return n.destroy(),n=null,{profile_string:m,level_string:v,bit_depth:Ae,ref_frames:_e,chroma_format:W,chroma_format_string:O.getChromaFormatString(W),frame_rate:{fixed:G,fps:Xe,fps_den:le,fps_num:ee},sar_ratio:{width:yt,height:Ge},codec_size:{width:et,height:dt},present_size:{width:ct,height:dt}}}static _skipScalingList(e,t){let n=8,d=8,y=0;for(let m=0;m>>8&255|(Ke&255)<<8}function re(Ke){return(Ke&4278190080)>>>24|(Ke&16711680)>>>8|(Ke&65280)<<8|(Ke&255)<<24}function a(Ke,e){return Ke[e]<<24|Ke[e+1]<<16|Ke[e+2]<<8|Ke[e+3]}class o{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Ue,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let d=(t[4]&4)>>>2!==0,y=(t[4]&1)!==0,m=a(t,5);return m<9?n:{match:!0,consumed:m,dataOffset:m,hasAudioTrack:d,hasVideoTrack:y}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Ue}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new E("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,d=this._littleEndian;if(t===0)if(e.byteLength>13)n=o.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&S.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!d)!==0&&S.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let m=y.getUint8(0),v=y.getUint32(0,!d)&16777215;if(n+11+v+4>e.byteLength)break;if(m!==8&&m!==9&&m!==18){S.w(this.TAG,`Unsupported tag type ${m}, skipped`),n+=11+v+4;continue}let fe=y.getUint8(4),W=y.getUint8(5),Ee=y.getUint8(6),Ae=y.getUint8(7),Ze=Ee|W<<8|fe<<16|Ae<<24;(y.getUint32(7,!d)&16777215)!==0&&S.w(this.TAG,"Meet tag which has StreamID != 0!");let ke=n+11;switch(m){case 8:this._parseAudioData(e,ke,v,Ze);break;case 9:this._parseVideoData(e,ke,v,Ze,t+n);break;case 18:this._parseScriptData(e,ke,v);break}let Le=y.getUint32(11+v,!d);Le!==11+v&&S.w(this.TAG,`Invalid PrevTagSize ${Le}`),n+=11+v+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let d=rt.parseScriptData(e,t,n);if(d.hasOwnProperty("onMetaData")){if(d.onMetaData==null||typeof d.onMetaData!="object"){S.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&S.w(this.TAG,"Found another onMetaData tag!"),this._metadata=d;let y=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},y)),typeof y.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=y.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof y.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=y.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof y.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=y.audiodatarate),typeof y.videodatarate=="number"&&(this._mediaInfo.videoDataRate=y.videodatarate),typeof y.width=="number"&&(this._mediaInfo.width=y.width),typeof y.height=="number"&&(this._mediaInfo.height=y.height),typeof y.duration=="number"){if(!this._durationOverrided){let m=Math.floor(y.duration*this._timescale);this._duration=m,this._mediaInfo.duration=m}}else this._mediaInfo.duration=0;if(typeof y.framerate=="number"){let m=Math.floor(y.framerate*1e3);if(m>0){let v=m/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=v,this._referenceFrameRate.fps_num=m,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=v}}if(typeof y.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let m=y.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(m),y.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=y,S.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(d).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},d))}_parseKeyframesIndex(e){let t=[],n=[];for(let d=1;d>>4;if(fe!==2&&fe!==10){this._onError(h.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+fe);return}let W=0,Ee=(v&12)>>>2;if(Ee>=0&&Ee<=4)W=this._flvSoundRateTable[Ee];else{this._onError(h.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Ee);return}let Ae=(v&2)>>>1,Ze=v&1,_e=this._audioMetadata,ke=this._audioTrack;if(_e||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),_e=this._audioMetadata={},_e.type="audio",_e.id=ke.id,_e.timescale=this._timescale,_e.duration=this._duration,_e.audioSampleRate=W,_e.channelCount=Ze===0?1:2),fe===10){let Le=this._parseAACAudioData(e,t+1,n-1);if(Le==null)return;if(Le.packetType===0){_e.config&&S.w(this.TAG,"Found another AudioSpecificConfig!");let pe=Le.data;_e.audioSampleRate=pe.samplingRate,_e.channelCount=pe.channelCount,_e.codec=pe.codec,_e.originalCodec=pe.originalCodec,_e.config=pe.config,_e.refSampleDuration=1024/_e.audioSampleRate*_e.timescale,S.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",_e);let ye=this._mediaInfo;ye.audioCodec=_e.originalCodec,ye.audioSampleRate=_e.audioSampleRate,ye.audioChannelCount=_e.channelCount,ye.hasVideo?ye.videoCodec!=null&&(ye.mimeType='video/x-flv; codecs="'+ye.videoCodec+","+ye.audioCodec+'"'):ye.mimeType='video/x-flv; codecs="'+ye.audioCodec+'"',ye.isComplete()&&this._onMediaInfo(ye)}else if(Le.packetType===1){let pe=this._timestampBase+d,ye={unit:Le.data,length:Le.data.byteLength,dts:pe,pts:pe};ke.samples.push(ye),ke.length+=Le.data.length}else S.e(this.TAG,`Flv: Unsupported AAC data type ${Le.packetType}`)}else if(fe===2){if(!_e.codec){let ze=this._parseMP3AudioData(e,t+1,n-1,!0);if(ze==null)return;_e.audioSampleRate=ze.samplingRate,_e.channelCount=ze.channelCount,_e.codec=ze.codec,_e.originalCodec=ze.originalCodec,_e.refSampleDuration=1152/_e.audioSampleRate*_e.timescale,S.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",_e);let Oe=this._mediaInfo;Oe.audioCodec=_e.codec,Oe.audioSampleRate=_e.audioSampleRate,Oe.audioChannelCount=_e.channelCount,Oe.audioDataRate=ze.bitRate,Oe.hasVideo?Oe.videoCodec!=null&&(Oe.mimeType='video/x-flv; codecs="'+Oe.videoCodec+","+Oe.audioCodec+'"'):Oe.mimeType='video/x-flv; codecs="'+Oe.audioCodec+'"',Oe.isComplete()&&this._onMediaInfo(Oe)}let Le=this._parseMP3AudioData(e,t+1,n-1,!1);if(Le==null)return;let pe=this._timestampBase+d,ye={unit:Le,length:Le.byteLength,dts:pe,pts:pe};ke.samples.push(ye),ke.length+=Le.length}}_parseAACAudioData(e,t,n){if(n<=1){S.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let d={},y=new Uint8Array(e,t,n);return d.packetType=y[0],y[0]===0?d.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):d.data=y.subarray(1),d}_parseAACAudioSpecificConfig(e,t,n){let d=new Uint8Array(e,t,n),y=null,m=0,v=0,fe=null,W=0,Ee=null;if(m=v=d[0]>>>3,W=(d[0]&7)<<1|d[1]>>>7,W<0||W>=this._mpegSamplingRates.length){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Ae=this._mpegSamplingRates[W],Ze=(d[1]&120)>>>3;if(Ze<0||Ze>=8){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}m===5&&(Ee=(d[1]&7)<<1|d[2]>>>7,fe=(d[2]&124)>>>2);let _e=self.navigator.userAgent.toLowerCase();return _e.indexOf("firefox")!==-1?W>=6?(m=5,y=new Array(4),Ee=W-3):(m=2,y=new Array(2),Ee=W):_e.indexOf("android")!==-1?(m=2,y=new Array(2),Ee=W):(m=5,Ee=W,y=new Array(4),W>=6?Ee=W-3:Ze===1&&(m=2,y=new Array(2),Ee=W)),y[0]=m<<3,y[0]|=(W&15)>>>1,y[1]=(W&15)<<7,y[1]|=(Ze&15)<<3,m===5&&(y[1]|=(Ee&15)>>>1,y[2]=(Ee&1)<<7,y[2]|=8,y[3]=0),{config:y,samplingRate:Ae,channelCount:Ze,codec:"mp4a.40."+m,originalCodec:"mp4a.40."+v}}_parseMP3AudioData(e,t,n,d){if(n<4){S.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let y=this._littleEndian,m=new Uint8Array(e,t,n),v=null;if(d){if(m[0]!==255)return;let fe=m[1]>>>3&3,W=(m[1]&6)>>1,Ee=(m[2]&240)>>>4,Ae=(m[2]&12)>>>2,_e=(m[3]>>>6&3)!==3?2:1,ke=0,Le=0,pe=34,ye="mp3";switch(fe){case 0:ke=this._mpegAudioV25SampleRateTable[Ae];break;case 2:ke=this._mpegAudioV20SampleRateTable[Ae];break;case 3:ke=this._mpegAudioV10SampleRateTable[Ae];break}switch(W){case 1:pe=34,Ee>>4,fe=m&15;if(fe!==7){this._onError(h.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${fe}`);return}this._parseAVCVideoPacket(e,t+1,n-1,d,y,v)}_parseAVCVideoPacket(e,t,n,d,y,m){if(n<4){S.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let v=this._littleEndian,fe=new DataView(e,t,n),W=fe.getUint8(0),Ae=(fe.getUint32(0,!v)&16777215)<<8>>8;if(W===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(W===1)this._parseAVCVideoData(e,t+4,n-4,d,y,m,Ae);else if(W!==2){this._onError(h.FORMAT_ERROR,`Flv: Invalid video packet type ${W}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){S.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let d=this._videoMetadata,y=this._videoTrack,m=this._littleEndian,v=new DataView(e,t,n);d?typeof d.avcc!="undefined"&&S.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),d=this._videoMetadata={},d.type="video",d.id=y.id,d.timescale=this._timescale,d.duration=this._duration);let fe=v.getUint8(0),W=v.getUint8(1),Ee=v.getUint8(2),Ae=v.getUint8(3);if(fe!==1||W===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(v.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(h.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let Ze=v.getUint8(5)&31;if(Ze===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Ze>1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${Ze}`);let _e=6;for(let Le=0;Le1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${ke}`);_e++;for(let Le=0;Le=n){S.w(this.TAG,`Malformed Nalu near timestamp ${ke}, offset = ${Ze}, dataSize = ${n}`);break}let pe=W.getUint32(Ze,!fe);if(_e===3&&(pe>>>=8),pe>n-_e){S.w(this.TAG,`Malformed Nalus near timestamp ${ke}, NaluSize > DataSize!`);return}let ye=W.getUint8(Ze+_e)&31;ye===5&&(Le=!0);let ze=new Uint8Array(e,t+Ze,_e+pe),Oe={type:ye,data:ze};Ee.push(Oe),Ae+=ze.byteLength,Ze+=_e+pe}if(Ee.length){let pe=this._videoTrack,ye={units:Ee,length:Ae,isKeyframe:Le,dts:ke,cts:v,pts:ke+v};Le&&(ye.fileposition=y),pe.samples.push(ye),pe.length+=Ae}}}var C=o;class l{static init(){l.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in l.types)l.types.hasOwnProperty(t)&&(l.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=l.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,d=Array.prototype.slice.call(arguments,1),y=d.length;for(let v=0;v>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let m=8;for(let v=0;v>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return l.box(l.types.trak,l.tkhd(e),l.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,d=e.presentWidth,y=e.presentHeight;return l.box(l.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,d>>>8&255,d&255,0,0,y>>>8&255,y&255,0,0]))}static mdia(e){return l.box(l.types.mdia,l.mdhd(e),l.hdlr(e),l.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return l.box(l.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=l.constants.HDLR_AUDIO:t=l.constants.HDLR_VIDEO,l.box(l.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=l.box(l.types.smhd,l.constants.SMHD):t=l.box(l.types.vmhd,l.constants.VMHD),l.box(l.types.minf,t,l.dinf(),l.stbl(e))}static dinf(){return l.box(l.types.dinf,l.box(l.types.dref,l.constants.DREF))}static stbl(e){return l.box(l.types.stbl,l.stsd(e),l.box(l.types.stts,l.constants.STTS),l.box(l.types.stsc,l.constants.STSC),l.box(l.types.stsz,l.constants.STSZ),l.box(l.types.stco,l.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp3(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp4a(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types[".mp3"],d)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types.mp4a,d,l.esds(e))}static esds(e){let t=e.config||[],n=t.length,d=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return l.box(l.types.esds,d)}static avc1(e){let t=e.avcc,n=e.codecWidth,d=e.codecHeight,y=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,d>>>8&255,d&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return l.box(l.types.avc1,y,l.box(l.types.avcC,t))}static mvex(e){return l.box(l.types.mvex,l.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return l.box(l.types.trex,n)}static moof(e,t){return l.box(l.types.moof,l.mfhd(e.sequenceNumber),l.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return l.box(l.types.mfhd,t)}static traf(e,t){let n=e.id,d=l.box(l.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),y=l.box(l.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),m=l.sdtp(e),v=l.trun(e,m.byteLength+16+16+8+16+8+8);return l.box(l.types.traf,d,y,v,m)}static sdtp(e){let t=e.samples||[],n=t.length,d=new Uint8Array(4+n);for(let y=0;y>>24&255,d>>>16&255,d>>>8&255,d&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let v=0;v>>24&255,fe>>>16&255,fe>>>8&255,fe&255,W>>>24&255,W>>>16&255,W>>>8&255,W&255,Ee.isLeading<<2|Ee.dependsOn,Ee.isDependedOn<<6|Ee.hasRedundancy<<4|Ee.isNonSync,0,0,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&255],12+16*v)}return l.box(l.types.trun,m)}static mdat(e){return l.box(l.types.mdat,e)}}l.init();var g=l;class ${static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var ne=$;class Q{constructor(e,t,n,d,y){this.dts=e,this.pts=t,this.duration=n,this.originalDts=d,this.isSyncPoint=y,this.fileposition=null}}class de{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class J{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[y].dts&&et[d].lastSample.originalDts&&e=t[d].lastSample.originalDts&&(d===t.length-1||d0&&(y=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=y,this._list.splice(y,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class X{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new oe("audio"),this._videoSegmentInfoList=new oe("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(w.chrome&&(w.version.major<50||w.version.major===50&&w.version.build<2661)),this._fillSilentAfterSeek=w.msedge||w.msie,this._mp3UseMpegAudio=!w.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new E("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,d="mp4",y=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(d="mpeg",y="",n=new Uint8Array):n=g.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=g.generateInitSegment(t);else return;if(!this._onInitSegment)throw new E("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:y,container:`${e}/${d}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let d={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(d.samples.push(t),d.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(d,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,d=n.samples,y,m=-1,v=-1,fe=-1,W=this._audioMeta.refSampleDuration,Ee=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ae=this._dtsBaseInited&&this._audioNextDts===void 0,Ze=!1;if(!d||d.length===0||d.length===1&&!t)return;let _e=0,ke=null,Le=0;Ee?(_e=0,Le=n.length):(_e=8,Le=8+n.length);let pe=null;if(d.length>1&&(pe=d.pop(),Le-=pe.length),this._audioStashedLastSample!=null){let Ge=this._audioStashedLastSample;this._audioStashedLastSample=null,d.unshift(Ge),Le+=Ge.length}pe!=null&&(this._audioStashedLastSample=pe);let ye=d[0].dts-this._dtsBase;if(this._audioNextDts)y=ye-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())y=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(Ze=!0);else{let Ge=this._audioSegmentInfoList.getLastSampleBefore(ye);if(Ge!=null){let Xe=ye-(Ge.originalDts+Ge.duration);Xe<=3&&(Xe=0);let G=Ge.dts+Ge.duration+Xe;y=ye-G}else y=0}if(Ze){let Ge=ye-y,Xe=this._videoSegmentInfoList.getLastSegmentBefore(ye);if(Xe!=null&&Xe.beginDts=1?ve=ze[ze.length-1].duration:ve=Math.floor(W);let ge=!1,Fe=null;if(ve>W*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!w.safari){ge=!0;let $e=Math.abs(ve-W),et=Math.ceil($e/W),dt=le+W;S.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. +!(function(){var Yr=Object.defineProperty,Jr=Object.defineProperties;var Qr=Object.getOwnPropertyDescriptors;var Ir=Object.getOwnPropertySymbols;var Br=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable;var Nr=(Je,q,r)=>q in Je?Yr(Je,q,{enumerable:!0,configurable:!0,writable:!0,value:r}):Je[q]=r,qn=(Je,q)=>{for(var r in q||(q={}))Br.call(q,r)&&Nr(Je,r,q[r]);if(Ir)for(var r of Ir(q))Kr.call(q,r)&&Nr(Je,r,q[r]);return Je},Ar=(Je,q)=>Jr(Je,Qr(q));var Zr=(Je,q)=>{var r={};for(var u in Je)Br.call(Je,u)&&q.indexOf(u)<0&&(r[u]=Je[u]);if(Je!=null&&Ir)for(var u of Ir(Je))q.indexOf(u)<0&&Kr.call(Je,u)&&(r[u]=Je[u]);return r};(self.webpackChunk=self.webpackChunk||[]).push([[895],{40001:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},49198:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},84105:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},18785:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},52671:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},8657:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},56082:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},33853:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},15075:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},43531:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},38819:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},47472:function(Je,q,r){"use strict";r.d(q,{Z:function(){return te}});var u=r(54476),p=r(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Z=P,R=r(7657),S=function(E,ue){return p.createElement(R.Z,(0,u.Z)({},E,{ref:ue,icon:Z}))},U=p.forwardRef(S),te=U},64154:function(Je,q,r){"use strict";r.d(q,{Z:function(){return ue}});var u=r(59301),p=r(92123),P=r(8591),Z=r(43597),R={flex_box_center:"flex_box_center___kVqBh",flex_space_between:"flex_space_between___FMnNq",flex_box_vertical_center:"flex_box_vertical_center___meESe",flex_box_center_end:"flex_box_center_end___KFpOb",flex_box_column:"flex_box_column___GHIK9",video:"video___nn_cD"},S=r(51148),U=r(59301),te=(L,_,j)=>new Promise((k,B)=>{var z=I=>{try{A(j.next(I))}catch(b){B(b)}},w=I=>{try{A(j.throw(I))}catch(b){B(b)}},A=I=>I.done?k(I.value):Promise.resolve(I.value).then(z,w);A((j=j.apply(L,_)).next())});const Y=function(_,j){const k=_.split(","),B=k[0].match(/:(.*?);/)[1],z=atob(k[1]);let w=z.length;const A=new Uint8Array(w);for(;w--;)A[w]=z.charCodeAt(w);return new Blob([A],{type:B})};var ue=(0,u.forwardRef)(({time:L,number:_,supportCamera:j,take_photo:k,isExercise:B=!0,update:z,onUserMediaLoaded:w},A)=>{const I=(0,u.useRef)(),b=(0,u.useRef)(),c=(0,p.useParams)();let[i,s]=(0,u.useState)([]),[f,N]=(0,u.useState)(0);const[F,ie]=(0,u.useState)("");let[M,ce]=(0,u.useState)();const[H,be]=(0,u.useState)(0),T=(xe,Ue)=>te(void 0,null,function*(){return(0,Z.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:xe,file:Ue}})}),ae=xe=>te(void 0,null,function*(){const Ue=new Date().valueOf();if(xe){const tt=yield T(`\u7167\u7247${Ue}`,xe);tt.status||(yield(0,S.Ju)({container_id:c.categoryId,container_type:"Exercise",attachment_id:tt==null?void 0:tt.id}))}});(0,u.useEffect)(()=>(we(),()=>{Re(),De()}),[]),(0,u.useEffect)(()=>{f===2&&L&&_>0&&(se(),be(1))},[L]),(0,u.useEffect)(()=>{if(H!==0){if(H===2)clearInterval(M);else{let xe=0,Ue=setInterval(()=>{i.includes(xe)&&Ie(),xe++},1e3);ce(Ue)}return()=>clearInterval(M)}},[H]),(0,u.useImperativeHandle)(A,()=>({handlePhoto:Ie,handleTakePhoto:Ce}));const De=()=>{be(2)},se=()=>{const xe=L/_,Ue=[];function tt(he,je){return parseInt(Math.floor(Math.random()*(je-he+1))+he)}new Array(_).fill(0).map((he,je)=>{k?Ue.push(tt(xe*je,xe*(je+1))):je==0?Ue.push(0):Ue.push(tt(xe*je,xe*(je+1)))}),i=Ue,s([...Ue]),console.log(Ue)},we=()=>{navigator.mediaDevices===void 0&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia===void 0&&(navigator.mediaDevices.getUserMedia=function(xe){const Ue=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return Ue?new Promise(function(tt,he){Ue.call(navigator,xe,tt,he)}):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}),navigator.mediaDevices.getUserMedia({video:{width:640,height:480}}).then(function(xe){Se.current=xe,j&&j(2),N(2),"srcObject"in I.current?I.current.srcObject=xe:I.current.src=window.URL.createObjectURL(xe),I.current.onloadedmetadata=function(Ue){I.current.play(),w&&w()},I.current.addEventListener("ended",function(){console.log("\u64AD\u653E\u7ED3\u675F"),De(),B&&P.ZP.error({content:"\u60A8\u5DF2\u7ECF\u5173\u95ED\u4E86\u6444\u50CF\u5934\uFF0C\u8BF7\u572810\u79D2\u949F\u5185\u6062\u590D\u6444\u50CF\u5934\uFF0C\u5426\u5219\u5C06\u63A8\u51FA\u8003\u8BD5",duration:10,key:9998})},!1)}).catch(function(xe){N(1),j&&j(1),xe.message==="Permission denied"||xe.name==="NotAllowedError"?P.ZP.error("\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"):P.ZP.error("\u6444\u50CF\u5934\u83B7\u53D6\u5931\u8D25\uFF0C\u6216\u60A8\u5DF2\u62D2\u7EDD\u4E86\u83B7\u53D6\u6444\u50CF\u5934"),console.log("errname: "+xe.name),console.log("err: "+xe.message)})},Ie=()=>{try{b.current.width=I.current.videoWidth,b.current.height=I.current.videoHeight,b.current.getContext("2d").drawImage(I.current,0,0,b.current.width,b.current.height),ie(b.current.toDataURL("image/png")),ae(b.current.toDataURL("image/png")),Ne(b.current.toDataURL("image/png"))}catch(xe){}},Ce=()=>{try{return b.current.width=I.current.videoWidth,b.current.height=I.current.videoHeight,b.current.getContext("2d").drawImage(I.current,0,0,b.current.width,b.current.height),b.current.toDataURL("image/png")}catch(xe){}},Se=(0,u.useRef)(),Re=()=>{try{Se.current.getTracks().forEach(function(tt){tt.stop()}),I.current.srcObject=null}catch(xe){}},Ne=xe=>te(void 0,null,function*(){const Ue=new FormData;Ue.append("file",Y(xe,"1")),Ue.append("1","123");var tt=new window.XMLHttpRequest;tt.withCredentials=!0,tt.addEventListener("load",function(he){let je=JSON.parse(he.target.responseText);(0,Z.ZP)(`/api/exercises/${id}/upload_photo.json`,{method:"post",body:{attachment_id:je.id}})},!1),tt.addEventListener("error",function(he){console.error(he)},!1),tt.open("POST",`${ENV.API_SERVER}/api/attachments.json`),tt.send(Ue)});return U.createElement(U.Fragment,null,f!==3&&U.createElement("aside",{className:R.video,id:"screenshot"},f===0&&U.createElement("span",null,"\u6B63\u5728\u5F00\u542F\u6444\u50CF\u5934..."),f===1&&U.createElement("span",null,"\u6444\u50CF\u5934\u5F00\u542F\u5931\u8D25"),f===2&&U.createElement("div",null,U.createElement("video",{width:"288",ref:I,autoPlay:!0}),U.createElement("canvas",{style:{display:"none"},ref:b}))))})},80092:function(Je,q,r){"use strict";var u=r(59301),p=r(51148),P=r(43597),Z=r(43418),R=r(96249),S=r.n(R),U=r(64154),te=Object.defineProperty,Y=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,L=(B,z,w)=>z in B?te(B,z,{enumerable:!0,configurable:!0,writable:!0,value:w}):B[z]=w,_=(B,z)=>{for(var w in z||(z={}))E.call(z,w)&&L(B,w,z[w]);if(Y)for(var w of Y(z))ue.call(z,w)&&L(B,w,z[w]);return B},j=(B,z,w)=>new Promise((A,I)=>{var b=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(b,c);i((w=w.apply(B,z)).next())});const k=({style:B={},data:z={}})=>{const w=(0,u.useRef)(),A=(0,u.useRef)(),[I,b]=(0,u.useState)(!1),[c,i]=(0,u.useState)(!1),[s,f]=(0,u.useState)({left:0,top:0,bottom:0,right:0}),N=(0,u.useRef)(null);(0,u.useEffect)(()=>(Z.default.info({title:"\u63D0\u793A",width:642,icon:null,centered:!0,content:u.createElement("div",null,u.createElement("div",null,"\u5DF2\u7ECF\u5F00\u542F\u5B66\u4E60\u884C\u4E3A\u5206\u6790\uFF0C\u9700\u8981\u8C03\u7528\u4F60\u8BBE\u5907\u7684\u6444\u50CF\u5934\uFF0C\u8BF7\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\u3002"),u.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/36625"},"\u5982\u4F55\u5F00\u542F\u6D4F\u89C8\u5668\u6444\u50CF\u5934\u6743\u9650\uFF1F")),okText:"\u6211\u77E5\u9053\u4E86",onOk:()=>{b(!0)}}),()=>{clearInterval(A.current)}),[]);const F=(ce,H)=>j(void 0,null,function*(){return(0,P.ZP)("/api/attachments.json",{method:"POST",body:{file_type:"base64",original_filename:ce,file:H}})}),ie=()=>j(void 0,null,function*(){var ce;const H=(ce=w.current)==null?void 0:ce.handleTakePhoto(),be=new Date().valueOf();if(H){const T=yield F(`\u7167\u7247${be}`,H);T.status||(yield(0,p.Ju)(_({attachment_id:T==null?void 0:T.id},z)))}}),M=(ce,H)=>{var be;const{clientWidth:T,clientHeight:ae}=window.document.documentElement,De=(be=N.current)==null?void 0:be.getBoundingClientRect();f({left:-De.left+H.x,right:T-(De.right-H.x),top:-De.top+H.y,bottom:ae-(De.bottom-H.y)})};return u.createElement(u.Fragment,null,I&&u.createElement(S(),{disabled:c,bounds:s,onStart:(ce,H)=>M(ce,H)},u.createElement("div",{ref:N,style:_({position:"fixed",left:40,top:92,zIndex:101},B)},u.createElement("div",{onMouseOver:()=>{c&&i(!1)},onMouseOut:()=>{i(!0)}},u.createElement("div",null,u.createElement(U.Z,{ref:w,isExercise:!1,onUserMediaLoaded:()=>{ie(),A.current=window.setInterval(()=>j(void 0,null,function*(){ie()}),1e3*120)}}))))))};q.Z=k},81032:function(Je,q,r){"use strict";r.d(q,{Z:function(){return k}});var u=r(59301),p=r(8591),P=r(38854),Z=r(96640),R=r(80360),S=r(47141),U=r(56102),te=r(18030),Y={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},E=(B,z,w)=>new Promise((A,I)=>{var b=s=>{try{i(w.next(s))}catch(f){I(f)}},c=s=>{try{i(w.throw(s))}catch(f){I(f)}},i=s=>s.done?A(s.value):Promise.resolve(s.value).then(b,c);i((w=w.apply(B,z)).next())});function ue(B){if(isNaN(B))return{minutes:"00",seconds:"00"};const z=new Date(B*1e3).toISOString().substr(11,8);return{hour:z.substr(0,2),minutes:z.substr(3,2),seconds:z.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function L(B,z){return B-z}function _(B){B.sort(L);let z=0;for(let w=0;w{},handlePlay:s=()=>{},handlePlayEnded:f=()=>{},autoPlay:N=!1,onPlayEnded:F=()=>{},isShowWaterMark:ie=!0},M)=>{var ce;const be=((ce=z==null?void 0:z.split("."))==null?void 0:ce.pop())==="flv",T=(0,u.useRef)(),ae=(0,u.useRef)(),De=(0,u.useRef)(),se=(0,u.useRef)(),we=(0,u.useRef)(),Ie=(0,u.useRef)(),Ce=(0,u.useRef)(),Se=(0,u.useRef)(),Re=(0,u.useRef)(),Ne=(0,u.useRef)(),xe=(0,u.useRef)(),Ue=(0,u.useRef)(),tt=(0,u.useRef)(),he=(0,u.useRef)(),je=navigator.userAgent.toLowerCase().match(j),Pe=je?je[0]:"pc",We=(0,u.useRef)(!1),rt=(0,S.eY)();let me=0,Ve=0,O=0,D=null,x=!1,h=20,K=1,re=!1,a=!1,o=[];(0,u.useImperativeHandle)(M,()=>({getLastUpdatedTime:()=>T.current.currentTime,getDuration:()=>T.current.duration})),p.ZP.config({maxCount:1,getContainer:()=>De.current});const C=(0,u.useCallback)((J,oe=!1)=>{let X={point:T.current.currentTime};D?(X.log_id=D,X.watch_duration=_(o),X.total_duration=Ve):(b?(X.video_id=parseInt(A,10),X.course_id=b):X.video_id=A,X.duration=me,X.device=Pe),oe&&(X.ed="1");function Be(){return E(this,null,function*(){re=!0,D=yield I==null?void 0:I(X),re=!1,J&&J()})}Be()},[A,b]);(0,u.useEffect)(()=>{T.current&&(se.current.style.display="none",we.current.style.display="block"),p.ZP.destroy();let J=null;return Z.Z.isSupported&&be&&z&&(z==null?void 0:z.indexOf(".m3u8"))<0?(J=Z.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:z,muted:!1}),T.current&&(J.attachMediaElement(T.current),J.load())):T.current.setAttribute("src",z),g(),()=>{J&&(J.unload(),J.pause(),J.destroy(),J=null)}},[T,be,z]);function l(){T.current.paused?(se.current.style.display="none",we.current.style.display="block"):(se.current.style.display="block",we.current.style.display="none")}function g(){xe.current.style.display="none",tt.current.style.display="none",Ue.current.style.display="none",T.current.muted||T.current.volume===0?xe.current.style.display="block":T.current.volume>0&&T.current.volume<=.5?tt.current.style.display="block":Ue.current.style.display="block"}(0,u.useEffect)(()=>{const J=document.getElementById("play"),oe=document.querySelectorAll(".playback-icons use");function X(){s(),c&&!We.current&&(T.current.currentTime=c),We.current=!0,o.push(T.current.currentTime),x||(x=!0,w&&C())}function Be(){return E(this,null,function*(){l(),o.push(T.current.currentTime),w&&C(()=>{D=null,O=0,x=!1,re=!1,a=!1,o=[],Ve=0,K=1},!0),F()})}function Te(){Ie.current.value=Math.round(T.current.currentTime),Ce.current.value=Math.round(T.current.currentTime)}function V(){const He=ue(Math.round(T.current.currentTime));Re.current.innerText=`${He.hour>0?He.hour+":":""}${He.minutes}:${He.seconds}`,Re.current.setAttribute("datetime",`${He.hour>0?" "+He.hour+" ":""}${He.minutes}m ${He.seconds}s`)}function Me(){var He,ft,Lt,lt,Tt,nn,$t;const Xt=Math.round((He=T.current)==null?void 0:He.duration);(Lt=(ft=Ie.current)==null?void 0:ft.setAttribute)==null||Lt.call(ft,"max",Xt),(Tt=(lt=Ce.current)==null?void 0:lt.setAttribute)==null||Tt.call(lt,"max",Xt);const Kt=ue(Xt);Se.current&&(Se.current.innerText=`${Kt.hour>0?Kt.hour+":":""}${Kt.minutes}:${Kt.seconds}`,($t=(nn=Se.current).setAttribute)==null||$t.call(nn,"datetime",`${Kt.hour>0?" "+Kt.hour+" ":""}${Kt.minutes}m ${Kt.seconds}s`))}function Ye(){try{const He=Math.round(T.current.duration);Ie.current.setAttribute("max",He),Ce.current.setAttribute("max",He);const ft=ue(He);Se.current.innerText=`${ft.hour>0?ft.hour+":":""}${ft.minutes}:${ft.seconds}`,Se.current.setAttribute("datetime",`${ft.hour>0?" "+ft.hour+" ":""}${ft.minutes}m ${ft.seconds}s`),Te(),V();const{width:Lt,height:lt,x:Tt,y:nn}=ae.current.getBoundingClientRect();if(Tt<0||nn<0||!Lt)return;if(!a){let $t=T.current.currentTime,Xt=$t-O;Math.abs(Xt)<10?(Ve+=Math.abs(Xt),O=$t,re||Ve-K*h>=0&&(K++,o.push(O),w&&C())):(O=$t,w&&C())}}catch(He){console.log(He)}}function ot(){a=!0}function nt(){T.current.playing&&o.push(T.current.currentTime,O),O=T.current.currentTime,a=!1}function qe(){me=T.current.duration,me<=20&&(h=me/3),T.current.addEventListener("play",X)}function ht(He){He.preventDefault(),(0,te.vp)()?(T.current.style.width="100%",T.current.style.height="100%"):T.current.style.cssText=""}function mt(){i()}function vt(He){if(!B){p.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const ft=He.target.dataset.seek?He.target.dataset.seek:He.target.value;T.current.currentTime=ft,Ce.current.value=ft,Ie.current.value=ft}function wt(He){const ft=Math.round(He.offsetX/He.target.clientWidth*parseInt(He.target.getAttribute("max"),10));Ie.current.setAttribute("data-seek",ft);const Lt=ue(ft);Ne.current.textContent=`${Lt.hour>0?Lt.hour+":":""}${Lt.minutes}:${Lt.seconds}`;const lt=T.current.getBoundingClientRect();Ne.current.style.left=`${He.pageX-lt.left}px`}function xt(He){switch(He.code){case"Space":He.preventDefault(),Q();break;case"ArrowRight":if(He.preventDefault(),!B){p.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime>=T.current.duration)break;T.current.currentTime=parseInt(T.current.currentTime)+5,Te();break;case"ArrowLeft":if(He.preventDefault(),!B){p.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(T.current.currentTime===0)break;T.current.currentTime=parseInt(T.current.currentTime)-5,Te();break;case"ArrowUp":He.preventDefault(),T.current.volume<1&&(T.current.volume=(parseInt(T.current.volume*10)+1)/10);break;case"ArrowDown":He.preventDefault(),T.current.volume>0&&(T.current.volume=(parseInt(T.current.volume*10)-1)/10);break}}return De.current.addEventListener((0,te.gH)(),ht),T.current.addEventListener("canplay",qe),T.current.addEventListener("ended",Be),T.current.addEventListener("seeking",ot),T.current.addEventListener("seeked",nt),T.current.addEventListener("loadedmetadata",Me),Ie.current.addEventListener("mousemove",wt),Ie.current.addEventListener("input",vt),T.current.addEventListener("timeupdate",Ye),T.current.addEventListener("pause",mt),T.current.addEventListener("volumechange",g),document.addEventListener("keydown",xt),()=>{var He,ft,Lt,lt,Tt,nn,$t,Xt,Kt,kt,fn,Ke;(He=T.current)==null||He.removeEventListener("canplay",qe),(ft=T.current)==null||ft.removeEventListener("play",X),(Lt=T.current)==null||Lt.removeEventListener("ended",Be),(lt=T.current)==null||lt.removeEventListener("seeking",ot),(Tt=T.current)==null||Tt.removeEventListener("seeked",nt),(nn=Ie.current)==null||nn.removeEventListener("mousemove",wt),($t=Ie.current)==null||$t.removeEventListener("input",vt),(Xt=T.current)==null||Xt.removeEventListener("timeupdate",Ye),(Kt=T.current)==null||Kt.removeEventListener("pause",mt),(kt=T.current)==null||kt.removeEventListener("loadedmetadata",Me),(fn=T.current)==null||fn.removeEventListener("volumechange",g),document.removeEventListener("keydown",xt),(Ke=T.current)!=null&&Ke.playing&&(o.push(O,T.current.currentTime),w&&C())}},[T,z]),(0,u.useEffect)(()=>{if(T.current.onended=()=>{f(T)},T.current.oncontextmenu=()=>!1,(z==null?void 0:z.indexOf(".m3u8"))>-1){if(T.current.canPlayType("application/vnd.apple.mpegurl"))T.current.src=z;else if(R.ZP.isSupported()){var J=new R.ZP;J.loadSource(z),J.attachMedia(T.current)}}},[z]);const[$,ne]=(0,u.useState)(1),Q=()=>{T.current.paused||T.current.ended?T.current.play():T.current.pause(),l()};function de(){T.current.muted=!T.current.muted,T.current.muted?(he.current.setAttribute("data-volume",volume.value),he.current.value=0):he.current.value=he.current.dataset.volume}return u.createElement("div",{style:{position:"relative"},ref:De},u.createElement("div",{ref:ae,className:`${Y.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${Y.animate__loop}`},ie&&rt?rt.login:" "),u.createElement("div",{className:Y.container},u.createElement("div",{className:Y["video-container"],id:"video-container"},u.createElement("div",{className:Y["playback-animation"],id:"playback-animation"},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{className:"hidden",href:"#play-icon"}),u.createElement("use",{href:"#pause"}))),u.createElement("video",{className:Y.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:T,autoPlay:N}),u.createElement("div",{className:`${Y["video-controls"]} `,id:"video-controls"},u.createElement("div",{className:Y["bottom-controls"]},u.createElement("div",{className:Y["left-controls"]},u.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Q},u.createElement("svg",{className:Y["playback-icons"]},u.createElement("use",{ref:we,href:"#play-icon"}),u.createElement("use",{ref:se,style:{display:"none"},href:"#pause"}))),u.createElement("div",{className:Y.time},u.createElement("time",{id:"time-elapsed",ref:Re},"00:00"),u.createElement("span",null," / "),u.createElement("time",{id:"duration",ref:Se},"00:00"))),u.createElement("div",{className:Y["right-controls"]},B&&u.createElement(P.Z,{placement:"top",overlayClassName:Y.rateOverlay,getPopupContainer:J=>J.parentNode,menu:{items:[{key:"1",label:u.createElement("span",{onClick:()=>{ne(1),T.current.playbackRate=1}},"1.0x")},{key:"2",label:u.createElement("span",{onClick:()=>{ne(1.5),T.current.playbackRate=1.5}},"1.5x")},{key:"3",label:u.createElement("span",{onClick:()=>{ne(2),T.current.playbackRate=2}},"2.0x")}]}},u.createElement("div",{className:`${Y.controlText} mr5`},"\u500D\u901F")),u.createElement(U.CopyToClipboard,{text:z,onCopy:()=>p.ZP.success("\u590D\u5236\u6210\u529F")},u.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},u.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),u.createElement("div",{className:Y["volume-controls"]},u.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:Y["volume-button"],id:"volume-button",onClick:de},u.createElement("i",{ref:xe,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:tt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),u.createElement("i",{ref:Ue,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),u.createElement("input",{className:Y.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:he,style:{display:"none"},onClick:g})),u.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:Y["fullscreen-button"],onClick:()=>{(0,te.vp)()?(0,te.BU)():(0,te.Dj)(De.current)}},u.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),u.createElement("div",{className:Y["video-progress"]},u.createElement("progress",{ref:Ce,value:"0",min:"0"}),u.createElement("input",{className:Y.seek,ref:Ie,value:"0",min:"0",type:"range",step:"1"}),u.createElement("div",{className:Y["seek-tooltip"],ref:Ne,id:"seek-tooltip"},"00:00"))))),u.createElement("svg",{style:{display:"none"}},u.createElement("defs",null,u.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),u.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},u.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),u.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),u.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},u.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),u.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},u.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),u.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},u.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),u.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},u.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),u.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},u.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},76332:function(Je,q,r){"use strict";r.r(q),r.d(q,{default:function(){return tt}});var u=r(59301),p=r(92123),P=r(71418),Z={flex_box_center:"flex_box_center___gO3nd",flex_space_between:"flex_space_between___KljaZ",flex_box_vertical_center:"flex_box_vertical_center___fa17H",flex_box_center_end:"flex_box_center_end___Iha2a",flex_box_column:"flex_box_column___mCF7g",bg:"bg___yhRK8"},R=r(24334),S=r(81032),U=r(6848),te=r(58421),Y={contentWrap:"contentWrap___d4rCm",title:"title___bLyk5",footer:"footer___V7GbH",footer_left:"footer_left___ofIZM",footer_bfcs:"footer_bfcs___HUUgS",footer_bfcs_value:"footer_bfcs_value___T9e5h",pingfen:"pingfen___SEAu2",fenshu:"fenshu___GM8ss",radioGroup:"radioGroup___Bedpr",wrap:"wrap___PxISS",introName:"introName___l9xpu",rating:"rating___vCxjz",modalRating:"modalRating___UBNfA",zdbf:"zdbf___YbIbO",video_list:"video_list___KuU04",video_list_item:"video_list_item___gErkF",list_img:"list_img___MPWpq",list_text:"list_text___bEa03"},E=r(51148),ue=r(43597),L=r(94601),_=r(80092),j=r(47141),k=r(59301),B=Object.defineProperty,z=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,I=(he,je,Pe)=>je in he?B(he,je,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[je]=Pe,b=(he,je)=>{for(var Pe in je||(je={}))w.call(je,Pe)&&I(he,Pe,je[Pe]);if(z)for(var Pe of z(je))A.call(je,Pe)&&I(he,Pe,je[Pe]);return he},c=(he,je)=>{var Pe={};for(var We in he)w.call(he,We)&&je.indexOf(We)<0&&(Pe[We]=he[We]);if(he!=null&&z)for(var We of z(he))je.indexOf(We)<0&&A.call(he,We)&&(Pe[We]=he[We]);return Pe},i=(he,je,Pe)=>new Promise((We,rt)=>{var me=D=>{try{O(Pe.next(D))}catch(x){rt(x)}},Ve=D=>{try{O(Pe.throw(D))}catch(x){rt(x)}},O=D=>D.done?We(D.value):Promise.resolve(D.value).then(me,Ve);O((Pe=Pe.apply(he,je)).next())});const s=he=>{var je=he,{videoDetail:Pe,globalSetting:We,loading:rt,dispatch:me}=je,Ve=c(je,["videoDetail","globalSetting","loading","dispatch"]);const O=(0,p.useParams)(),[D]=(0,p.useSearchParams)(),[x,h]=(0,u.useState)({}),[K,re]=(0,u.useState)([]),[a,o]=(0,u.useState)(!1),[C,l]=(0,u.useState)(1),[g,$]=(0,u.useState)(4),[ne,Q]=(0,u.useState)(0),de=(0,u.useRef)(),J=(0,u.useRef)(),oe=(0,u.useRef)(5),X=(0,u.useRef)(null),Be=(qe,ht)=>i(void 0,null,function*(){var mt,vt,wt,xt;if((vt=(mt=Pe==null?void 0:Pe.detail)==null?void 0:mt.detail)!=null&&vt.course_video_id){let He=yield(0,ue.ZP)(`/api/courses/${O==null?void 0:O.videoId}/ilearning_videos.json`,{method:"get",params:{type:2,limit:ht,video_id:(xt=(wt=Pe==null?void 0:Pe.detail)==null?void 0:wt.detail)==null?void 0:xt.course_video_id,page:qe}});(He==null?void 0:He.status)==0&&(re(He==null?void 0:He.videos),Q(He==null?void 0:He.total_count))}});(0,u.useEffect)(()=>{var qe;h((qe=Pe==null?void 0:Pe.detail)==null?void 0:qe.detail),l(1),Be(1,g),clearTimeout(X.current),o(!1),X.current=setTimeout(()=>{var ht,mt;(mt=(ht=Pe==null?void 0:Pe.detail)==null?void 0:ht.detail)!=null&&mt.action_analysis&&o(!0)},1e3)},[Pe==null?void 0:Pe.detail]);const Te=qe=>{if(!qe.length)return[];const ht=[],mt=vt=>(vt.forEach(wt=>{let xt={};xt=JSON.parse(JSON.stringify(wt)),wt!=null&&wt.course_video_id&&ht.push(xt),wt.coruse_videos&&mt(wt.coruse_videos)}),ht);return mt(qe)},V=(qe=!1)=>{const ht=qe?{is_f:1}:{};return(0,E.DH)(b(b({},ht),{id:O.videoId,point:de.current.getLastUpdatedTime(),total:de.current.getDuration()}))},Me=()=>{J.current=!1},Ye=()=>{J.current=!0},ot=qe=>{o(!1)},nt=qe=>me({type:"userDetail/logWatchHistory",payload:qe});return console.log(x,O,"video_item"),k.createElement("aside",{className:Y.contentWrap},k.createElement("aside",{className:Y.wrap},k.createElement("div",{className:Y.title},x==null?void 0:x.title),k.createElement(S.Z,{ref:de,isShowWaterMark:x==null?void 0:x.show_watermark,startTime:x==null?void 0:x.last_point,src:x!=null&&x.is_link?x==null?void 0:x.link:(x==null?void 0:x.play_url)&&R.Base64.decode(x==null?void 0:x.play_url),videoId:x==null?void 0:x.course_video_id,courseId:O==null?void 0:O.videoId,handlePause:Me,handlePlay:Ye,allow_skip:x==null?void 0:x.allow_skip,handlePlayEnded:ot,logWatchHistory:nt,toLog:()=>{}}),k.createElement("div",{className:Y.footer},k.createElement("div",{className:Y.footer_left},k.createElement("div",{className:Y.footer_bfcs},"\u64AD\u653E\u6B21\u6570 "),k.createElement("div",{className:Y.footer_bfcs_value},(x==null?void 0:x.people_num)||0))),k.createElement("div",{className:Y.title,style:{fontSize:20,fontWeight:400}},"\u76F8\u5173\u89C6\u9891\u63A8\u8350"),k.createElement("div",{className:Y.video_list},K==null?void 0:K.map((qe,ht)=>k.createElement("div",{key:ht,className:Y.video_list_item,onClick:()=>{(0,L.xg)(qe==null?void 0:qe.link_url)}},k.createElement("img",{src:qe==null?void 0:qe.cover_url,className:Y.list_img}),k.createElement(U.Z,{placement:"bottom",title:qe==null?void 0:qe.title},k.createElement("div",{className:Y.list_text},qe==null?void 0:qe.title))))),k.createElement(te.Z,{showQuickJumper:!0,style:{marginTop:10,textAlign:"right"},onChange:(qe,ht)=>{$(ht),l(qe),Be(qe,ht)},showSizeChanger:!0,pageSizeOptions:["4","8","12","16","20"],defaultCurrent:1,pageSize:g,current:C,hideOnSinglePage:!ne,total:ne})),a&&(0,j.dE)()&&k.createElement(_.Z,{data:{container_id:x.course_video_id,container_type:"CourseVideo"}}))};var f=(0,p.connect)(({videoDetail:he,loading:je,globalSetting:Pe})=>({videoDetail:he,globalSetting:Pe,loading:je}))(s),N=r(43418),F=r(8591),ie=r(17574),M={flex_box_center:"flex_box_center___hRcmo",flex_space_between:"flex_space_between___mhQ84",flex_box_vertical_center:"flex_box_vertical_center___pWKUB",flex_box_center_end:"flex_box_center_end____UrsC",flex_box_column:"flex_box_column___qkAD1",list:"list___hYrSN",tree_style:"tree_style___UBl2H",title:"title___sw9X3",gray:"gray___KV9jR",brght:"brght___uqI6i",s1:"s1___kwobs",s3:"s3___CFhfR",active:"active___NS7Wp",tree_line:"tree_line___YDLUU",tabs_style:"tabs_style___ZG9FL",tabs_item:"tabs_item___oVjFx",tabs_item_active:"tabs_item_active___pLWXc"},ce=r(39598),H=r(16140),be=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,De=(he,je)=>{var Pe={};for(var We in he)T.call(he,We)&&je.indexOf(We)<0&&(Pe[We]=he[We]);if(he!=null&&be)for(var We of be(he))je.indexOf(We)<0&&ae.call(he,We)&&(Pe[We]=he[We]);return Pe},se=(he,je,Pe)=>new Promise((We,rt)=>{var me=D=>{try{O(Pe.next(D))}catch(x){rt(x)}},Ve=D=>{try{O(Pe.throw(D))}catch(x){rt(x)}},O=D=>D.done?We(D.value):Promise.resolve(D.value).then(me,Ve);O((Pe=Pe.apply(he,je)).next())});const we=[{name:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",icon:u.createElement("i",{className:"iconfont icon-shixun2 font20"}),bq:u.createElement("span",{style:{border:"1px solid #FF9D18",color:"#FF9D18"},className:M.s1},"\u5B9E\u8BAD")},{name:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",icon:u.createElement("i",{className:"iconfont icon-shipin font20"}),bq:u.createElement("span",{style:{border:"1px solid #9B18FF",color:"#9B18FF"},className:M.s1},"\u89C6\u9891")},{name:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",icon:u.createElement("i",{className:"iconfont icon-jiaoxueanli font20"}),bq:u.createElement("span",{style:{border:"1px solid #3061D0",color:"#3061D0"},className:M.s1},"\u8D44\u6599")},{name:"\u7A7A\u76EE\u5F55",type:"StageCatalog",icon:u.createElement("i",{className:"iconfont icon-kongbai font20"}),bq:u.createElement("span",null)}],Ie=he=>{var je=he,{dispatch:Pe,pathsDetail:We,videoDetail:rt,user:me}=je,Ve=De(je,["dispatch","pathsDetail","videoDetail","user"]);const{queryParams:O,stages:D,cust_seq:x,active:h}=rt,[K]=(0,p.useSearchParams)(),[re,a]=(0,u.useState)([]),[o,C]=(0,u.useState)("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"),l=(0,p.useParams)(),[g,$]=(0,u.useState)(0),[ne,Q]=(0,u.useState)("");(0,u.useEffect)(()=>{Pe({type:"videoDetail/getVideoData",payload:{id:l==null?void 0:l.videoId}})},[]),(0,u.useEffect)(()=>{var Te,V;$((V=(Te=rt==null?void 0:rt.detail)==null?void 0:Te.detail)==null?void 0:V.course_video_id),Q(new Date)},[rt==null?void 0:rt.detail]),(0,u.useEffect)(()=>{de()},[rt==null?void 0:rt.stages]);const de=()=>{let Te=re;D.forEach((V,Me)=>{Pe({type:"videoDetail/setVideoTabs",payload:{key:K.get("new_video_id")}}),K.get("new_video_id")==(V==null?void 0:V.course_video_id)&&Pe({type:"videoDetail/setVideoValue",payload:{detail:V}}),Te.push({title:u.createElement("div",{title:V.name,className:M.title},V.name),value:V==null?void 0:V.id,key:V==null?void 0:V.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:J(V.children||[])})}),a(Te)},J=Te=>{function V(Me){const Ye=Me.children,ot=Array.isArray(Ye)&&Ye.length>0,{name:nt,course_video_id:qe}=Me,ht=M.brght,mt=K.get("new_video_id")===qe?`${ht} ${M.active}`:ht;return K.get("new_video_id")==(Me==null?void 0:Me.course_video_id)&&Pe({type:"videoDetail/setVideoValue",payload:{detail:Me}}),{title:u.createElement("div",{onClick:()=>Be(Me),className:ht,title:nt},u.createElement("div",{className:M.s3},nt)),value:qe,key:Te.id,icon:u.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:ot?Ye==null?void 0:Ye.map(vt=>V(vt)):[]}}return Te==null?void 0:Te.map(Me=>V(Me))},oe=Te=>{N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Te,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},X=Te=>{Te=Te!=null&&Te.includes(".json")?Te:`${Te}.json`,N.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:u.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>se(void 0,null,function*(){const V=yield(0,ce.L8)({url:Te});if(!V)return;F.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const Me=yield(0,H.Ir)({id:V.shixun_identifier});if(Me!=null&&Me.game_identifier){(0,L.xg)(`/tasks/${Me.game_identifier}`);return}(Me==null?void 0:Me.status)===2?X(Me==null?void 0:Me.message):(Me==null?void 0:Me.status)===3&&oe(Me==null?void 0:Me.message)})})},Be=Te=>{if(Te.link){(0,L.xg)(Te.link);return}clearTimeout(window.videoTimer),Pe({type:"videoDetail/setVideoValue",payload:{detail:Te}})};return u.createElement("aside",{className:M.list},u.createElement("div",{className:M.tabs_style},u.createElement("div",{className:M.tabs_item,onClick:()=>{C("\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55")}},"\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55",o=="\u8BFE\u7A0B\u8D44\u6E90\u76EE\u5F55"&&u.createElement("div",{className:M.tabs_item_active}))),u.createElement("div",{className:M.tree_style},(re==null?void 0:re.length)>0&&u.createElement(ie.default,{key:ne,defaultSelectedKeys:[g||Number(g)||Number(K.get("new_video_id"))],blockNode:!0,treeData:re,defaultExpandAll:!0,className:M.tree_line})))};var Ce=(0,p.connect)(({user:he,videoDetail:je,loading:Pe,globalSetting:We,pathsDetail:rt})=>({user:he,videoDetail:je,globalSetting:We,loading:Pe,pathsDetail:rt}))(Ie),Se=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,xe=(he,je)=>{var Pe={};for(var We in he)Re.call(he,We)&&je.indexOf(We)<0&&(Pe[We]=he[We]);if(he!=null&&Se)for(var We of Se(he))je.indexOf(We)<0&&Ne.call(he,We)&&(Pe[We]=he[We]);return Pe};const Ue=he=>{var je=he,{videoDetail:Pe,globalSetting:We,loading:rt,pathsDetail:me,dispatch:Ve}=je,O=xe(je,["videoDetail","globalSetting","loading","pathsDetail","dispatch"]);return u.createElement(P.Z,{spinning:!1},u.createElement("section",{className:Z.bg},u.createElement(Ce,null),u.createElement(f,null)))};var tt=(0,p.connect)(({videoDetail:he,loading:je,globalSetting:Pe,pathsDetail:We})=>({videoDetail:he,globalSetting:Pe,loading:je,pathsDetail:We}))(Ue)},18030:function(Je,q,r){"use strict";r.d(q,{BU:function(){return p},Dj:function(){return u},gH:function(){return P},vp:function(){return Z}});function u(R){try{R.mozRequestFullScreen?R.mozRequestFullScreen():R.webkitRequestFullScreen&&R.webkitRequestFullScreen()}catch(S){console.log(S,":e")}}function p(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const P=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function Z(){var R=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,S=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",R),window.isFullScreen?window.isFullScreen:R!=null}},96640:function(Je,q,r){"use strict";r.d(q,{Z:function(){return fn}});class u{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Object.assign=Object.assign||function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let t=Object(e);for(let n=1;n ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","error",n),R.ENABLE_ERROR&&(console.error?console.error(n):console.warn?console.warn(n):console.log(n))}static i(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","info",n),R.ENABLE_INFO&&(console.info?console.info(n):console.log(n))}static w(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","warn",n),R.ENABLE_WARN&&(console.warn?console.warn(n):console.log(n))}static d(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","debug",n),R.ENABLE_DEBUG&&(console.debug?console.debug(n):console.log(n))}static v(e,t){(!e||R.FORCE_GLOBAL_TAG)&&(e=R.GLOBAL_TAG);let n=`[${e}] > ${t}`;R.ENABLE_CALLBACK&&R.emitter.emit("log","verbose",n),R.ENABLE_VERBOSE&&console.log(n)}}R.GLOBAL_TAG="flv.js",R.FORCE_GLOBAL_TAG=!1,R.ENABLE_ERROR=!0,R.ENABLE_INFO=!0,R.ENABLE_WARN=!0,R.ENABLE_DEBUG=!0,R.ENABLE_VERBOSE=!0,R.ENABLE_CALLBACK=!1,R.emitter=new(Z());var S=R;class U{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(e){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=e,this._totalBytes+=e):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=e,this._totalBytes+=e):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=e,this._totalBytes+=e,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let e=(this._now()-this._lastCheckpoint)/1e3;return e==0&&(e=1),this._intervalBytes/e/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let e=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/e/1024}}var te=U;class Y{constructor(e){this._message=e}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class E extends Y{constructor(e){super(e)}get name(){return"IllegalStateException"}}class ue extends Y{constructor(e){super(e)}get name(){return"InvalidArgumentException"}}class L extends Y{constructor(e){super(e)}get name(){return"NotImplementedException"}}const _={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},j={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class k{constructor(e){this._type=e||"undefined",this._status=_.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=_.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===_.kConnecting||this._status===_.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(e){this._onContentLengthKnown=e}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(e){this._onURLRedirect=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}open(e,t){throw new L("Unimplemented abstract function!")}abort(){throw new L("Unimplemented abstract function!")}}let B={};function z(){let Ke=self.navigator.userAgent.toLowerCase(),e=/(edge)\/([\w.]+)/.exec(Ke)||/(opr)[\/]([\w.]+)/.exec(Ke)||/(chrome)[ \/]([\w.]+)/.exec(Ke)||/(iemobile)[\/]([\w.]+)/.exec(Ke)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(Ke)||/(webkit)[ \/]([\w.]+)/.exec(Ke)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(Ke)||/(msie) ([\w.]+)/.exec(Ke)||Ke.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(Ke)||Ke.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(Ke)||[],t=/(ipad)/.exec(Ke)||/(ipod)/.exec(Ke)||/(windows phone)/.exec(Ke)||/(iphone)/.exec(Ke)||/(kindle)/.exec(Ke)||/(android)/.exec(Ke)||/(windows)/.exec(Ke)||/(mac)/.exec(Ke)||/(linux)/.exec(Ke)||/(cros)/.exec(Ke)||[],n={browser:e[5]||e[3]||e[1]||"",version:e[2]||e[4]||"0",majorVersion:e[4]||e[2]||"0",platform:t[0]||""},d={};if(n.browser){d[n.browser]=!0;let y=n.majorVersion.split(".");d.version={major:parseInt(n.majorVersion,10),string:n.version},y.length>1&&(d.version.minor=parseInt(y[1],10)),y.length>2&&(d.version.build=parseInt(y[2],10))}if(n.platform&&(d[n.platform]=!0),(d.chrome||d.opr||d.safari)&&(d.webkit=!0),d.rv||d.iemobile){d.rv&&delete d.rv;let y="msie";n.browser=y,d[y]=!0}if(d.edge){delete d.edge;let y="msedge";n.browser=y,d[y]=!0}if(d.opr){let y="opera";n.browser=y,d[y]=!0}if(d.safari&&d.android){let y="android";n.browser=y,d[y]=!0}d.name=n.browser,d.platform=n.platform;for(let y in B)B.hasOwnProperty(y)&&delete B[y];Object.assign(B,d)}z();var w=B;class A extends k{static isSupported(){try{let e=w.msedge&&w.version.minor>=15048,t=w.msedge?e:!0;return self.fetch&&self.ReadableStream&&t}catch(e){return!1}}constructor(e,t){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=e,this._config=t,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(e,t){this._dataSource=e,this._range=t;let n=e.url;this._config.reuseRedirectedURL&&e.redirectedURL!=null&&(n=e.redirectedURL);let d=this._seekHandler.getConfig(n,t),y=new self.Headers;if(typeof d.headers=="object"){let v=d.headers;for(let fe in v)v.hasOwnProperty(fe)&&y.append(fe,v[fe])}let m={method:"GET",headers:y,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let v in this._config.headers)y.append(v,this._config.headers[v]);e.cors===!1&&(m.mode="same-origin"),e.withCredentials&&(m.credentials="include"),e.referrerPolicy&&(m.referrerPolicy=e.referrerPolicy),this._status=_.kConnecting,self.fetch(d.url,m).then(v=>{if(this._requestAbort){this._requestAbort=!1,this._status=_.kIdle;return}if(v.ok&&v.status>=200&&v.status<=299){if(v.url!==d.url&&this._onURLRedirect){let W=this._seekHandler.removeURLParameters(v.url);this._onURLRedirect(W)}let fe=v.headers.get("Content-Length");return fe!=null&&(this._contentLength=parseInt(fe),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,v.body.getReader())}else if(this._status=_.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:v.status,msg:v.statusText});else throw new Y("FetchStreamLoader: Http code invalid, "+v.status+" "+v.statusText)}).catch(v=>{if(this._status=_.kError,this._onError)this._onError(j.EXCEPTION,{code:-1,msg:v.message});else throw v})}abort(){this._requestAbort=!0}_pump(e){return e.read().then(t=>{if(t.done)if(this._contentLength!==null&&this._receivedLength{if(t.code===11&&w.msedge)return;this._status=_.kError;let n=0,d=null;if((t.code===19||t.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=_.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("MozChunkedLoader: Http code invalid, "+t.status+" "+t.statusText);else this._status=_.kBuffering}}_onProgress(e){if(this._status===_.kError)return;this._contentLength===null&&e.total!==null&&e.total!==0&&(this._contentLength=e.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let t=e.target.response,n=this._range.from+this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onLoadEnd(e){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===_.kError)return;this._status=_.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(e){this._status=_.kError;let t=0,n=null;if(this._contentLength&&e.loaded=200&&t.status<=299){if(this._status=LoaderStatus.kBuffering,t.responseURL!=null){let d=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&d!==this._currentRedirectedURL&&(this._currentRedirectedURL=d,this._onURLRedirect&&this._onURLRedirect(d))}let n=t.getResponseHeader("Content-Length");if(n!=null&&this._contentLength==null){let d=parseInt(n);d>0&&(this._contentLength=d,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+t.status+" "+t.statusText);else if(t.readyState===3&&t.status>=200&&t.status<=299){this._status=LoaderStatus.kBuffering;let n=t.response;this._reader.readAsArrayBuffer(n)}}_xhrOnError(e){this._status=LoaderStatus.kError;let t=LoaderErrors.EXCEPTION,n={code:-1,msg:e.constructor.name+" "+e.type};if(this._onError)this._onError(t,n);else throw new RuntimeException(n.msg)}_msrOnProgress(e){let n=e.target.result;if(n==null){this._doReconnectIfNeeded();return}let d=n.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=n.byteLength;let y=this._totalRange.from+this._receivedLength;this._receivedLength+=d.byteLength,this._onDataArrival&&this._onDataArrival(d,y,this._receivedLength),n.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${y+d.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(n=this._range.from+this._contentLength-1),this._currentRequestRange={from:t,to:n},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(e,t){this._lastTimeLoaded=0;let n=e.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?n=this._currentRedirectedURL:e.redirectedURL!=null&&(n=e.redirectedURL));let d=this._seekHandler.getConfig(n,t);this._currentRequestURL=d.url;let y=this._xhr=new XMLHttpRequest;if(y.open("GET",d.url,!0),y.responseType="arraybuffer",y.onreadystatechange=this._onReadyStateChange.bind(this),y.onprogress=this._onProgress.bind(this),y.onload=this._onLoad.bind(this),y.onerror=this._onXhrError.bind(this),e.withCredentials&&(y.withCredentials=!0),typeof d.headers=="object"){let m=d.headers;for(let v in m)m.hasOwnProperty(v)&&y.setRequestHeader(v,m[v])}if(typeof this._config.headers=="object"){let m=this._config.headers;for(let v in m)m.hasOwnProperty(v)&&y.setRequestHeader(v,m[v])}y.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=_.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(e){let t=e.target;if(t.readyState===2){if(t.responseURL!=null){let n=this._seekHandler.removeURLParameters(t.responseURL);t.responseURL!==this._currentRequestURL&&n!==this._currentRedirectedURL&&(this._currentRedirectedURL=n,this._onURLRedirect&&this._onURLRedirect(n))}if(t.status>=200&&t.status<=299){if(this._waitForTotalLength)return;this._status=_.kBuffering}else if(this._status=_.kError,this._onError)this._onError(j.HTTP_STATUS_CODE_INVALID,{code:t.status,msg:t.statusText});else throw new Y("RangeLoader: Http code invalid, "+t.status+" "+t.statusText)}}_onProgress(e){if(this._status===_.kError)return;if(this._contentLength===null){let n=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,n=!0;let d=e.total;this._internalAbort(),d!=null&d!==0&&(this._totalLength=d)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,n){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let t=e.loaded-this._lastTimeLoaded;this._lastTimeLoaded=e.loaded,this._speedSampler.addBytes(t)}_normalizeSpeed(e){let t=this._chunkSizeKBList,n=t.length-1,d=0,y=0,m=n;if(e=t[d]&&e=3&&(t=this._speedSampler.currentKBps)),t!==0){let m=this._normalizeSpeed(t);this._currentSpeedNormalized!==m&&(this._currentSpeedNormalized=m,this._currentChunkSizeKB=m)}let n=e.target.response,d=this._range.from+this._receivedLength;this._receivedLength+=n.byteLength;let y=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(t.result)},t.readAsArrayBuffer(e.data)}else{this._status=_.kError;let t={code:-1,msg:"Unsupported WebSocket message type: "+e.data.constructor.name};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}_dispatchArrayBuffer(e){let t=e,n=this._receivedLength;this._receivedLength+=t.byteLength,this._onDataArrival&&this._onDataArrival(t,n,this._receivedLength)}_onWebSocketError(e){this._status=_.kError;let t={code:e.code,msg:e.message};if(this._onError)this._onError(j.EXCEPTION,t);else throw new Y(t.msg)}}var ie=F;class M{constructor(e){this._zeroStart=e||!1}getConfig(e,t){let n={};if(t.from!==0||t.to!==-1){let d;t.to!==-1?d=`bytes=${t.from.toString()}-${t.to.toString()}`:d=`bytes=${t.from.toString()}-`,n.Range=d}else this._zeroStart&&(n.Range="bytes=0-");return{url:e,headers:n}}removeURLParameters(e){return e}}var ce=M;class H{constructor(e,t){this._startName=e,this._endName=t}getConfig(e,t){let n=e;if(t.from!==0||t.to!==-1){let d=!0;n.indexOf("?")===-1&&(n+="?",d=!1),d&&(n+="&"),n+=`${this._startName}=${t.from.toString()}`,t.to!==-1&&(n+=`&${this._endName}=${t.to.toString()}`)}return{url:n,headers:{}}}removeURLParameters(e){let t=e.split("?")[0],n,d=e.indexOf("?");d!==-1&&(n=e.substring(d+1));let y="";if(n!=null&&n.length>0){let m=n.split("&");for(let v=0;v0;fe[0]!==this._startName&&fe[0]!==this._endName&&(W&&(y+="&"),y+=m[v])}}return y.length===0?t:t+"?"+y}}var be=H;class T{constructor(e,t,n){this.TAG="IOController",this._config=t,this._extraData=n,this._stashInitialSize=1024*384,t.stashInitialSize!=null&&t.stashInitialSize>0&&(this._stashInitialSize=t.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,t.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=e,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(e.url),this._refTotalLength=e.filesize?e.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new te,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(e){this._extraData=e}get onDataArrival(){return this._onDataArrival}set onDataArrival(e){this._onDataArrival=e}get onSeeked(){return this._onSeeked}set onSeeked(e){this._onSeeked=e}get onError(){return this._onError}set onError(e){this._onError=e}get onComplete(){return this._onComplete}set onComplete(e){this._onComplete=e}get onRedirect(){return this._onRedirect}set onRedirect(e){this._onRedirect=e}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(e){this._onRecoveredEarlyEof=e}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===N?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let e=this._config;if(e.seekType==="range")this._seekHandler=new ce(this._config.rangeLoadZeroStart);else if(e.seekType==="param"){let t=e.seekParamStart||"bstart",n=e.seekParamEnd||"bend";this._seekHandler=new be(t,n)}else if(e.seekType==="custom"){if(typeof e.customSeekHandler!="function")throw new ue("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new e.customSeekHandler}else throw new ue(`Invalid seekType in config: ${e.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=ie;else if(I.isSupported())this._loaderClass=I;else if(c.isSupported())this._loaderClass=c;else if(N.isSupported())this._loaderClass=N;else throw new Y("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(e){this._currentRange={from:0,to:-1},e&&(this._currentRange.from=e),this._speedSampler.reset(),e||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let e=this._resumeFrom;this._resumeFrom=0,this._internalSeek(e,!0)}}seek(e){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(e,!0)}_internalSeek(e,t){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(t),this._loader.destroy(),this._loader=null;let n={from:e,to:-1};this._currentRange={from:n.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,n),this._onSeeked&&this._onSeeked()}updateUrl(e){if(!e||typeof e!="string"||e.length===0)throw new ue("Url must be a non-empty string!");this._dataSource.url=e}_expandBuffer(e){let t=this._stashSize;for(;t+1024*1024*10){let d=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(n,0,t).set(d,0)}this._stashBuffer=n,this._bufferSize=t}_normalizeSpeed(e){let t=this._speedNormalizeList,n=t.length-1,d=0,y=0,m=n;if(e=t[d]&&e=512&&e<=1024?t=Math.floor(e*1.5):t=e*2,t>8192&&(t=8192);let n=t*1024+1024*1024*1;this._bufferSize0){let m=this._stashBuffer.slice(0,this._stashUsed),v=this._dispatchChunks(m,this._stashByteStart);if(v0){let fe=new Uint8Array(m,v);y.set(fe,0),this._stashUsed=fe.byteLength,this._stashByteStart+=v}}else this._stashUsed=0,this._stashByteStart+=v;this._stashUsed+e.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+e.byteLength),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength}else{let m=this._dispatchChunks(e,t);if(mthis._bufferSize&&(this._expandBuffer(v),y=new Uint8Array(this._stashBuffer,0,this._bufferSize)),y.set(new Uint8Array(e,m),0),this._stashUsed+=v,this._stashByteStart=t+m}}}else if(this._stashUsed===0){let y=this._dispatchChunks(e,t);if(ythis._bufferSize&&this._expandBuffer(m),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(e,y),0),this._stashUsed+=m,this._stashByteStart=t+y}}else{this._stashUsed+e.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+e.byteLength);let y=new Uint8Array(this._stashBuffer,0,this._bufferSize);y.set(new Uint8Array(e),this._stashUsed),this._stashUsed+=e.byteLength;let m=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(m0){let v=new Uint8Array(this._stashBuffer,m);y.set(v,0)}this._stashUsed-=m,this._stashByteStart+=m}}_flushStashBuffer(e){if(this._stashUsed>0){let t=this._stashBuffer.slice(0,this._stashUsed),n=this._dispatchChunks(t,this._stashByteStart),d=t.byteLength-n;if(n0){let y=new Uint8Array(this._stashBuffer,0,this._bufferSize),m=new Uint8Array(t,n);y.set(m,0),this._stashUsed=m.byteLength,this._stashByteStart+=n}return 0}return this._stashUsed=0,this._stashByteStart=0,d}return 0}_onLoaderComplete(e,t){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(e,t){switch(S.e(this.TAG,`Loader error, code = ${t.code}, msg = ${t.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,e=j.UNRECOVERABLE_EARLY_EOF),e){case j.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let n=this._currentRange.to+1;n0){let t=Re.getConfig();e.emit("change",t)}}static registerListener(e){Re.emitter.addListener("change",e)}static removeListener(e){Re.emitter.removeListener("change",e)}static addLogListener(e){S.emitter.addListener("log",e),S.emitter.listenerCount("log")>0&&(S.ENABLE_CALLBACK=!0,Re._notifyChange())}static removeLogListener(e){S.emitter.removeListener("log",e),S.emitter.listenerCount("log")===0&&(S.ENABLE_CALLBACK=!1,Re._notifyChange())}}Re.emitter=new(Z());var Ne=Re;class xe{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let e=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,t=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&e&&t}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(e){if(this.keyframesIndex==null)return null;let t=this.keyframesIndex,n=this._search(t.times,e);return{index:n,milliseconds:t.times[n],fileposition:t.filepositions[n]}}_search(e,t){let n=0,d=e.length-1,y=0,m=0,v=d;for(t=e[y]&&t=128){e.push(String.fromCharCode(y&65535)),n+=2;continue}}}else if(t[n]<240){if(tt(t,n,2)){let y=(t[n]&15)<<12|(t[n+1]&63)<<6|t[n+2]&63;if(y>=2048&&(y&63488)!==55296){e.push(String.fromCharCode(y&65535)),n+=3;continue}}}else if(t[n]<248&&tt(t,n,3)){let y=(t[n]&7)<<18|(t[n+1]&63)<<12|(t[n+2]&63)<<6|t[n+3]&63;if(y>65536&&y<1114112){y-=65536,e.push(String.fromCharCode(y>>>10|55296)),e.push(String.fromCharCode(y&1023|56320)),n+=4;continue}}}e.push("\uFFFD"),++n}return e.join("")}var je=he;let Pe=function(){let Ke=new ArrayBuffer(2);return new DataView(Ke).setInt16(0,256,!0),new Int16Array(Ke)[0]===256}();class We{static parseScriptData(e,t,n){let d={};try{let y=We.parseValue(e,t,n),m=We.parseValue(e,t+y.size,n-y.size);d[y.data]=m.data}catch(y){S.e("AMF",y.toString())}return d}static parseObject(e,t,n){if(n<3)throw new E("Data not enough when parse ScriptDataObject");let d=We.parseString(e,t,n),y=We.parseValue(e,t+d.size,n-d.size),m=y.objectEnd;return{data:{name:d.data,value:y.data},size:d.size+y.size,objectEnd:m}}static parseVariable(e,t,n){return We.parseObject(e,t,n)}static parseString(e,t,n){if(n<2)throw new E("Data not enough when parse String");let y=new DataView(e,t,n).getUint16(0,!Pe),m;return y>0?m=je(new Uint8Array(e,t+2,y)):m="",{data:m,size:2+y}}static parseLongString(e,t,n){if(n<4)throw new E("Data not enough when parse LongString");let y=new DataView(e,t,n).getUint32(0,!Pe),m;return y>0?m=je(new Uint8Array(e,t+4,y)):m="",{data:m,size:4+y}}static parseDate(e,t,n){if(n<10)throw new E("Data size invalid when parse Date");let d=new DataView(e,t,n),y=d.getFloat64(0,!Pe),m=d.getInt16(8,!Pe);return y+=m*60*1e3,{data:new Date(y),size:10}}static parseValue(e,t,n){if(n<1)throw new E("Data not enough when parse Value");let d=new DataView(e,t,n),y=1,m=d.getUint8(0),v,fe=!1;try{switch(m){case 0:v=d.getFloat64(1,!Pe),y+=8;break;case 1:{v=!!d.getUint8(1),y+=1;break}case 2:{let W=We.parseString(e,t+1,n-1);v=W.data,y+=W.size;break}case 3:{v={};let W=0;for((d.getUint32(n-4,!Pe)&16777215)===9&&(W=3);y32)throw new ue("ExpGolomb: readBits() bits exceeded max 32bits!");if(e<=this._current_word_bits_left){let m=this._current_word>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,m}let t=this._current_word_bits_left?this._current_word:0;t=t>>>32-this._current_word_bits_left;let n=e-this._current_word_bits_left;this._fillCurrentWord();let d=Math.min(n,this._current_word_bits_left),y=this._current_word>>>32-d;return this._current_word<<=d,this._current_word_bits_left-=d,t=t<>>e)return this._current_word<<=e,this._current_word_bits_left-=e,e;return this._fillCurrentWord(),e+this._skipLeadingZero()}readUEG(){let e=this._skipLeadingZero();return this.readBits(e+1)-1}readSEG(){let e=this.readUEG();return e&1?e+1>>>1:-1*(e>>>1)}}var Ve=me;class O{static _ebsp2rbsp(e){let t=e,n=t.byteLength,d=new Uint8Array(n),y=0;for(let m=0;m=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(d[y]=t[m],y++);return new Uint8Array(d.buffer,0,y)}static parseSPS(e){let t=O._ebsp2rbsp(e),n=new Ve(t);n.readByte();let d=n.readByte();n.readByte();let y=n.readByte();n.readUEG();let m=O.getProfileString(d),v=O.getLevelString(y),fe=1,W=420,Ee=[0,420,422,444],Ae=8;if((d===100||d===110||d===122||d===244||d===44||d===83||d===86||d===118||d===128||d===138||d===144)&&(fe=n.readUEG(),fe===3&&n.readBits(1),fe<=3&&(W=Ee[fe]),Ae=n.readUEG()+8,n.readUEG(),n.readBits(1),n.readBool())){let pt=fe!==3?8:12;for(let at=0;at0&&pt<16?(yt=at[pt-1],Ge=It[pt-1]):pt===255&&(yt=n.readByte()<<8|n.readByte(),Ge=n.readByte()<<8|n.readByte())}if(n.readBool()&&n.readBool(),n.readBool()&&(n.readBits(4),n.readBool()&&n.readBits(24)),n.readBool()&&(n.readUEG(),n.readUEG()),n.readBool()){let pt=n.readBits(32),at=n.readBits(32);G=n.readBool(),ee=at,le=pt*2,Xe=ee/le}}let ge=1;(yt!==1||Ge!==1)&&(ge=yt/Ge);let Fe=0,$e=0;if(fe===0)Fe=1,$e=2-pe;else{let pt=fe===3?1:2,at=fe===1?2:1;Fe=pt,$e=at*(2-pe)}let et=(ke+1)*16,dt=(2-pe)*((Le+1)*16);et-=(ye+ze)*Fe,dt-=(Oe+Qe)*$e;let ct=Math.ceil(et*ge);return n.destroy(),n=null,{profile_string:m,level_string:v,bit_depth:Ae,ref_frames:_e,chroma_format:W,chroma_format_string:O.getChromaFormatString(W),frame_rate:{fixed:G,fps:Xe,fps_den:le,fps_num:ee},sar_ratio:{width:yt,height:Ge},codec_size:{width:et,height:dt},present_size:{width:ct,height:dt}}}static _skipScalingList(e,t){let n=8,d=8,y=0;for(let m=0;m>>8&255|(Ke&255)<<8}function re(Ke){return(Ke&4278190080)>>>24|(Ke&16711680)>>>8|(Ke&65280)<<8|(Ke&255)<<24}function a(Ke,e){return Ke[e]<<24|Ke[e+1]<<16|Ke[e+2]<<8|Ke[e+3]}class o{constructor(e,t){this.TAG="FLVDemuxer",this._config=t,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=e.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=e.hasAudioTrack,this._hasVideo=e.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new Ue,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(e){let t=new Uint8Array(e),n={match:!1};if(t[0]!==70||t[1]!==76||t[2]!==86||t[3]!==1)return n;let d=(t[4]&4)>>>2!==0,y=(t[4]&1)!==0,m=a(t,5);return m<9?n:{match:!0,consumed:m,dataOffset:m,hasAudioTrack:d,hasVideoTrack:y}}bindDataSource(e){return e.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(e){this._onTrackMetadata=e}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(e){this._onMediaInfo=e}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(e){this._onMetaDataArrived=e}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(e){this._onScriptDataArrived=e}get onError(){return this._onError}set onError(e){this._onError=e}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(e){this._onDataAvailable=e}get timestampBase(){return this._timestampBase}set timestampBase(e){this._timestampBase=e}get overridedDuration(){return this._duration}set overridedDuration(e){this._durationOverrided=!0,this._duration=e,this._mediaInfo.duration=e}set overridedHasAudio(e){this._hasAudioFlagOverrided=!0,this._hasAudio=e,this._mediaInfo.hasAudio=e}set overridedHasVideo(e){this._hasVideoFlagOverrided=!0,this._hasVideo=e,this._mediaInfo.hasVideo=e}resetMediaInfo(){this._mediaInfo=new Ue}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(e,t){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new E("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let n=0,d=this._littleEndian;if(t===0)if(e.byteLength>13)n=o.probe(e).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,t+n!==this._dataOffset&&S.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(e,n).getUint32(0,!d)!==0&&S.w(this.TAG,"PrevTagSize0 !== 0 !!!"),n+=4);ne.byteLength)break;let m=y.getUint8(0),v=y.getUint32(0,!d)&16777215;if(n+11+v+4>e.byteLength)break;if(m!==8&&m!==9&&m!==18){S.w(this.TAG,`Unsupported tag type ${m}, skipped`),n+=11+v+4;continue}let fe=y.getUint8(4),W=y.getUint8(5),Ee=y.getUint8(6),Ae=y.getUint8(7),Ze=Ee|W<<8|fe<<16|Ae<<24;(y.getUint32(7,!d)&16777215)!==0&&S.w(this.TAG,"Meet tag which has StreamID != 0!");let ke=n+11;switch(m){case 8:this._parseAudioData(e,ke,v,Ze);break;case 9:this._parseVideoData(e,ke,v,Ze,t+n);break;case 18:this._parseScriptData(e,ke,v);break}let Le=y.getUint32(11+v,!d);Le!==11+v&&S.w(this.TAG,`Invalid PrevTagSize ${Le}`),n+=11+v+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),n}_parseScriptData(e,t,n){let d=rt.parseScriptData(e,t,n);if(d.hasOwnProperty("onMetaData")){if(d.onMetaData==null||typeof d.onMetaData!="object"){S.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&S.w(this.TAG,"Found another onMetaData tag!"),this._metadata=d;let y=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},y)),typeof y.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=y.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof y.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=y.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof y.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=y.audiodatarate),typeof y.videodatarate=="number"&&(this._mediaInfo.videoDataRate=y.videodatarate),typeof y.width=="number"&&(this._mediaInfo.width=y.width),typeof y.height=="number"&&(this._mediaInfo.height=y.height),typeof y.duration=="number"){if(!this._durationOverrided){let m=Math.floor(y.duration*this._timescale);this._duration=m,this._mediaInfo.duration=m}}else this._mediaInfo.duration=0;if(typeof y.framerate=="number"){let m=Math.floor(y.framerate*1e3);if(m>0){let v=m/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=v,this._referenceFrameRate.fps_num=m,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=v}}if(typeof y.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let m=y.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(m),y.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=y,S.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(d).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},d))}_parseKeyframesIndex(e){let t=[],n=[];for(let d=1;d>>4;if(fe!==2&&fe!==10){this._onError(h.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+fe);return}let W=0,Ee=(v&12)>>>2;if(Ee>=0&&Ee<=4)W=this._flvSoundRateTable[Ee];else{this._onError(h.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Ee);return}let Ae=(v&2)>>>1,Ze=v&1,_e=this._audioMetadata,ke=this._audioTrack;if(_e||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),_e=this._audioMetadata={},_e.type="audio",_e.id=ke.id,_e.timescale=this._timescale,_e.duration=this._duration,_e.audioSampleRate=W,_e.channelCount=Ze===0?1:2),fe===10){let Le=this._parseAACAudioData(e,t+1,n-1);if(Le==null)return;if(Le.packetType===0){_e.config&&S.w(this.TAG,"Found another AudioSpecificConfig!");let pe=Le.data;_e.audioSampleRate=pe.samplingRate,_e.channelCount=pe.channelCount,_e.codec=pe.codec,_e.originalCodec=pe.originalCodec,_e.config=pe.config,_e.refSampleDuration=1024/_e.audioSampleRate*_e.timescale,S.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",_e);let ye=this._mediaInfo;ye.audioCodec=_e.originalCodec,ye.audioSampleRate=_e.audioSampleRate,ye.audioChannelCount=_e.channelCount,ye.hasVideo?ye.videoCodec!=null&&(ye.mimeType='video/x-flv; codecs="'+ye.videoCodec+","+ye.audioCodec+'"'):ye.mimeType='video/x-flv; codecs="'+ye.audioCodec+'"',ye.isComplete()&&this._onMediaInfo(ye)}else if(Le.packetType===1){let pe=this._timestampBase+d,ye={unit:Le.data,length:Le.data.byteLength,dts:pe,pts:pe};ke.samples.push(ye),ke.length+=Le.data.length}else S.e(this.TAG,`Flv: Unsupported AAC data type ${Le.packetType}`)}else if(fe===2){if(!_e.codec){let ze=this._parseMP3AudioData(e,t+1,n-1,!0);if(ze==null)return;_e.audioSampleRate=ze.samplingRate,_e.channelCount=ze.channelCount,_e.codec=ze.codec,_e.originalCodec=ze.originalCodec,_e.refSampleDuration=1152/_e.audioSampleRate*_e.timescale,S.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",_e);let Oe=this._mediaInfo;Oe.audioCodec=_e.codec,Oe.audioSampleRate=_e.audioSampleRate,Oe.audioChannelCount=_e.channelCount,Oe.audioDataRate=ze.bitRate,Oe.hasVideo?Oe.videoCodec!=null&&(Oe.mimeType='video/x-flv; codecs="'+Oe.videoCodec+","+Oe.audioCodec+'"'):Oe.mimeType='video/x-flv; codecs="'+Oe.audioCodec+'"',Oe.isComplete()&&this._onMediaInfo(Oe)}let Le=this._parseMP3AudioData(e,t+1,n-1,!1);if(Le==null)return;let pe=this._timestampBase+d,ye={unit:Le,length:Le.byteLength,dts:pe,pts:pe};ke.samples.push(ye),ke.length+=Le.length}}_parseAACAudioData(e,t,n){if(n<=1){S.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let d={},y=new Uint8Array(e,t,n);return d.packetType=y[0],y[0]===0?d.data=this._parseAACAudioSpecificConfig(e,t+1,n-1):d.data=y.subarray(1),d}_parseAACAudioSpecificConfig(e,t,n){let d=new Uint8Array(e,t,n),y=null,m=0,v=0,fe=null,W=0,Ee=null;if(m=v=d[0]>>>3,W=(d[0]&7)<<1|d[1]>>>7,W<0||W>=this._mpegSamplingRates.length){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Ae=this._mpegSamplingRates[W],Ze=(d[1]&120)>>>3;if(Ze<0||Ze>=8){this._onError(h.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}m===5&&(Ee=(d[1]&7)<<1|d[2]>>>7,fe=(d[2]&124)>>>2);let _e=self.navigator.userAgent.toLowerCase();return _e.indexOf("firefox")!==-1?W>=6?(m=5,y=new Array(4),Ee=W-3):(m=2,y=new Array(2),Ee=W):_e.indexOf("android")!==-1?(m=2,y=new Array(2),Ee=W):(m=5,Ee=W,y=new Array(4),W>=6?Ee=W-3:Ze===1&&(m=2,y=new Array(2),Ee=W)),y[0]=m<<3,y[0]|=(W&15)>>>1,y[1]=(W&15)<<7,y[1]|=(Ze&15)<<3,m===5&&(y[1]|=(Ee&15)>>>1,y[2]=(Ee&1)<<7,y[2]|=8,y[3]=0),{config:y,samplingRate:Ae,channelCount:Ze,codec:"mp4a.40."+m,originalCodec:"mp4a.40."+v}}_parseMP3AudioData(e,t,n,d){if(n<4){S.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let y=this._littleEndian,m=new Uint8Array(e,t,n),v=null;if(d){if(m[0]!==255)return;let fe=m[1]>>>3&3,W=(m[1]&6)>>1,Ee=(m[2]&240)>>>4,Ae=(m[2]&12)>>>2,_e=(m[3]>>>6&3)!==3?2:1,ke=0,Le=0,pe=34,ye="mp3";switch(fe){case 0:ke=this._mpegAudioV25SampleRateTable[Ae];break;case 2:ke=this._mpegAudioV20SampleRateTable[Ae];break;case 3:ke=this._mpegAudioV10SampleRateTable[Ae];break}switch(W){case 1:pe=34,Ee>>4,fe=m&15;if(fe!==7){this._onError(h.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${fe}`);return}this._parseAVCVideoPacket(e,t+1,n-1,d,y,v)}_parseAVCVideoPacket(e,t,n,d,y,m){if(n<4){S.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let v=this._littleEndian,fe=new DataView(e,t,n),W=fe.getUint8(0),Ae=(fe.getUint32(0,!v)&16777215)<<8>>8;if(W===0)this._parseAVCDecoderConfigurationRecord(e,t+4,n-4);else if(W===1)this._parseAVCVideoData(e,t+4,n-4,d,y,m,Ae);else if(W!==2){this._onError(h.FORMAT_ERROR,`Flv: Invalid video packet type ${W}`);return}}_parseAVCDecoderConfigurationRecord(e,t,n){if(n<7){S.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let d=this._videoMetadata,y=this._videoTrack,m=this._littleEndian,v=new DataView(e,t,n);d?typeof d.avcc!="undefined"&&S.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),d=this._videoMetadata={},d.type="video",d.id=y.id,d.timescale=this._timescale,d.duration=this._duration);let fe=v.getUint8(0),W=v.getUint8(1),Ee=v.getUint8(2),Ae=v.getUint8(3);if(fe!==1||W===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(v.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(h.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let Ze=v.getUint8(5)&31;if(Ze===0){this._onError(h.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else Ze>1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${Ze}`);let _e=6;for(let Le=0;Le1&&S.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${ke}`);_e++;for(let Le=0;Le=n){S.w(this.TAG,`Malformed Nalu near timestamp ${ke}, offset = ${Ze}, dataSize = ${n}`);break}let pe=W.getUint32(Ze,!fe);if(_e===3&&(pe>>>=8),pe>n-_e){S.w(this.TAG,`Malformed Nalus near timestamp ${ke}, NaluSize > DataSize!`);return}let ye=W.getUint8(Ze+_e)&31;ye===5&&(Le=!0);let ze=new Uint8Array(e,t+Ze,_e+pe),Oe={type:ye,data:ze};Ee.push(Oe),Ae+=ze.byteLength,Ze+=_e+pe}if(Ee.length){let pe=this._videoTrack,ye={units:Ee,length:Ae,isKeyframe:Le,dts:ke,cts:v,pts:ke+v};Le&&(ye.fileposition=y),pe.samples.push(ye),pe.length+=Ae}}}var C=o;class l{static init(){l.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let t in l.types)l.types.hasOwnProperty(t)&&(l.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);let e=l.constants={};e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSC=e.STCO=e.STTS,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),e.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(e){let t=8,n=null,d=Array.prototype.slice.call(arguments,1),y=d.length;for(let v=0;v>>24&255,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=t&255,n.set(e,4);let m=8;for(let v=0;v>>24&255,e>>>16&255,e>>>8&255,e&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(e){return l.box(l.types.trak,l.tkhd(e),l.mdia(e))}static tkhd(e){let t=e.id,n=e.duration,d=e.presentWidth,y=e.presentHeight;return l.box(l.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,d>>>8&255,d&255,0,0,y>>>8&255,y&255,0,0]))}static mdia(e){return l.box(l.types.mdia,l.mdhd(e),l.hdlr(e),l.minf(e))}static mdhd(e){let t=e.timescale,n=e.duration;return l.box(l.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255,85,196,0,0]))}static hdlr(e){let t=null;return e.type==="audio"?t=l.constants.HDLR_AUDIO:t=l.constants.HDLR_VIDEO,l.box(l.types.hdlr,t)}static minf(e){let t=null;return e.type==="audio"?t=l.box(l.types.smhd,l.constants.SMHD):t=l.box(l.types.vmhd,l.constants.VMHD),l.box(l.types.minf,t,l.dinf(),l.stbl(e))}static dinf(){return l.box(l.types.dinf,l.box(l.types.dref,l.constants.DREF))}static stbl(e){return l.box(l.types.stbl,l.stsd(e),l.box(l.types.stts,l.constants.STTS),l.box(l.types.stsc,l.constants.STSC),l.box(l.types.stsz,l.constants.STSZ),l.box(l.types.stco,l.constants.STCO))}static stsd(e){return e.type==="audio"?e.codec==="mp3"?l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp3(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.mp4a(e)):l.box(l.types.stsd,l.constants.STSD_PREFIX,l.avc1(e))}static mp3(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types[".mp3"],d)}static mp4a(e){let t=e.channelCount,n=e.audioSampleRate,d=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t,0,16,0,0,0,0,n>>>8&255,n&255,0,0]);return l.box(l.types.mp4a,d,l.esds(e))}static esds(e){let t=e.config||[],n=t.length,d=new Uint8Array([0,0,0,0,3,23+n,0,1,0,4,15+n,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([n]).concat(t).concat([6,1,2]));return l.box(l.types.esds,d)}static avc1(e){let t=e.avcc,n=e.codecWidth,d=e.codecHeight,y=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,n>>>8&255,n&255,d>>>8&255,d&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return l.box(l.types.avc1,y,l.box(l.types.avcC,t))}static mvex(e){return l.box(l.types.mvex,l.trex(e))}static trex(e){let t=e.id,n=new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return l.box(l.types.trex,n)}static moof(e,t){return l.box(l.types.moof,l.mfhd(e.sequenceNumber),l.traf(e,t))}static mfhd(e){let t=new Uint8Array([0,0,0,0,e>>>24&255,e>>>16&255,e>>>8&255,e&255]);return l.box(l.types.mfhd,t)}static traf(e,t){let n=e.id,d=l.box(l.types.tfhd,new Uint8Array([0,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,n&255])),y=l.box(l.types.tfdt,new Uint8Array([0,0,0,0,t>>>24&255,t>>>16&255,t>>>8&255,t&255])),m=l.sdtp(e),v=l.trun(e,m.byteLength+16+16+8+16+8+8);return l.box(l.types.traf,d,y,v,m)}static sdtp(e){let t=e.samples||[],n=t.length,d=new Uint8Array(4+n);for(let y=0;y>>24&255,d>>>16&255,d>>>8&255,d&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0);for(let v=0;v>>24&255,fe>>>16&255,fe>>>8&255,fe&255,W>>>24&255,W>>>16&255,W>>>8&255,W&255,Ee.isLeading<<2|Ee.dependsOn,Ee.isDependedOn<<6|Ee.hasRedundancy<<4|Ee.isNonSync,0,0,Ae>>>24&255,Ae>>>16&255,Ae>>>8&255,Ae&255],12+16*v)}return l.box(l.types.trun,m)}static mdat(e){return l.box(l.types.mdat,e)}}l.init();var g=l;class ${static getSilentFrame(e,t){if(e==="mp4a.40.2"){if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(t===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(t===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(t===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var ne=$;class Q{constructor(e,t,n,d,y){this.dts=e,this.pts=t,this.duration=n,this.originalDts=d,this.isSyncPoint=y,this.fileposition=null}}class de{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(e){e.isSyncPoint=!0,this.syncPoints.push(e)}}class J{constructor(){this._list=[]}clear(){this._list=[]}appendArray(e){let t=this._list;e.length!==0&&(t.length>0&&e[0].originalDts=t[y].dts&&et[d].lastSample.originalDts&&e=t[d].lastSample.originalDts&&(d===t.length-1||d0&&(y=this._searchNearestSegmentBefore(n.originalBeginDts)+1),this._lastAppendLocation=y,this._list.splice(y,0,n)}getLastSegmentBefore(e){let t=this._searchNearestSegmentBefore(e);return t>=0?this._list[t]:null}getLastSampleBefore(e){let t=this.getLastSegmentBefore(e);return t!=null?t.lastSample:null}getLastSyncPointBefore(e){let t=this._searchNearestSegmentBefore(e),n=this._list[t].syncPoints;for(;n.length===0&&t>0;)t--,n=this._list[t].syncPoints;return n.length>0?n[n.length-1]:null}}class X{constructor(e){this.TAG="MP4Remuxer",this._config=e,this._isLive=e.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new oe("audio"),this._videoSegmentInfoList=new oe("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(w.chrome&&(w.version.major<50||w.version.major===50&&w.version.build<2661)),this._fillSilentAfterSeek=w.msedge||w.msie,this._mp3UseMpegAudio=!w.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(e){return e.onDataAvailable=this.remux.bind(this),e.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(e){this._onInitSegment=e}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(e){this._onMediaSegment=e}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(e){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(e,t){if(!this._onMediaSegment)throw new E("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(e,t),this._remuxVideo(t),this._remuxAudio(e)}_onTrackMetadataReceived(e,t){let n=null,d="mp4",y=t.codec;if(e==="audio")this._audioMeta=t,t.codec==="mp3"&&this._mp3UseMpegAudio?(d="mpeg",y="",n=new Uint8Array):n=g.generateInitSegment(t);else if(e==="video")this._videoMeta=t,n=g.generateInitSegment(t);else return;if(!this._onInitSegment)throw new E("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(e,{type:e,data:n.buffer,codec:y,container:`${e}/${d}`,mediaDuration:t.duration})}_calculateDtsBase(e,t){this._dtsBaseInited||(e.samples&&e.samples.length&&(this._audioDtsBase=e.samples[0].dts),t.samples&&t.samples.length&&(this._videoDtsBase=t.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let e=this._videoStashedLastSample,t=this._audioStashedLastSample,n={type:"video",id:1,sequenceNumber:0,samples:[],length:0};e!=null&&(n.samples.push(e),n.length=e.length);let d={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};t!=null&&(d.samples.push(t),d.length=t.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(n,!0),this._remuxAudio(d,!0)}_remuxAudio(e,t){if(this._audioMeta==null)return;let n=e,d=n.samples,y,m=-1,v=-1,fe=-1,W=this._audioMeta.refSampleDuration,Ee=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ae=this._dtsBaseInited&&this._audioNextDts===void 0,Ze=!1;if(!d||d.length===0||d.length===1&&!t)return;let _e=0,ke=null,Le=0;Ee?(_e=0,Le=n.length):(_e=8,Le=8+n.length);let pe=null;if(d.length>1&&(pe=d.pop(),Le-=pe.length),this._audioStashedLastSample!=null){let Ge=this._audioStashedLastSample;this._audioStashedLastSample=null,d.unshift(Ge),Le+=Ge.length}pe!=null&&(this._audioStashedLastSample=pe);let ye=d[0].dts-this._dtsBase;if(this._audioNextDts)y=ye-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())y=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(Ze=!0);else{let Ge=this._audioSegmentInfoList.getLastSampleBefore(ye);if(Ge!=null){let Xe=ye-(Ge.originalDts+Ge.duration);Xe<=3&&(Xe=0);let G=Ge.dts+Ge.duration+Xe;y=ye-G}else y=0}if(Ze){let Ge=ye-y,Xe=this._videoSegmentInfoList.getLastSegmentBefore(ye);if(Xe!=null&&Xe.beginDts=1?ve=ze[ze.length-1].duration:ve=Math.floor(W);let ge=!1,Fe=null;if(ve>W*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!w.safari){ge=!0;let $e=Math.abs(ve-W),et=Math.ceil($e/W),dt=le+W;S.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${le+ve} ms, expected: ${le+Math.round(W)} ms, delta: ${Math.round($e)} ms, generate: ${et} frames`);let ct=ne.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);ct==null&&(S.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),ct=G),Fe=[];for(let at=0;at0){let ut=Fe[Fe.length-1];ut.duration=It-ut.dts}let _t={dts:It,pts:It,cts:0,unit:ct,size:ct.byteLength,duration:0,originalDts:ee,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Fe.push(_t),Le+=_t.size,dt+=W}let pt=Fe[Fe.length-1];pt.duration=le+ve-pt.dts,ve=Math.round(W)}ze.push({dts:le,pts:le,cts:0,unit:Xe.unit,size:Xe.unit.byteLength,duration:ve,originalDts:ee,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),ge&&ze.push.apply(ze,Fe)}Ee?ke=new Uint8Array(Le):(ke=new Uint8Array(Le),ke[0]=Le>>>24&255,ke[1]=Le>>>16&255,ke[2]=Le>>>8&255,ke[3]=Le&255,ke.set(g.types.mdat,4));for(let Ge=0;Ge1&&(_e=d.pop(),Ze-=_e.length),this._videoStashedLastSample!=null){let Oe=this._videoStashedLastSample;this._videoStashedLastSample=null,d.unshift(Oe),Ze+=Oe.length}_e!=null&&(this._videoStashedLastSample=_e);let ke=d[0].dts-this._dtsBase;if(this._videoNextDts)y=ke-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())y=0;else{let Oe=this._videoSegmentInfoList.getLastSampleBefore(ke);if(Oe!=null){let Qe=ke-(Oe.originalDts+Oe.duration);Qe<=3&&(Qe=0);let Et=Oe.dts+Oe.duration+Qe;y=ke-Et}else y=0}let Le=new de,pe=[];for(let Oe=0;Oe=1?ee=pe[pe.length-1].duration:ee=Math.floor(this._videoMeta.refSampleDuration),yt){let le=new Q(Ge,G,ee,Qe.dts,!0);le.fileposition=Qe.fileposition,Le.appendSyncPoint(le)}pe.push({dts:Ge,pts:G,cts:Xe,units:Qe.units,size:Qe.length,isKeyframe:yt,duration:ee,originalDts:Et,flags:{isLeading:0,dependsOn:yt?2:1,isDependedOn:yt?1:0,hasRedundancy:0,isNonSync:yt?0:1}})}Ae=new Uint8Array(Ze),Ae[0]=Ze>>>24&255,Ae[1]=Ze>>>16&255,Ae[2]=Ze>>>8&255,Ae[3]=Ze&255,Ae.set(g.types.mdat,4);for(let Oe=0;Oe{d.timestampBase=n,n+=d.duration,d.cors=e.cors,d.withCredentials=e.withCredentials,t.referrerPolicy&&(d.referrerPolicy=t.referrerPolicy)}),!isNaN(n)&&this._mediaDataSource.duration!==n&&(this._mediaDataSource.duration=n),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(e,t){this._currentSegmentIndex=e;let n=this._mediaDataSource.segments[e],d=this._ioctl=new ae(n,this._config,e);d.onError=this._onIOException.bind(this),d.onSeeked=this._onIOSeeked.bind(this),d.onComplete=this._onIOComplete.bind(this),d.onRedirect=this._onIORedirect.bind(this),d.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),t?this._demuxer.bindDataSource(this._ioctl):d.onDataArrival=this._onInitChunkArrival.bind(this),d.open(t)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(e){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let t=this._searchSegmentIndexContains(e);if(t===this._currentSegmentIndex){let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e;else{let d=n.getNearestKeyframe(e);this._remuxer.seek(d.milliseconds),this._ioctl.seek(d.fileposition),this._pendingResolveSeekPoint=d.milliseconds}}else{let n=this._mediaInfo.segments[t];if(n==null)this._pendingSeekTime=e,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(t);else{let d=n.getNearestKeyframe(e);this._internalAbort(),this._remuxer.seek(e),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[t].timestampBase,this._loadSegment(t,d.fileposition),this._pendingResolveSeekPoint=d.milliseconds,this._reportSegmentMediaInfo(t)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(e){let t=this._mediaDataSource.segments,n=t.length-1;for(let d=0;d0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,d=this._demuxer.parseChunks(e,t);else if((n=C.probe(e)).match){this._demuxer=new C(n,this._config),this._remuxer||(this._remuxer=new Be(this._config));let y=this._mediaDataSource;y.duration!=null&&!isNaN(y.duration)&&(this._demuxer.overridedDuration=y.duration),typeof y.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=y.hasAudio),typeof y.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=y.hasVideo),this._demuxer.timestampBase=y.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),d=this._demuxer.parseChunks(e,t)}else n=null,S.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(V.DEMUX_ERROR,h.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),d=0;return d}_onMediaInfo(e){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},e),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,Ue.prototype));let t=Object.assign({},e);Object.setPrototypeOf(t,Ue.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=t,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let n=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(n)})}_onMetaDataArrived(e){this._emitter.emit(V.METADATA_ARRIVED,e)}_onScriptDataArrived(e){this._emitter.emit(V.SCRIPTDATA_ARRIVED,e)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(e){let n=e+1;n0&&n[0].originalDts===d&&(d=n[0].pts),this._emitter.emit(V.RECOMMEND_SEEKPOINT,d)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(e){let t=this._mediaInfo.segments[e],n=Object.assign({},t);n.duration=this._mediaInfo.duration,n.segmentCount=this._mediaInfo.segmentCount,delete n.segments,delete n.keyframesIndex,this._emitter.emit(V.MEDIA_INFO,n)}_reportStatisticsInfo(){let e={};e.url=this._ioctl.currentURL,e.hasRedirect=this._ioctl.hasRedirect,e.hasRedirect&&(e.redirectedURL=this._ioctl.currentRedirectedURL),e.speed=this._ioctl.currentSpeed,e.loaderType=this._ioctl.loaderType,e.currentSegmentIndex=this._currentSegmentIndex,e.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(V.STATISTICS_INFO,e)}}var Ye=Me,nt=function(Ke){let e="TransmuxingWorker",t=null,n=Le.bind(this);p.install(),Ke.addEventListener("message",function(pe){switch(pe.data.cmd){case"init":t=new Ye(pe.data.param[0],pe.data.param[1]),t.on(V.IO_ERROR,Ze.bind(this)),t.on(V.DEMUX_ERROR,_e.bind(this)),t.on(V.INIT_SEGMENT,d.bind(this)),t.on(V.MEDIA_SEGMENT,y.bind(this)),t.on(V.LOADING_COMPLETE,m.bind(this)),t.on(V.RECOVERED_EARLY_EOF,v.bind(this)),t.on(V.MEDIA_INFO,fe.bind(this)),t.on(V.METADATA_ARRIVED,W.bind(this)),t.on(V.SCRIPTDATA_ARRIVED,Ee.bind(this)),t.on(V.STATISTICS_INFO,Ae.bind(this)),t.on(V.RECOMMEND_SEEKPOINT,ke.bind(this));break;case"destroy":t&&(t.destroy(),t=null),Ke.postMessage({msg:"destroyed"});break;case"start":t.start();break;case"stop":t.stop();break;case"seek":t.seek(pe.data.param);break;case"pause":t.pause();break;case"resume":t.resume();break;case"logging_config":{let ye=pe.data.param;Ne.applyConfig(ye),ye.enableCallback===!0?Ne.addLogListener(n):Ne.removeLogListener(n);break}}});function d(pe,ye){let ze={msg:V.INIT_SEGMENT,data:{type:pe,data:ye}};Ke.postMessage(ze,[ye.data])}function y(pe,ye){let ze={msg:V.MEDIA_SEGMENT,data:{type:pe,data:ye}};Ke.postMessage(ze,[ye.data])}function m(){let pe={msg:V.LOADING_COMPLETE};Ke.postMessage(pe)}function v(){let pe={msg:V.RECOVERED_EARLY_EOF};Ke.postMessage(pe)}function fe(pe){let ye={msg:V.MEDIA_INFO,data:pe};Ke.postMessage(ye)}function W(pe){let ye={msg:V.METADATA_ARRIVED,data:pe};Ke.postMessage(ye)}function Ee(pe){let ye={msg:V.SCRIPTDATA_ARRIVED,data:pe};Ke.postMessage(ye)}function Ae(pe){let ye={msg:V.STATISTICS_INFO,data:pe};Ke.postMessage(ye)}function Ze(pe,ye){Ke.postMessage({msg:V.IO_ERROR,data:{type:pe,info:ye}})}function _e(pe,ye){Ke.postMessage({msg:V.DEMUX_ERROR,data:{type:pe,info:ye}})}function ke(pe){Ke.postMessage({msg:V.RECOMMEND_SEEKPOINT,data:pe})}function Le(pe,ye){Ke.postMessage({msg:"logcat_callback",data:{type:pe,logcat:ye}})}};class qe{constructor(e,t){if(this.TAG="Transmuxer",this._emitter=new(Z()),t.enableWorker&&typeof Worker!="undefined")try{let n=r(82059);this._worker=n(nt),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[e,t]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Ne.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Ne.getConfig()})}catch(n){S.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Ye(e,t)}else this._controller=new Ye(e,t);if(this._controller){let n=this._controller;n.on(V.IO_ERROR,this._onIOError.bind(this)),n.on(V.DEMUX_ERROR,this._onDemuxError.bind(this)),n.on(V.INIT_SEGMENT,this._onInitSegment.bind(this)),n.on(V.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),n.on(V.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),n.on(V.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),n.on(V.MEDIA_INFO,this._onMediaInfo.bind(this)),n.on(V.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),n.on(V.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),n.on(V.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),n.on(V.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Ne.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(e){this._worker?this._worker.postMessage({cmd:"seek",param:e}):this._controller.seek(e)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.INIT_SEGMENT,e,t)})}_onMediaSegment(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.MEDIA_SEGMENT,e,t)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(V.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(V.RECOVERED_EARLY_EOF)})}_onMediaInfo(e){Promise.resolve().then(()=>{this._emitter.emit(V.MEDIA_INFO,e)})}_onMetaDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(V.METADATA_ARRIVED,e)})}_onScriptDataArrived(e){Promise.resolve().then(()=>{this._emitter.emit(V.SCRIPTDATA_ARRIVED,e)})}_onStatisticsInfo(e){Promise.resolve().then(()=>{this._emitter.emit(V.STATISTICS_INFO,e)})}_onIOError(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.IO_ERROR,e,t)})}_onDemuxError(e,t){Promise.resolve().then(()=>{this._emitter.emit(V.DEMUX_ERROR,e,t)})}_onRecommendSeekpoint(e){Promise.resolve().then(()=>{this._emitter.emit(V.RECOMMEND_SEEKPOINT,e)})}_onLoggingConfigChanged(e){this._worker&&this._worker.postMessage({cmd:"logging_config",param:e})}_onWorkerMessage(e){let t=e.data,n=t.data;if(t.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(t.msg){case V.INIT_SEGMENT:case V.MEDIA_SEGMENT:this._emitter.emit(t.msg,n.type,n.data);break;case V.LOADING_COMPLETE:case V.RECOVERED_EARLY_EOF:this._emitter.emit(t.msg);break;case V.MEDIA_INFO:Object.setPrototypeOf(n,Ue.prototype),this._emitter.emit(t.msg,n);break;case V.METADATA_ARRIVED:case V.SCRIPTDATA_ARRIVED:case V.STATISTICS_INFO:this._emitter.emit(t.msg,n);break;case V.IO_ERROR:case V.DEMUX_ERROR:this._emitter.emit(t.msg,n.type,n.info);break;case V.RECOMMEND_SEEKPOINT:this._emitter.emit(t.msg,n);break;case"logcat_callback":S.emitter.emit("log",n.type,n.logcat);break;default:break}}}var ht=qe,vt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class wt{constructor(e){this.TAG="MSEController",this._config=e,this._emitter=new(Z()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new J}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaSource)throw new E("MediaSource has been attached to an HTMLMediaElement!");let t=this._mediaSource=new window.MediaSource;t.addEventListener("sourceopen",this.e.onSourceOpen),t.addEventListener("sourceended",this.e.onSourceEnded),t.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=e,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),e.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let e=this._mediaSource;for(let t in this._sourceBuffers){let n=this._pendingSegments[t];n.splice(0,n.length),this._pendingSegments[t]=null,this._pendingRemoveRanges[t]=null,this._lastInitSegments[t]=null;let d=this._sourceBuffers[t];if(d){if(e.readyState!=="closed"){try{e.removeSourceBuffer(d)}catch(y){S.e(this.TAG,y.message)}d.removeEventListener("error",this.e.onSourceBufferError),d.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[t]=null,this._sourceBuffers[t]=null}}if(e.readyState==="open")try{e.endOfStream()}catch(t){S.e(this.TAG,t.message)}e.removeEventListener("sourceopen",this.e.onSourceOpen),e.removeEventListener("sourceended",this.e.onSourceEnded),e.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(e,t){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(e),this._pendingSegments[e.type].push(e);return}let n=e,d=`${n.container}`;n.codec&&n.codec.length>0&&(d+=`;codecs=${n.codec}`);let y=!1;if(S.v(this.TAG,"Received Initialization Segment, mimeType: "+d),this._lastInitSegments[n.type]=n,d!==this._mimeTypes[n.type]){if(this._mimeTypes[n.type])S.v(this.TAG,`Notice: ${n.type} mimeType changed, origin: ${this._mimeTypes[n.type]}, target: ${d}`);else{y=!0;try{let m=this._sourceBuffers[n.type]=this._mediaSource.addSourceBuffer(d);m.addEventListener("error",this.e.onSourceBufferError),m.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(m){S.e(this.TAG,m.message),this._emitter.emit(vt.ERROR,{code:m.code,msg:m.message});return}}this._mimeTypes[n.type]=d}t||this._pendingSegments[n.type].push(n),y||this._sourceBuffers[n.type]&&!this._sourceBuffers[n.type].updating&&this._doAppendSegments(),w.safari&&n.container==="audio/mpeg"&&n.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=n.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(e){let t=e;this._pendingSegments[t.type].push(t),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let n=this._sourceBuffers[t.type];n&&!n.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(e){for(let t in this._sourceBuffers){if(!this._sourceBuffers[t])continue;let n=this._sourceBuffers[t];if(this._mediaSource.readyState==="open")try{n.abort()}catch(y){S.e(this.TAG,y.message)}this._idrList.clear();let d=this._pendingSegments[t];if(d.splice(0,d.length),this._mediaSource.readyState!=="closed"){for(let y=0;y=1&&e-d.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let e=this._mediaElement.currentTime;for(let t in this._sourceBuffers){let n=this._sourceBuffers[t];if(n){let d=n.buffered,y=!1;for(let m=0;m=this._config.autoCleanupMaxBackwardDuration){y=!0;let W=e-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[t].push({start:v,end:W})}}else fe0&&(isNaN(t)||n>t)&&(S.v(this.TAG,`Update MediaSource duration from ${t} to ${n}`),this._mediaSource.duration=n),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let e in this._pendingRemoveRanges){if(!this._sourceBuffers[e]||this._sourceBuffers[e].updating)continue;let t=this._sourceBuffers[e],n=this._pendingRemoveRanges[e];for(;n.length&&!t.updating;){let d=n.shift();t.remove(d.start,d.end)}}}_doAppendSegments(){let e=this._pendingSegments;for(let t in e)if(!(!this._sourceBuffers[t]||this._sourceBuffers[t].updating)&&e[t].length>0){let n=e[t].shift();if(n.timestampOffset){let d=this._sourceBuffers[t].timestampOffset,y=n.timestampOffset/1e3;Math.abs(d-y)>.1&&(S.v(this.TAG,`Update MPEG audio timestampOffset from ${d} to ${y}`),this._sourceBuffers[t].timestampOffset=y),delete n.timestampOffset}if(!n.data||n.data.byteLength===0)continue;try{this._sourceBuffers[t].appendBuffer(n.data),this._isBufferFull=!1,t==="video"&&n.hasOwnProperty("info")&&this._idrList.appendArray(n.info.syncPoints)}catch(d){this._pendingSegments[t].unshift(n),d.code===22?(this._isBufferFull||this._emitter.emit(vt.BUFFER_FULL),this._isBufferFull=!0):(S.e(this.TAG,d.message),this._emitter.emit(vt.ERROR,{code:d.code,msg:d.message}))}}}_onSourceOpen(){if(S.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let e=this._pendingSourceBufferInit;for(;e.length;){let t=e.shift();this.appendInitSegment(t,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(vt.SOURCE_OPEN)}_onSourceEnded(){S.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){S.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let e=this._pendingSegments;return e.video.length>0||e.audio.length>0}_hasPendingRemoveRanges(){let e=this._pendingRemoveRanges;return e.video.length>0||e.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(vt.UPDATE_END)}_onSourceBufferError(e){S.e(this.TAG,`SourceBuffer Error: ${e}`)}}var xt=wt;const He={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},ft={NETWORK_EXCEPTION:j.EXCEPTION,NETWORK_STATUS_CODE_INVALID:j.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:j.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:j.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:h.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:h.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:h.CODEC_UNSUPPORTED};class Lt{constructor(e,t){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(Z()),this._config=se(),typeof t=="object"&&Object.assign(this._config,t),e.type.toLowerCase()!=="flv")throw new ue("FlvPlayer requires an flv MediaDataSource input!");e.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=e,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let n=w.chrome&&(w.version.major<50||w.version.major===50&&w.version.build<2661);this._alwaysSeekKeyframe=!!(n||w.msedge||w.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(e,t){e===Se.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Se.MEDIA_INFO,this.mediaInfo)}):e===Se.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Se.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),e.addEventListener("seeking",this.e.onvSeeking),e.addEventListener("canplay",this.e.onvCanPlay),e.addEventListener("stalled",this.e.onvStalled),e.addEventListener("progress",this.e.onvProgress),this._msectl=new xt(this._config),this._msectl.on(vt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(vt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(vt.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(vt.ERROR,t=>{this._emitter.emit(Se.ERROR,He.MEDIA_ERROR,ft.MEDIA_MSE_ERROR,t)}),this._msectl.attachMediaElement(e),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new E("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new E("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new ht(this._mediaDataSource,this._config),this._transmuxer.on(V.INIT_SEGMENT,(e,t)=>{this._msectl.appendInitSegment(t)}),this._transmuxer.on(V.MEDIA_SEGMENT,(e,t)=>{if(this._msectl.appendMediaSegment(t),this._config.lazyLoad&&!this._config.isLive){let n=this._mediaElement.currentTime;t.info.endDts>=(n+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(S.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(V.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(Se.LOADING_COMPLETE)}),this._transmuxer.on(V.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(Se.RECOVERED_EARLY_EOF)}),this._transmuxer.on(V.IO_ERROR,(e,t)=>{this._emitter.emit(Se.ERROR,He.NETWORK_ERROR,e,t)}),this._transmuxer.on(V.DEMUX_ERROR,(e,t)=>{this._emitter.emit(Se.ERROR,He.MEDIA_ERROR,e,{code:-1,msg:t})}),this._transmuxer.on(V.MEDIA_INFO,e=>{this._mediaInfo=e,this._emitter.emit(Se.MEDIA_INFO,Object.assign({},e))}),this._transmuxer.on(V.METADATA_ARRIVED,e=>{this._emitter.emit(Se.METADATA_ARRIVED,e)}),this._transmuxer.on(V.SCRIPTDATA_ARRIVED,e=>{this._emitter.emit(Se.SCRIPTDATA_ARRIVED,e)}),this._transmuxer.on(V.STATISTICS_INFO,e=>{this._statisticsInfo=this._fillStatisticsInfo(e),this._emitter.emit(Se.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(V.RECOMMEND_SEEKPOINT,e=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=e/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._internalSeek(e):this._pendingSeekTime=e}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(e){if(e.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,d=0;if(this._mediaElement.getVideoPlaybackQuality){let y=this._mediaElement.getVideoPlaybackQuality();n=y.totalVideoFrames,d=y.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,d=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=d),e}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let e=this._mediaElement.buffered,t=this._mediaElement.currentTime,n=0,d=0;for(let y=0;y=t+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(S.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){S.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let e=this._mediaElement.currentTime,t=this._mediaElement.buffered,n=!1;for(let d=0;d=y&&e=m-this._config.lazyLoadRecoverDuration&&(n=!0);break}}n&&(window.clearInterval(this._progressChecker),this._progressChecker=null,n&&(S.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(e){let t=this._mediaElement.buffered;for(let n=0;n=d&&e0){let y=this._mediaElement.buffered.start(0);(y<1&&e0&&t.currentTime0){let d=n.start(0);if(d<1&&t{this._emitter.emit(Se.MEDIA_INFO,this.mediaInfo)}):e===Se.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(Se.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(e,t)}off(e,t){this._emitter.removeListener(e,t)}attachMediaElement(e){if(this._mediaElement=e,e.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{e.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(t){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new E("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(e){this._mediaElement.volume=e}get muted(){return this._mediaElement.muted}set muted(e){this._mediaElement.muted=e}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(e){this._mediaElement?this._mediaElement.currentTime=e:this._pendingSeekTime=e}get mediaInfo(){let t={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(t.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(t.width=this._mediaElement.videoWidth,t.height=this._mediaElement.videoHeight)),t}get statisticsInfo(){let e={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return e;let t=!0,n=0,d=0;if(this._mediaElement.getVideoPlaybackQuality){let y=this._mediaElement.getVideoPlaybackQuality();n=y.totalVideoFrames,d=y.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(n=this._mediaElement.webkitDecodedFrameCount,d=this._mediaElement.webkitDroppedFrameCount):t=!1;return t&&(e.decodedFrames=n,e.droppedFrames=d),e}_onvLoadedMetadata(e){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Se.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(Se.STATISTICS_INFO,this.statisticsInfo)}}var nn=Tt;p.install();function $t(Ke,e){let t=Ke;if(t==null||typeof t!="object")throw new ue("MediaDataSource must be an javascript object!");if(!t.hasOwnProperty("type"))throw new ue("MediaDataSource must has type field to indicate video file type!");switch(t.type){case"flv":return new lt(t,e);default:return new nn(t,e)}}function Xt(){return Ie.supportMSEH264Playback()}function Kt(){return Ie.getFeatureList()}let kt={};kt.createPlayer=$t,kt.isSupported=Xt,kt.getFeatureList=Kt,kt.BaseLoader=k,kt.LoaderStatus=_,kt.LoaderErrors=j,kt.Events=Se,kt.ErrorTypes=He,kt.ErrorDetails=ft,kt.FlvPlayer=lt,kt.NativePlayer=nn,kt.LoggingControl=Ne,Object.defineProperty(kt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var fn=kt},56762:function(Je,q,r){"use strict";r.d(q,{Z:function(){return p}});var u=r(59301);function p(){const[,P]=u.useReducer(Z=>Z+1,0);return P}},19080:function(Je,q,r){"use strict";r.d(q,{F:function(){return R},Z:function(){return Z}});var u=r(92310),p=r.n(u);const P=null;function Z(S,U,te){return p()({[`${S}-status-success`]:U==="success",[`${S}-status-warning`]:U==="warning",[`${S}-status-error`]:U==="error",[`${S}-status-validating`]:U==="validating",[`${S}-has-feedback`]:te})}const R=(S,U)=>U||S},98447:function(Je,q,r){"use strict";r.d(q,{C2:function(){return R}});var u=r(17313),p=r(37613),P=r(83116);const Z=S=>{const{checkboxCls:U}=S,te=`${U}-wrapper`;return[{[`${U}-group`]:Object.assign(Object.assign({},(0,u.Wf)(S)),{display:"inline-flex",flexWrap:"wrap",columnGap:S.marginXS,[`> ${S.antCls}-row`]:{flex:1}}),[te]:Object.assign(Object.assign({},(0,u.Wf)(S)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${te}`]:{marginInlineStart:0},[`&${te}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[U]:Object.assign(Object.assign({},(0,u.Wf)(S)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:S.borderRadiusSM,alignSelf:"center",[`${U}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${U}-inner`]:Object.assign({},(0,u.oN)(S))},[`${U}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:S.checkboxSize,height:S.checkboxSize,direction:"ltr",backgroundColor:S.colorBgContainer,border:`${S.lineWidth}px ${S.lineType} ${S.colorBorder}`,borderRadius:S.borderRadiusSM,borderCollapse:"separate",transition:`all ${S.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:S.checkboxSize/14*5,height:S.checkboxSize/14*8,border:`${S.lineWidthBold}px solid ${S.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${S.motionDurationFast} ${S.motionEaseInBack}, opacity ${S.motionDurationFast}`}},"& + span":{paddingInlineStart:S.paddingXS,paddingInlineEnd:S.paddingXS}})},{[` ${te}:not(${te}-disabled), ${U}:not(${U}-disabled) diff --git a/p__Paths__ThemeChange__Detail.8cddc10f.async.js b/p__Paths__ThemeChange__Detail.48dbcc04.async.js similarity index 99% rename from p__Paths__ThemeChange__Detail.8cddc10f.async.js rename to p__Paths__ThemeChange__Detail.48dbcc04.async.js index 57c5d13a51..905cffb45e 100644 --- a/p__Paths__ThemeChange__Detail.8cddc10f.async.js +++ b/p__Paths__ThemeChange__Detail.48dbcc04.async.js @@ -70,7 +70,7 @@ \\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}`}]}]}],x=ue=>{y.current.setValue(y.current.getValue()+" "+ue.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:we.createElement(E.Z,{className:de.Z.lists,gutter:[10,10]},a.map((ue,he)=>we.createElement(je.Z,{flex:"110px",className:de.Z.item},we.createElement("div",null,we.createElement(Se.Z,{value:`$$${ue.value}$$`}),ue.name),we.createElement("div",{className:de.Z.children},ue.children.map((pe,Pe)=>we.createElement("div",{key:Pe},we.createElement("h1",null,pe.name),we.createElement(E.Z,{gutter:[10,10]},pe.data.map((Ne,Ce)=>we.createElement(je.Z,{key:Ce,onClick:()=>x(Ne),className:de.Z.diamond},we.createElement(Se.Z,{value:"`$$"+Ne.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:we.createElement(E.Z,{className:de.Z.lists,gutter:[10,10]},z.map((ue,he)=>we.createElement(je.Z,{flex:"110px",className:de.Z.item},we.createElement("div",null,we.createElement(Se.Z,{value:"`$$"+ue.value+"$$`"}),ue.name),we.createElement("div",{className:de.Z.children},ue.children.map((pe,Pe)=>we.createElement("div",{key:Pe},pe.name&&we.createElement("h1",null,pe.name),we.createElement(E.Z,{gutter:[10,10]},pe.data.map((Ne,Ce)=>we.createElement(je.Z,{key:Ce,onClick:()=>x(Ne),className:de.Z.diamond},we.createElement(Se.Z,{value:"`$$"+Ne.value+"$$`"}))))))))))}],re=()=>{var ue=document.createElement("div");ue.innerHTML=y.current.getValue();var he=ue.innerText;return Ae&&Ae(he),he};return(0,le.useImperativeHandle)(fe,()=>({getData:re})),we.createElement("div",{className:de.Z.mathWrap},we.createElement(ke.default,{defaultActiveKey:"1",items:ee}),we.createElement("math-field",{locale:"zh_cn",className:de.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},me||""),ge&&we.createElement("div",{className:de.Z.button},we.createElement(xe.ZP,{size:"large",onClick:re,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});mn.Z=ae},49494:function(On,mn,oe){"use strict";oe.d(mn,{z:function(){return Qt},Z:function(){return pt}});var le=oe(59301),E=oe(54580),je=oe(8591),ke=oe(43418),xe=oe(3113),Se=oe(85386),de=oe(5930),ve=Object.defineProperty,we=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ge=(mt,rt,lt)=>rt in mt?ve(mt,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[rt]=lt,me=(mt,rt)=>{for(var lt in rt||(rt={}))ae.call(rt,lt)&&ge(mt,lt,rt[lt]);if(we)for(var lt of we(rt))Ae.call(rt,lt)&&ge(mt,lt,rt[lt]);return mt},fe=(mt,rt,lt)=>new Promise((At,dt)=>{var Rt=_t=>{try{En(lt.next(_t))}catch(dn){dt(dn)}},sn=_t=>{try{En(lt.throw(_t))}catch(dn){dt(dn)}},En=_t=>_t.done?At(_t.value):Promise.resolve(_t.value).then(Rt,sn);En((lt=lt.apply(mt,rt)).next())});const y="\u3000\u3000";function a(mt){var rt=["Bytes","KB","MB","GB","TB"];if(mt==0)return"0 Byte";var lt=parseInt(""+Math.floor(Math.log(mt)/Math.log(1024)),10);return(mt/Math.pow(1024,lt)).toFixed(1)+" "+rt[lt]}var z=({value:mt=[],action:rt,onChange:lt,className:At,maxSize:dt=150,title:Rt="\u6587\u4EF6\u4E0A\u4F20",accept:sn=null})=>{const En={multiple:!1,fileList:mt,accept:sn,withCredentials:!0,beforeUpload:dn=>dn.size/1024/1024(gt.name.indexOf(y)===-1&&(gt.name=`${gt.name}${y}${a(gt.size)}`),me({},gt))),dn.file.status==="done"&&((Tt=(Dt=dn.file)==null?void 0:Dt.response)==null?void 0:Tt.status)===-1){message.error((nn=(zt=dn.file)==null?void 0:zt.response)==null?void 0:nn.message),lt([]);return}lt(Ft)},onRemove:dn=>fe(void 0,null,function*(){const Dt=dn.size/1024/1024;return dn.status==="uploading"?!0:Dt0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:mt.length>0,ghost:!0},Rt),React.createElement("span",{onClick:_t,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",dt,"M)"," ")))},x=oe(61481),ee=oe(89392),re=Object.defineProperty,ue=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Pe=(mt,rt,lt)=>rt in mt?re(mt,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[rt]=lt,Ne=(mt,rt)=>{for(var lt in rt||(rt={}))he.call(rt,lt)&&Pe(mt,lt,rt[lt]);if(ue)for(var lt of ue(rt))pe.call(rt,lt)&&Pe(mt,lt,rt[lt]);return mt};const Ce=mt=>React.createElement("svg",Ne({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},mt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ye="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Ge=Object.defineProperty,Te=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,Lt=(mt,rt,lt)=>rt in mt?Ge(mt,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[rt]=lt,st=(mt,rt)=>{for(var lt in rt||(rt={}))it.call(rt,lt)&&Lt(mt,lt,rt[lt]);if(Te)for(var lt of Te(rt))ct.call(rt,lt)&&Lt(mt,lt,rt[lt]);return mt},Ct=(mt,rt,lt)=>new Promise((At,dt)=>{var Rt=_t=>{try{En(lt.next(_t))}catch(dn){dt(dn)}},sn=_t=>{try{En(lt.throw(_t))}catch(dn){dt(dn)}},En=_t=>_t.done?At(_t.value):Promise.resolve(_t.value).then(Rt,sn);En((lt=lt.apply(mt,rt)).next())});const{Dragger:ft}=E.default;function Qt(mt){let rt=[];return mt&&mt.length>0&&(rt=mt.map(lt=>({uid:lt.id,id:lt.id,name:lt.title+y+lt.filesize,url:lt.url,filesize:lt.filesize,status:"done",response:{id:lt.id}}))),rt}var pt=({value:mt,onChange:rt,action:lt,data:At,className:dt,maxSize:Rt=150,title:sn="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:En=!1,accept:_t="",additionalText:dn,isDragger:Dt,number:Tt=1e3,aloneClear:zt=!1,realTimeRemove:nn=!0,uploadText:Ft,setFileProgress:gt,showFileProgress:Zt})=>{const[xt,wt]=(0,le.useState)(!1);let[qe,Fe]=(0,le.useState)(mt||[]),[be,Oe]=(0,le.useState)(1);(0,le.useEffect)(()=>{mt&&(be===1&&Fe([...mt]),Oe(2),Tt===(mt==null?void 0:mt.length)&&wt(!0))},[mt]);const ze=()=>{setTimeout(()=>{qe.pop(),Fe([...qe])},500)};Zt&>(qe.some(vt=>vt.status==="uploading"));const Me={multiple:!0,disabled:xt,accept:_t,withCredentials:!0,fileList:qe,beforeUpload:(vt,Yt)=>{const Ht=vt.size/1024/1024;return qe.concat(Yt).length>Tt?(qe.pop(),Fe([...qe]),je.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${Tt}\u4E2A\u6587\u4EF6`),zt?Promise.reject():(ze(),!1)):Ht=Tt?wt(!0):wt(!1),Fe([...qe]),qe=qe.map(Sn=>{var Mt,en;return(Mt=Sn==null?void 0:Sn.response)!=null&&Mt.id&&(Sn.url=(en=Sn==null?void 0:Sn.response)==null?void 0:en.url),Sn.name.indexOf(y)===-1&&(Sn.name=`${Sn.name}${y}${a(Sn.size)}`),st({},Sn)}),console.log("info:",vt,qe),rt(qe)},onRemove:vt=>Ct(void 0,null,function*(){if(!nn)return!0;const Yt=()=>Ct(void 0,null,function*(){if(vt.response?vt.response.id:vt.id){let yt=yield(0,de.JZ)(vt.response?vt.response.id:vt.uid);return Promise.resolve(yt)}else return!0});return En?new Promise((Ht,yt)=>{ke.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:le.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>Ct(void 0,null,function*(){const rn=yield Yt();je.ZP.success("\u5220\u9664\u6210\u529F"),Ht(!0)}),onCancel:()=>Ht(!1)})}):yield Yt()})};function nt(vt){vt.preventDefault(),vt.stopPropagation()}return le.createElement("div",{className:`multi-upload ${dt||""}`},Dt&&le.createElement(ft,st({},Me),le.createElement("p",{className:"ant-upload-drag-icon"},le.createElement(x.Z,null)),le.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",le.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",Rt,"MB)"," "),dn),!Dt&&le.createElement(E.default,st({},Me),le.createElement(xe.ZP,{disabled:xt,className:"upload_button"},le.createElement("img",{className:"aBtn_img",src:Ye}),sn),le.createElement("span",{onClick:nt,className:"upload_text"},Ft||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${Rt}MB)`)))}},971:function(On,mn,oe){"use strict";oe.d(mn,{h:function(){return y},x:function(){return a}});var le=oe(55659),E=oe(33108),je=oe(17410),ke=oe(59301),xe=Object.defineProperty,Se=Object.defineProperties,de=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,Ae=(z,x,ee)=>x in z?xe(z,x,{enumerable:!0,configurable:!0,writable:!0,value:ee}):z[x]=ee,ge=(z,x)=>{for(var ee in x||(x={}))we.call(x,ee)&&Ae(z,ee,x[ee]);if(ve)for(var ee of ve(x))ae.call(x,ee)&&Ae(z,ee,x[ee]);return z},me=(z,x)=>Se(z,de(x)),fe=(z,x)=>{var ee={};for(var re in z)we.call(z,re)&&x.indexOf(re)<0&&(ee[re]=z[re]);if(z!=null&&ve)for(var re of ve(z))x.indexOf(re)<0&&ae.call(z,re)&&(ee[re]=z[re]);return ee};const y=z=>{var x=z,{value:ee,onChange:re,scrollId:ue}=x,he=fe(x,["value","onChange","scrollId"]);return ke.createElement("div",{id:ue||""},ke.createElement(le.Z,me(ge({},he),{defaultValue:ee,onChange:(pe,Pe)=>{Pe!=null&&Pe.length?re(pe,Pe):re(pe)}})))},a=({value:z,onChange:x,placeholder:ee,height:re=140,isEdit:ue,miniToolbar:he,watch:pe=!0})=>ue?ke.createElement(le.Z,{watch:pe,isFocus:!0,height:re||void 0,placeholder:ee,defaultValue:z,onChange:x,miniToolbar:he}):ke.createElement("div",{style:{cursor:"pointer"}},z?ke.createElement(je.Z,{className:E.Z.inputBorder,value:z}):ke.createElement("div",{className:`${E.Z.inputBorder} ${E.Z.placeholder} inputBorderError`},ee))},72050:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return Pe}});var le=oe(59301),E=oe(9221),je=Object.defineProperty,ke=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,de=(Ne,Ce,Ye)=>Ce in Ne?je(Ne,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ne[Ce]=Ye,ve=(Ne,Ce)=>{for(var Ye in Ce||(Ce={}))xe.call(Ce,Ye)&&de(Ne,Ye,Ce[Ye]);if(ke)for(var Ye of ke(Ce))Se.call(Ce,Ye)&&de(Ne,Ye,Ce[Ye]);return Ne},we=(Ne,Ce)=>{var Ye={};for(var Ge in Ne)xe.call(Ne,Ge)&&Ce.indexOf(Ge)<0&&(Ye[Ge]=Ne[Ge]);if(Ne!=null&&ke)for(var Ge of ke(Ne))Ce.indexOf(Ge)<0&&Se.call(Ne,Ge)&&(Ye[Ge]=Ne[Ge]);return Ye};const Ae={header:{cell:Ne=>{var Ce=Ne,{onResize:Ye,width:Ge}=Ce,Te=we(Ce,["onResize","width"]);return Ge?le.createElement(E.Resizable,{width:Ge,height:0,handle:le.createElement("span",{className:"react-resizable-handle",onClick:it=>{it.stopPropagation()}}),onResize:Ye,draggableOpts:{enableUserSelectHack:!1}},le.createElement("th",ve({},Te))):le.createElement("th",ve({},Te))}}};var ge=oe(1710),me=Object.defineProperty,fe=Object.defineProperties,y=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(Ne,Ce,Ye)=>Ce in Ne?me(Ne,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ne[Ce]=Ye,re=(Ne,Ce)=>{for(var Ye in Ce||(Ce={}))z.call(Ce,Ye)&&ee(Ne,Ye,Ce[Ye]);if(a)for(var Ye of a(Ce))x.call(Ce,Ye)&&ee(Ne,Ye,Ce[Ye]);return Ne},ue=(Ne,Ce)=>fe(Ne,y(Ce)),he=(Ne,Ce)=>{var Ye={};for(var Ge in Ne)z.call(Ne,Ge)&&Ce.indexOf(Ge)<0&&(Ye[Ge]=Ne[Ge]);if(Ne!=null&&a)for(var Ge of a(Ne))Ce.indexOf(Ge)<0&&x.call(Ne,Ge)&&(Ye[Ge]=Ne[Ge]);return Ye},Pe=Ne=>{var Ce=Ne,{pagination:Ye,resColumns:Ge,dataSource:Te,onRow:it}=Ce,ct=he(Ce,["pagination","resColumns","dataSource","onRow"]);const[Lt,st]=(0,le.useState)(!1),[Ct,ft]=(0,le.useState)([{}]),Qt=(0,le.useRef)(null);(0,le.useEffect)(()=>{let mt=Ge;mt=mt.map((rt,lt)=>ue(re({},rt),{onHeaderCell:At=>({width:At.width,onResize:pt(lt)})})),ft(mt)},[]),(0,le.useEffect)(()=>{Qt.current=Ct},[Ct]);const pt=mt=>(rt,{size:lt})=>{const At=[...Qt.current];At[mt]=ue(re({},At[mt]),{width:lt.width}),ft(At)};return le.createElement("div",null,le.createElement(ge.default,ue(re({bordered:!0,components:Ae,columns:Ct,dataSource:Te,pagination:Ye,loading:Lt,onRow:it},ct),{rowKey:mt=>mt.key||mt.id})))}},10134:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return Ce},P:function(){return pe}});var le=oe(59301),E=oe(78241),je=oe(43418),ke=oe(5112),xe=oe(92832),Se=oe(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"},ve=oe(16140),we=Object.defineProperty,ae=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,y=(Ye,Ge,Te)=>Ge in Ye?we(Ye,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ye[Ge]=Te,a=(Ye,Ge)=>{for(var Te in Ge||(Ge={}))me.call(Ge,Te)&&y(Ye,Te,Ge[Te]);if(ge)for(var Te of ge(Ge))fe.call(Ge,Te)&&y(Ye,Te,Ge[Te]);return Ye},z=(Ye,Ge)=>ae(Ye,Ae(Ge)),x=(Ye,Ge)=>{var Te={};for(var it in Ye)me.call(Ye,it)&&Ge.indexOf(it)<0&&(Te[it]=Ye[it]);if(Ye!=null&&ge)for(var it of ge(Ye))Ge.indexOf(it)<0&&fe.call(Ye,it)&&(Te[it]=Ye[it]);return Te},ee=(Ye,Ge,Te)=>new Promise((it,ct)=>{var Lt=ft=>{try{Ct(Te.next(ft))}catch(Qt){ct(Qt)}},st=ft=>{try{Ct(Te.throw(ft))}catch(Qt){ct(Qt)}},Ct=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Lt,st);Ct((Te=Te.apply(Ye,Ge)).next())});const re=({studentNames:Ye,total:Ge})=>{const Te=["","\u4E00","\u4E24","\u4E09"];return Ge>3?le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:de.orangeColor},Ye==null?void 0:Ye.join("\u3001")),"\u7B49",le.createElement("span",{className:de.orangeColor},Ge),"\u540D\u5B66\u751F"):le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:de.orangeColor},Ye==null?void 0:Ye.join("\u3001")),Te[Ge],"\u540D\u5B66\u751F")},ue=({used:Ye,copy:Ge,canNotCopy:Te,studentNames:it,studentCount:ct,inPaper:Lt,is_random:st=!1,position:Ct=""})=>{const ft=()=>{if(Ge>0&&Te>0)return le.createElement(le.Fragment,null,"\u5176\u4E2D",le.createElement("span",{className:de.orangeColor},Ge),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",le.createElement("span",{className:de.orangeColor},Te),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(Ge>0&&Te===0)return le.createElement(le.Fragment,null,"\u5176\u4E2D",le.createElement("span",{className:de.orangeColor},Ge),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(Ge===0&&Te>0)return le.createElement(le.Fragment,null,"\u5176\u4E2D",le.createElement("span",{className:de.orangeColor},Te),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Qt=Ct||(Lt?"\u8BD5\u5377":"\u8BFE\u7A0B");return le.createElement("span",null,le.createElement(re,{studentNames:it,total:ct}),"\u5B66\u4E60\u8FC7",Qt,"\u4E2D\u7684",le.createElement("span",{className:de.orangeColor},Ye),"\u4E2A\u9879\u76EE\uFF0C",ft(),"\u3002\u8BF7\u9009\u62E9",st?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},he=({onCancel:Ye,onOk:Ge,visible:Te,inPaper:it,renderData:ct,type:Lt,isMultipleCourse:st=!1})=>{const[Ct]=E.default.useForm(),[ft,Qt]=(0,le.useState)(1),[pt,mt]=(0,le.useState)(!1),rt=(0,le.useMemo)(()=>(ct==null?void 0:ct.total_num)===1&&(ct==null?void 0:ct.can_copy_num)===1,[ct]),lt=(0,le.useMemo)(()=>{var At;return(At=ct==null?void 0:ct.course_data_list)==null?void 0:At.filter(dt=>dt.is_show)},[ct]);return le.createElement(le.Fragment,null,rt?le.createElement(je.default,{centered:!0,closable:!0,open:Te,destroyOnClose:!0,title:"\u63D0\u793A",className:de.antdModal,width:682,confirmLoading:pt,onCancel:Ye,onOk:()=>ee(void 0,null,function*(){var At;mt(!0);let dt=ft;if(st){const Rt=a({},Ct.getFieldsValue());dt=(At=ct==null?void 0:ct.course_data_list)==null?void 0:At.map(sn=>Rt[sn.id]!==void 0?z(a({},sn),{is_copy:Rt[sn.id]}):sn)}yield Ge(dt),mt(!1)})},le.createElement("div",{className:de.content,style:{marginBottom:20}},st?"\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?":le.createElement(le.Fragment,null,le.createElement(re,{studentNames:ct==null?void 0:ct.student_names,total:ct==null?void 0:ct.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")),st?le.createElement(E.default,{form:Ct,preserve:!1},lt==null?void 0:lt.map(At=>le.createElement(le.Fragment,{key:At.id},le.createElement("h3",{className:"ml15 mb5"},At.name),le.createElement(E.default.Item,{name:At.id,initialValue:1},le.createElement(ke.ZP.Group,{className:de.content},le.createElement(ke.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),le.createElement(ke.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):le.createElement(ke.ZP.Group,{value:ft,onChange:At=>Qt(At.target.value),className:de.content,style:{marginBottom:30}},le.createElement(ke.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),le.createElement(ke.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),le.createElement("div",null,le.createElement("div",{className:de.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),le.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"),le.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"))):le.createElement(je.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Te,confirmLoading:pt,title:"\u63D0\u793A",width:682,onCancel:Ye,onOk:()=>ee(void 0,null,function*(){var At;mt(!0);let dt=0;if(st){const Rt=a({},Ct.getFieldsValue());dt=(At=ct==null?void 0:ct.course_data_list)==null?void 0:At.map(sn=>Rt[sn.id]!==void 0?z(a({},sn),{is_use:Rt[sn.id]}):sn)}yield Ge(dt),mt(!1)})},le.createElement("div",{className:de.content},le.createElement(re,{studentNames:ct==null?void 0:ct.student_names,total:ct==null?void 0:ct.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",st?le.createElement(E.default,{form:Ct,preserve:!1},le.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"),lt==null?void 0:lt.map(At=>le.createElement(le.Fragment,{key:At.id},le.createElement("h3",{className:"ml15 mb5"},At.name),le.createElement(E.default.Item,{name:At.id,initialValue:1},le.createElement(ke.ZP.Group,{className:de.content},le.createElement(ke.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),le.createElement(ke.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):le.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",le.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"))))},pe=function(){const[Ye,Ge]=(0,le.useState)(!1),[Te,it]=(0,le.useState)();return[Ye,()=>Ge(!1),Te,st=>ee(this,null,function*(){var Ct;const ft=st,{isImportMultipleCourse:Qt=!1}=ft,pt=x(ft,["isImportMultipleCourse"]);console.log(st);const mt=(st==null?void 0:st.result)||(yield(0,ve.Tr)(pt));return"status"in mt?!1:Qt?((Ct=mt==null?void 0:mt.course_data_list)==null?void 0:Ct.some(lt=>lt.is_show))?(it(mt),Ge(!0),!0):mt.course_data_list||[]:mt.student_count===0?!1:(it(mt),Ge(!0),!0)})]},Pe=Ye=>{const[Ge]=E.default.useForm(),[Te,it]=(0,le.useState)(!1),{onCancel:ct,onOk:Lt,visible:st,inPaper:Ct=!1,renderData:ft,type:Qt,isMultipleCourse:pt=!1,position:mt}=Ye;let rt=(0,le.useMemo)(()=>Ct?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:de.tableCell,render(dt,Rt){return le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(dt,Rt)=>le.createElement(le.Fragment,null,le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],initialValue:1},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426"))),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],hidden:!0,initialValue:1},le.createElement(xe.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:de.tableCell,render(dt,Rt){return le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(dt,Rt)=>le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],initialValue:1},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(dt,Rt)=>le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],initialValue:1},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426")))}],[Ct]),lt=(0,le.useMemo)(()=>Ct?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:de.tableCell,align:"center",ellipsis:!0,render:(dt,Rt)=>le.createElement(le.Fragment,null,le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],hidden:!0,initialValue:0},le.createElement(xe.default,{type:"hidden"})),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],hidden:!0,initialValue:1},le.createElement(xe.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:de.tableCell,ellipsis:!0,align:"center",render:(dt,Rt)=>le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(dt,Rt)=>le.createElement(le.Fragment,null,le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],initialValue:0},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426"))),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],hidden:!0,initialValue:0},le.createElement(xe.default,{type:"hidden"})))}],[Ct]);if(pt){const dt={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:de.tableCell,render:(Rt,sn)=>le.createElement("a",{href:`/classrooms/${sn.course_id}`},Rt)};rt=[dt,...rt],lt=[dt,...lt]}const At=(0,le.useMemo)(()=>ue({used:ft==null?void 0:ft.repeat_shixun_num,copy:ft==null?void 0:ft.can_copy_num,canNotCopy:ft==null?void 0:ft.no_copy_num,studentNames:ft==null?void 0:ft.student_names,studentCount:ft==null?void 0:ft.student_count,is_random:ft==null?void 0:ft.is_random,inPaper:Ct,position:mt}),[ft,Ct,mt]);return le.createElement(je.default,{title:"\u63D0\u793A",centered:!0,open:st,confirmLoading:Te,onOk:()=>ee(void 0,null,function*(){it(!0);const dt=Ge.getFieldsValue(),Rt=Object.keys(dt).map(sn=>({id:parseInt(sn.split("_")[0]),course_id:parseInt(sn.split("_")[1]),is_use:dt[sn].is_use,is_copy:dt[sn].is_copy}));yield Lt(Rt),it(!1)}),onCancel:ct,width:880,okText:"\u786E\u8BA4",className:de.antdModal,destroyOnClose:!0},le.createElement(E.default,{form:Ge,preserve:!1},le.createElement("div",{className:de.brief},At),le.createElement("div",{style:{marginBottom:30}},le.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),le.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"),le.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")),(ft==null?void 0:ft.can_copy_num)>0&&le.createElement("div",null,le.createElement("div",{className:de.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),le.createElement(Se.default,{columns:rt,className:de.antdTable,dataSource:ft==null?void 0:ft.can_copy_list,rowKey:Qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(ft==null?void 0:ft.no_copy_num)>0&&le.createElement("div",null,le.createElement("div",{className:de.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),le.createElement(Se.default,{columns:lt,className:de.antdTable,dataSource:ft==null?void 0:ft.no_copy_list,rowKey:Qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(ft==null?void 0:ft.no_use_list.length)>0&&(ft==null?void 0:ft.no_use_list.map(dt=>le.createElement("div",{key:Qt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id},le.createElement(E.default.Item,{name:[`${Qt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},le.createElement(xe.default,{type:"hidden"})),le.createElement(E.default.Item,{name:[`${Qt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},le.createElement(xe.default,{type:"hidden"})))))))};var Ce=Ye=>{const{modalType:Ge}=Ye;return Ge==="multiple"?le.createElement(Pe,a({},Ye)):le.createElement(he,a({},Ye))}},64925:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return ve}});var le=oe(59301),E={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"},je=oe(43418),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Se=(we,ae,Ae)=>new Promise((ge,me)=>{var fe=z=>{try{a(Ae.next(z))}catch(x){me(x)}},y=z=>{try{a(Ae.throw(z))}catch(x){me(x)}},a=z=>z.done?ge(z.value):Promise.resolve(z.value).then(fe,y);a((Ae=Ae.apply(we,ae)).next())}),ve=({type:we,resdata:ae,onok:Ae,oktext:ge,okloading:me})=>{const[fe,y]=(0,le.useState)(!1),{can_copy_list:a,can_copy_num:z,challenge_type:x,course_data_list:ee,no_copy_list:re,no_copy_num:ue,no_use_list:he,no_use_num:pe,repeat_shixun_num:Pe,student_count:Ne,total_num:Ce,use_num:Ye}=ae;let Ge=z>0||we==="exercise";(0,le.useEffect)(()=>{(ae==null?void 0:ae.student_count)>0&&y(!0)},[ae]),console.log("---11",me),(0,le.useEffect)(()=>{me||y(!1)},[me]);const Te=()=>{if(we==="exercise"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.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(we==="exercise"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixun"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixun"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="subject"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="subject"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",le.createElement("span",{className:E.orangeColor},Ne)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",le.createElement("span",{className:E.orangeColor},Ye)," \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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="exercisepush")return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",le.createElement("span",{className:E.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(we==="shixunpush"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixunpush"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",le.createElement("span",{className:E.orangeColor},Ye),"\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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},it=()=>{if(we==="exercise"||we==="subject"||we==="exercisepush"||we==="shixunpush")return le.createElement("div",{style:{marginTop:20}},ue>0&&le.createElement("div",null,le.createElement("span",{className:E.flex},le.createElement("img",{src:xe,style:{width:14}}),le.createElement("span",{className:E.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),le.createElement("div",{className:E.statusbody},we==="exercise"&&le.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.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"),(we==="subject"||we==="exercisepush")&&le.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ge&&le.createElement("span",{className:E.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"),we==="shixunpush"&&le.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ge&&le.createElement("span",{className:E.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"),le.createElement("div",null,re==null?void 0:re.map((ct,Lt)=>le.createElement("a",{href:`/shixuns/${ct.identifier}/challenges`,target:"_blank"},"\u300A",ct==null?void 0:ct.name,"\u300B",Lt+1!==ue&&"\u3001"))))),z>0&&le.createElement("div",{style:{marginTop:20}},le.createElement("span",{className:E.flex},le.createElement("img",{src:ke,style:{width:14}}),le.createElement("span",{className:E.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),le.createElement("div",{className:E.statusbody},we==="exercise"&&le.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"),(we==="subject"||we==="exercisepush")&&le.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"),we==="shixunpush"&&le.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"),le.createElement("div",null,a==null?void 0:a.map((ct,Lt)=>le.createElement("a",{href:`/shixuns/${ct.identifier}/challenges`,target:"_blank"},"\u300A",ct==null?void 0:ct.name,"\u300B",Lt+1!==z&&"\u3001"))))));if(we==="shixun")return le.createElement("div",{style:{marginTop:20}},z>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 le.createElement(je.default,{open:fe,onCancel:()=>{y(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ge&&"none"}},zIndex:1003,confirmLoading:me,okText:Ge?ge:"\u6211\u77E5\u9053\u4E86",onOk:()=>Se(void 0,null,function*(){Ge?yield Ae([...a,...he]):y(!1)})},le.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Te(),it()))}},41136:function(On,mn,oe){"use strict";oe.d(mn,{K:function(){return Se}});var le=oe(59301),E=oe(43418),je=oe(81032),ke={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},xe=oe(24334);const Se=({visible:de,width:ve,videoId:we,file_url:ae,course_id:Ae,copyUrl:ge,toLog:me=!0,logWatchHistory:fe=()=>{},allow_skip:y,onClose:a=()=>{},autoPlay:z=!1,onPlayEnded:x=()=>{}})=>le.createElement(E.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:de,title:null,footer:null,width:ve,className:ke.modal},le.createElement("i",{className:`${ke.closeIcon} iconfont icon-guanbi10`,onClick:a}),de&&le.createElement(je.Z,{onPlayEnded:x,autoPlay:z,allow_skip:y,courseId:Ae,src:ae!=null&&ae.startsWith("http")?ae:xe.Base64.decode(ae),videoId:we,toLog:me,logWatchHistory:fe}))},81032:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return y}});var le=oe(59301),E=oe(8591),je=oe(38854),ke=oe(96640),xe=oe(44523),Se=oe(47141),de=oe(56102),ve=oe(18030),we={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},ae=(a,z,x)=>new Promise((ee,re)=>{var ue=Pe=>{try{pe(x.next(Pe))}catch(Ne){re(Ne)}},he=Pe=>{try{pe(x.throw(Pe))}catch(Ne){re(Ne)}},pe=Pe=>Pe.done?ee(Pe.value):Promise.resolve(Pe.value).then(ue,he);pe((x=x.apply(a,z)).next())});function Ae(a){if(isNaN(a))return{minutes:"00",seconds:"00"};const z=new Date(a*1e3).toISOString().substr(11,8);return{hour:z.substr(0,2),minutes:z.substr(3,2),seconds:z.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function ge(a,z){return a-z}function me(a){a.sort(ge);let z=0;for(let x=0;x{},handlePlay:Pe=()=>{},handlePlayEnded:Ne=()=>{},autoPlay:Ce=!1,onPlayEnded:Ye=()=>{},isShowWaterMark:Ge=!0},Te)=>{var it;const Lt=((it=z==null?void 0:z.split("."))==null?void 0:it.pop())==="flv",st=(0,le.useRef)(),Ct=(0,le.useRef)(),ft=(0,le.useRef)(),Qt=(0,le.useRef)(),pt=(0,le.useRef)(),mt=(0,le.useRef)(),rt=(0,le.useRef)(),lt=(0,le.useRef)(),At=(0,le.useRef)(),dt=(0,le.useRef)(),Rt=(0,le.useRef)(),sn=(0,le.useRef)(),En=(0,le.useRef)(),_t=(0,le.useRef)(),dn=navigator.userAgent.toLowerCase().match(fe),Dt=dn?dn[0]:"pc",Tt=(0,le.useRef)(!1),zt=(0,Se.eY)();let nn=0,Ft=0,gt=0,Zt=null,xt=!1,wt=20,qe=1,Fe=!1,be=!1,Oe=[];(0,le.useImperativeHandle)(Te,()=>({getLastUpdatedTime:()=>st.current.currentTime,getDuration:()=>st.current.duration})),E.ZP.config({maxCount:1,getContainer:()=>ft.current});const ze=(0,le.useCallback)((rn,Sn=!1)=>{let Mt={point:st.current.currentTime};Zt?(Mt.log_id=Zt,Mt.watch_duration=me(Oe),Mt.total_duration=Ft):(ue?(Mt.video_id=parseInt(ee,10),Mt.course_id=ue):Mt.video_id=ee,Mt.duration=nn,Mt.device=Dt),Sn&&(Mt.ed="1");function en(){return ae(this,null,function*(){Fe=!0,Zt=yield re==null?void 0:re(Mt),Fe=!1,rn&&rn()})}en()},[ee,ue]);(0,le.useEffect)(()=>{st.current&&(Qt.current.style.display="none",pt.current.style.display="block"),E.ZP.destroy();let rn=null;return ke.Z.isSupported&&Lt&&z&&(z==null?void 0:z.indexOf(".m3u8"))<0?(rn=ke.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:z,muted:!1}),st.current&&(rn.attachMediaElement(st.current),rn.load())):st.current.setAttribute("src",z),nt(),()=>{rn&&(rn.unload(),rn.pause(),rn.destroy(),rn=null)}},[st,Lt,z]);function Me(){st.current.paused?(Qt.current.style.display="none",pt.current.style.display="block"):(Qt.current.style.display="block",pt.current.style.display="none")}function nt(){Rt.current.style.display="none",En.current.style.display="none",sn.current.style.display="none",st.current.muted||st.current.volume===0?Rt.current.style.display="block":st.current.volume>0&&st.current.volume<=.5?En.current.style.display="block":sn.current.style.display="block"}(0,le.useEffect)(()=>{const rn=document.getElementById("play"),Sn=document.querySelectorAll(".playback-icons use");function Mt(){Pe(),he&&!Tt.current&&(st.current.currentTime=he),Tt.current=!0,Oe.push(st.current.currentTime),xt||(xt=!0,x&&ze())}function en(){return ae(this,null,function*(){Me(),Oe.push(st.current.currentTime),x&&ze(()=>{Zt=null,gt=0,xt=!1,Fe=!1,be=!1,Oe=[],Ft=0,qe=1},!0),Ye()})}function vn(){mt.current.value=Math.round(st.current.currentTime),rt.current.value=Math.round(st.current.currentTime)}function yn(){const Ka=Ae(Math.round(st.current.currentTime));At.current.innerText=`${Ka.hour>0?Ka.hour+":":""}${Ka.minutes}:${Ka.seconds}`,At.current.setAttribute("datetime",`${Ka.hour>0?" "+Ka.hour+" ":""}${Ka.minutes}m ${Ka.seconds}s`)}function $n(){var Ka,pi,_o,Xa,hi,ei,qn;const Oa=Math.round((Ka=st.current)==null?void 0:Ka.duration);(_o=(pi=mt.current)==null?void 0:pi.setAttribute)==null||_o.call(pi,"max",Oa),(hi=(Xa=rt.current)==null?void 0:Xa.setAttribute)==null||hi.call(Xa,"max",Oa);const oo=Ae(Oa);lt.current&&(lt.current.innerText=`${oo.hour>0?oo.hour+":":""}${oo.minutes}:${oo.seconds}`,(qn=(ei=lt.current).setAttribute)==null||qn.call(ei,"datetime",`${oo.hour>0?" "+oo.hour+" ":""}${oo.minutes}m ${oo.seconds}s`))}function Pr(){try{const Ka=Math.round(st.current.duration);mt.current.setAttribute("max",Ka),rt.current.setAttribute("max",Ka);const pi=Ae(Ka);lt.current.innerText=`${pi.hour>0?pi.hour+":":""}${pi.minutes}:${pi.seconds}`,lt.current.setAttribute("datetime",`${pi.hour>0?" "+pi.hour+" ":""}${pi.minutes}m ${pi.seconds}s`),vn(),yn();const{width:_o,height:Xa,x:hi,y:ei}=Ct.current.getBoundingClientRect();if(hi<0||ei<0||!_o)return;if(!be){let qn=st.current.currentTime,Oa=qn-gt;Math.abs(Oa)<10?(Ft+=Math.abs(Oa),gt=qn,Fe||Ft-qe*wt>=0&&(qe++,Oe.push(gt),x&&ze())):(gt=qn,x&&ze())}}catch(Ka){console.log(Ka)}}function wr(){be=!0}function zr(){st.current.playing&&Oe.push(st.current.currentTime,gt),gt=st.current.currentTime,be=!1}function na(){nn=st.current.duration,nn<=20&&(wt=nn/3),st.current.addEventListener("play",Mt)}function sa(Ka){Ka.preventDefault(),(0,ve.vp)()?(st.current.style.width="100%",st.current.style.height="100%"):st.current.style.cssText=""}function ra(){pe()}function La(Ka){if(!a){E.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const pi=Ka.target.dataset.seek?Ka.target.dataset.seek:Ka.target.value;st.current.currentTime=pi,rt.current.value=pi,mt.current.value=pi}function co(Ka){const pi=Math.round(Ka.offsetX/Ka.target.clientWidth*parseInt(Ka.target.getAttribute("max"),10));mt.current.setAttribute("data-seek",pi);const _o=Ae(pi);dt.current.textContent=`${_o.hour>0?_o.hour+":":""}${_o.minutes}:${_o.seconds}`;const Xa=st.current.getBoundingClientRect();dt.current.style.left=`${Ka.pageX-Xa.left}px`}function $o(Ka){switch(Ka.code){case"Space":Ka.preventDefault(),Ht();break;case"ArrowRight":if(Ka.preventDefault(),!a){E.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(st.current.currentTime>=st.current.duration)break;st.current.currentTime=parseInt(st.current.currentTime)+5,vn();break;case"ArrowLeft":if(Ka.preventDefault(),!a){E.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(st.current.currentTime===0)break;st.current.currentTime=parseInt(st.current.currentTime)-5,vn();break;case"ArrowUp":Ka.preventDefault(),st.current.volume<1&&(st.current.volume=(parseInt(st.current.volume*10)+1)/10);break;case"ArrowDown":Ka.preventDefault(),st.current.volume>0&&(st.current.volume=(parseInt(st.current.volume*10)-1)/10);break}}return ft.current.addEventListener((0,ve.gH)(),sa),st.current.addEventListener("canplay",na),st.current.addEventListener("ended",en),st.current.addEventListener("seeking",wr),st.current.addEventListener("seeked",zr),st.current.addEventListener("loadedmetadata",$n),mt.current.addEventListener("mousemove",co),mt.current.addEventListener("input",La),st.current.addEventListener("timeupdate",Pr),st.current.addEventListener("pause",ra),st.current.addEventListener("volumechange",nt),document.addEventListener("keydown",$o),()=>{var Ka,pi,_o,Xa,hi,ei,qn,Oa,oo,mo,ni,Yr;(Ka=st.current)==null||Ka.removeEventListener("canplay",na),(pi=st.current)==null||pi.removeEventListener("play",Mt),(_o=st.current)==null||_o.removeEventListener("ended",en),(Xa=st.current)==null||Xa.removeEventListener("seeking",wr),(hi=st.current)==null||hi.removeEventListener("seeked",zr),(ei=mt.current)==null||ei.removeEventListener("mousemove",co),(qn=mt.current)==null||qn.removeEventListener("input",La),(Oa=st.current)==null||Oa.removeEventListener("timeupdate",Pr),(oo=st.current)==null||oo.removeEventListener("pause",ra),(mo=st.current)==null||mo.removeEventListener("loadedmetadata",$n),(ni=st.current)==null||ni.removeEventListener("volumechange",nt),document.removeEventListener("keydown",$o),(Yr=st.current)!=null&&Yr.playing&&(Oe.push(gt,st.current.currentTime),x&&ze())}},[st,z]),(0,le.useEffect)(()=>{if(st.current.onended=()=>{Ne(st)},st.current.oncontextmenu=()=>!1,(z==null?void 0:z.indexOf(".m3u8"))>-1){if(st.current.canPlayType("application/vnd.apple.mpegurl"))st.current.src=z;else if(xe.ZP.isSupported()){var rn=new xe.ZP;rn.loadSource(z),rn.attachMedia(st.current)}}},[z]);const[vt,Yt]=(0,le.useState)(1),Ht=()=>{st.current.paused||st.current.ended?st.current.play():st.current.pause(),Me()};function yt(){st.current.muted=!st.current.muted,st.current.muted?(_t.current.setAttribute("data-volume",volume.value),_t.current.value=0):_t.current.value=_t.current.dataset.volume}return le.createElement("div",{style:{position:"relative"},ref:ft},le.createElement("div",{ref:Ct,className:`${we.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${we.animate__loop}`},Ge&&zt?zt.login:" "),le.createElement("div",{className:we.container},le.createElement("div",{className:we["video-container"],id:"video-container"},le.createElement("div",{className:we["playback-animation"],id:"playback-animation"},le.createElement("svg",{className:we["playback-icons"]},le.createElement("use",{className:"hidden",href:"#play-icon"}),le.createElement("use",{href:"#pause"}))),le.createElement("video",{className:we.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:st,autoPlay:Ce}),le.createElement("div",{className:`${we["video-controls"]} `,id:"video-controls"},le.createElement("div",{className:we["bottom-controls"]},le.createElement("div",{className:we["left-controls"]},le.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Ht},le.createElement("svg",{className:we["playback-icons"]},le.createElement("use",{ref:pt,href:"#play-icon"}),le.createElement("use",{ref:Qt,style:{display:"none"},href:"#pause"}))),le.createElement("div",{className:we.time},le.createElement("time",{id:"time-elapsed",ref:At},"00:00"),le.createElement("span",null," / "),le.createElement("time",{id:"duration",ref:lt},"00:00"))),le.createElement("div",{className:we["right-controls"]},a&&le.createElement(je.Z,{placement:"top",overlayClassName:we.rateOverlay,getPopupContainer:rn=>rn.parentNode,menu:{items:[{key:"1",label:le.createElement("span",{onClick:()=>{Yt(1),st.current.playbackRate=1}},"1.0x")},{key:"2",label:le.createElement("span",{onClick:()=>{Yt(1.5),st.current.playbackRate=1.5}},"1.5x")},{key:"3",label:le.createElement("span",{onClick:()=>{Yt(2),st.current.playbackRate=2}},"2.0x")}]}},le.createElement("div",{className:`${we.controlText} mr5`},"\u500D\u901F")),le.createElement(de.CopyToClipboard,{text:z,onCopy:()=>E.ZP.success("\u590D\u5236\u6210\u529F")},le.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},le.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),le.createElement("div",{className:we["volume-controls"]},le.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:we["volume-button"],id:"volume-button",onClick:yt},le.createElement("i",{ref:Rt,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),le.createElement("i",{ref:En,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),le.createElement("i",{ref:sn,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),le.createElement("input",{className:we.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:_t,style:{display:"none"},onClick:nt})),le.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:we["fullscreen-button"],onClick:()=>{(0,ve.vp)()?(0,ve.BU)():(0,ve.Dj)(ft.current)}},le.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),le.createElement("div",{className:we["video-progress"]},le.createElement("progress",{ref:rt,value:"0",min:"0"}),le.createElement("input",{className:we.seek,ref:mt,value:"0",min:"0",type:"range",step:"1"}),le.createElement("div",{className:we["seek-tooltip"],ref:dt,id:"seek-tooltip"},"00:00"))))),le.createElement("svg",{style:{display:"none"}},le.createElement("defs",null,le.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},le.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),le.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},le.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),le.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},le.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),le.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},le.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),le.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},le.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),le.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},le.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),le.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},le.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),le.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},le.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},85554:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return ke}});var le=oe(59301),E=oe(29724),je=oe(11611),ke=()=>{const[xe,Se]=(0,le.useState)(""),[de,ve]=(0,le.useState)(0);let[we,ae]=(0,le.useState)(),[Ae,ge]=(0,le.useState)();const[me,fe]=(0,le.useState)(!1),y=(0,le.useRef)("");(0,le.useEffect)(()=>E.Z.subscribe("preview-image",Ce=>{Se(Ce),console.log(pe.current),document.body.style.overflow="hidden"}),[]),(0,le.useEffect)(()=>(document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}),[]),(0,le.useEffect)(()=>{y.current=xe},[xe]);function a(Ne){Ne.keyCode==27&&y.current&&z()}function z(){document.body.style.overflow="auto",ae(void 0),ge(void 0),ve(0),Se("")}function x(){ve(de+90)}function ee(){we=pe.current.width*1.1,Ae=pe.current.height*1.1,ge(Ae),ae(we)}function re(){we=pe.current.width/1.1,Ae=pe.current.height/1.1,ge(Ae),ae(we)}const ue=(0,le.useRef)(),he=(0,le.useRef)(),pe=(0,le.useRef)(),Pe=Ne=>{(Ne.nativeEvent.target===ue.current||Ne.nativeEvent.target===he.current)&&z()};return le.createElement(le.Fragment,null,xe?le.createElement("div",null,le.createElement("div",{className:"preview-wrp-group",ref:he},le.createElement(je.Z,{className:"image-preview",src:xe,style:{display:"none"},preview:{visible:!0,src:xe,movable:!1,onVisibleChange:Ne=>{Se("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57560:function(On,mn,oe){"use strict";oe.d(mn,{h:function(){return ue}});var le=oe(59301),E=oe(57809),je=oe(78241),ke=oe(3113),xe=oe(89780),Se=oe.n(xe),de=oe(78318),ve=oe(44084),we=Object.defineProperty,ae=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,y=(he,pe,Pe)=>pe in he?we(he,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[pe]=Pe,a=(he,pe)=>{for(var Pe in pe||(pe={}))me.call(pe,Pe)&&y(he,Pe,pe[Pe]);if(ge)for(var Pe of ge(pe))fe.call(pe,Pe)&&y(he,Pe,pe[Pe]);return he},z=(he,pe)=>ae(he,Ae(pe));const x=E.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},re={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"]};mn.Z=({callback:he,onCancel:pe})=>{const[Pe,Ne]=(0,le.useState)("python");function Ce(Ge){Ne(re[Ge][1])}function Ye(Ge){he(Ge)}return le.createElement(je.default,z(a({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),le.createElement(je.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},le.createElement(E.default,{getPopupContainer:Ge=>Ge.parentNode,onChange:Ce},Object.keys(re).map(Ge=>le.createElement(x,{key:Ge,value:Ge},re[Ge][0])))),le.createElement(je.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},le.createElement(ue,{mode:Pe})),le.createElement("div",{className:"flex-container flex-end"},le.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(ke.ZP,{type:"ghost",onClick:pe},"\u53D6\u6D88")))};function ue({value:he,onChange:pe,mode:Pe,options:Ne={}}){const Ce=(0,le.useRef)(),[Ye,Ge]=(0,le.useState)();return(0,le.useEffect)(()=>{if(Ye){let Te=function(it){const ct=it.getValue();pe&&pe(ct)};return Ye.on("change",Te),()=>{Ye.off("change",Te)}}},[Ye,pe]),(0,le.useEffect)(()=>{Ye&&Ye.setOption("mode",Pe)},[Ye,Pe]),(0,le.useEffect)(()=>{Ye&&(he!==Ye.getValue()||he==="")&&setTimeout(()=>{Ye.setValue(he||"")},300)},[Ye,he]),(0,le.useEffect)(()=>{if(Ce.current&&!Ye){const Te=Se().fromTextArea(Ce.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ne));Ge(Te)}},[Ce.current,Ye]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Ce}))}},55659:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return Ve}});var le=oe(59301),E=oe(89780),je=oe.n(E),ke=oe(76374),xe=oe(78318),Se=oe(6313),de=oe(25717),ve=oe(99498),we=oe(25419),ae=oe(67549),Ae=oe(17410),ge=({value:Ue="",className:$e,showTextOnly:ht,showLines:Gt,style:wn={}})=>{const Fn=(0,le.useMemo)(()=>"",[Ue]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:Fn}}))},me=oe(59301),fe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,re=(Ue,$e,ht)=>$e in Ue?fe(Ue,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ue[$e]=ht,ue=(Ue,$e)=>{for(var ht in $e||($e={}))x.call($e,ht)&&re(Ue,ht,$e[ht]);if(z)for(var ht of z($e))ee.call($e,ht)&&re(Ue,ht,$e[ht]);return Ue},he=(Ue,$e)=>y(Ue,a($e));let pe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Pe({onActionCallback:Ue,title:$e,icon:ht,actionName:Gt,className:wn="",children:Fn}){function dr(){Ue(Gt)}return me.createElement("a",{title:$e,className:wn,onClick:dr},me.createElement("i",{className:`${ht}`}),Fn)}var Ne=({watch:Ue,showNullButton:$e,showNullProgramButton:ht,onActionCallback:Gt,fullScreen:wn,insertTemp:Fn,hidetoolBar:dr,extraUse:jr})=>{const Jn=[...pe,{title:`${Ue?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ue?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return me.createElement("ul",{className:"markdown-toolbar-container"},!dr&&Jn.map((Vn,Rr)=>me.createElement("li",{key:Rr},Vn.actionName?me.createElement(Pe,he(ue({},Vn),{onActionCallback:Gt})):me.createElement("span",{className:"v-line"}))),$e?me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ht?me.createElement(me.Fragment,null,me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Fn&&me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Fn}`,onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),jr&&me.createElement("li",null,jr),me.createElement("li",{className:"btn-full-screen"},me.createElement(Pe,{icon:`${wn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:wn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Gt})))},Ce=oe(74254),Ye=oe(78241),Ge=oe(92832),Te=oe(3113),it=Object.defineProperty,ct=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Qt=(Ue,$e,ht)=>$e in Ue?it(Ue,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ue[$e]=ht,pt=(Ue,$e)=>{for(var ht in $e||($e={}))Ct.call($e,ht)&&Qt(Ue,ht,$e[ht]);if(st)for(var ht of st($e))ft.call($e,ht)&&Qt(Ue,ht,$e[ht]);return Ue},mt=(Ue,$e)=>ct(Ue,Lt($e));const rt={labelCol:{span:4},wrapperCol:{span:20}};var lt=({callback:Ue,onCancel:$e})=>{function ht(Gt){Ue(Gt)}return le.createElement(Ye.default,mt(pt({},rt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ht,style:{width:500}}),le.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},le.createElement(Ge.default,null)),le.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},le.createElement(Ge.default,null)),le.createElement("div",{className:"flex-container flex-end"},le.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Te.ZP,{type:"ghost",onClick:$e},"\u53D6\u6D88")))},At=oe(57560),dt=oe(42307),Rt=oe(43418),sn=oe(95237),En=oe(40783),_t=oe(59301),dn=({callback:Ue,onCancel:$e})=>{const ht=document.createElement("canvas"),Gt=ht.getContext("2d");ht.width=1e3,ht.height=800,Gt.fillStyle="#ffffff",Gt.fillRect(0,0,ht.width,ht.height);const wn=ht.toDataURL("image/png");return _t.createElement(Rt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},_t.createElement(sn.Z,{style:{height:"100vh"}},_t.createElement(En.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:wn,visible:!0,title:String(Date.now())},onOk:Fn=>{Ue({src:Fn.url})},onClose:$e})))},Dt=oe(12378);function Tt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Tt,go.CommandHandler),Tt.prototype.canAlignSelection=function(){var Ue=this.diagram;return!(Ue===null||Ue.isReadOnly||Ue.isModelReadOnly||Ue.selection.count<2)},Tt.prototype.alignLeft=function(){var Ue=this.diagram;Ue.startTransaction("aligning left");var $e=1/0;Ue.selection.each(function(ht){ht instanceof go.Link||($e=Math.min(ht.position.x,$e))}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point($e,ht.position.y))}),Ue.commitTransaction("aligning left")},Tt.prototype.alignRight=function(){var Ue=this.diagram;Ue.startTransaction("aligning right");var $e=-1/0;Ue.selection.each(function(ht){if(!(ht instanceof go.Link)){var Gt=ht.actualBounds.x+ht.actualBounds.width;$e=Math.max(Gt,$e)}}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point($e-ht.actualBounds.width,ht.position.y))}),Ue.commitTransaction("aligning right")},Tt.prototype.alignTop=function(){var Ue=this.diagram;Ue.startTransaction("alignTop");var $e=1/0;Ue.selection.each(function(ht){ht instanceof go.Link||($e=Math.min(ht.position.y,$e))}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point(ht.position.x,$e))}),Ue.commitTransaction("alignTop")},Tt.prototype.alignBottom=function(){var Ue=this.diagram;Ue.startTransaction("aligning bottom");var $e=-1/0;Ue.selection.each(function(ht){if(!(ht instanceof go.Link)){var Gt=ht.actualBounds.y+ht.actualBounds.height;$e=Math.max(Gt,$e)}}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point(ht.actualBounds.x,$e-ht.actualBounds.height))}),Ue.commitTransaction("aligning bottom")},Tt.prototype.alignCenterX=function(){var Ue=this.diagram,$e=Ue.selection.first();if($e){Ue.startTransaction("aligning Center X");var ht=$e.actualBounds.x+$e.actualBounds.width/2;Ue.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(ht-Gt.actualBounds.width/2,Gt.actualBounds.y))}),Ue.commitTransaction("aligning Center X")}},Tt.prototype.alignCenterY=function(){var Ue=this.diagram,$e=Ue.selection.first();if($e){Ue.startTransaction("aligning Center Y");var ht=$e.actualBounds.y+$e.actualBounds.height/2;Ue.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(Gt.actualBounds.x,ht-Gt.actualBounds.height/2))}),Ue.commitTransaction("aligning Center Y")}},Tt.prototype.alignColumn=function(Ue){var $e=this.diagram;$e.startTransaction("align Column"),Ue===void 0&&(Ue=0),Ue=parseFloat(Ue);var ht=new Array;$e.selection.each(function(jr){jr instanceof go.Link||ht.push(jr)});for(var Gt=0;Gt0){for(var jr=Fn.elt(dr-1);jr!==null&&jr.isTreeExpanded&&!jr.isTreeLeaf;){var Jn=this._sortTreeChildrenByY(jr);jr=Jn.last()}jr!==null&&Ue.select(jr)}else Ue.select(wn)}}else if(ht.key==="Down")if($e.isTreeExpanded&&!$e.isTreeLeaf){var Gt=this._sortTreeChildrenByY($e).first();Gt!==null&&Ue.select(Gt)}else for(;$e!==null;){var wn=$e.findTreeParentNode();if(wn===null)break;var Fn=this._sortTreeChildrenByY(wn),dr=Fn.indexOf($e);if(drFn.y?1:wn.xFn.x?1:0}),$e},Tt.prototype.copyToClipboard=function(Ue){go.CommandHandler.prototype.copyToClipboard.call(this,Ue),this._lastPasteOffset.set(this.pasteOffset)},Tt.prototype.pasteFromClipboard=function(){var Ue=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ue,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ue},Object.defineProperty(Tt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ue){if(Ue!=="move"&&Ue!=="select"&&Ue!=="scroll"&&Ue!=="tree"&&Ue!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ue);this._arrowKeyBehavior=Ue}}),Object.defineProperty(Tt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ue){if(!(Ue instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ue);this._pasteOffset.set(Ue)}});var zt=Tt,nn=oe(6404),Ft=oe(43604),gt=oe(43597),Zt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},xt=oe(59301),wt=(Ue,$e,ht)=>new Promise((Gt,wn)=>{var Fn=Jn=>{try{jr(ht.next(Jn))}catch(Vn){wn(Vn)}},dr=Jn=>{try{jr(ht.throw(Jn))}catch(Vn){wn(Vn)}},jr=Jn=>Jn.done?Gt(Jn.value):Promise.resolve(Jn.value).then(Fn,dr);jr((ht=ht.apply(Ue,$e)).next())});function qe({onCancel:Ue,callback:$e}){let ht=(0,le.useRef)(),Gt=(0,le.useRef)(),wn=(0,le.useRef)(),Fn=(0,le.useRef)(!1);const dr=(0,le.useRef)(!1),[jr,Jn]=(0,le.useState)(0);function Vn(){const Yn=Dt.bx.make,wa={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"};ht.current=new Dt.S0(Gt.current,{padding:20,grid:Yn(Dt.s_,"Grid",Yn(Dt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Yn(Dt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Ko=>{var ci=Ko.diagram.commandHandler.addTopLevelParts(Ko.diagram.selection,!0);ci||Ko.diagram.currentTool.doCancel()},commandHandler:Yn(zt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Ko=>{var ci=Ko.subject;ci.location=ci.location.copy().snapToGridPoint(Ko.diagram.grid.gridOrigin,Ko.diagram.grid.gridCellSize),setTimeout(()=>{Ko.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Ko=>{var ci=Ko.subject;setTimeout(()=>{Ko.diagram.commandHandler.editTextBlock()})},LinkRelinked:Ko=>{var ci=Ko.parameter.part;ci.invalidateConnectedLinks();var xi=Ko.subject;Ko.diagram.toolManager.linkingTool.isForwards?xi.toNode.invalidateConnectedLinks():xi.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ht.current.nodeTemplate=Yn(Dt.NB,"Auto",{locationSpot:Dt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Dt.$u(120,60),minSize:new Dt.$u(40,40),resizable:!0,resizeCellSize:new Dt.$u(10,10),rotatable:!0},new Dt.KX("location","loc",Dt.E9.parse).makeTwoWay(Dt.E9.stringify),new Dt.KX("desiredSize","size",Dt.$u.parse).makeTwoWay(Dt.$u.stringify),Yn(Dt.bn,{name:"SHAPE",fill:wa.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Dt.z6.AllSides,toSpot:Dt.z6.AllSides},new Dt.KX("figure"),new Dt.KX("fill"),new Dt.KX("stroke","borderColor"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Yn(Dt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Yn(Dt.al,{margin:1,textAlign:"center",overflow:Dt.al.OverflowEllipsis,editable:!0},new Dt.KX("text").makeTwoWay(),new Dt.KX("stroke","color"))),ht.current.nodeTemplate.toolTip=Yn("ToolTip",Yn(Dt.s_,"Vertical",{maxSize:new Dt.$u(200,NaN)},Yn(Dt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Dt.KX("text")),Yn(Dt.al,{font:"10pt sans-serif",textAlign:"center"},new Dt.KX("text","details"))));function Wr(Ko,ci){var xi=(xo,ns)=>{xo.handled=!0,xo.diagram.model.commit(Zs=>{var Bs=ns.part.adornedPart,Dl=new Dt.E9().setRectSpot(Bs.actualBounds,Ko);Dl.subtract(Bs.location),Dl.scale(2,2),Dl.x+=Math.sign(Dl.x)*130,Dl.y+=Math.sign(Dl.y)*130,Dl.add(Bs.location),Dl.snapToGridPoint(xo.diagram.grid.gridOrigin,xo.diagram.grid.gridCellSize);var Ol=Zs.copyNodeData(Bs.data);Zs.setGroupKeyForNodeData(Ol,Zs.getGroupKeyForNodeData(Bs.data)),Zs.addNodeData(Ol);var nu={from:Bs.key,to:Zs.getKeyForNodeData(Ol)};Zs.addLinkData(nu);var Fu=xo.diagram.findNodeForData(Ol);Fu.location=Dl,xo.diagram.select(Fu),setTimeout(()=>{xo.diagram.commandHandler.editTextBlock()},20)})};return Yn(Dt.bn,{figure:ci,alignment:Ko,alignmentFocus:Ko.opposite(),width:Ko.equals(Dt.z6.Top)||Ko.equals(Dt.z6.Bottom)?25:18,height:Ko.equals(Dt.z6.Top)||Ko.equals(Dt.z6.Bottom)?18:25,fill:"orange",stroke:wa.white,strokeWidth:4,mouseEnter:(xo,ns)=>ns.fill="dodgerblue",mouseLeave:(xo,ns)=>ns.fill="orange",isActionable:!0,click:xi,contextClick:xi})}function Gr(Ko){return Yn(Dt.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:(ci,xi)=>xi.fill="dodgerblue",mouseLeave:(ci,xi)=>xi.fill="orange",click:(ci,xi)=>{ci.diagram.commandHandler.showContextMenu(xi.part.adornedPart)}},Ko||{})}ht.current.nodeTemplate.selectionAdornmentTemplate=Yn(Dt.uz,"Spot",Yn(Dt.Vm,{padding:10}),Wr(Dt.z6.Top,"TriangleUp"),Wr(Dt.z6.Left,"TriangleLeft"),Wr(Dt.z6.Right,"TriangleRight"),Wr(Dt.z6.Bottom,"TriangleDown"),Gr({alignment:new Dt.z6(.75,0)}));function la(Ko,ci){return(xi,xo)=>{xi.handled=!0,xi.diagram.model.commit(ns=>{ns.set(xo.part.adornedPart.data,Ko,ci)})}}function In(Ko,ci){return ci||(ci="color"),Yn(Dt.bn,{width:16,height:16,stroke:"lightgray",fill:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.stroke="dodgerblue",mouseLeave:(xi,xo)=>xo.stroke="lightgray",click:la(ci,Ko),contextClick:la(ci,Ko)})}function nr(){return[Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.white,"fill"),In(wa.beige,"fill"),In(wa.extralightblue,"fill"),In(wa.extralightred,"fill"))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.lightgray,"fill"),In(wa.lightgreen,"fill"),In(wa.lightblue,"fill"),In(wa.lightred,"fill")))]}function fr(){return[Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.black),In(wa.green),In(wa.blue),In(wa.red))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.white),In(wa.magenta),In(wa.purple),In(wa.orange)))]}function Qr(Ko,ci){return ci||(ci="thickness"),Yn(Dt.bn,"LineH",{width:16,height:16,strokeWidth:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:la(ci,Ko),contextClick:la(ci,Ko)})}function ga(Ko,ci){return ci||(ci="dash"),Yn(Dt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:la(ci,Ko),contextClick:la(ci,Ko)})}function Kr(){return[Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",Qr(1),Qr(2),Qr(3),Qr(4))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ga(null),ga([2,4]),ga([4,4])))]}function ua(Ko,ci){return ci||(ci="figure"),Yn(Dt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.fill="dodgerblue",mouseLeave:(xi,xo)=>xo.fill="lightgray",click:la(ci,Ko),contextClick:la(ci,Ko)})}ht.current.nodeTemplate.contextMenu=Yn("ContextMenu",Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ua("Rectangle"),ua("RoundedRectangle"),ua("Ellipse"),ua("Diamond"))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ua("Parallelogram2"),ua("ManualOperation"),ua("Procedure"),ua("Cylinder1"))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ua("Terminator"),ua("CreateRequest"),ua("Document"),ua("TriangleDown"))),nr(),fr(),Kr()),ht.current.groupTemplate=Yn(Dt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Dt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Ko,ci)=>{var xi=ci.addMembers(ci.diagram.selection,!0);xi||ci.diagram.currentTool.doCancel()},avoidable:!1},new Dt.KX("location","loc",Dt.E9.parse).makeTwoWay(Dt.E9.stringify),Yn(Dt.s_,"Auto",{name:"BODY"},Yn(Dt.bn,{parameter1:10,fill:wa.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Dt.z6.AllSides,toSpot:Dt.z6.AllSides},new Dt.KX("fill"),new Dt.KX("stroke","color"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Yn(Dt.Vm,{background:"transparent",margin:20})),Yn(Dt.al,{alignment:Dt.z6.Top,alignmentFocus:Dt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Dt.KX("text"),new Dt.KX("stroke","color"))),ht.current.groupTemplate.selectionAdornmentTemplate=Yn(Dt.uz,"Spot",Yn(Dt.s_,"Auto",Yn(Dt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Yn(Dt.Vm,{margin:1.5})),Gr({alignment:Dt.z6.TopRight,alignmentFocus:Dt.z6.BottomRight})),ht.current.groupTemplate.contextMenu=Yn("ContextMenu",nr(),fr(),Kr()),ht.current.linkTemplate=Yn(Dt.rU,{layerName:"Foreground",routing:Dt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Dt.KX("fromSpot","fromSpot",Dt.z6.parse),new Dt.KX("toSpot","toSpot",Dt.z6.parse),new Dt.KX("fromShortLength","dir",Ko=>Ko>=1?10:0),new Dt.KX("toShortLength","dir",Ko=>Ko>=1?10:0),new Dt.KX("points").makeTwoWay(),Yn(Dt.bn,{strokeWidth:2},new Dt.KX("stroke","color"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Yn(Dt.bn,{segmentIndex:0,segmentOffset:new Dt.E9(15,0),segmentOrientation:Dt.rU.OrientAlong,alignmentFocus:Dt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",Ko=>Ko===1)),Yn(Dt.bn,{segmentIndex:-1,segmentOffset:new Dt.E9(-10,6),segmentOrientation:Dt.rU.OrientPlus90,alignmentFocus:Dt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",Ko=>Ko>=1),new Dt.KX("width","thickness",Ko=>7+3*Ko),new Dt.KX("height","thickness",Ko=>7+3*Ko),new Dt.KX("segmentOffset","thickness",Ko=>new Dt.E9(-15,4+1.5*Ko))),Yn(Dt.bn,{segmentIndex:0,segmentOffset:new Dt.E9(15,-6),segmentOrientation:Dt.rU.OrientMinus90,alignmentFocus:Dt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",Ko=>Ko===2),new Dt.KX("width","thickness",Ko=>7+3*Ko),new Dt.KX("height","thickness",Ko=>7+3*Ko),new Dt.KX("segmentOffset","thickness",Ko=>new Dt.E9(-15,4+1.5*Ko))),Yn(Dt.al,{alignmentFocus:new Dt.z6(0,1,-4,0),editable:!0},new Dt.KX("text").makeTwoWay(),new Dt.KX("stroke","color"))),ht.current.linkTemplate.selectionAdornmentTemplate=Yn(Dt.uz,Yn(Dt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ia(2)},new Dt.KX("pathPattern","thickness",ia)),Gr({alignmentFocus:new Dt.z6(0,0,-6,-4)}));function ia(Ko){return Yn(Dt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Ko+4).toString()+" H3"})}function ui(Ko){var ci="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Ko===0?ci="M0 0 M16 16 M0 8 L16 8":Ko===2&&(ci="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Yn(Dt.bn,{geometryString:ci,margin:2,background:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:la("dir",Ko),contextClick:la("dir",Ko)})}function Ro(Ko){var ci=(xi,xo)=>{xi.handled=!0,xi.diagram.model.commit(ns=>{var Zs=xo.part.adornedPart;ns.set(Zs.data,Ko?"toSpot":"fromSpot",Dt.z6.stringify(Dt.z6.AllSides)),(Ko?Zs.toNode:Zs.fromNode).invalidateConnectedLinks()})};return Yn(Dt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:ci,contextClick:ci})}function fa(Ko,ci){var xi=0,xo=Dt.z6.RightSide;Ko.equals(Dt.z6.Top)?(xi=270,xo=Dt.z6.TopSide):Ko.equals(Dt.z6.Left)?(xi=180,xo=Dt.z6.LeftSide):Ko.equals(Dt.z6.Bottom)&&(xi=90,xo=Dt.z6.BottomSide),ci||(xi-=180);var ns=(Zs,Bs)=>{Zs.handled=!0,Zs.diagram.model.commit(Dl=>{var Ol=Bs.part.adornedPart;Dl.set(Ol.data,ci?"toSpot":"fromSpot",Dt.z6.stringify(xo)),(ci?Ol.toNode:Ol.fromNode).invalidateConnectedLinks()})};return Yn(Dt.bn,{alignment:Ko,alignmentFocus:Ko.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:xi,background:"transparent",mouseEnter:(Zs,Bs)=>Bs.background="dodgerblue",mouseLeave:(Zs,Bs)=>Bs.background="transparent",click:ns,contextClick:ns})}ht.current.linkTemplate.contextMenu=Yn("ContextMenu",fr(),Kr(),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ui(0),ui(1),ui(2))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",Yn(Dt.s_,"Spot",Ro(!1),fa(Dt.z6.Top,!1),fa(Dt.z6.Left,!1),fa(Dt.z6.Right,!1),fa(Dt.z6.Bottom,!1)),Yn(Dt.s_,"Spot",{margin:new Dt.Zt(0,0,0,2)},Ro(!0),fa(Dt.z6.Top,!0),fa(Dt.z6.Left,!0),fa(Dt.z6.Right,!0),fa(Dt.z6.Bottom,!0)))));const Hs=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],x=ue=>{y.current.setValue(y.current.getValue()+" "+ue.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:we.createElement(E.Z,{className:de.Z.lists,gutter:[10,10]},a.map((ue,he)=>we.createElement(je.Z,{flex:"110px",className:de.Z.item},we.createElement("div",null,we.createElement(Se.Z,{value:`$$${ue.value}$$`}),ue.name),we.createElement("div",{className:de.Z.children},ue.children.map((pe,Pe)=>we.createElement("div",{key:Pe},we.createElement("h1",null,pe.name),we.createElement(E.Z,{gutter:[10,10]},pe.data.map((Ne,Ce)=>we.createElement(je.Z,{key:Ce,onClick:()=>x(Ne),className:de.Z.diamond},we.createElement(Se.Z,{value:"`$$"+Ne.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:we.createElement(E.Z,{className:de.Z.lists,gutter:[10,10]},z.map((ue,he)=>we.createElement(je.Z,{flex:"110px",className:de.Z.item},we.createElement("div",null,we.createElement(Se.Z,{value:"`$$"+ue.value+"$$`"}),ue.name),we.createElement("div",{className:de.Z.children},ue.children.map((pe,Pe)=>we.createElement("div",{key:Pe},pe.name&&we.createElement("h1",null,pe.name),we.createElement(E.Z,{gutter:[10,10]},pe.data.map((Ne,Ce)=>we.createElement(je.Z,{key:Ce,onClick:()=>x(Ne),className:de.Z.diamond},we.createElement(Se.Z,{value:"`$$"+Ne.value+"$$`"}))))))))))}],re=()=>{var ue=document.createElement("div");ue.innerHTML=y.current.getValue();var he=ue.innerText;return Ae&&Ae(he),he};return(0,le.useImperativeHandle)(fe,()=>({getData:re})),we.createElement("div",{className:de.Z.mathWrap},we.createElement(ke.default,{defaultActiveKey:"1",items:ee}),we.createElement("math-field",{locale:"zh_cn",className:de.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},me||""),ge&&we.createElement("div",{className:de.Z.button},we.createElement(xe.ZP,{size:"large",onClick:re,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});mn.Z=ae},49494:function(On,mn,oe){"use strict";oe.d(mn,{z:function(){return Qt},Z:function(){return pt}});var le=oe(59301),E=oe(54580),je=oe(8591),ke=oe(43418),xe=oe(3113),Se=oe(85386),de=oe(5930),ve=Object.defineProperty,we=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ge=(mt,rt,lt)=>rt in mt?ve(mt,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[rt]=lt,me=(mt,rt)=>{for(var lt in rt||(rt={}))ae.call(rt,lt)&&ge(mt,lt,rt[lt]);if(we)for(var lt of we(rt))Ae.call(rt,lt)&&ge(mt,lt,rt[lt]);return mt},fe=(mt,rt,lt)=>new Promise((At,dt)=>{var Rt=_t=>{try{En(lt.next(_t))}catch(dn){dt(dn)}},sn=_t=>{try{En(lt.throw(_t))}catch(dn){dt(dn)}},En=_t=>_t.done?At(_t.value):Promise.resolve(_t.value).then(Rt,sn);En((lt=lt.apply(mt,rt)).next())});const y="\u3000\u3000";function a(mt){var rt=["Bytes","KB","MB","GB","TB"];if(mt==0)return"0 Byte";var lt=parseInt(""+Math.floor(Math.log(mt)/Math.log(1024)),10);return(mt/Math.pow(1024,lt)).toFixed(1)+" "+rt[lt]}var z=({value:mt=[],action:rt,onChange:lt,className:At,maxSize:dt=150,title:Rt="\u6587\u4EF6\u4E0A\u4F20",accept:sn=null})=>{const En={multiple:!1,fileList:mt,accept:sn,withCredentials:!0,beforeUpload:dn=>dn.size/1024/1024(gt.name.indexOf(y)===-1&&(gt.name=`${gt.name}${y}${a(gt.size)}`),me({},gt))),dn.file.status==="done"&&((Tt=(Dt=dn.file)==null?void 0:Dt.response)==null?void 0:Tt.status)===-1){message.error((nn=(zt=dn.file)==null?void 0:zt.response)==null?void 0:nn.message),lt([]);return}lt(Ft)},onRemove:dn=>fe(void 0,null,function*(){const Dt=dn.size/1024/1024;return dn.status==="uploading"?!0:Dt0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:mt.length>0,ghost:!0},Rt),React.createElement("span",{onClick:_t,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",dt,"M)"," ")))},x=oe(61481),ee=oe(89392),re=Object.defineProperty,ue=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Pe=(mt,rt,lt)=>rt in mt?re(mt,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[rt]=lt,Ne=(mt,rt)=>{for(var lt in rt||(rt={}))he.call(rt,lt)&&Pe(mt,lt,rt[lt]);if(ue)for(var lt of ue(rt))pe.call(rt,lt)&&Pe(mt,lt,rt[lt]);return mt};const Ce=mt=>React.createElement("svg",Ne({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},mt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ye="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Ge=Object.defineProperty,Te=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,Lt=(mt,rt,lt)=>rt in mt?Ge(mt,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):mt[rt]=lt,st=(mt,rt)=>{for(var lt in rt||(rt={}))it.call(rt,lt)&&Lt(mt,lt,rt[lt]);if(Te)for(var lt of Te(rt))ct.call(rt,lt)&&Lt(mt,lt,rt[lt]);return mt},Ct=(mt,rt,lt)=>new Promise((At,dt)=>{var Rt=_t=>{try{En(lt.next(_t))}catch(dn){dt(dn)}},sn=_t=>{try{En(lt.throw(_t))}catch(dn){dt(dn)}},En=_t=>_t.done?At(_t.value):Promise.resolve(_t.value).then(Rt,sn);En((lt=lt.apply(mt,rt)).next())});const{Dragger:ft}=E.default;function Qt(mt){let rt=[];return mt&&mt.length>0&&(rt=mt.map(lt=>({uid:lt.id,id:lt.id,name:lt.title+y+lt.filesize,url:lt.url,filesize:lt.filesize,status:"done",response:{id:lt.id}}))),rt}var pt=({value:mt,onChange:rt,action:lt,data:At,className:dt,maxSize:Rt=150,title:sn="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:En=!1,accept:_t="",additionalText:dn,isDragger:Dt,number:Tt=1e3,aloneClear:zt=!1,realTimeRemove:nn=!0,uploadText:Ft,setFileProgress:gt,showFileProgress:Zt})=>{const[xt,wt]=(0,le.useState)(!1);let[qe,Fe]=(0,le.useState)(mt||[]),[be,Oe]=(0,le.useState)(1);(0,le.useEffect)(()=>{mt&&(be===1&&Fe([...mt]),Oe(2),Tt===(mt==null?void 0:mt.length)&&wt(!0))},[mt]);const ze=()=>{setTimeout(()=>{qe.pop(),Fe([...qe])},500)};Zt&>(qe.some(vt=>vt.status==="uploading"));const Me={multiple:!0,disabled:xt,accept:_t,withCredentials:!0,fileList:qe,beforeUpload:(vt,Yt)=>{const Ht=vt.size/1024/1024;return qe.concat(Yt).length>Tt?(qe.pop(),Fe([...qe]),je.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${Tt}\u4E2A\u6587\u4EF6`),zt?Promise.reject():(ze(),!1)):Ht=Tt?wt(!0):wt(!1),Fe([...qe]),qe=qe.map(Sn=>{var Mt,en;return(Mt=Sn==null?void 0:Sn.response)!=null&&Mt.id&&(Sn.url=(en=Sn==null?void 0:Sn.response)==null?void 0:en.url),Sn.name.indexOf(y)===-1&&(Sn.name=`${Sn.name}${y}${a(Sn.size)}`),st({},Sn)}),console.log("info:",vt,qe),rt(qe)},onRemove:vt=>Ct(void 0,null,function*(){if(!nn)return!0;const Yt=()=>Ct(void 0,null,function*(){if(vt.response?vt.response.id:vt.id){let yt=yield(0,de.JZ)(vt.response?vt.response.id:vt.uid);return Promise.resolve(yt)}else return!0});return En?new Promise((Ht,yt)=>{ke.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:le.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>Ct(void 0,null,function*(){const rn=yield Yt();je.ZP.success("\u5220\u9664\u6210\u529F"),Ht(!0)}),onCancel:()=>Ht(!1)})}):yield Yt()})};function nt(vt){vt.preventDefault(),vt.stopPropagation()}return le.createElement("div",{className:`multi-upload ${dt||""}`},Dt&&le.createElement(ft,st({},Me),le.createElement("p",{className:"ant-upload-drag-icon"},le.createElement(x.Z,null)),le.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",le.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",Rt,"MB)"," "),dn),!Dt&&le.createElement(E.default,st({},Me),le.createElement(xe.ZP,{disabled:xt,className:"upload_button"},le.createElement("img",{className:"aBtn_img",src:Ye}),sn),le.createElement("span",{onClick:nt,className:"upload_text"},Ft||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${Rt}MB)`)))}},971:function(On,mn,oe){"use strict";oe.d(mn,{h:function(){return y},x:function(){return a}});var le=oe(55659),E=oe(33108),je=oe(17410),ke=oe(59301),xe=Object.defineProperty,Se=Object.defineProperties,de=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,Ae=(z,x,ee)=>x in z?xe(z,x,{enumerable:!0,configurable:!0,writable:!0,value:ee}):z[x]=ee,ge=(z,x)=>{for(var ee in x||(x={}))we.call(x,ee)&&Ae(z,ee,x[ee]);if(ve)for(var ee of ve(x))ae.call(x,ee)&&Ae(z,ee,x[ee]);return z},me=(z,x)=>Se(z,de(x)),fe=(z,x)=>{var ee={};for(var re in z)we.call(z,re)&&x.indexOf(re)<0&&(ee[re]=z[re]);if(z!=null&&ve)for(var re of ve(z))x.indexOf(re)<0&&ae.call(z,re)&&(ee[re]=z[re]);return ee};const y=z=>{var x=z,{value:ee,onChange:re,scrollId:ue}=x,he=fe(x,["value","onChange","scrollId"]);return ke.createElement("div",{id:ue||""},ke.createElement(le.Z,me(ge({},he),{defaultValue:ee,onChange:(pe,Pe)=>{Pe!=null&&Pe.length?re(pe,Pe):re(pe)}})))},a=({value:z,onChange:x,placeholder:ee,height:re=140,isEdit:ue,miniToolbar:he,watch:pe=!0})=>ue?ke.createElement(le.Z,{watch:pe,isFocus:!0,height:re||void 0,placeholder:ee,defaultValue:z,onChange:x,miniToolbar:he}):ke.createElement("div",{style:{cursor:"pointer"}},z?ke.createElement(je.Z,{className:E.Z.inputBorder,value:z}):ke.createElement("div",{className:`${E.Z.inputBorder} ${E.Z.placeholder} inputBorderError`},ee))},72050:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return Pe}});var le=oe(59301),E=oe(9221),je=Object.defineProperty,ke=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,de=(Ne,Ce,Ye)=>Ce in Ne?je(Ne,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ne[Ce]=Ye,ve=(Ne,Ce)=>{for(var Ye in Ce||(Ce={}))xe.call(Ce,Ye)&&de(Ne,Ye,Ce[Ye]);if(ke)for(var Ye of ke(Ce))Se.call(Ce,Ye)&&de(Ne,Ye,Ce[Ye]);return Ne},we=(Ne,Ce)=>{var Ye={};for(var Ge in Ne)xe.call(Ne,Ge)&&Ce.indexOf(Ge)<0&&(Ye[Ge]=Ne[Ge]);if(Ne!=null&&ke)for(var Ge of ke(Ne))Ce.indexOf(Ge)<0&&Se.call(Ne,Ge)&&(Ye[Ge]=Ne[Ge]);return Ye};const Ae={header:{cell:Ne=>{var Ce=Ne,{onResize:Ye,width:Ge}=Ce,Te=we(Ce,["onResize","width"]);return Ge?le.createElement(E.Resizable,{width:Ge,height:0,handle:le.createElement("span",{className:"react-resizable-handle",onClick:it=>{it.stopPropagation()}}),onResize:Ye,draggableOpts:{enableUserSelectHack:!1}},le.createElement("th",ve({},Te))):le.createElement("th",ve({},Te))}}};var ge=oe(1710),me=Object.defineProperty,fe=Object.defineProperties,y=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,ee=(Ne,Ce,Ye)=>Ce in Ne?me(Ne,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Ne[Ce]=Ye,re=(Ne,Ce)=>{for(var Ye in Ce||(Ce={}))z.call(Ce,Ye)&&ee(Ne,Ye,Ce[Ye]);if(a)for(var Ye of a(Ce))x.call(Ce,Ye)&&ee(Ne,Ye,Ce[Ye]);return Ne},ue=(Ne,Ce)=>fe(Ne,y(Ce)),he=(Ne,Ce)=>{var Ye={};for(var Ge in Ne)z.call(Ne,Ge)&&Ce.indexOf(Ge)<0&&(Ye[Ge]=Ne[Ge]);if(Ne!=null&&a)for(var Ge of a(Ne))Ce.indexOf(Ge)<0&&x.call(Ne,Ge)&&(Ye[Ge]=Ne[Ge]);return Ye},Pe=Ne=>{var Ce=Ne,{pagination:Ye,resColumns:Ge,dataSource:Te,onRow:it}=Ce,ct=he(Ce,["pagination","resColumns","dataSource","onRow"]);const[Lt,st]=(0,le.useState)(!1),[Ct,ft]=(0,le.useState)([{}]),Qt=(0,le.useRef)(null);(0,le.useEffect)(()=>{let mt=Ge;mt=mt.map((rt,lt)=>ue(re({},rt),{onHeaderCell:At=>({width:At.width,onResize:pt(lt)})})),ft(mt)},[]),(0,le.useEffect)(()=>{Qt.current=Ct},[Ct]);const pt=mt=>(rt,{size:lt})=>{const At=[...Qt.current];At[mt]=ue(re({},At[mt]),{width:lt.width}),ft(At)};return le.createElement("div",null,le.createElement(ge.default,ue(re({bordered:!0,components:Ae,columns:Ct,dataSource:Te,pagination:Ye,loading:Lt,onRow:it},ct),{rowKey:mt=>mt.key||mt.id})))}},10134:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return Ce},P:function(){return pe}});var le=oe(59301),E=oe(78241),je=oe(43418),ke=oe(5112),xe=oe(92832),Se=oe(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"},ve=oe(16140),we=Object.defineProperty,ae=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,y=(Ye,Ge,Te)=>Ge in Ye?we(Ye,Ge,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ye[Ge]=Te,a=(Ye,Ge)=>{for(var Te in Ge||(Ge={}))me.call(Ge,Te)&&y(Ye,Te,Ge[Te]);if(ge)for(var Te of ge(Ge))fe.call(Ge,Te)&&y(Ye,Te,Ge[Te]);return Ye},z=(Ye,Ge)=>ae(Ye,Ae(Ge)),x=(Ye,Ge)=>{var Te={};for(var it in Ye)me.call(Ye,it)&&Ge.indexOf(it)<0&&(Te[it]=Ye[it]);if(Ye!=null&&ge)for(var it of ge(Ye))Ge.indexOf(it)<0&&fe.call(Ye,it)&&(Te[it]=Ye[it]);return Te},ee=(Ye,Ge,Te)=>new Promise((it,ct)=>{var Lt=ft=>{try{Ct(Te.next(ft))}catch(Qt){ct(Qt)}},st=ft=>{try{Ct(Te.throw(ft))}catch(Qt){ct(Qt)}},Ct=ft=>ft.done?it(ft.value):Promise.resolve(ft.value).then(Lt,st);Ct((Te=Te.apply(Ye,Ge)).next())});const re=({studentNames:Ye,total:Ge})=>{const Te=["","\u4E00","\u4E24","\u4E09"];return Ge>3?le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:de.orangeColor},Ye==null?void 0:Ye.join("\u3001")),"\u7B49",le.createElement("span",{className:de.orangeColor},Ge),"\u540D\u5B66\u751F"):le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:de.orangeColor},Ye==null?void 0:Ye.join("\u3001")),Te[Ge],"\u540D\u5B66\u751F")},ue=({used:Ye,copy:Ge,canNotCopy:Te,studentNames:it,studentCount:ct,inPaper:Lt,is_random:st=!1,position:Ct=""})=>{const ft=()=>{if(Ge>0&&Te>0)return le.createElement(le.Fragment,null,"\u5176\u4E2D",le.createElement("span",{className:de.orangeColor},Ge),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",le.createElement("span",{className:de.orangeColor},Te),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(Ge>0&&Te===0)return le.createElement(le.Fragment,null,"\u5176\u4E2D",le.createElement("span",{className:de.orangeColor},Ge),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(Ge===0&&Te>0)return le.createElement(le.Fragment,null,"\u5176\u4E2D",le.createElement("span",{className:de.orangeColor},Te),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},Qt=Ct||(Lt?"\u8BD5\u5377":"\u8BFE\u7A0B");return le.createElement("span",null,le.createElement(re,{studentNames:it,total:ct}),"\u5B66\u4E60\u8FC7",Qt,"\u4E2D\u7684",le.createElement("span",{className:de.orangeColor},Ye),"\u4E2A\u9879\u76EE\uFF0C",ft(),"\u3002\u8BF7\u9009\u62E9",st?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},he=({onCancel:Ye,onOk:Ge,visible:Te,inPaper:it,renderData:ct,type:Lt,isMultipleCourse:st=!1})=>{const[Ct]=E.default.useForm(),[ft,Qt]=(0,le.useState)(1),[pt,mt]=(0,le.useState)(!1),rt=(0,le.useMemo)(()=>(ct==null?void 0:ct.total_num)===1&&(ct==null?void 0:ct.can_copy_num)===1,[ct]),lt=(0,le.useMemo)(()=>{var At;return(At=ct==null?void 0:ct.course_data_list)==null?void 0:At.filter(dt=>dt.is_show)},[ct]);return le.createElement(le.Fragment,null,rt?le.createElement(je.default,{centered:!0,closable:!0,open:Te,destroyOnClose:!0,title:"\u63D0\u793A",className:de.antdModal,width:682,confirmLoading:pt,onCancel:Ye,onOk:()=>ee(void 0,null,function*(){var At;mt(!0);let dt=ft;if(st){const Rt=a({},Ct.getFieldsValue());dt=(At=ct==null?void 0:ct.course_data_list)==null?void 0:At.map(sn=>Rt[sn.id]!==void 0?z(a({},sn),{is_copy:Rt[sn.id]}):sn)}yield Ge(dt),mt(!1)})},le.createElement("div",{className:de.content,style:{marginBottom:20}},st?"\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?":le.createElement(le.Fragment,null,le.createElement(re,{studentNames:ct==null?void 0:ct.student_names,total:ct==null?void 0:ct.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")),st?le.createElement(E.default,{form:Ct,preserve:!1},lt==null?void 0:lt.map(At=>le.createElement(le.Fragment,{key:At.id},le.createElement("h3",{className:"ml15 mb5"},At.name),le.createElement(E.default.Item,{name:At.id,initialValue:1},le.createElement(ke.ZP.Group,{className:de.content},le.createElement(ke.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),le.createElement(ke.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):le.createElement(ke.ZP.Group,{value:ft,onChange:At=>Qt(At.target.value),className:de.content,style:{marginBottom:30}},le.createElement(ke.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),le.createElement(ke.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),le.createElement("div",null,le.createElement("div",{className:de.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),le.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"),le.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"))):le.createElement(je.default,{centered:!0,closable:!0,destroyOnClose:!0,open:Te,confirmLoading:pt,title:"\u63D0\u793A",width:682,onCancel:Ye,onOk:()=>ee(void 0,null,function*(){var At;mt(!0);let dt=0;if(st){const Rt=a({},Ct.getFieldsValue());dt=(At=ct==null?void 0:ct.course_data_list)==null?void 0:At.map(sn=>Rt[sn.id]!==void 0?z(a({},sn),{is_use:Rt[sn.id]}):sn)}yield Ge(dt),mt(!1)})},le.createElement("div",{className:de.content},le.createElement(re,{studentNames:ct==null?void 0:ct.student_names,total:ct==null?void 0:ct.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",st?le.createElement(E.default,{form:Ct,preserve:!1},le.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"),lt==null?void 0:lt.map(At=>le.createElement(le.Fragment,{key:At.id},le.createElement("h3",{className:"ml15 mb5"},At.name),le.createElement(E.default.Item,{name:At.id,initialValue:1},le.createElement(ke.ZP.Group,{className:de.content},le.createElement(ke.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),le.createElement(ke.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):le.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",le.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"))))},pe=function(){const[Ye,Ge]=(0,le.useState)(!1),[Te,it]=(0,le.useState)();return[Ye,()=>Ge(!1),Te,st=>ee(this,null,function*(){var Ct;const ft=st,{isImportMultipleCourse:Qt=!1}=ft,pt=x(ft,["isImportMultipleCourse"]);console.log(st);const mt=(st==null?void 0:st.result)||(yield(0,ve.Tr)(pt));return"status"in mt?!1:Qt?((Ct=mt==null?void 0:mt.course_data_list)==null?void 0:Ct.some(lt=>lt.is_show))?(it(mt),Ge(!0),!0):mt.course_data_list||[]:mt.student_count===0?!1:(it(mt),Ge(!0),!0)})]},Pe=Ye=>{const[Ge]=E.default.useForm(),[Te,it]=(0,le.useState)(!1),{onCancel:ct,onOk:Lt,visible:st,inPaper:Ct=!1,renderData:ft,type:Qt,isMultipleCourse:pt=!1,position:mt}=Ye;let rt=(0,le.useMemo)(()=>Ct?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:de.tableCell,render(dt,Rt){return le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(dt,Rt)=>le.createElement(le.Fragment,null,le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],initialValue:1},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426"))),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],hidden:!0,initialValue:1},le.createElement(xe.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:de.tableCell,render(dt,Rt){return le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(dt,Rt)=>le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],initialValue:1},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(dt,Rt)=>le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],initialValue:1},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426")))}],[Ct]),lt=(0,le.useMemo)(()=>Ct?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:de.tableCell,align:"center",ellipsis:!0,render:(dt,Rt)=>le.createElement(le.Fragment,null,le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],hidden:!0,initialValue:0},le.createElement(xe.default,{type:"hidden"})),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],hidden:!0,initialValue:1},le.createElement(xe.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:de.tableCell,ellipsis:!0,align:"center",render:(dt,Rt)=>le.createElement("a",{href:`/shixuns/${Rt.identifier}/challenges`,target:"_blank"},dt)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(dt,Rt)=>le.createElement(le.Fragment,null,le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_use"],initialValue:0},le.createElement(ke.ZP.Group,null,le.createElement(ke.ZP,{value:1},"\u662F"),le.createElement(ke.ZP,{value:0},"\u5426"))),le.createElement(E.default.Item,{name:[`${Qt==="subject"?Rt==null?void 0:Rt.stage_shixun_id:Rt.shixun_course_id||Rt.id}`,"is_copy"],hidden:!0,initialValue:0},le.createElement(xe.default,{type:"hidden"})))}],[Ct]);if(pt){const dt={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:de.tableCell,render:(Rt,sn)=>le.createElement("a",{href:`/classrooms/${sn.course_id}`},Rt)};rt=[dt,...rt],lt=[dt,...lt]}const At=(0,le.useMemo)(()=>ue({used:ft==null?void 0:ft.repeat_shixun_num,copy:ft==null?void 0:ft.can_copy_num,canNotCopy:ft==null?void 0:ft.no_copy_num,studentNames:ft==null?void 0:ft.student_names,studentCount:ft==null?void 0:ft.student_count,is_random:ft==null?void 0:ft.is_random,inPaper:Ct,position:mt}),[ft,Ct,mt]);return le.createElement(je.default,{title:"\u63D0\u793A",centered:!0,open:st,confirmLoading:Te,onOk:()=>ee(void 0,null,function*(){it(!0);const dt=Ge.getFieldsValue(),Rt=Object.keys(dt).map(sn=>({id:parseInt(sn.split("_")[0]),course_id:parseInt(sn.split("_")[1]),is_use:dt[sn].is_use,is_copy:dt[sn].is_copy}));yield Lt(Rt),it(!1)}),onCancel:ct,width:880,okText:"\u786E\u8BA4",className:de.antdModal,destroyOnClose:!0},le.createElement(E.default,{form:Ge,preserve:!1},le.createElement("div",{className:de.brief},At),le.createElement("div",{style:{marginBottom:30}},le.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),le.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"),le.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")),(ft==null?void 0:ft.can_copy_num)>0&&le.createElement("div",null,le.createElement("div",{className:de.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),le.createElement(Se.default,{columns:rt,className:de.antdTable,dataSource:ft==null?void 0:ft.can_copy_list,rowKey:Qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(ft==null?void 0:ft.no_copy_num)>0&&le.createElement("div",null,le.createElement("div",{className:de.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),le.createElement(Se.default,{columns:lt,className:de.antdTable,dataSource:ft==null?void 0:ft.no_copy_list,rowKey:Qt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(ft==null?void 0:ft.no_use_list.length)>0&&(ft==null?void 0:ft.no_use_list.map(dt=>le.createElement("div",{key:Qt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id},le.createElement(E.default.Item,{name:[`${Qt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},le.createElement(xe.default,{type:"hidden"})),le.createElement(E.default.Item,{name:[`${Qt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},le.createElement(xe.default,{type:"hidden"})))))))};var Ce=Ye=>{const{modalType:Ge}=Ye;return Ge==="multiple"?le.createElement(Pe,a({},Ye)):le.createElement(he,a({},Ye))}},64925:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return ve}});var le=oe(59301),E={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"},je=oe(43418),ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Se=(we,ae,Ae)=>new Promise((ge,me)=>{var fe=z=>{try{a(Ae.next(z))}catch(x){me(x)}},y=z=>{try{a(Ae.throw(z))}catch(x){me(x)}},a=z=>z.done?ge(z.value):Promise.resolve(z.value).then(fe,y);a((Ae=Ae.apply(we,ae)).next())}),ve=({type:we,resdata:ae,onok:Ae,oktext:ge,okloading:me})=>{const[fe,y]=(0,le.useState)(!1),{can_copy_list:a,can_copy_num:z,challenge_type:x,course_data_list:ee,no_copy_list:re,no_copy_num:ue,no_use_list:he,no_use_num:pe,repeat_shixun_num:Pe,student_count:Ne,total_num:Ce,use_num:Ye}=ae;let Ge=z>0||we==="exercise";(0,le.useEffect)(()=>{(ae==null?void 0:ae.student_count)>0&&y(!0)},[ae]),console.log("---11",me),(0,le.useEffect)(()=>{me||y(!1)},[me]);const Te=()=>{if(we==="exercise"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.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(we==="exercise"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixun"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixun"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="subject"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="subject"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",le.createElement("span",{className:E.orangeColor},Ne)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",le.createElement("span",{className:E.orangeColor},Ye)," \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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="exercisepush")return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",le.createElement("span",{className:E.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(we==="shixunpush"&&x===1)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",le.createElement("span",{className:E.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(we==="shixunpush"&&x===2)return le.createElement(le.Fragment,null,"\u8BFE\u5802\u5185\u6709",le.createElement("span",{className:E.orangeColor},Ne),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",le.createElement("span",{className:E.orangeColor},Ye),"\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",le.createElement("span",{className:E.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},it=()=>{if(we==="exercise"||we==="subject"||we==="exercisepush"||we==="shixunpush")return le.createElement("div",{style:{marginTop:20}},ue>0&&le.createElement("div",null,le.createElement("span",{className:E.flex},le.createElement("img",{src:xe,style:{width:14}}),le.createElement("span",{className:E.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),le.createElement("div",{className:E.statusbody},we==="exercise"&&le.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",le.createElement("span",{className:E.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"),(we==="subject"||we==="exercisepush")&&le.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ge&&le.createElement("span",{className:E.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"),we==="shixunpush"&&le.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ge&&le.createElement("span",{className:E.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"),le.createElement("div",null,re==null?void 0:re.map((ct,Lt)=>le.createElement("a",{href:`/shixuns/${ct.identifier}/challenges`,target:"_blank"},"\u300A",ct==null?void 0:ct.name,"\u300B",Lt+1!==ue&&"\u3001"))))),z>0&&le.createElement("div",{style:{marginTop:20}},le.createElement("span",{className:E.flex},le.createElement("img",{src:ke,style:{width:14}}),le.createElement("span",{className:E.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),le.createElement("div",{className:E.statusbody},we==="exercise"&&le.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"),(we==="subject"||we==="exercisepush")&&le.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"),we==="shixunpush"&&le.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"),le.createElement("div",null,a==null?void 0:a.map((ct,Lt)=>le.createElement("a",{href:`/shixuns/${ct.identifier}/challenges`,target:"_blank"},"\u300A",ct==null?void 0:ct.name,"\u300B",Lt+1!==z&&"\u3001"))))));if(we==="shixun")return le.createElement("div",{style:{marginTop:20}},z>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 le.createElement(je.default,{open:fe,onCancel:()=>{y(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ge&&"none"}},zIndex:1003,confirmLoading:me,okText:Ge?ge:"\u6211\u77E5\u9053\u4E86",onOk:()=>Se(void 0,null,function*(){Ge?yield Ae([...a,...he]):y(!1)})},le.createElement("div",{style:{maxHeight:600,overflow:"auto"}},Te(),it()))}},41136:function(On,mn,oe){"use strict";oe.d(mn,{K:function(){return Se}});var le=oe(59301),E=oe(43418),je=oe(81032),ke={modal:"modal___LGwws",closeIcon:"closeIcon___vsUXI",wrap:"wrap___tDzbl",input:"input___aikQk"},xe=oe(24334);const Se=({visible:de,width:ve,videoId:we,file_url:ae,course_id:Ae,copyUrl:ge,toLog:me=!0,logWatchHistory:fe=()=>{},allow_skip:y,onClose:a=()=>{},autoPlay:z=!1,onPlayEnded:x=()=>{}})=>le.createElement(E.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:de,title:null,footer:null,width:ve,className:ke.modal},le.createElement("i",{className:`${ke.closeIcon} iconfont icon-guanbi10`,onClick:a}),de&&le.createElement(je.Z,{onPlayEnded:x,autoPlay:z,allow_skip:y,courseId:Ae,src:ae!=null&&ae.startsWith("http")?ae:xe.Base64.decode(ae),videoId:we,toLog:me,logWatchHistory:fe}))},81032:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return y}});var le=oe(59301),E=oe(8591),je=oe(38854),ke=oe(96640),xe=oe(80360),Se=oe(47141),de=oe(56102),ve=oe(18030),we={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},ae=(a,z,x)=>new Promise((ee,re)=>{var ue=Pe=>{try{pe(x.next(Pe))}catch(Ne){re(Ne)}},he=Pe=>{try{pe(x.throw(Pe))}catch(Ne){re(Ne)}},pe=Pe=>Pe.done?ee(Pe.value):Promise.resolve(Pe.value).then(ue,he);pe((x=x.apply(a,z)).next())});function Ae(a){if(isNaN(a))return{minutes:"00",seconds:"00"};const z=new Date(a*1e3).toISOString().substr(11,8);return{hour:z.substr(0,2),minutes:z.substr(3,2),seconds:z.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function ge(a,z){return a-z}function me(a){a.sort(ge);let z=0;for(let x=0;x{},handlePlay:Pe=()=>{},handlePlayEnded:Ne=()=>{},autoPlay:Ce=!1,onPlayEnded:Ye=()=>{},isShowWaterMark:Ge=!0},Te)=>{var it;const Lt=((it=z==null?void 0:z.split("."))==null?void 0:it.pop())==="flv",st=(0,le.useRef)(),Ct=(0,le.useRef)(),ft=(0,le.useRef)(),Qt=(0,le.useRef)(),pt=(0,le.useRef)(),mt=(0,le.useRef)(),rt=(0,le.useRef)(),lt=(0,le.useRef)(),At=(0,le.useRef)(),dt=(0,le.useRef)(),Rt=(0,le.useRef)(),sn=(0,le.useRef)(),En=(0,le.useRef)(),_t=(0,le.useRef)(),dn=navigator.userAgent.toLowerCase().match(fe),Dt=dn?dn[0]:"pc",Tt=(0,le.useRef)(!1),zt=(0,Se.eY)();let nn=0,Ft=0,gt=0,Zt=null,xt=!1,wt=20,qe=1,Fe=!1,be=!1,Oe=[];(0,le.useImperativeHandle)(Te,()=>({getLastUpdatedTime:()=>st.current.currentTime,getDuration:()=>st.current.duration})),E.ZP.config({maxCount:1,getContainer:()=>ft.current});const ze=(0,le.useCallback)((rn,Sn=!1)=>{let Mt={point:st.current.currentTime};Zt?(Mt.log_id=Zt,Mt.watch_duration=me(Oe),Mt.total_duration=Ft):(ue?(Mt.video_id=parseInt(ee,10),Mt.course_id=ue):Mt.video_id=ee,Mt.duration=nn,Mt.device=Dt),Sn&&(Mt.ed="1");function en(){return ae(this,null,function*(){Fe=!0,Zt=yield re==null?void 0:re(Mt),Fe=!1,rn&&rn()})}en()},[ee,ue]);(0,le.useEffect)(()=>{st.current&&(Qt.current.style.display="none",pt.current.style.display="block"),E.ZP.destroy();let rn=null;return ke.Z.isSupported&&Lt&&z&&(z==null?void 0:z.indexOf(".m3u8"))<0?(rn=ke.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:z,muted:!1}),st.current&&(rn.attachMediaElement(st.current),rn.load())):st.current.setAttribute("src",z),nt(),()=>{rn&&(rn.unload(),rn.pause(),rn.destroy(),rn=null)}},[st,Lt,z]);function Me(){st.current.paused?(Qt.current.style.display="none",pt.current.style.display="block"):(Qt.current.style.display="block",pt.current.style.display="none")}function nt(){Rt.current.style.display="none",En.current.style.display="none",sn.current.style.display="none",st.current.muted||st.current.volume===0?Rt.current.style.display="block":st.current.volume>0&&st.current.volume<=.5?En.current.style.display="block":sn.current.style.display="block"}(0,le.useEffect)(()=>{const rn=document.getElementById("play"),Sn=document.querySelectorAll(".playback-icons use");function Mt(){Pe(),he&&!Tt.current&&(st.current.currentTime=he),Tt.current=!0,Oe.push(st.current.currentTime),xt||(xt=!0,x&&ze())}function en(){return ae(this,null,function*(){Me(),Oe.push(st.current.currentTime),x&&ze(()=>{Zt=null,gt=0,xt=!1,Fe=!1,be=!1,Oe=[],Ft=0,qe=1},!0),Ye()})}function vn(){mt.current.value=Math.round(st.current.currentTime),rt.current.value=Math.round(st.current.currentTime)}function yn(){const Ka=Ae(Math.round(st.current.currentTime));At.current.innerText=`${Ka.hour>0?Ka.hour+":":""}${Ka.minutes}:${Ka.seconds}`,At.current.setAttribute("datetime",`${Ka.hour>0?" "+Ka.hour+" ":""}${Ka.minutes}m ${Ka.seconds}s`)}function $n(){var Ka,pi,_o,Xa,hi,ei,qn;const Oa=Math.round((Ka=st.current)==null?void 0:Ka.duration);(_o=(pi=mt.current)==null?void 0:pi.setAttribute)==null||_o.call(pi,"max",Oa),(hi=(Xa=rt.current)==null?void 0:Xa.setAttribute)==null||hi.call(Xa,"max",Oa);const oo=Ae(Oa);lt.current&&(lt.current.innerText=`${oo.hour>0?oo.hour+":":""}${oo.minutes}:${oo.seconds}`,(qn=(ei=lt.current).setAttribute)==null||qn.call(ei,"datetime",`${oo.hour>0?" "+oo.hour+" ":""}${oo.minutes}m ${oo.seconds}s`))}function Pr(){try{const Ka=Math.round(st.current.duration);mt.current.setAttribute("max",Ka),rt.current.setAttribute("max",Ka);const pi=Ae(Ka);lt.current.innerText=`${pi.hour>0?pi.hour+":":""}${pi.minutes}:${pi.seconds}`,lt.current.setAttribute("datetime",`${pi.hour>0?" "+pi.hour+" ":""}${pi.minutes}m ${pi.seconds}s`),vn(),yn();const{width:_o,height:Xa,x:hi,y:ei}=Ct.current.getBoundingClientRect();if(hi<0||ei<0||!_o)return;if(!be){let qn=st.current.currentTime,Oa=qn-gt;Math.abs(Oa)<10?(Ft+=Math.abs(Oa),gt=qn,Fe||Ft-qe*wt>=0&&(qe++,Oe.push(gt),x&&ze())):(gt=qn,x&&ze())}}catch(Ka){console.log(Ka)}}function wr(){be=!0}function zr(){st.current.playing&&Oe.push(st.current.currentTime,gt),gt=st.current.currentTime,be=!1}function na(){nn=st.current.duration,nn<=20&&(wt=nn/3),st.current.addEventListener("play",Mt)}function sa(Ka){Ka.preventDefault(),(0,ve.vp)()?(st.current.style.width="100%",st.current.style.height="100%"):st.current.style.cssText=""}function ra(){pe()}function La(Ka){if(!a){E.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const pi=Ka.target.dataset.seek?Ka.target.dataset.seek:Ka.target.value;st.current.currentTime=pi,rt.current.value=pi,mt.current.value=pi}function co(Ka){const pi=Math.round(Ka.offsetX/Ka.target.clientWidth*parseInt(Ka.target.getAttribute("max"),10));mt.current.setAttribute("data-seek",pi);const _o=Ae(pi);dt.current.textContent=`${_o.hour>0?_o.hour+":":""}${_o.minutes}:${_o.seconds}`;const Xa=st.current.getBoundingClientRect();dt.current.style.left=`${Ka.pageX-Xa.left}px`}function $o(Ka){switch(Ka.code){case"Space":Ka.preventDefault(),Ht();break;case"ArrowRight":if(Ka.preventDefault(),!a){E.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(st.current.currentTime>=st.current.duration)break;st.current.currentTime=parseInt(st.current.currentTime)+5,vn();break;case"ArrowLeft":if(Ka.preventDefault(),!a){E.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(st.current.currentTime===0)break;st.current.currentTime=parseInt(st.current.currentTime)-5,vn();break;case"ArrowUp":Ka.preventDefault(),st.current.volume<1&&(st.current.volume=(parseInt(st.current.volume*10)+1)/10);break;case"ArrowDown":Ka.preventDefault(),st.current.volume>0&&(st.current.volume=(parseInt(st.current.volume*10)-1)/10);break}}return ft.current.addEventListener((0,ve.gH)(),sa),st.current.addEventListener("canplay",na),st.current.addEventListener("ended",en),st.current.addEventListener("seeking",wr),st.current.addEventListener("seeked",zr),st.current.addEventListener("loadedmetadata",$n),mt.current.addEventListener("mousemove",co),mt.current.addEventListener("input",La),st.current.addEventListener("timeupdate",Pr),st.current.addEventListener("pause",ra),st.current.addEventListener("volumechange",nt),document.addEventListener("keydown",$o),()=>{var Ka,pi,_o,Xa,hi,ei,qn,Oa,oo,mo,ni,Yr;(Ka=st.current)==null||Ka.removeEventListener("canplay",na),(pi=st.current)==null||pi.removeEventListener("play",Mt),(_o=st.current)==null||_o.removeEventListener("ended",en),(Xa=st.current)==null||Xa.removeEventListener("seeking",wr),(hi=st.current)==null||hi.removeEventListener("seeked",zr),(ei=mt.current)==null||ei.removeEventListener("mousemove",co),(qn=mt.current)==null||qn.removeEventListener("input",La),(Oa=st.current)==null||Oa.removeEventListener("timeupdate",Pr),(oo=st.current)==null||oo.removeEventListener("pause",ra),(mo=st.current)==null||mo.removeEventListener("loadedmetadata",$n),(ni=st.current)==null||ni.removeEventListener("volumechange",nt),document.removeEventListener("keydown",$o),(Yr=st.current)!=null&&Yr.playing&&(Oe.push(gt,st.current.currentTime),x&&ze())}},[st,z]),(0,le.useEffect)(()=>{if(st.current.onended=()=>{Ne(st)},st.current.oncontextmenu=()=>!1,(z==null?void 0:z.indexOf(".m3u8"))>-1){if(st.current.canPlayType("application/vnd.apple.mpegurl"))st.current.src=z;else if(xe.ZP.isSupported()){var rn=new xe.ZP;rn.loadSource(z),rn.attachMedia(st.current)}}},[z]);const[vt,Yt]=(0,le.useState)(1),Ht=()=>{st.current.paused||st.current.ended?st.current.play():st.current.pause(),Me()};function yt(){st.current.muted=!st.current.muted,st.current.muted?(_t.current.setAttribute("data-volume",volume.value),_t.current.value=0):_t.current.value=_t.current.dataset.volume}return le.createElement("div",{style:{position:"relative"},ref:ft},le.createElement("div",{ref:Ct,className:`${we.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${we.animate__loop}`},Ge&&zt?zt.login:" "),le.createElement("div",{className:we.container},le.createElement("div",{className:we["video-container"],id:"video-container"},le.createElement("div",{className:we["playback-animation"],id:"playback-animation"},le.createElement("svg",{className:we["playback-icons"]},le.createElement("use",{className:"hidden",href:"#play-icon"}),le.createElement("use",{href:"#pause"}))),le.createElement("video",{className:we.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:st,autoPlay:Ce}),le.createElement("div",{className:`${we["video-controls"]} `,id:"video-controls"},le.createElement("div",{className:we["bottom-controls"]},le.createElement("div",{className:we["left-controls"]},le.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Ht},le.createElement("svg",{className:we["playback-icons"]},le.createElement("use",{ref:pt,href:"#play-icon"}),le.createElement("use",{ref:Qt,style:{display:"none"},href:"#pause"}))),le.createElement("div",{className:we.time},le.createElement("time",{id:"time-elapsed",ref:At},"00:00"),le.createElement("span",null," / "),le.createElement("time",{id:"duration",ref:lt},"00:00"))),le.createElement("div",{className:we["right-controls"]},a&&le.createElement(je.Z,{placement:"top",overlayClassName:we.rateOverlay,getPopupContainer:rn=>rn.parentNode,menu:{items:[{key:"1",label:le.createElement("span",{onClick:()=>{Yt(1),st.current.playbackRate=1}},"1.0x")},{key:"2",label:le.createElement("span",{onClick:()=>{Yt(1.5),st.current.playbackRate=1.5}},"1.5x")},{key:"3",label:le.createElement("span",{onClick:()=>{Yt(2),st.current.playbackRate=2}},"2.0x")}]}},le.createElement("div",{className:`${we.controlText} mr5`},"\u500D\u901F")),le.createElement(de.CopyToClipboard,{text:z,onCopy:()=>E.ZP.success("\u590D\u5236\u6210\u529F")},le.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},le.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),le.createElement("div",{className:we["volume-controls"]},le.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:we["volume-button"],id:"volume-button",onClick:yt},le.createElement("i",{ref:Rt,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),le.createElement("i",{ref:En,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),le.createElement("i",{ref:sn,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),le.createElement("input",{className:we.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:_t,style:{display:"none"},onClick:nt})),le.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:we["fullscreen-button"],onClick:()=>{(0,ve.vp)()?(0,ve.BU)():(0,ve.Dj)(ft.current)}},le.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),le.createElement("div",{className:we["video-progress"]},le.createElement("progress",{ref:rt,value:"0",min:"0"}),le.createElement("input",{className:we.seek,ref:mt,value:"0",min:"0",type:"range",step:"1"}),le.createElement("div",{className:we["seek-tooltip"],ref:dt,id:"seek-tooltip"},"00:00"))))),le.createElement("svg",{style:{display:"none"}},le.createElement("defs",null,le.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},le.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),le.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},le.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),le.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},le.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),le.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},le.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),le.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},le.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),le.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},le.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),le.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},le.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),le.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},le.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},85554:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return ke}});var le=oe(59301),E=oe(29724),je=oe(11611),ke=()=>{const[xe,Se]=(0,le.useState)(""),[de,ve]=(0,le.useState)(0);let[we,ae]=(0,le.useState)(),[Ae,ge]=(0,le.useState)();const[me,fe]=(0,le.useState)(!1),y=(0,le.useRef)("");(0,le.useEffect)(()=>E.Z.subscribe("preview-image",Ce=>{Se(Ce),console.log(pe.current),document.body.style.overflow="hidden"}),[]),(0,le.useEffect)(()=>(document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}),[]),(0,le.useEffect)(()=>{y.current=xe},[xe]);function a(Ne){Ne.keyCode==27&&y.current&&z()}function z(){document.body.style.overflow="auto",ae(void 0),ge(void 0),ve(0),Se("")}function x(){ve(de+90)}function ee(){we=pe.current.width*1.1,Ae=pe.current.height*1.1,ge(Ae),ae(we)}function re(){we=pe.current.width/1.1,Ae=pe.current.height/1.1,ge(Ae),ae(we)}const ue=(0,le.useRef)(),he=(0,le.useRef)(),pe=(0,le.useRef)(),Pe=Ne=>{(Ne.nativeEvent.target===ue.current||Ne.nativeEvent.target===he.current)&&z()};return le.createElement(le.Fragment,null,xe?le.createElement("div",null,le.createElement("div",{className:"preview-wrp-group",ref:he},le.createElement(je.Z,{className:"image-preview",src:xe,style:{display:"none"},preview:{visible:!0,src:xe,movable:!1,onVisibleChange:Ne=>{Se("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57560:function(On,mn,oe){"use strict";oe.d(mn,{h:function(){return ue}});var le=oe(59301),E=oe(57809),je=oe(78241),ke=oe(3113),xe=oe(89780),Se=oe.n(xe),de=oe(78318),ve=oe(44084),we=Object.defineProperty,ae=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,y=(he,pe,Pe)=>pe in he?we(he,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[pe]=Pe,a=(he,pe)=>{for(var Pe in pe||(pe={}))me.call(pe,Pe)&&y(he,Pe,pe[Pe]);if(ge)for(var Pe of ge(pe))fe.call(pe,Pe)&&y(he,Pe,pe[Pe]);return he},z=(he,pe)=>ae(he,Ae(pe));const x=E.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},re={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"]};mn.Z=({callback:he,onCancel:pe})=>{const[Pe,Ne]=(0,le.useState)("python");function Ce(Ge){Ne(re[Ge][1])}function Ye(Ge){he(Ge)}return le.createElement(je.default,z(a({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),le.createElement(je.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},le.createElement(E.default,{getPopupContainer:Ge=>Ge.parentNode,onChange:Ce},Object.keys(re).map(Ge=>le.createElement(x,{key:Ge,value:Ge},re[Ge][0])))),le.createElement(je.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},le.createElement(ue,{mode:Pe})),le.createElement("div",{className:"flex-container flex-end"},le.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(ke.ZP,{type:"ghost",onClick:pe},"\u53D6\u6D88")))};function ue({value:he,onChange:pe,mode:Pe,options:Ne={}}){const Ce=(0,le.useRef)(),[Ye,Ge]=(0,le.useState)();return(0,le.useEffect)(()=>{if(Ye){let Te=function(it){const ct=it.getValue();pe&&pe(ct)};return Ye.on("change",Te),()=>{Ye.off("change",Te)}}},[Ye,pe]),(0,le.useEffect)(()=>{Ye&&Ye.setOption("mode",Pe)},[Ye,Pe]),(0,le.useEffect)(()=>{Ye&&(he!==Ye.getValue()||he==="")&&setTimeout(()=>{Ye.setValue(he||"")},300)},[Ye,he]),(0,le.useEffect)(()=>{if(Ce.current&&!Ye){const Te=Se().fromTextArea(Ce.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ne));Ge(Te)}},[Ce.current,Ye]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Ce}))}},55659:function(On,mn,oe){"use strict";oe.d(mn,{Z:function(){return Ve}});var le=oe(59301),E=oe(89780),je=oe.n(E),ke=oe(76374),xe=oe(78318),Se=oe(6313),de=oe(25717),ve=oe(99498),we=oe(25419),ae=oe(67549),Ae=oe(17410),ge=({value:Ue="",className:$e,showTextOnly:ht,showLines:Gt,style:wn={}})=>{const Fn=(0,le.useMemo)(()=>"",[Ue]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:Fn}}))},me=oe(59301),fe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,re=(Ue,$e,ht)=>$e in Ue?fe(Ue,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ue[$e]=ht,ue=(Ue,$e)=>{for(var ht in $e||($e={}))x.call($e,ht)&&re(Ue,ht,$e[ht]);if(z)for(var ht of z($e))ee.call($e,ht)&&re(Ue,ht,$e[ht]);return Ue},he=(Ue,$e)=>y(Ue,a($e));let pe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Pe({onActionCallback:Ue,title:$e,icon:ht,actionName:Gt,className:wn="",children:Fn}){function dr(){Ue(Gt)}return me.createElement("a",{title:$e,className:wn,onClick:dr},me.createElement("i",{className:`${ht}`}),Fn)}var Ne=({watch:Ue,showNullButton:$e,showNullProgramButton:ht,onActionCallback:Gt,fullScreen:wn,insertTemp:Fn,hidetoolBar:dr,extraUse:jr})=>{const Jn=[...pe,{title:`${Ue?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ue?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return me.createElement("ul",{className:"markdown-toolbar-container"},!dr&&Jn.map((Vn,Rr)=>me.createElement("li",{key:Rr},Vn.actionName?me.createElement(Pe,he(ue({},Vn),{onActionCallback:Gt})):me.createElement("span",{className:"v-line"}))),$e?me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ht?me.createElement(me.Fragment,null,me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Fn&&me.createElement("li",null,me.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Fn}`,onActionCallback:Gt},me.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),jr&&me.createElement("li",null,jr),me.createElement("li",{className:"btn-full-screen"},me.createElement(Pe,{icon:`${wn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:wn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Gt})))},Ce=oe(74254),Ye=oe(78241),Ge=oe(92832),Te=oe(3113),it=Object.defineProperty,ct=Object.defineProperties,Lt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Qt=(Ue,$e,ht)=>$e in Ue?it(Ue,$e,{enumerable:!0,configurable:!0,writable:!0,value:ht}):Ue[$e]=ht,pt=(Ue,$e)=>{for(var ht in $e||($e={}))Ct.call($e,ht)&&Qt(Ue,ht,$e[ht]);if(st)for(var ht of st($e))ft.call($e,ht)&&Qt(Ue,ht,$e[ht]);return Ue},mt=(Ue,$e)=>ct(Ue,Lt($e));const rt={labelCol:{span:4},wrapperCol:{span:20}};var lt=({callback:Ue,onCancel:$e})=>{function ht(Gt){Ue(Gt)}return le.createElement(Ye.default,mt(pt({},rt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ht,style:{width:500}}),le.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},le.createElement(Ge.default,null)),le.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},le.createElement(Ge.default,null)),le.createElement("div",{className:"flex-container flex-end"},le.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Te.ZP,{type:"ghost",onClick:$e},"\u53D6\u6D88")))},At=oe(57560),dt=oe(42307),Rt=oe(43418),sn=oe(95237),En=oe(40783),_t=oe(59301),dn=({callback:Ue,onCancel:$e})=>{const ht=document.createElement("canvas"),Gt=ht.getContext("2d");ht.width=1e3,ht.height=800,Gt.fillStyle="#ffffff",Gt.fillRect(0,0,ht.width,ht.height);const wn=ht.toDataURL("image/png");return _t.createElement(Rt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},_t.createElement(sn.Z,{style:{height:"100vh"}},_t.createElement(En.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:wn,visible:!0,title:String(Date.now())},onOk:Fn=>{Ue({src:Fn.url})},onClose:$e})))},Dt=oe(12378);function Tt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Tt,go.CommandHandler),Tt.prototype.canAlignSelection=function(){var Ue=this.diagram;return!(Ue===null||Ue.isReadOnly||Ue.isModelReadOnly||Ue.selection.count<2)},Tt.prototype.alignLeft=function(){var Ue=this.diagram;Ue.startTransaction("aligning left");var $e=1/0;Ue.selection.each(function(ht){ht instanceof go.Link||($e=Math.min(ht.position.x,$e))}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point($e,ht.position.y))}),Ue.commitTransaction("aligning left")},Tt.prototype.alignRight=function(){var Ue=this.diagram;Ue.startTransaction("aligning right");var $e=-1/0;Ue.selection.each(function(ht){if(!(ht instanceof go.Link)){var Gt=ht.actualBounds.x+ht.actualBounds.width;$e=Math.max(Gt,$e)}}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point($e-ht.actualBounds.width,ht.position.y))}),Ue.commitTransaction("aligning right")},Tt.prototype.alignTop=function(){var Ue=this.diagram;Ue.startTransaction("alignTop");var $e=1/0;Ue.selection.each(function(ht){ht instanceof go.Link||($e=Math.min(ht.position.y,$e))}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point(ht.position.x,$e))}),Ue.commitTransaction("alignTop")},Tt.prototype.alignBottom=function(){var Ue=this.diagram;Ue.startTransaction("aligning bottom");var $e=-1/0;Ue.selection.each(function(ht){if(!(ht instanceof go.Link)){var Gt=ht.actualBounds.y+ht.actualBounds.height;$e=Math.max(Gt,$e)}}),Ue.selection.each(function(ht){ht instanceof go.Link||ht.move(new go.Point(ht.actualBounds.x,$e-ht.actualBounds.height))}),Ue.commitTransaction("aligning bottom")},Tt.prototype.alignCenterX=function(){var Ue=this.diagram,$e=Ue.selection.first();if($e){Ue.startTransaction("aligning Center X");var ht=$e.actualBounds.x+$e.actualBounds.width/2;Ue.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(ht-Gt.actualBounds.width/2,Gt.actualBounds.y))}),Ue.commitTransaction("aligning Center X")}},Tt.prototype.alignCenterY=function(){var Ue=this.diagram,$e=Ue.selection.first();if($e){Ue.startTransaction("aligning Center Y");var ht=$e.actualBounds.y+$e.actualBounds.height/2;Ue.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(Gt.actualBounds.x,ht-Gt.actualBounds.height/2))}),Ue.commitTransaction("aligning Center Y")}},Tt.prototype.alignColumn=function(Ue){var $e=this.diagram;$e.startTransaction("align Column"),Ue===void 0&&(Ue=0),Ue=parseFloat(Ue);var ht=new Array;$e.selection.each(function(jr){jr instanceof go.Link||ht.push(jr)});for(var Gt=0;Gt0){for(var jr=Fn.elt(dr-1);jr!==null&&jr.isTreeExpanded&&!jr.isTreeLeaf;){var Jn=this._sortTreeChildrenByY(jr);jr=Jn.last()}jr!==null&&Ue.select(jr)}else Ue.select(wn)}}else if(ht.key==="Down")if($e.isTreeExpanded&&!$e.isTreeLeaf){var Gt=this._sortTreeChildrenByY($e).first();Gt!==null&&Ue.select(Gt)}else for(;$e!==null;){var wn=$e.findTreeParentNode();if(wn===null)break;var Fn=this._sortTreeChildrenByY(wn),dr=Fn.indexOf($e);if(drFn.y?1:wn.xFn.x?1:0}),$e},Tt.prototype.copyToClipboard=function(Ue){go.CommandHandler.prototype.copyToClipboard.call(this,Ue),this._lastPasteOffset.set(this.pasteOffset)},Tt.prototype.pasteFromClipboard=function(){var Ue=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ue,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ue},Object.defineProperty(Tt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ue){if(Ue!=="move"&&Ue!=="select"&&Ue!=="scroll"&&Ue!=="tree"&&Ue!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ue);this._arrowKeyBehavior=Ue}}),Object.defineProperty(Tt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ue){if(!(Ue instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ue);this._pasteOffset.set(Ue)}});var zt=Tt,nn=oe(6404),Ft=oe(43604),gt=oe(43597),Zt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},xt=oe(59301),wt=(Ue,$e,ht)=>new Promise((Gt,wn)=>{var Fn=Jn=>{try{jr(ht.next(Jn))}catch(Vn){wn(Vn)}},dr=Jn=>{try{jr(ht.throw(Jn))}catch(Vn){wn(Vn)}},jr=Jn=>Jn.done?Gt(Jn.value):Promise.resolve(Jn.value).then(Fn,dr);jr((ht=ht.apply(Ue,$e)).next())});function qe({onCancel:Ue,callback:$e}){let ht=(0,le.useRef)(),Gt=(0,le.useRef)(),wn=(0,le.useRef)(),Fn=(0,le.useRef)(!1);const dr=(0,le.useRef)(!1),[jr,Jn]=(0,le.useState)(0);function Vn(){const Yn=Dt.bx.make,wa={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"};ht.current=new Dt.S0(Gt.current,{padding:20,grid:Yn(Dt.s_,"Grid",Yn(Dt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Yn(Dt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Ko=>{var ci=Ko.diagram.commandHandler.addTopLevelParts(Ko.diagram.selection,!0);ci||Ko.diagram.currentTool.doCancel()},commandHandler:Yn(zt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Ko=>{var ci=Ko.subject;ci.location=ci.location.copy().snapToGridPoint(Ko.diagram.grid.gridOrigin,Ko.diagram.grid.gridCellSize),setTimeout(()=>{Ko.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Ko=>{var ci=Ko.subject;setTimeout(()=>{Ko.diagram.commandHandler.editTextBlock()})},LinkRelinked:Ko=>{var ci=Ko.parameter.part;ci.invalidateConnectedLinks();var xi=Ko.subject;Ko.diagram.toolManager.linkingTool.isForwards?xi.toNode.invalidateConnectedLinks():xi.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ht.current.nodeTemplate=Yn(Dt.NB,"Auto",{locationSpot:Dt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Dt.$u(120,60),minSize:new Dt.$u(40,40),resizable:!0,resizeCellSize:new Dt.$u(10,10),rotatable:!0},new Dt.KX("location","loc",Dt.E9.parse).makeTwoWay(Dt.E9.stringify),new Dt.KX("desiredSize","size",Dt.$u.parse).makeTwoWay(Dt.$u.stringify),Yn(Dt.bn,{name:"SHAPE",fill:wa.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Dt.z6.AllSides,toSpot:Dt.z6.AllSides},new Dt.KX("figure"),new Dt.KX("fill"),new Dt.KX("stroke","borderColor"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Yn(Dt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Yn(Dt.al,{margin:1,textAlign:"center",overflow:Dt.al.OverflowEllipsis,editable:!0},new Dt.KX("text").makeTwoWay(),new Dt.KX("stroke","color"))),ht.current.nodeTemplate.toolTip=Yn("ToolTip",Yn(Dt.s_,"Vertical",{maxSize:new Dt.$u(200,NaN)},Yn(Dt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Dt.KX("text")),Yn(Dt.al,{font:"10pt sans-serif",textAlign:"center"},new Dt.KX("text","details"))));function Wr(Ko,ci){var xi=(xo,ns)=>{xo.handled=!0,xo.diagram.model.commit(Zs=>{var Bs=ns.part.adornedPart,Dl=new Dt.E9().setRectSpot(Bs.actualBounds,Ko);Dl.subtract(Bs.location),Dl.scale(2,2),Dl.x+=Math.sign(Dl.x)*130,Dl.y+=Math.sign(Dl.y)*130,Dl.add(Bs.location),Dl.snapToGridPoint(xo.diagram.grid.gridOrigin,xo.diagram.grid.gridCellSize);var Ol=Zs.copyNodeData(Bs.data);Zs.setGroupKeyForNodeData(Ol,Zs.getGroupKeyForNodeData(Bs.data)),Zs.addNodeData(Ol);var nu={from:Bs.key,to:Zs.getKeyForNodeData(Ol)};Zs.addLinkData(nu);var Fu=xo.diagram.findNodeForData(Ol);Fu.location=Dl,xo.diagram.select(Fu),setTimeout(()=>{xo.diagram.commandHandler.editTextBlock()},20)})};return Yn(Dt.bn,{figure:ci,alignment:Ko,alignmentFocus:Ko.opposite(),width:Ko.equals(Dt.z6.Top)||Ko.equals(Dt.z6.Bottom)?25:18,height:Ko.equals(Dt.z6.Top)||Ko.equals(Dt.z6.Bottom)?18:25,fill:"orange",stroke:wa.white,strokeWidth:4,mouseEnter:(xo,ns)=>ns.fill="dodgerblue",mouseLeave:(xo,ns)=>ns.fill="orange",isActionable:!0,click:xi,contextClick:xi})}function Gr(Ko){return Yn(Dt.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:(ci,xi)=>xi.fill="dodgerblue",mouseLeave:(ci,xi)=>xi.fill="orange",click:(ci,xi)=>{ci.diagram.commandHandler.showContextMenu(xi.part.adornedPart)}},Ko||{})}ht.current.nodeTemplate.selectionAdornmentTemplate=Yn(Dt.uz,"Spot",Yn(Dt.Vm,{padding:10}),Wr(Dt.z6.Top,"TriangleUp"),Wr(Dt.z6.Left,"TriangleLeft"),Wr(Dt.z6.Right,"TriangleRight"),Wr(Dt.z6.Bottom,"TriangleDown"),Gr({alignment:new Dt.z6(.75,0)}));function la(Ko,ci){return(xi,xo)=>{xi.handled=!0,xi.diagram.model.commit(ns=>{ns.set(xo.part.adornedPart.data,Ko,ci)})}}function In(Ko,ci){return ci||(ci="color"),Yn(Dt.bn,{width:16,height:16,stroke:"lightgray",fill:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.stroke="dodgerblue",mouseLeave:(xi,xo)=>xo.stroke="lightgray",click:la(ci,Ko),contextClick:la(ci,Ko)})}function nr(){return[Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.white,"fill"),In(wa.beige,"fill"),In(wa.extralightblue,"fill"),In(wa.extralightred,"fill"))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.lightgray,"fill"),In(wa.lightgreen,"fill"),In(wa.lightblue,"fill"),In(wa.lightred,"fill")))]}function fr(){return[Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.black),In(wa.green),In(wa.blue),In(wa.red))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",In(wa.white),In(wa.magenta),In(wa.purple),In(wa.orange)))]}function Qr(Ko,ci){return ci||(ci="thickness"),Yn(Dt.bn,"LineH",{width:16,height:16,strokeWidth:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:la(ci,Ko),contextClick:la(ci,Ko)})}function ga(Ko,ci){return ci||(ci="dash"),Yn(Dt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:la(ci,Ko),contextClick:la(ci,Ko)})}function Kr(){return[Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",Qr(1),Qr(2),Qr(3),Qr(4))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ga(null),ga([2,4]),ga([4,4])))]}function ua(Ko,ci){return ci||(ci="figure"),Yn(Dt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Ko,margin:1,background:"transparent",mouseEnter:(xi,xo)=>xo.fill="dodgerblue",mouseLeave:(xi,xo)=>xo.fill="lightgray",click:la(ci,Ko),contextClick:la(ci,Ko)})}ht.current.nodeTemplate.contextMenu=Yn("ContextMenu",Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ua("Rectangle"),ua("RoundedRectangle"),ua("Ellipse"),ua("Diamond"))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ua("Parallelogram2"),ua("ManualOperation"),ua("Procedure"),ua("Cylinder1"))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ua("Terminator"),ua("CreateRequest"),ua("Document"),ua("TriangleDown"))),nr(),fr(),Kr()),ht.current.groupTemplate=Yn(Dt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Dt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Ko,ci)=>{var xi=ci.addMembers(ci.diagram.selection,!0);xi||ci.diagram.currentTool.doCancel()},avoidable:!1},new Dt.KX("location","loc",Dt.E9.parse).makeTwoWay(Dt.E9.stringify),Yn(Dt.s_,"Auto",{name:"BODY"},Yn(Dt.bn,{parameter1:10,fill:wa.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Dt.z6.AllSides,toSpot:Dt.z6.AllSides},new Dt.KX("fill"),new Dt.KX("stroke","color"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Yn(Dt.Vm,{background:"transparent",margin:20})),Yn(Dt.al,{alignment:Dt.z6.Top,alignmentFocus:Dt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Dt.KX("text"),new Dt.KX("stroke","color"))),ht.current.groupTemplate.selectionAdornmentTemplate=Yn(Dt.uz,"Spot",Yn(Dt.s_,"Auto",Yn(Dt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Yn(Dt.Vm,{margin:1.5})),Gr({alignment:Dt.z6.TopRight,alignmentFocus:Dt.z6.BottomRight})),ht.current.groupTemplate.contextMenu=Yn("ContextMenu",nr(),fr(),Kr()),ht.current.linkTemplate=Yn(Dt.rU,{layerName:"Foreground",routing:Dt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Dt.KX("fromSpot","fromSpot",Dt.z6.parse),new Dt.KX("toSpot","toSpot",Dt.z6.parse),new Dt.KX("fromShortLength","dir",Ko=>Ko>=1?10:0),new Dt.KX("toShortLength","dir",Ko=>Ko>=1?10:0),new Dt.KX("points").makeTwoWay(),Yn(Dt.bn,{strokeWidth:2},new Dt.KX("stroke","color"),new Dt.KX("strokeWidth","thickness"),new Dt.KX("strokeDashArray","dash")),Yn(Dt.bn,{segmentIndex:0,segmentOffset:new Dt.E9(15,0),segmentOrientation:Dt.rU.OrientAlong,alignmentFocus:Dt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",Ko=>Ko===1)),Yn(Dt.bn,{segmentIndex:-1,segmentOffset:new Dt.E9(-10,6),segmentOrientation:Dt.rU.OrientPlus90,alignmentFocus:Dt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",Ko=>Ko>=1),new Dt.KX("width","thickness",Ko=>7+3*Ko),new Dt.KX("height","thickness",Ko=>7+3*Ko),new Dt.KX("segmentOffset","thickness",Ko=>new Dt.E9(-15,4+1.5*Ko))),Yn(Dt.bn,{segmentIndex:0,segmentOffset:new Dt.E9(15,-6),segmentOrientation:Dt.rU.OrientMinus90,alignmentFocus:Dt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Dt.KX("fill","color"),new Dt.KX("visible","dir",Ko=>Ko===2),new Dt.KX("width","thickness",Ko=>7+3*Ko),new Dt.KX("height","thickness",Ko=>7+3*Ko),new Dt.KX("segmentOffset","thickness",Ko=>new Dt.E9(-15,4+1.5*Ko))),Yn(Dt.al,{alignmentFocus:new Dt.z6(0,1,-4,0),editable:!0},new Dt.KX("text").makeTwoWay(),new Dt.KX("stroke","color"))),ht.current.linkTemplate.selectionAdornmentTemplate=Yn(Dt.uz,Yn(Dt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ia(2)},new Dt.KX("pathPattern","thickness",ia)),Gr({alignmentFocus:new Dt.z6(0,0,-6,-4)}));function ia(Ko){return Yn(Dt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Ko+4).toString()+" H3"})}function ui(Ko){var ci="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Ko===0?ci="M0 0 M16 16 M0 8 L16 8":Ko===2&&(ci="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Yn(Dt.bn,{geometryString:ci,margin:2,background:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:la("dir",Ko),contextClick:la("dir",Ko)})}function Ro(Ko){var ci=(xi,xo)=>{xi.handled=!0,xi.diagram.model.commit(ns=>{var Zs=xo.part.adornedPart;ns.set(Zs.data,Ko?"toSpot":"fromSpot",Dt.z6.stringify(Dt.z6.AllSides)),(Ko?Zs.toNode:Zs.fromNode).invalidateConnectedLinks()})};return Yn(Dt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(xi,xo)=>xo.background="dodgerblue",mouseLeave:(xi,xo)=>xo.background="transparent",click:ci,contextClick:ci})}function fa(Ko,ci){var xi=0,xo=Dt.z6.RightSide;Ko.equals(Dt.z6.Top)?(xi=270,xo=Dt.z6.TopSide):Ko.equals(Dt.z6.Left)?(xi=180,xo=Dt.z6.LeftSide):Ko.equals(Dt.z6.Bottom)&&(xi=90,xo=Dt.z6.BottomSide),ci||(xi-=180);var ns=(Zs,Bs)=>{Zs.handled=!0,Zs.diagram.model.commit(Dl=>{var Ol=Bs.part.adornedPart;Dl.set(Ol.data,ci?"toSpot":"fromSpot",Dt.z6.stringify(xo)),(ci?Ol.toNode:Ol.fromNode).invalidateConnectedLinks()})};return Yn(Dt.bn,{alignment:Ko,alignmentFocus:Ko.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:xi,background:"transparent",mouseEnter:(Zs,Bs)=>Bs.background="dodgerblue",mouseLeave:(Zs,Bs)=>Bs.background="transparent",click:ns,contextClick:ns})}ht.current.linkTemplate.contextMenu=Yn("ContextMenu",fr(),Kr(),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",ui(0),ui(1),ui(2))),Yn("ContextMenuButton",Yn(Dt.s_,"Horizontal",Yn(Dt.s_,"Spot",Ro(!1),fa(Dt.z6.Top,!1),fa(Dt.z6.Left,!1),fa(Dt.z6.Right,!1),fa(Dt.z6.Bottom,!1)),Yn(Dt.s_,"Spot",{margin:new Dt.Zt(0,0,0,2)},Ro(!0),fa(Dt.z6.Top,!0),fa(Dt.z6.Left,!0),fa(Dt.z6.Right,!0),fa(Dt.z6.Bottom,!0)))));const Hs=`{ "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"}, diff --git a/p__Question__OjProblem__index.f71c5053.async.js b/p__Question__OjProblem__index.6c886864.async.js similarity index 99% rename from p__Question__OjProblem__index.f71c5053.async.js rename to p__Question__OjProblem__index.6c886864.async.js index 72c13b59c8..8c4a330cb7 100644 --- a/p__Question__OjProblem__index.f71c5053.async.js +++ b/p__Question__OjProblem__index.6c886864.async.js @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:`$$${re.value}$$`}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},E.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},ce.name&&le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],z=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var se=re.innerText;return ae&&ae(se),se};return(0,ee.useImperativeHandle)(ne,()=>({getData:z})),le.createElement("div",{className:ie.Z.mathWrap},le.createElement(pe.default,{defaultActiveKey:"1",items:x}),le.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},oe||""),he&&le.createElement("div",{className:ie.Z.button},le.createElement(Se.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ke.Z=me},12124:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(92123),ge={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},be=te(59301),pe=({message:Se,className:fe,children:ie,style:de={}})=>be.createElement("div",{className:`custom-spinner ${ge.idsRingWrapper} ${fe}`},be.createElement("div",{className:ge.ldsRing},be.createElement("div",null),be.createElement("div",null),be.createElement("div",null),be.createElement("div",null)),Se?be.createElement("p",{style:de},Se):null,ie,be.createElement(ee.Outlet,null))},63528:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(29724),be=te(59301),pe=({defaultX:Se="40%",leftChild:fe,rightChild:ie,className:de,hideResize:le=!1})=>{const[me,ae]=(0,ee.useState)(Se),he=(0,ee.useRef)();function oe(){he.current=!0}(0,ee.useEffect)(()=>{function y(b){he.current&&(ge.Z.publish("resize-move-bar",b),ae(b.pageX))}function E(){he.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",E),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",E)}},[]);const ne=typeof me=="number"&&me!==.01?`${me}px`:Se,a=`calc(100% - ${le?"0px":"4px"} - ${ne})`;return be.createElement("div",{className:`split-panel-container ${de}`},be.createElement("section",{style:{width:ne,display:me===.01?"none":""}},fe),be.createElement("section",{className:"resize-x-bar",onMouseDown:oe},be.createElement("a",{className:"btn-resize"},be.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},be.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),be.createElement("section",{style:{width:a}},ie))}},92273:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return fe}});var ee=te(59301),ge={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},be=te(92310),pe=te.n(be),fe=({className:ie,style:de={},leftNode:le,leftTitle:me="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:he="\u8FD0\u884C\u7ED3\u679C"})=>ee.createElement("div",{className:pe()(ge.result,ie),style:de},ee.createElement("div",{className:ge.left},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ee.createElement("span",null,me)),ee.createElement("div",{className:ge.leftNode},le)),ee.createElement("div",{className:ge.right},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ee.createElement("span",null,he)),ee.createElement("div",{className:ge.rightNode},ae)))},47922:function(mt,Ke,te){"use strict";var ee=te(59301);const ge=pe=>String(pe).length===1?`0${pe}`:pe,be=({className:pe="",onChange:Se,defaultValue:fe=0})=>{const[ie,de]=(0,ee.useState)(fe);(0,ee.useEffect)(()=>{const he=setTimeout(()=>{de(ie+1e3)},1e3);return Se(ie+1e3),()=>{clearInterval(he)}},[ie]);const le=parseInt(ie/(60*6e4))||"00",me=parseInt(ie%(60*6e4)/6e4)||"00",ae=parseInt(ie%6e4/1e3)||"00";return ee.createElement("div",{className:pe},ge(le),":",ge(me),":",ge(ae))};Ke.Z=be},81032:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return a}});var ee=te(59301),ge=te(8591),be=te(38854),pe=te(96640),Se=te(44523),fe=te(47141),ie=te(56102),de=te(18030),le={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},me=(y,E,b)=>new Promise((x,z)=>{var re=_e=>{try{ce(b.next(_e))}catch(ye){z(ye)}},se=_e=>{try{ce(b.throw(_e))}catch(ye){z(ye)}},ce=_e=>_e.done?x(_e.value):Promise.resolve(_e.value).then(re,se);ce((b=b.apply(y,E)).next())});function ae(y){if(isNaN(y))return{minutes:"00",seconds:"00"};const E=new Date(y*1e3).toISOString().substr(11,8);return{hour:E.substr(0,2),minutes:E.substr(3,2),seconds:E.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function he(y,E){return y-E}function oe(y){y.sort(he);let E=0;for(let b=0;b{},handlePlay:_e=()=>{},handlePlayEnded:ye=()=>{},autoPlay:De=!1,onPlayEnded:Ee=()=>{},isShowWaterMark:je=!0},Le)=>{var ht;const vt=((ht=E==null?void 0:E.split("."))==null?void 0:ht.pop())==="flv",we=(0,ee.useRef)(),Fe=(0,ee.useRef)(),He=(0,ee.useRef)(),at=(0,ee.useRef)(),We=(0,ee.useRef)(),pt=(0,ee.useRef)(),Pt=(0,ee.useRef)(),At=(0,ee.useRef)(),Bt=(0,ee.useRef)(),rt=(0,ee.useRef)(),Xe=(0,ee.useRef)(),Ct=(0,ee.useRef)(),zt=(0,ee.useRef)(),Et=(0,ee.useRef)(),an=navigator.userAgent.toLowerCase().match(ne),$e=an?an[0]:"pc",yt=(0,ee.useRef)(!1),Lt=(0,fe.eY)();let on=0,$t=0,st=0,lt=null,Ge=!1,Ne=20,et=1,xt=!1,Ie=!1,Re=[];(0,ee.useImperativeHandle)(Le,()=>({getLastUpdatedTime:()=>we.current.currentTime,getDuration:()=>we.current.duration})),ge.ZP.config({maxCount:1,getContainer:()=>He.current});const Ze=(0,ee.useCallback)((Dt,Ht=!1)=>{let bt={point:we.current.currentTime};lt?(bt.log_id=lt,bt.watch_duration=oe(Re),bt.total_duration=$t):(re?(bt.video_id=parseInt(x,10),bt.course_id=re):bt.video_id=x,bt.duration=on,bt.device=$e),Ht&&(bt.ed="1");function fn(){return me(this,null,function*(){xt=!0,lt=yield z==null?void 0:z(bt),xt=!1,Dt&&Dt()})}fn()},[x,re]);(0,ee.useEffect)(()=>{we.current&&(at.current.style.display="none",We.current.style.display="block"),ge.ZP.destroy();let Dt=null;return pe.Z.isSupported&&vt&&E&&(E==null?void 0:E.indexOf(".m3u8"))<0?(Dt=pe.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:E,muted:!1}),we.current&&(Dt.attachMediaElement(we.current),Dt.load())):we.current.setAttribute("src",E),ze(),()=>{Dt&&(Dt.unload(),Dt.pause(),Dt.destroy(),Dt=null)}},[we,vt,E]);function Be(){we.current.paused?(at.current.style.display="none",We.current.style.display="block"):(at.current.style.display="block",We.current.style.display="none")}function ze(){Xe.current.style.display="none",zt.current.style.display="none",Ct.current.style.display="none",we.current.muted||we.current.volume===0?Xe.current.style.display="block":we.current.volume>0&&we.current.volume<=.5?zt.current.style.display="block":Ct.current.style.display="block"}(0,ee.useEffect)(()=>{const Dt=document.getElementById("play"),Ht=document.querySelectorAll(".playback-icons use");function bt(){_e(),se&&!yt.current&&(we.current.currentTime=se),yt.current=!0,Re.push(we.current.currentTime),Ge||(Ge=!0,b&&Ze())}function fn(){return me(this,null,function*(){Be(),Re.push(we.current.currentTime),b&&Ze(()=>{lt=null,st=0,Ge=!1,xt=!1,Ie=!1,Re=[],$t=0,et=1},!0),Ee()})}function cn(){pt.current.value=Math.round(we.current.currentTime),Pt.current.value=Math.round(we.current.currentTime)}function wt(){const sn=ae(Math.round(we.current.currentTime));Bt.current.innerText=`${sn.hour>0?sn.hour+":":""}${sn.minutes}:${sn.seconds}`,Bt.current.setAttribute("datetime",`${sn.hour>0?" "+sn.hour+" ":""}${sn.minutes}m ${sn.seconds}s`)}function yn(){var sn,Yn,ir,Zn,ar,Dr,Mr;const Er=Math.round((sn=we.current)==null?void 0:sn.duration);(ir=(Yn=pt.current)==null?void 0:Yn.setAttribute)==null||ir.call(Yn,"max",Er),(ar=(Zn=Pt.current)==null?void 0:Zn.setAttribute)==null||ar.call(Zn,"max",Er);const Br=ae(Er);At.current&&(At.current.innerText=`${Br.hour>0?Br.hour+":":""}${Br.minutes}:${Br.seconds}`,(Mr=(Dr=At.current).setAttribute)==null||Mr.call(Dr,"datetime",`${Br.hour>0?" "+Br.hour+" ":""}${Br.minutes}m ${Br.seconds}s`))}function vn(){try{const sn=Math.round(we.current.duration);pt.current.setAttribute("max",sn),Pt.current.setAttribute("max",sn);const Yn=ae(sn);At.current.innerText=`${Yn.hour>0?Yn.hour+":":""}${Yn.minutes}:${Yn.seconds}`,At.current.setAttribute("datetime",`${Yn.hour>0?" "+Yn.hour+" ":""}${Yn.minutes}m ${Yn.seconds}s`),cn(),wt();const{width:ir,height:Zn,x:ar,y:Dr}=Fe.current.getBoundingClientRect();if(ar<0||Dr<0||!ir)return;if(!Ie){let Mr=we.current.currentTime,Er=Mr-st;Math.abs(Er)<10?($t+=Math.abs(Er),st=Mr,xt||$t-et*Ne>=0&&(et++,Re.push(st),b&&Ze())):(st=Mr,b&&Ze())}}catch(sn){console.log(sn)}}function zn(){Ie=!0}function wn(){we.current.playing&&Re.push(we.current.currentTime,st),st=we.current.currentTime,Ie=!1}function Wn(){on=we.current.duration,on<=20&&(Ne=on/3),we.current.addEventListener("play",bt)}function qn(sn){sn.preventDefault(),(0,de.vp)()?(we.current.style.width="100%",we.current.style.height="100%"):we.current.style.cssText=""}function Kn(){ce()}function Vn(sn){if(!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Yn=sn.target.dataset.seek?sn.target.dataset.seek:sn.target.value;we.current.currentTime=Yn,Pt.current.value=Yn,pt.current.value=Yn}function vr(sn){const Yn=Math.round(sn.offsetX/sn.target.clientWidth*parseInt(sn.target.getAttribute("max"),10));pt.current.setAttribute("data-seek",Yn);const ir=ae(Yn);rt.current.textContent=`${ir.hour>0?ir.hour+":":""}${ir.minutes}:${ir.seconds}`;const Zn=we.current.getBoundingClientRect();rt.current.style.left=`${sn.pageX-Zn.left}px`}function lr(sn){switch(sn.code){case"Space":sn.preventDefault(),Mt();break;case"ArrowRight":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime>=we.current.duration)break;we.current.currentTime=parseInt(we.current.currentTime)+5,cn();break;case"ArrowLeft":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime===0)break;we.current.currentTime=parseInt(we.current.currentTime)-5,cn();break;case"ArrowUp":sn.preventDefault(),we.current.volume<1&&(we.current.volume=(parseInt(we.current.volume*10)+1)/10);break;case"ArrowDown":sn.preventDefault(),we.current.volume>0&&(we.current.volume=(parseInt(we.current.volume*10)-1)/10);break}}return He.current.addEventListener((0,de.gH)(),qn),we.current.addEventListener("canplay",Wn),we.current.addEventListener("ended",fn),we.current.addEventListener("seeking",zn),we.current.addEventListener("seeked",wn),we.current.addEventListener("loadedmetadata",yn),pt.current.addEventListener("mousemove",vr),pt.current.addEventListener("input",Vn),we.current.addEventListener("timeupdate",vn),we.current.addEventListener("pause",Kn),we.current.addEventListener("volumechange",ze),document.addEventListener("keydown",lr),()=>{var sn,Yn,ir,Zn,ar,Dr,Mr,Er,Br,sr,Kr,Ut;(sn=we.current)==null||sn.removeEventListener("canplay",Wn),(Yn=we.current)==null||Yn.removeEventListener("play",bt),(ir=we.current)==null||ir.removeEventListener("ended",fn),(Zn=we.current)==null||Zn.removeEventListener("seeking",zn),(ar=we.current)==null||ar.removeEventListener("seeked",wn),(Dr=pt.current)==null||Dr.removeEventListener("mousemove",vr),(Mr=pt.current)==null||Mr.removeEventListener("input",Vn),(Er=we.current)==null||Er.removeEventListener("timeupdate",vn),(Br=we.current)==null||Br.removeEventListener("pause",Kn),(sr=we.current)==null||sr.removeEventListener("loadedmetadata",yn),(Kr=we.current)==null||Kr.removeEventListener("volumechange",ze),document.removeEventListener("keydown",lr),(Ut=we.current)!=null&&Ut.playing&&(Re.push(st,we.current.currentTime),b&&Ze())}},[we,E]),(0,ee.useEffect)(()=>{if(we.current.onended=()=>{ye(we)},we.current.oncontextmenu=()=>!1,(E==null?void 0:E.indexOf(".m3u8"))>-1){if(we.current.canPlayType("application/vnd.apple.mpegurl"))we.current.src=E;else if(Se.ZP.isSupported()){var Dt=new Se.ZP;Dt.loadSource(E),Dt.attachMedia(we.current)}}},[E]);const[ot,It]=(0,ee.useState)(1),Mt=()=>{we.current.paused||we.current.ended?we.current.play():we.current.pause(),Be()};function jt(){we.current.muted=!we.current.muted,we.current.muted?(Et.current.setAttribute("data-volume",volume.value),Et.current.value=0):Et.current.value=Et.current.dataset.volume}return ee.createElement("div",{style:{position:"relative"},ref:He},ee.createElement("div",{ref:Fe,className:`${le.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${le.animate__loop}`},je&&Lt?Lt.login:" "),ee.createElement("div",{className:le.container},ee.createElement("div",{className:le["video-container"],id:"video-container"},ee.createElement("div",{className:le["playback-animation"],id:"playback-animation"},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{className:"hidden",href:"#play-icon"}),ee.createElement("use",{href:"#pause"}))),ee.createElement("video",{className:le.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:we,autoPlay:De}),ee.createElement("div",{className:`${le["video-controls"]} `,id:"video-controls"},ee.createElement("div",{className:le["bottom-controls"]},ee.createElement("div",{className:le["left-controls"]},ee.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Mt},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{ref:We,href:"#play-icon"}),ee.createElement("use",{ref:at,style:{display:"none"},href:"#pause"}))),ee.createElement("div",{className:le.time},ee.createElement("time",{id:"time-elapsed",ref:Bt},"00:00"),ee.createElement("span",null," / "),ee.createElement("time",{id:"duration",ref:At},"00:00"))),ee.createElement("div",{className:le["right-controls"]},y&&ee.createElement(be.Z,{placement:"top",overlayClassName:le.rateOverlay,getPopupContainer:Dt=>Dt.parentNode,menu:{items:[{key:"1",label:ee.createElement("span",{onClick:()=>{It(1),we.current.playbackRate=1}},"1.0x")},{key:"2",label:ee.createElement("span",{onClick:()=>{It(1.5),we.current.playbackRate=1.5}},"1.5x")},{key:"3",label:ee.createElement("span",{onClick:()=>{It(2),we.current.playbackRate=2}},"2.0x")}]}},ee.createElement("div",{className:`${le.controlText} mr5`},"\u500D\u901F")),ee.createElement(ie.CopyToClipboard,{text:E,onCopy:()=>ge.ZP.success("\u590D\u5236\u6210\u529F")},ee.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},ee.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),ee.createElement("div",{className:le["volume-controls"]},ee.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:le["volume-button"],id:"volume-button",onClick:jt},ee.createElement("i",{ref:Xe,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:zt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:Ct,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),ee.createElement("input",{className:le.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Et,style:{display:"none"},onClick:ze})),ee.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:le["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(He.current)}},ee.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),ee.createElement("div",{className:le["video-progress"]},ee.createElement("progress",{ref:Pt,value:"0",min:"0"}),ee.createElement("input",{className:le.seek,ref:pt,value:"0",min:"0",type:"range",step:"1"}),ee.createElement("div",{className:le["seek-tooltip"],ref:rt,id:"seek-tooltip"},"00:00"))))),ee.createElement("svg",{style:{display:"none"}},ee.createElement("defs",null,ee.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),ee.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),ee.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),ee.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),ee.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),ee.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),ee.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),ee.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},85554:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(29724),be=te(11611),pe=()=>{const[Se,fe]=(0,ee.useState)(""),[ie,de]=(0,ee.useState)(0);let[le,me]=(0,ee.useState)(),[ae,he]=(0,ee.useState)();const[oe,ne]=(0,ee.useState)(!1),a=(0,ee.useRef)("");(0,ee.useEffect)(()=>ge.Z.subscribe("preview-image",De=>{fe(De),console.log(ce.current),document.body.style.overflow="hidden"}),[]),(0,ee.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,ee.useEffect)(()=>{a.current=Se},[Se]);function y(ye){ye.keyCode==27&&a.current&&E()}function E(){document.body.style.overflow="auto",me(void 0),he(void 0),de(0),fe("")}function b(){de(ie+90)}function x(){le=ce.current.width*1.1,ae=ce.current.height*1.1,he(ae),me(le)}function z(){le=ce.current.width/1.1,ae=ce.current.height/1.1,he(ae),me(le)}const re=(0,ee.useRef)(),se=(0,ee.useRef)(),ce=(0,ee.useRef)(),_e=ye=>{(ye.nativeEvent.target===re.current||ye.nativeEvent.target===se.current)&&E()};return ee.createElement(ee.Fragment,null,Se?ee.createElement("div",null,ee.createElement("div",{className:"preview-wrp-group",ref:se},ee.createElement(be.Z,{className:"image-preview",src:Se,style:{display:"none"},preview:{visible:!0,src:Se,movable:!1,onVisibleChange:ye=>{fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57560:function(mt,Ke,te){"use strict";te.d(Ke,{h:function(){return re}});var ee=te(59301),ge=te(57809),be=te(78241),pe=te(3113),Se=te(89780),fe=te.n(Se),ie=te(78318),de=te(44084),le=Object.defineProperty,me=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(se,ce,_e)=>ce in se?le(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):se[ce]=_e,y=(se,ce)=>{for(var _e in ce||(ce={}))oe.call(ce,_e)&&a(se,_e,ce[_e]);if(he)for(var _e of he(ce))ne.call(ce,_e)&&a(se,_e,ce[_e]);return se},E=(se,ce)=>me(se,ae(ce));const b=ge.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};Ke.Z=({callback:se,onCancel:ce})=>{const[_e,ye]=(0,ee.useState)("python");function De(je){ye(z[je][1])}function Ee(je){se(je)}return ee.createElement(be.default,E(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ee,style:{width:500}}),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(ge.default,{getPopupContainer:je=>je.parentNode,onChange:De},Object.keys(z).map(je=>ee.createElement(b,{key:je,value:je},z[je][0])))),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(re,{mode:_e})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(pe.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function re({value:se,onChange:ce,mode:_e,options:ye={}}){const De=(0,ee.useRef)(),[Ee,je]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(Ee){let Le=function(ht){const Ye=ht.getValue();ce&&ce(Ye)};return Ee.on("change",Le),()=>{Ee.off("change",Le)}}},[Ee,ce]),(0,ee.useEffect)(()=>{Ee&&Ee.setOption("mode",_e)},[Ee,_e]),(0,ee.useEffect)(()=>{Ee&&(se!==Ee.getValue()||se==="")&&setTimeout(()=>{Ee.setValue(se||"")},300)},[Ee,se]),(0,ee.useEffect)(()=>{if(De.current&&!Ee){const Le=fe().fromTextArea(De.current,y({mode:_e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));je(Le)}},[De.current,Ee]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:De}))}},55659:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return ue}});var ee=te(59301),ge=te(89780),be=te.n(ge),pe=te(76374),Se=te(78318),fe=te(6313),ie=te(25717),de=te(99498),le=te(25419),me=te(67549),ae=te(17410),he=({value:ve="",className:Pe,showTextOnly:xe,showLines:ke,style:tt={}})=>{const dt=(0,ee.useMemo)(()=>"",[ve]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:dt}}))},oe=te(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(ve,Pe,xe)=>Pe in ve?ne(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,re=(ve,Pe)=>{for(var xe in Pe||(Pe={}))b.call(Pe,xe)&&z(ve,xe,Pe[xe]);if(E)for(var xe of E(Pe))x.call(Pe,xe)&&z(ve,xe,Pe[xe]);return ve},se=(ve,Pe)=>a(ve,y(Pe));let ce=[{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 _e({onActionCallback:ve,title:Pe,icon:xe,actionName:ke,className:tt="",children:dt}){function tn(){ve(ke)}return oe.createElement("a",{title:Pe,className:tt,onClick:tn},oe.createElement("i",{className:`${xe}`}),dt)}var ye=({watch:ve,showNullButton:Pe,showNullProgramButton:xe,onActionCallback:ke,fullScreen:tt,insertTemp:dt,hidetoolBar:tn,extraUse:Kt})=>{const _t=[...ce,{title:`${ve?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ve?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return oe.createElement("ul",{className:"markdown-toolbar-container"},!tn&&_t.map((ft,Ft)=>oe.createElement("li",{key:Ft},ft.actionName?oe.createElement(_e,se(re({},ft),{onActionCallback:ke})):oe.createElement("span",{className:"v-line"}))),Pe?oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xe?oe.createElement(oe.Fragment,null,oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,dt&&oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${dt}`,onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Kt&&oe.createElement("li",null,Kt),oe.createElement("li",{className:"btn-full-screen"},oe.createElement(_e,{icon:`${tt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:tt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ke})))},De=te(74254),Ee=te(78241),je=te(92832),Le=te(3113),ht=Object.defineProperty,Ye=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,at=(ve,Pe,xe)=>Pe in ve?ht(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,We=(ve,Pe)=>{for(var xe in Pe||(Pe={}))Fe.call(Pe,xe)&&at(ve,xe,Pe[xe]);if(we)for(var xe of we(Pe))He.call(Pe,xe)&&at(ve,xe,Pe[xe]);return ve},pt=(ve,Pe)=>Ye(ve,vt(Pe));const Pt={labelCol:{span:4},wrapperCol:{span:20}};var At=({callback:ve,onCancel:Pe})=>{function xe(ke){ve(ke)}return ee.createElement(Ee.default,pt(We({},Pt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xe,style:{width:500}}),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(je.default,null)),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(je.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},Bt=te(57560),rt=te(42307),Xe=te(43418),Ct=te(95237),zt=te(40783),Et=te(59301),an=({callback:ve,onCancel:Pe})=>{const xe=document.createElement("canvas"),ke=xe.getContext("2d");xe.width=1e3,xe.height=800,ke.fillStyle="#ffffff",ke.fillRect(0,0,xe.width,xe.height);const tt=xe.toDataURL("image/png");return Et.createElement(Xe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Et.createElement(Ct.Z,{style:{height:"100vh"}},Et.createElement(zt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:tt,visible:!0,title:String(Date.now())},onOk:dt=>{ve({src:dt.url})},onClose:Pe})))},$e=te(12378);function yt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(yt,go.CommandHandler),yt.prototype.canAlignSelection=function(){var ve=this.diagram;return!(ve===null||ve.isReadOnly||ve.isModelReadOnly||ve.selection.count<2)},yt.prototype.alignLeft=function(){var ve=this.diagram;ve.startTransaction("aligning left");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.x,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe,xe.position.y))}),ve.commitTransaction("aligning left")},yt.prototype.alignRight=function(){var ve=this.diagram;ve.startTransaction("aligning right");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.x+xe.actualBounds.width;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe-xe.actualBounds.width,xe.position.y))}),ve.commitTransaction("aligning right")},yt.prototype.alignTop=function(){var ve=this.diagram;ve.startTransaction("alignTop");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.y,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.position.x,Pe))}),ve.commitTransaction("alignTop")},yt.prototype.alignBottom=function(){var ve=this.diagram;ve.startTransaction("aligning bottom");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.y+xe.actualBounds.height;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.actualBounds.x,Pe-xe.actualBounds.height))}),ve.commitTransaction("aligning bottom")},yt.prototype.alignCenterX=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center X");var xe=Pe.actualBounds.x+Pe.actualBounds.width/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(xe-ke.actualBounds.width/2,ke.actualBounds.y))}),ve.commitTransaction("aligning Center X")}},yt.prototype.alignCenterY=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center Y");var xe=Pe.actualBounds.y+Pe.actualBounds.height/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(ke.actualBounds.x,xe-ke.actualBounds.height/2))}),ve.commitTransaction("aligning Center Y")}},yt.prototype.alignColumn=function(ve){var Pe=this.diagram;Pe.startTransaction("align Column"),ve===void 0&&(ve=0),ve=parseFloat(ve);var xe=new Array;Pe.selection.each(function(Kt){Kt instanceof go.Link||xe.push(Kt)});for(var ke=0;ke0){for(var Kt=dt.elt(tn-1);Kt!==null&&Kt.isTreeExpanded&&!Kt.isTreeLeaf;){var _t=this._sortTreeChildrenByY(Kt);Kt=_t.last()}Kt!==null&&ve.select(Kt)}else ve.select(tt)}}else if(xe.key==="Down")if(Pe.isTreeExpanded&&!Pe.isTreeLeaf){var ke=this._sortTreeChildrenByY(Pe).first();ke!==null&&ve.select(ke)}else for(;Pe!==null;){var tt=Pe.findTreeParentNode();if(tt===null)break;var dt=this._sortTreeChildrenByY(tt),tn=dt.indexOf(Pe);if(tndt.y?1:tt.xdt.x?1:0}),Pe},yt.prototype.copyToClipboard=function(ve){go.CommandHandler.prototype.copyToClipboard.call(this,ve),this._lastPasteOffset.set(this.pasteOffset)},yt.prototype.pasteFromClipboard=function(){var ve=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ve,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ve},Object.defineProperty(yt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ve){if(ve!=="move"&&ve!=="select"&&ve!=="scroll"&&ve!=="tree"&&ve!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ve);this._arrowKeyBehavior=ve}}),Object.defineProperty(yt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ve){if(!(ve instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ve);this._pasteOffset.set(ve)}});var Lt=yt,on=te(6404),$t=te(43604),st=te(43597),lt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ge=te(59301),Ne=(ve,Pe,xe)=>new Promise((ke,tt)=>{var dt=_t=>{try{Kt(xe.next(_t))}catch(ft){tt(ft)}},tn=_t=>{try{Kt(xe.throw(_t))}catch(ft){tt(ft)}},Kt=_t=>_t.done?ke(_t.value):Promise.resolve(_t.value).then(dt,tn);Kt((xe=xe.apply(ve,Pe)).next())});function et({onCancel:ve,callback:Pe}){let xe=(0,ee.useRef)(),ke=(0,ee.useRef)(),tt=(0,ee.useRef)(),dt=(0,ee.useRef)(!1);const tn=(0,ee.useRef)(!1),[Kt,_t]=(0,ee.useState)(0);function ft(){const gt=$e.bx.make,Gt={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"};xe.current=new $e.S0(ke.current,{padding:20,grid:gt($e.s_,"Grid",gt($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gt($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:un=>{var Sn=un.diagram.commandHandler.addTopLevelParts(un.diagram.selection,!0);Sn||un.diagram.currentTool.doCancel()},commandHandler:gt(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:un=>{var Sn=un.subject;Sn.location=Sn.location.copy().snapToGridPoint(un.diagram.grid.gridOrigin,un.diagram.grid.gridCellSize),setTimeout(()=>{un.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:un=>{var Sn=un.subject;setTimeout(()=>{un.diagram.commandHandler.editTextBlock()})},LinkRelinked:un=>{var Sn=un.parameter.part;Sn.invalidateConnectedLinks();var Nn=un.subject;un.diagram.toolManager.linkingTool.isForwards?Nn.toNode.invalidateConnectedLinks():Nn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xe.current.nodeTemplate=gt($e.NB,"Auto",{locationSpot:$e.z6.Center,locationObjectName:"SHAPE",desiredSize:new $e.$u(120,60),minSize:new $e.$u(40,40),resizable:!0,resizeCellSize:new $e.$u(10,10),rotatable:!0},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),new $e.KX("desiredSize","size",$e.$u.parse).makeTwoWay($e.$u.stringify),gt($e.bn,{name:"SHAPE",fill:Gt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("figure"),new $e.KX("fill"),new $e.KX("stroke","borderColor"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gt($e.al,{margin:1,textAlign:"center",overflow:$e.al.OverflowEllipsis,editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.nodeTemplate.toolTip=gt("ToolTip",gt($e.s_,"Vertical",{maxSize:new $e.$u(200,NaN)},gt($e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new $e.KX("text")),gt($e.al,{font:"10pt sans-serif",textAlign:"center"},new $e.KX("text","details"))));function Zt(un,Sn){var Nn=(pn,cr)=>{pn.handled=!0,pn.diagram.model.commit(fr=>{var Ar=cr.part.adornedPart,Ur=new $e.E9().setRectSpot(Ar.actualBounds,un);Ur.subtract(Ar.location),Ur.scale(2,2),Ur.x+=Math.sign(Ur.x)*130,Ur.y+=Math.sign(Ur.y)*130,Ur.add(Ar.location),Ur.snapToGridPoint(pn.diagram.grid.gridOrigin,pn.diagram.grid.gridCellSize);var to=fr.copyNodeData(Ar.data);fr.setGroupKeyForNodeData(to,fr.getGroupKeyForNodeData(Ar.data)),fr.addNodeData(to);var _o={from:Ar.key,to:fr.getKeyForNodeData(to)};fr.addLinkData(_o);var ho=pn.diagram.findNodeForData(to);ho.location=Ur,pn.diagram.select(ho),setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()},20)})};return gt($e.bn,{figure:Sn,alignment:un,alignmentFocus:un.opposite(),width:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?25:18,height:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?18:25,fill:"orange",stroke:Gt.white,strokeWidth:4,mouseEnter:(pn,cr)=>cr.fill="dodgerblue",mouseLeave:(pn,cr)=>cr.fill="orange",isActionable:!0,click:Nn,contextClick:Nn})}function Tt(un){return gt($e.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Sn,Nn)=>Nn.fill="dodgerblue",mouseLeave:(Sn,Nn)=>Nn.fill="orange",click:(Sn,Nn)=>{Sn.diagram.commandHandler.showContextMenu(Nn.part.adornedPart)}},un||{})}xe.current.nodeTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.Vm,{padding:10}),Zt($e.z6.Top,"TriangleUp"),Zt($e.z6.Left,"TriangleLeft"),Zt($e.z6.Right,"TriangleRight"),Zt($e.z6.Bottom,"TriangleDown"),Tt({alignment:new $e.z6(.75,0)}));function kt(un,Sn){return(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{cr.set(pn.part.adornedPart.data,un,Sn)})}}function Xt(un,Sn){return Sn||(Sn="color"),gt($e.bn,{width:16,height:16,stroke:"lightgray",fill:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.stroke="dodgerblue",mouseLeave:(Nn,pn)=>pn.stroke="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}function dn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white,"fill"),Xt(Gt.beige,"fill"),Xt(Gt.extralightblue,"fill"),Xt(Gt.extralightred,"fill"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.lightgray,"fill"),Xt(Gt.lightgreen,"fill"),Xt(Gt.lightblue,"fill"),Xt(Gt.lightred,"fill")))]}function xn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.black),Xt(Gt.green),Xt(Gt.blue),Xt(Gt.red))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white),Xt(Gt.magenta),Xt(Gt.purple),Xt(Gt.orange)))]}function Fn(un,Sn){return Sn||(Sn="thickness"),gt($e.bn,"LineH",{width:16,height:16,strokeWidth:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function Qn(un,Sn){return Sn||(Sn="dash"),gt($e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function mn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Fn(1),Fn(2),Fn(3),Fn(4))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Qn(null),Qn([2,4]),Qn([4,4])))]}function An(un,Sn){return Sn||(Sn="figure"),gt($e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.fill="dodgerblue",mouseLeave:(Nn,pn)=>pn.fill="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}xe.current.nodeTemplate.contextMenu=gt("ContextMenu",gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),dn(),xn(),mn()),xe.current.groupTemplate=gt($e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:$e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(un,Sn)=>{var Nn=Sn.addMembers(Sn.diagram.selection,!0);Nn||Sn.diagram.currentTool.doCancel()},avoidable:!1},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),gt($e.s_,"Auto",{name:"BODY"},gt($e.bn,{parameter1:10,fill:Gt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("fill"),new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.Vm,{background:"transparent",margin:20})),gt($e.al,{alignment:$e.z6.Top,alignmentFocus:$e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new $e.KX("text"),new $e.KX("stroke","color"))),xe.current.groupTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.s_,"Auto",gt($e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gt($e.Vm,{margin:1.5})),Tt({alignment:$e.z6.TopRight,alignmentFocus:$e.z6.BottomRight})),xe.current.groupTemplate.contextMenu=gt("ContextMenu",dn(),xn(),mn()),xe.current.linkTemplate=gt($e.rU,{layerName:"Foreground",routing:$e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new $e.KX("fromSpot","fromSpot",$e.z6.parse),new $e.KX("toSpot","toSpot",$e.z6.parse),new $e.KX("fromShortLength","dir",un=>un>=1?10:0),new $e.KX("toShortLength","dir",un=>un>=1?10:0),new $e.KX("points").makeTwoWay(),gt($e.bn,{strokeWidth:2},new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,0),segmentOrientation:$e.rU.OrientAlong,alignmentFocus:$e.z6.Right,figure:"circle",width:10,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===1)),gt($e.bn,{segmentIndex:-1,segmentOffset:new $e.E9(-10,6),segmentOrientation:$e.rU.OrientPlus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un>=1),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,-6),segmentOrientation:$e.rU.OrientMinus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===2),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.al,{alignmentFocus:new $e.z6(0,1,-4,0),editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.linkTemplate.selectionAdornmentTemplate=gt($e.uz,gt($e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ur(2)},new $e.KX("pathPattern","thickness",ur)),Tt({alignmentFocus:new $e.z6(0,0,-6,-4)}));function ur(un){return gt($e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(un+4).toString()+" H3"})}function rr(un){var Sn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return un===0?Sn="M0 0 M16 16 M0 8 L16 8":un===2&&(Sn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gt($e.bn,{geometryString:Sn,margin:2,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt("dir",un),contextClick:kt("dir",un)})}function or(un){var Sn=(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{var fr=pn.part.adornedPart;cr.set(fr.data,un?"toSpot":"fromSpot",$e.z6.stringify($e.z6.AllSides)),(un?fr.toNode:fr.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:Sn,contextClick:Sn})}function Wt(un,Sn){var Nn=0,pn=$e.z6.RightSide;un.equals($e.z6.Top)?(Nn=270,pn=$e.z6.TopSide):un.equals($e.z6.Left)?(Nn=180,pn=$e.z6.LeftSide):un.equals($e.z6.Bottom)&&(Nn=90,pn=$e.z6.BottomSide),Sn||(Nn-=180);var cr=(fr,Ar)=>{fr.handled=!0,fr.diagram.model.commit(Ur=>{var to=Ar.part.adornedPart;Ur.set(to.data,Sn?"toSpot":"fromSpot",$e.z6.stringify(pn)),(Sn?to.toNode:to.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{alignment:un,alignmentFocus:un.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Nn,background:"transparent",mouseEnter:(fr,Ar)=>Ar.background="dodgerblue",mouseLeave:(fr,Ar)=>Ar.background="transparent",click:cr,contextClick:cr})}xe.current.linkTemplate.contextMenu=gt("ContextMenu",xn(),mn(),gt("ContextMenuButton",gt($e.s_,"Horizontal",rr(0),rr(1),rr(2))),gt("ContextMenuButton",gt($e.s_,"Horizontal",gt($e.s_,"Spot",or(!1),Wt($e.z6.Top,!1),Wt($e.z6.Left,!1),Wt($e.z6.Right,!1),Wt($e.z6.Bottom,!1)),gt($e.s_,"Spot",{margin:new $e.Zt(0,0,0,2)},or(!0),Wt($e.z6.Top,!0),Wt($e.z6.Left,!0),Wt($e.z6.Right,!0),Wt($e.z6.Bottom,!0)))));const io=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},y.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:`$$${re.value}$$`}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(ge.Z,{className:ie.Z.lists,gutter:[10,10]},E.map((re,se)=>le.createElement(be.Z,{flex:"110px",className:ie.Z.item},le.createElement("div",null,le.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}),re.name),le.createElement("div",{className:ie.Z.children},re.children.map((ce,_e)=>le.createElement("div",{key:_e},ce.name&&le.createElement("h1",null,ce.name),le.createElement(ge.Z,{gutter:[10,10]},ce.data.map((ye,De)=>le.createElement(be.Z,{key:De,onClick:()=>b(ye),className:ie.Z.diamond},le.createElement(fe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],z=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var se=re.innerText;return ae&&ae(se),se};return(0,ee.useImperativeHandle)(ne,()=>({getData:z})),le.createElement("div",{className:ie.Z.mathWrap},le.createElement(pe.default,{defaultActiveKey:"1",items:x}),le.createElement("math-field",{locale:"zh_cn",className:ie.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},oe||""),he&&le.createElement("div",{className:ie.Z.button},le.createElement(Se.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ke.Z=me},12124:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(92123),ge={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},be=te(59301),pe=({message:Se,className:fe,children:ie,style:de={}})=>be.createElement("div",{className:`custom-spinner ${ge.idsRingWrapper} ${fe}`},be.createElement("div",{className:ge.ldsRing},be.createElement("div",null),be.createElement("div",null),be.createElement("div",null),be.createElement("div",null)),Se?be.createElement("p",{style:de},Se):null,ie,be.createElement(ee.Outlet,null))},63528:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(29724),be=te(59301),pe=({defaultX:Se="40%",leftChild:fe,rightChild:ie,className:de,hideResize:le=!1})=>{const[me,ae]=(0,ee.useState)(Se),he=(0,ee.useRef)();function oe(){he.current=!0}(0,ee.useEffect)(()=>{function y(b){he.current&&(ge.Z.publish("resize-move-bar",b),ae(b.pageX))}function E(){he.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",E),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",E)}},[]);const ne=typeof me=="number"&&me!==.01?`${me}px`:Se,a=`calc(100% - ${le?"0px":"4px"} - ${ne})`;return be.createElement("div",{className:`split-panel-container ${de}`},be.createElement("section",{style:{width:ne,display:me===.01?"none":""}},fe),be.createElement("section",{className:"resize-x-bar",onMouseDown:oe},be.createElement("a",{className:"btn-resize"},be.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},be.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),be.createElement("section",{style:{width:a}},ie))}},92273:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return fe}});var ee=te(59301),ge={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},be=te(92310),pe=te.n(be),fe=({className:ie,style:de={},leftNode:le,leftTitle:me="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:he="\u8FD0\u884C\u7ED3\u679C"})=>ee.createElement("div",{className:pe()(ge.result,ie),style:de},ee.createElement("div",{className:ge.left},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ee.createElement("span",null,me)),ee.createElement("div",{className:ge.leftNode},le)),ee.createElement("div",{className:ge.right},ee.createElement("div",{className:ge.title},ee.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ee.createElement("span",null,he)),ee.createElement("div",{className:ge.rightNode},ae)))},47922:function(mt,Ke,te){"use strict";var ee=te(59301);const ge=pe=>String(pe).length===1?`0${pe}`:pe,be=({className:pe="",onChange:Se,defaultValue:fe=0})=>{const[ie,de]=(0,ee.useState)(fe);(0,ee.useEffect)(()=>{const he=setTimeout(()=>{de(ie+1e3)},1e3);return Se(ie+1e3),()=>{clearInterval(he)}},[ie]);const le=parseInt(ie/(60*6e4))||"00",me=parseInt(ie%(60*6e4)/6e4)||"00",ae=parseInt(ie%6e4/1e3)||"00";return ee.createElement("div",{className:pe},ge(le),":",ge(me),":",ge(ae))};Ke.Z=be},81032:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return a}});var ee=te(59301),ge=te(8591),be=te(38854),pe=te(96640),Se=te(80360),fe=te(47141),ie=te(56102),de=te(18030),le={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},me=(y,E,b)=>new Promise((x,z)=>{var re=_e=>{try{ce(b.next(_e))}catch(ye){z(ye)}},se=_e=>{try{ce(b.throw(_e))}catch(ye){z(ye)}},ce=_e=>_e.done?x(_e.value):Promise.resolve(_e.value).then(re,se);ce((b=b.apply(y,E)).next())});function ae(y){if(isNaN(y))return{minutes:"00",seconds:"00"};const E=new Date(y*1e3).toISOString().substr(11,8);return{hour:E.substr(0,2),minutes:E.substr(3,2),seconds:E.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function he(y,E){return y-E}function oe(y){y.sort(he);let E=0;for(let b=0;b{},handlePlay:_e=()=>{},handlePlayEnded:ye=()=>{},autoPlay:De=!1,onPlayEnded:Ee=()=>{},isShowWaterMark:je=!0},Le)=>{var ht;const vt=((ht=E==null?void 0:E.split("."))==null?void 0:ht.pop())==="flv",we=(0,ee.useRef)(),Fe=(0,ee.useRef)(),He=(0,ee.useRef)(),at=(0,ee.useRef)(),We=(0,ee.useRef)(),pt=(0,ee.useRef)(),Pt=(0,ee.useRef)(),At=(0,ee.useRef)(),Bt=(0,ee.useRef)(),rt=(0,ee.useRef)(),Xe=(0,ee.useRef)(),Ct=(0,ee.useRef)(),zt=(0,ee.useRef)(),Et=(0,ee.useRef)(),an=navigator.userAgent.toLowerCase().match(ne),$e=an?an[0]:"pc",yt=(0,ee.useRef)(!1),Lt=(0,fe.eY)();let on=0,$t=0,st=0,lt=null,Ge=!1,Ne=20,et=1,xt=!1,Ie=!1,Re=[];(0,ee.useImperativeHandle)(Le,()=>({getLastUpdatedTime:()=>we.current.currentTime,getDuration:()=>we.current.duration})),ge.ZP.config({maxCount:1,getContainer:()=>He.current});const Ze=(0,ee.useCallback)((Dt,Ht=!1)=>{let bt={point:we.current.currentTime};lt?(bt.log_id=lt,bt.watch_duration=oe(Re),bt.total_duration=$t):(re?(bt.video_id=parseInt(x,10),bt.course_id=re):bt.video_id=x,bt.duration=on,bt.device=$e),Ht&&(bt.ed="1");function fn(){return me(this,null,function*(){xt=!0,lt=yield z==null?void 0:z(bt),xt=!1,Dt&&Dt()})}fn()},[x,re]);(0,ee.useEffect)(()=>{we.current&&(at.current.style.display="none",We.current.style.display="block"),ge.ZP.destroy();let Dt=null;return pe.Z.isSupported&&vt&&E&&(E==null?void 0:E.indexOf(".m3u8"))<0?(Dt=pe.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:E,muted:!1}),we.current&&(Dt.attachMediaElement(we.current),Dt.load())):we.current.setAttribute("src",E),ze(),()=>{Dt&&(Dt.unload(),Dt.pause(),Dt.destroy(),Dt=null)}},[we,vt,E]);function Be(){we.current.paused?(at.current.style.display="none",We.current.style.display="block"):(at.current.style.display="block",We.current.style.display="none")}function ze(){Xe.current.style.display="none",zt.current.style.display="none",Ct.current.style.display="none",we.current.muted||we.current.volume===0?Xe.current.style.display="block":we.current.volume>0&&we.current.volume<=.5?zt.current.style.display="block":Ct.current.style.display="block"}(0,ee.useEffect)(()=>{const Dt=document.getElementById("play"),Ht=document.querySelectorAll(".playback-icons use");function bt(){_e(),se&&!yt.current&&(we.current.currentTime=se),yt.current=!0,Re.push(we.current.currentTime),Ge||(Ge=!0,b&&Ze())}function fn(){return me(this,null,function*(){Be(),Re.push(we.current.currentTime),b&&Ze(()=>{lt=null,st=0,Ge=!1,xt=!1,Ie=!1,Re=[],$t=0,et=1},!0),Ee()})}function cn(){pt.current.value=Math.round(we.current.currentTime),Pt.current.value=Math.round(we.current.currentTime)}function wt(){const sn=ae(Math.round(we.current.currentTime));Bt.current.innerText=`${sn.hour>0?sn.hour+":":""}${sn.minutes}:${sn.seconds}`,Bt.current.setAttribute("datetime",`${sn.hour>0?" "+sn.hour+" ":""}${sn.minutes}m ${sn.seconds}s`)}function yn(){var sn,Yn,ir,Zn,ar,Dr,Mr;const Er=Math.round((sn=we.current)==null?void 0:sn.duration);(ir=(Yn=pt.current)==null?void 0:Yn.setAttribute)==null||ir.call(Yn,"max",Er),(ar=(Zn=Pt.current)==null?void 0:Zn.setAttribute)==null||ar.call(Zn,"max",Er);const Br=ae(Er);At.current&&(At.current.innerText=`${Br.hour>0?Br.hour+":":""}${Br.minutes}:${Br.seconds}`,(Mr=(Dr=At.current).setAttribute)==null||Mr.call(Dr,"datetime",`${Br.hour>0?" "+Br.hour+" ":""}${Br.minutes}m ${Br.seconds}s`))}function vn(){try{const sn=Math.round(we.current.duration);pt.current.setAttribute("max",sn),Pt.current.setAttribute("max",sn);const Yn=ae(sn);At.current.innerText=`${Yn.hour>0?Yn.hour+":":""}${Yn.minutes}:${Yn.seconds}`,At.current.setAttribute("datetime",`${Yn.hour>0?" "+Yn.hour+" ":""}${Yn.minutes}m ${Yn.seconds}s`),cn(),wt();const{width:ir,height:Zn,x:ar,y:Dr}=Fe.current.getBoundingClientRect();if(ar<0||Dr<0||!ir)return;if(!Ie){let Mr=we.current.currentTime,Er=Mr-st;Math.abs(Er)<10?($t+=Math.abs(Er),st=Mr,xt||$t-et*Ne>=0&&(et++,Re.push(st),b&&Ze())):(st=Mr,b&&Ze())}}catch(sn){console.log(sn)}}function zn(){Ie=!0}function wn(){we.current.playing&&Re.push(we.current.currentTime,st),st=we.current.currentTime,Ie=!1}function Wn(){on=we.current.duration,on<=20&&(Ne=on/3),we.current.addEventListener("play",bt)}function qn(sn){sn.preventDefault(),(0,de.vp)()?(we.current.style.width="100%",we.current.style.height="100%"):we.current.style.cssText=""}function Kn(){ce()}function Vn(sn){if(!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Yn=sn.target.dataset.seek?sn.target.dataset.seek:sn.target.value;we.current.currentTime=Yn,Pt.current.value=Yn,pt.current.value=Yn}function vr(sn){const Yn=Math.round(sn.offsetX/sn.target.clientWidth*parseInt(sn.target.getAttribute("max"),10));pt.current.setAttribute("data-seek",Yn);const ir=ae(Yn);rt.current.textContent=`${ir.hour>0?ir.hour+":":""}${ir.minutes}:${ir.seconds}`;const Zn=we.current.getBoundingClientRect();rt.current.style.left=`${sn.pageX-Zn.left}px`}function lr(sn){switch(sn.code){case"Space":sn.preventDefault(),Mt();break;case"ArrowRight":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime>=we.current.duration)break;we.current.currentTime=parseInt(we.current.currentTime)+5,cn();break;case"ArrowLeft":if(sn.preventDefault(),!y){ge.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(we.current.currentTime===0)break;we.current.currentTime=parseInt(we.current.currentTime)-5,cn();break;case"ArrowUp":sn.preventDefault(),we.current.volume<1&&(we.current.volume=(parseInt(we.current.volume*10)+1)/10);break;case"ArrowDown":sn.preventDefault(),we.current.volume>0&&(we.current.volume=(parseInt(we.current.volume*10)-1)/10);break}}return He.current.addEventListener((0,de.gH)(),qn),we.current.addEventListener("canplay",Wn),we.current.addEventListener("ended",fn),we.current.addEventListener("seeking",zn),we.current.addEventListener("seeked",wn),we.current.addEventListener("loadedmetadata",yn),pt.current.addEventListener("mousemove",vr),pt.current.addEventListener("input",Vn),we.current.addEventListener("timeupdate",vn),we.current.addEventListener("pause",Kn),we.current.addEventListener("volumechange",ze),document.addEventListener("keydown",lr),()=>{var sn,Yn,ir,Zn,ar,Dr,Mr,Er,Br,sr,Kr,Ut;(sn=we.current)==null||sn.removeEventListener("canplay",Wn),(Yn=we.current)==null||Yn.removeEventListener("play",bt),(ir=we.current)==null||ir.removeEventListener("ended",fn),(Zn=we.current)==null||Zn.removeEventListener("seeking",zn),(ar=we.current)==null||ar.removeEventListener("seeked",wn),(Dr=pt.current)==null||Dr.removeEventListener("mousemove",vr),(Mr=pt.current)==null||Mr.removeEventListener("input",Vn),(Er=we.current)==null||Er.removeEventListener("timeupdate",vn),(Br=we.current)==null||Br.removeEventListener("pause",Kn),(sr=we.current)==null||sr.removeEventListener("loadedmetadata",yn),(Kr=we.current)==null||Kr.removeEventListener("volumechange",ze),document.removeEventListener("keydown",lr),(Ut=we.current)!=null&&Ut.playing&&(Re.push(st,we.current.currentTime),b&&Ze())}},[we,E]),(0,ee.useEffect)(()=>{if(we.current.onended=()=>{ye(we)},we.current.oncontextmenu=()=>!1,(E==null?void 0:E.indexOf(".m3u8"))>-1){if(we.current.canPlayType("application/vnd.apple.mpegurl"))we.current.src=E;else if(Se.ZP.isSupported()){var Dt=new Se.ZP;Dt.loadSource(E),Dt.attachMedia(we.current)}}},[E]);const[ot,It]=(0,ee.useState)(1),Mt=()=>{we.current.paused||we.current.ended?we.current.play():we.current.pause(),Be()};function jt(){we.current.muted=!we.current.muted,we.current.muted?(Et.current.setAttribute("data-volume",volume.value),Et.current.value=0):Et.current.value=Et.current.dataset.volume}return ee.createElement("div",{style:{position:"relative"},ref:He},ee.createElement("div",{ref:Fe,className:`${le.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${le.animate__loop}`},je&&Lt?Lt.login:" "),ee.createElement("div",{className:le.container},ee.createElement("div",{className:le["video-container"],id:"video-container"},ee.createElement("div",{className:le["playback-animation"],id:"playback-animation"},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{className:"hidden",href:"#play-icon"}),ee.createElement("use",{href:"#pause"}))),ee.createElement("video",{className:le.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:we,autoPlay:De}),ee.createElement("div",{className:`${le["video-controls"]} `,id:"video-controls"},ee.createElement("div",{className:le["bottom-controls"]},ee.createElement("div",{className:le["left-controls"]},ee.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:Mt},ee.createElement("svg",{className:le["playback-icons"]},ee.createElement("use",{ref:We,href:"#play-icon"}),ee.createElement("use",{ref:at,style:{display:"none"},href:"#pause"}))),ee.createElement("div",{className:le.time},ee.createElement("time",{id:"time-elapsed",ref:Bt},"00:00"),ee.createElement("span",null," / "),ee.createElement("time",{id:"duration",ref:At},"00:00"))),ee.createElement("div",{className:le["right-controls"]},y&&ee.createElement(be.Z,{placement:"top",overlayClassName:le.rateOverlay,getPopupContainer:Dt=>Dt.parentNode,menu:{items:[{key:"1",label:ee.createElement("span",{onClick:()=>{It(1),we.current.playbackRate=1}},"1.0x")},{key:"2",label:ee.createElement("span",{onClick:()=>{It(1.5),we.current.playbackRate=1.5}},"1.5x")},{key:"3",label:ee.createElement("span",{onClick:()=>{It(2),we.current.playbackRate=2}},"2.0x")}]}},ee.createElement("div",{className:`${le.controlText} mr5`},"\u500D\u901F")),ee.createElement(ie.CopyToClipboard,{text:E,onCopy:()=>ge.ZP.success("\u590D\u5236\u6210\u529F")},ee.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},ee.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),ee.createElement("div",{className:le["volume-controls"]},ee.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:le["volume-button"],id:"volume-button",onClick:jt},ee.createElement("i",{ref:Xe,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:zt,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),ee.createElement("i",{ref:Ct,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),ee.createElement("input",{className:le.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Et,style:{display:"none"},onClick:ze})),ee.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:le["fullscreen-button"],onClick:()=>{(0,de.vp)()?(0,de.BU)():(0,de.Dj)(He.current)}},ee.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),ee.createElement("div",{className:le["video-progress"]},ee.createElement("progress",{ref:Pt,value:"0",min:"0"}),ee.createElement("input",{className:le.seek,ref:pt,value:"0",min:"0",type:"range",step:"1"}),ee.createElement("div",{className:le["seek-tooltip"],ref:rt,id:"seek-tooltip"},"00:00"))))),ee.createElement("svg",{style:{display:"none"}},ee.createElement("defs",null,ee.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),ee.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),ee.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),ee.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),ee.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),ee.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),ee.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),ee.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},ee.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},85554:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return pe}});var ee=te(59301),ge=te(29724),be=te(11611),pe=()=>{const[Se,fe]=(0,ee.useState)(""),[ie,de]=(0,ee.useState)(0);let[le,me]=(0,ee.useState)(),[ae,he]=(0,ee.useState)();const[oe,ne]=(0,ee.useState)(!1),a=(0,ee.useRef)("");(0,ee.useEffect)(()=>ge.Z.subscribe("preview-image",De=>{fe(De),console.log(ce.current),document.body.style.overflow="hidden"}),[]),(0,ee.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,ee.useEffect)(()=>{a.current=Se},[Se]);function y(ye){ye.keyCode==27&&a.current&&E()}function E(){document.body.style.overflow="auto",me(void 0),he(void 0),de(0),fe("")}function b(){de(ie+90)}function x(){le=ce.current.width*1.1,ae=ce.current.height*1.1,he(ae),me(le)}function z(){le=ce.current.width/1.1,ae=ce.current.height/1.1,he(ae),me(le)}const re=(0,ee.useRef)(),se=(0,ee.useRef)(),ce=(0,ee.useRef)(),_e=ye=>{(ye.nativeEvent.target===re.current||ye.nativeEvent.target===se.current)&&E()};return ee.createElement(ee.Fragment,null,Se?ee.createElement("div",null,ee.createElement("div",{className:"preview-wrp-group",ref:se},ee.createElement(be.Z,{className:"image-preview",src:Se,style:{display:"none"},preview:{visible:!0,src:Se,movable:!1,onVisibleChange:ye=>{fe("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57560:function(mt,Ke,te){"use strict";te.d(Ke,{h:function(){return re}});var ee=te(59301),ge=te(57809),be=te(78241),pe=te(3113),Se=te(89780),fe=te.n(Se),ie=te(78318),de=te(44084),le=Object.defineProperty,me=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(se,ce,_e)=>ce in se?le(se,ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):se[ce]=_e,y=(se,ce)=>{for(var _e in ce||(ce={}))oe.call(ce,_e)&&a(se,_e,ce[_e]);if(he)for(var _e of he(ce))ne.call(ce,_e)&&a(se,_e,ce[_e]);return se},E=(se,ce)=>me(se,ae(ce));const b=ge.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};Ke.Z=({callback:se,onCancel:ce})=>{const[_e,ye]=(0,ee.useState)("python");function De(je){ye(z[je][1])}function Ee(je){se(je)}return ee.createElement(be.default,E(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ee,style:{width:500}}),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(ge.default,{getPopupContainer:je=>je.parentNode,onChange:De},Object.keys(z).map(je=>ee.createElement(b,{key:je,value:je},z[je][0])))),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(re,{mode:_e})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(pe.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function re({value:se,onChange:ce,mode:_e,options:ye={}}){const De=(0,ee.useRef)(),[Ee,je]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(Ee){let Le=function(ht){const Ye=ht.getValue();ce&&ce(Ye)};return Ee.on("change",Le),()=>{Ee.off("change",Le)}}},[Ee,ce]),(0,ee.useEffect)(()=>{Ee&&Ee.setOption("mode",_e)},[Ee,_e]),(0,ee.useEffect)(()=>{Ee&&(se!==Ee.getValue()||se==="")&&setTimeout(()=>{Ee.setValue(se||"")},300)},[Ee,se]),(0,ee.useEffect)(()=>{if(De.current&&!Ee){const Le=fe().fromTextArea(De.current,y({mode:_e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));je(Le)}},[De.current,Ee]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:De}))}},55659:function(mt,Ke,te){"use strict";te.d(Ke,{Z:function(){return ue}});var ee=te(59301),ge=te(89780),be=te.n(ge),pe=te(76374),Se=te(78318),fe=te(6313),ie=te(25717),de=te(99498),le=te(25419),me=te(67549),ae=te(17410),he=({value:ve="",className:Pe,showTextOnly:xe,showLines:ke,style:tt={}})=>{const dt=(0,ee.useMemo)(()=>"",[ve]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:dt}}))},oe=te(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(ve,Pe,xe)=>Pe in ve?ne(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,re=(ve,Pe)=>{for(var xe in Pe||(Pe={}))b.call(Pe,xe)&&z(ve,xe,Pe[xe]);if(E)for(var xe of E(Pe))x.call(Pe,xe)&&z(ve,xe,Pe[xe]);return ve},se=(ve,Pe)=>a(ve,y(Pe));let ce=[{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 _e({onActionCallback:ve,title:Pe,icon:xe,actionName:ke,className:tt="",children:dt}){function tn(){ve(ke)}return oe.createElement("a",{title:Pe,className:tt,onClick:tn},oe.createElement("i",{className:`${xe}`}),dt)}var ye=({watch:ve,showNullButton:Pe,showNullProgramButton:xe,onActionCallback:ke,fullScreen:tt,insertTemp:dt,hidetoolBar:tn,extraUse:Kt})=>{const _t=[...ce,{title:`${ve?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ve?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return oe.createElement("ul",{className:"markdown-toolbar-container"},!tn&&_t.map((ft,Ft)=>oe.createElement("li",{key:Ft},ft.actionName?oe.createElement(_e,se(re({},ft),{onActionCallback:ke})):oe.createElement("span",{className:"v-line"}))),Pe?oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,xe?oe.createElement(oe.Fragment,null,oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,dt&&oe.createElement("li",null,oe.createElement(_e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${dt}`,onActionCallback:ke},oe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Kt&&oe.createElement("li",null,Kt),oe.createElement("li",{className:"btn-full-screen"},oe.createElement(_e,{icon:`${tt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:tt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ke})))},De=te(74254),Ee=te(78241),je=te(92832),Le=te(3113),ht=Object.defineProperty,Ye=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,at=(ve,Pe,xe)=>Pe in ve?ht(ve,Pe,{enumerable:!0,configurable:!0,writable:!0,value:xe}):ve[Pe]=xe,We=(ve,Pe)=>{for(var xe in Pe||(Pe={}))Fe.call(Pe,xe)&&at(ve,xe,Pe[xe]);if(we)for(var xe of we(Pe))He.call(Pe,xe)&&at(ve,xe,Pe[xe]);return ve},pt=(ve,Pe)=>Ye(ve,vt(Pe));const Pt={labelCol:{span:4},wrapperCol:{span:20}};var At=({callback:ve,onCancel:Pe})=>{function xe(ke){ve(ke)}return ee.createElement(Ee.default,pt(We({},Pt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:xe,style:{width:500}}),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(je.default,null)),ee.createElement(Ee.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(je.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},Bt=te(57560),rt=te(42307),Xe=te(43418),Ct=te(95237),zt=te(40783),Et=te(59301),an=({callback:ve,onCancel:Pe})=>{const xe=document.createElement("canvas"),ke=xe.getContext("2d");xe.width=1e3,xe.height=800,ke.fillStyle="#ffffff",ke.fillRect(0,0,xe.width,xe.height);const tt=xe.toDataURL("image/png");return Et.createElement(Xe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Et.createElement(Ct.Z,{style:{height:"100vh"}},Et.createElement(zt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:tt,visible:!0,title:String(Date.now())},onOk:dt=>{ve({src:dt.url})},onClose:Pe})))},$e=te(12378);function yt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(yt,go.CommandHandler),yt.prototype.canAlignSelection=function(){var ve=this.diagram;return!(ve===null||ve.isReadOnly||ve.isModelReadOnly||ve.selection.count<2)},yt.prototype.alignLeft=function(){var ve=this.diagram;ve.startTransaction("aligning left");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.x,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe,xe.position.y))}),ve.commitTransaction("aligning left")},yt.prototype.alignRight=function(){var ve=this.diagram;ve.startTransaction("aligning right");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.x+xe.actualBounds.width;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(Pe-xe.actualBounds.width,xe.position.y))}),ve.commitTransaction("aligning right")},yt.prototype.alignTop=function(){var ve=this.diagram;ve.startTransaction("alignTop");var Pe=1/0;ve.selection.each(function(xe){xe instanceof go.Link||(Pe=Math.min(xe.position.y,Pe))}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.position.x,Pe))}),ve.commitTransaction("alignTop")},yt.prototype.alignBottom=function(){var ve=this.diagram;ve.startTransaction("aligning bottom");var Pe=-1/0;ve.selection.each(function(xe){if(!(xe instanceof go.Link)){var ke=xe.actualBounds.y+xe.actualBounds.height;Pe=Math.max(ke,Pe)}}),ve.selection.each(function(xe){xe instanceof go.Link||xe.move(new go.Point(xe.actualBounds.x,Pe-xe.actualBounds.height))}),ve.commitTransaction("aligning bottom")},yt.prototype.alignCenterX=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center X");var xe=Pe.actualBounds.x+Pe.actualBounds.width/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(xe-ke.actualBounds.width/2,ke.actualBounds.y))}),ve.commitTransaction("aligning Center X")}},yt.prototype.alignCenterY=function(){var ve=this.diagram,Pe=ve.selection.first();if(Pe){ve.startTransaction("aligning Center Y");var xe=Pe.actualBounds.y+Pe.actualBounds.height/2;ve.selection.each(function(ke){ke instanceof go.Link||ke.move(new go.Point(ke.actualBounds.x,xe-ke.actualBounds.height/2))}),ve.commitTransaction("aligning Center Y")}},yt.prototype.alignColumn=function(ve){var Pe=this.diagram;Pe.startTransaction("align Column"),ve===void 0&&(ve=0),ve=parseFloat(ve);var xe=new Array;Pe.selection.each(function(Kt){Kt instanceof go.Link||xe.push(Kt)});for(var ke=0;ke0){for(var Kt=dt.elt(tn-1);Kt!==null&&Kt.isTreeExpanded&&!Kt.isTreeLeaf;){var _t=this._sortTreeChildrenByY(Kt);Kt=_t.last()}Kt!==null&&ve.select(Kt)}else ve.select(tt)}}else if(xe.key==="Down")if(Pe.isTreeExpanded&&!Pe.isTreeLeaf){var ke=this._sortTreeChildrenByY(Pe).first();ke!==null&&ve.select(ke)}else for(;Pe!==null;){var tt=Pe.findTreeParentNode();if(tt===null)break;var dt=this._sortTreeChildrenByY(tt),tn=dt.indexOf(Pe);if(tndt.y?1:tt.xdt.x?1:0}),Pe},yt.prototype.copyToClipboard=function(ve){go.CommandHandler.prototype.copyToClipboard.call(this,ve),this._lastPasteOffset.set(this.pasteOffset)},yt.prototype.pasteFromClipboard=function(){var ve=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ve,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ve},Object.defineProperty(yt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ve){if(ve!=="move"&&ve!=="select"&&ve!=="scroll"&&ve!=="tree"&&ve!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ve);this._arrowKeyBehavior=ve}}),Object.defineProperty(yt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ve){if(!(ve instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ve);this._pasteOffset.set(ve)}});var Lt=yt,on=te(6404),$t=te(43604),st=te(43597),lt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ge=te(59301),Ne=(ve,Pe,xe)=>new Promise((ke,tt)=>{var dt=_t=>{try{Kt(xe.next(_t))}catch(ft){tt(ft)}},tn=_t=>{try{Kt(xe.throw(_t))}catch(ft){tt(ft)}},Kt=_t=>_t.done?ke(_t.value):Promise.resolve(_t.value).then(dt,tn);Kt((xe=xe.apply(ve,Pe)).next())});function et({onCancel:ve,callback:Pe}){let xe=(0,ee.useRef)(),ke=(0,ee.useRef)(),tt=(0,ee.useRef)(),dt=(0,ee.useRef)(!1);const tn=(0,ee.useRef)(!1),[Kt,_t]=(0,ee.useState)(0);function ft(){const gt=$e.bx.make,Gt={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"};xe.current=new $e.S0(ke.current,{padding:20,grid:gt($e.s_,"Grid",gt($e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gt($e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:un=>{var Sn=un.diagram.commandHandler.addTopLevelParts(un.diagram.selection,!0);Sn||un.diagram.currentTool.doCancel()},commandHandler:gt(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:un=>{var Sn=un.subject;Sn.location=Sn.location.copy().snapToGridPoint(un.diagram.grid.gridOrigin,un.diagram.grid.gridCellSize),setTimeout(()=>{un.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:un=>{var Sn=un.subject;setTimeout(()=>{un.diagram.commandHandler.editTextBlock()})},LinkRelinked:un=>{var Sn=un.parameter.part;Sn.invalidateConnectedLinks();var Nn=un.subject;un.diagram.toolManager.linkingTool.isForwards?Nn.toNode.invalidateConnectedLinks():Nn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),xe.current.nodeTemplate=gt($e.NB,"Auto",{locationSpot:$e.z6.Center,locationObjectName:"SHAPE",desiredSize:new $e.$u(120,60),minSize:new $e.$u(40,40),resizable:!0,resizeCellSize:new $e.$u(10,10),rotatable:!0},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),new $e.KX("desiredSize","size",$e.$u.parse).makeTwoWay($e.$u.stringify),gt($e.bn,{name:"SHAPE",fill:Gt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("figure"),new $e.KX("fill"),new $e.KX("stroke","borderColor"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gt($e.al,{margin:1,textAlign:"center",overflow:$e.al.OverflowEllipsis,editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.nodeTemplate.toolTip=gt("ToolTip",gt($e.s_,"Vertical",{maxSize:new $e.$u(200,NaN)},gt($e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new $e.KX("text")),gt($e.al,{font:"10pt sans-serif",textAlign:"center"},new $e.KX("text","details"))));function Zt(un,Sn){var Nn=(pn,cr)=>{pn.handled=!0,pn.diagram.model.commit(fr=>{var Ar=cr.part.adornedPart,Ur=new $e.E9().setRectSpot(Ar.actualBounds,un);Ur.subtract(Ar.location),Ur.scale(2,2),Ur.x+=Math.sign(Ur.x)*130,Ur.y+=Math.sign(Ur.y)*130,Ur.add(Ar.location),Ur.snapToGridPoint(pn.diagram.grid.gridOrigin,pn.diagram.grid.gridCellSize);var to=fr.copyNodeData(Ar.data);fr.setGroupKeyForNodeData(to,fr.getGroupKeyForNodeData(Ar.data)),fr.addNodeData(to);var _o={from:Ar.key,to:fr.getKeyForNodeData(to)};fr.addLinkData(_o);var ho=pn.diagram.findNodeForData(to);ho.location=Ur,pn.diagram.select(ho),setTimeout(()=>{pn.diagram.commandHandler.editTextBlock()},20)})};return gt($e.bn,{figure:Sn,alignment:un,alignmentFocus:un.opposite(),width:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?25:18,height:un.equals($e.z6.Top)||un.equals($e.z6.Bottom)?18:25,fill:"orange",stroke:Gt.white,strokeWidth:4,mouseEnter:(pn,cr)=>cr.fill="dodgerblue",mouseLeave:(pn,cr)=>cr.fill="orange",isActionable:!0,click:Nn,contextClick:Nn})}function Tt(un){return gt($e.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Sn,Nn)=>Nn.fill="dodgerblue",mouseLeave:(Sn,Nn)=>Nn.fill="orange",click:(Sn,Nn)=>{Sn.diagram.commandHandler.showContextMenu(Nn.part.adornedPart)}},un||{})}xe.current.nodeTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.Vm,{padding:10}),Zt($e.z6.Top,"TriangleUp"),Zt($e.z6.Left,"TriangleLeft"),Zt($e.z6.Right,"TriangleRight"),Zt($e.z6.Bottom,"TriangleDown"),Tt({alignment:new $e.z6(.75,0)}));function kt(un,Sn){return(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{cr.set(pn.part.adornedPart.data,un,Sn)})}}function Xt(un,Sn){return Sn||(Sn="color"),gt($e.bn,{width:16,height:16,stroke:"lightgray",fill:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.stroke="dodgerblue",mouseLeave:(Nn,pn)=>pn.stroke="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}function dn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white,"fill"),Xt(Gt.beige,"fill"),Xt(Gt.extralightblue,"fill"),Xt(Gt.extralightred,"fill"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.lightgray,"fill"),Xt(Gt.lightgreen,"fill"),Xt(Gt.lightblue,"fill"),Xt(Gt.lightred,"fill")))]}function xn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.black),Xt(Gt.green),Xt(Gt.blue),Xt(Gt.red))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Xt(Gt.white),Xt(Gt.magenta),Xt(Gt.purple),Xt(Gt.orange)))]}function Fn(un,Sn){return Sn||(Sn="thickness"),gt($e.bn,"LineH",{width:16,height:16,strokeWidth:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function Qn(un,Sn){return Sn||(Sn="dash"),gt($e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt(Sn,un),contextClick:kt(Sn,un)})}function mn(){return[gt("ContextMenuButton",gt($e.s_,"Horizontal",Fn(1),Fn(2),Fn(3),Fn(4))),gt("ContextMenuButton",gt($e.s_,"Horizontal",Qn(null),Qn([2,4]),Qn([4,4])))]}function An(un,Sn){return Sn||(Sn="figure"),gt($e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:un,margin:1,background:"transparent",mouseEnter:(Nn,pn)=>pn.fill="dodgerblue",mouseLeave:(Nn,pn)=>pn.fill="lightgray",click:kt(Sn,un),contextClick:kt(Sn,un)})}xe.current.nodeTemplate.contextMenu=gt("ContextMenu",gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),gt("ContextMenuButton",gt($e.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),dn(),xn(),mn()),xe.current.groupTemplate=gt($e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:$e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(un,Sn)=>{var Nn=Sn.addMembers(Sn.diagram.selection,!0);Nn||Sn.diagram.currentTool.doCancel()},avoidable:!1},new $e.KX("location","loc",$e.E9.parse).makeTwoWay($e.E9.stringify),gt($e.s_,"Auto",{name:"BODY"},gt($e.bn,{parameter1:10,fill:Gt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:$e.z6.AllSides,toSpot:$e.z6.AllSides},new $e.KX("fill"),new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.Vm,{background:"transparent",margin:20})),gt($e.al,{alignment:$e.z6.Top,alignmentFocus:$e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new $e.KX("text"),new $e.KX("stroke","color"))),xe.current.groupTemplate.selectionAdornmentTemplate=gt($e.uz,"Spot",gt($e.s_,"Auto",gt($e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gt($e.Vm,{margin:1.5})),Tt({alignment:$e.z6.TopRight,alignmentFocus:$e.z6.BottomRight})),xe.current.groupTemplate.contextMenu=gt("ContextMenu",dn(),xn(),mn()),xe.current.linkTemplate=gt($e.rU,{layerName:"Foreground",routing:$e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new $e.KX("fromSpot","fromSpot",$e.z6.parse),new $e.KX("toSpot","toSpot",$e.z6.parse),new $e.KX("fromShortLength","dir",un=>un>=1?10:0),new $e.KX("toShortLength","dir",un=>un>=1?10:0),new $e.KX("points").makeTwoWay(),gt($e.bn,{strokeWidth:2},new $e.KX("stroke","color"),new $e.KX("strokeWidth","thickness"),new $e.KX("strokeDashArray","dash")),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,0),segmentOrientation:$e.rU.OrientAlong,alignmentFocus:$e.z6.Right,figure:"circle",width:10,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===1)),gt($e.bn,{segmentIndex:-1,segmentOffset:new $e.E9(-10,6),segmentOrientation:$e.rU.OrientPlus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un>=1),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.bn,{segmentIndex:0,segmentOffset:new $e.E9(15,-6),segmentOrientation:$e.rU.OrientMinus90,alignmentFocus:$e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new $e.KX("fill","color"),new $e.KX("visible","dir",un=>un===2),new $e.KX("width","thickness",un=>7+3*un),new $e.KX("height","thickness",un=>7+3*un),new $e.KX("segmentOffset","thickness",un=>new $e.E9(-15,4+1.5*un))),gt($e.al,{alignmentFocus:new $e.z6(0,1,-4,0),editable:!0},new $e.KX("text").makeTwoWay(),new $e.KX("stroke","color"))),xe.current.linkTemplate.selectionAdornmentTemplate=gt($e.uz,gt($e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ur(2)},new $e.KX("pathPattern","thickness",ur)),Tt({alignmentFocus:new $e.z6(0,0,-6,-4)}));function ur(un){return gt($e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(un+4).toString()+" H3"})}function rr(un){var Sn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return un===0?Sn="M0 0 M16 16 M0 8 L16 8":un===2&&(Sn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gt($e.bn,{geometryString:Sn,margin:2,background:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:kt("dir",un),contextClick:kt("dir",un)})}function or(un){var Sn=(Nn,pn)=>{Nn.handled=!0,Nn.diagram.model.commit(cr=>{var fr=pn.part.adornedPart;cr.set(fr.data,un?"toSpot":"fromSpot",$e.z6.stringify($e.z6.AllSides)),(un?fr.toNode:fr.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Nn,pn)=>pn.background="dodgerblue",mouseLeave:(Nn,pn)=>pn.background="transparent",click:Sn,contextClick:Sn})}function Wt(un,Sn){var Nn=0,pn=$e.z6.RightSide;un.equals($e.z6.Top)?(Nn=270,pn=$e.z6.TopSide):un.equals($e.z6.Left)?(Nn=180,pn=$e.z6.LeftSide):un.equals($e.z6.Bottom)&&(Nn=90,pn=$e.z6.BottomSide),Sn||(Nn-=180);var cr=(fr,Ar)=>{fr.handled=!0,fr.diagram.model.commit(Ur=>{var to=Ar.part.adornedPart;Ur.set(to.data,Sn?"toSpot":"fromSpot",$e.z6.stringify(pn)),(Sn?to.toNode:to.fromNode).invalidateConnectedLinks()})};return gt($e.bn,{alignment:un,alignmentFocus:un.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Nn,background:"transparent",mouseEnter:(fr,Ar)=>Ar.background="dodgerblue",mouseLeave:(fr,Ar)=>Ar.background="transparent",click:cr,contextClick:cr})}xe.current.linkTemplate.contextMenu=gt("ContextMenu",xn(),mn(),gt("ContextMenuButton",gt($e.s_,"Horizontal",rr(0),rr(1),rr(2))),gt("ContextMenuButton",gt($e.s_,"Horizontal",gt($e.s_,"Spot",or(!1),Wt($e.z6.Top,!1),Wt($e.z6.Left,!1),Wt($e.z6.Right,!1),Wt($e.z6.Bottom,!1)),gt($e.s_,"Spot",{margin:new $e.Zt(0,0,0,2)},or(!0),Wt($e.z6.Top,!0),Wt($e.z6.Left,!0),Wt($e.z6.Right,!0),Wt($e.z6.Bottom,!0)))));const io=`{ "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"}, diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.ee805323.async.js b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.afa311f4.async.js similarity index 64% rename from p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.ee805323.async.js rename to p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.afa311f4.async.js index 36bc794548..8c77a72565 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.ee805323.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index.afa311f4.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[1423],{32313:function(pe,$e){"use strict";$e.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},6404:function(){"use strict";function pe(ne,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(pe.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(pe.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(pe.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(pe.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var y=go.Shape._FigureParameters[ne];return y?y[a]:null},go.Shape.setFigureParameter=function(ne,a,y){if(!(y instanceof pe))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ne];x||(x=[],go.Shape._FigureParameters[ne]=x),x[a]=y};var $e=[];function de(ne,a){var y=$e.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function ge(){var ne=$e.pop();return ne===void 0?new go.Point:ne}function be(ne){$e.push(ne)}function De(ne,a,y,x,b,E,z,ee,te){te||(te=new go.Point);var ae=ne-y,oe=b-z,re=NaN,Se=NaN;if(ae===0)if(oe===0)ne===y&&(re=ne,Se=a);else{var ue=(E-ee)/oe,ve=E-ue*b;re=ne,Se=ue*re+ve}else if(oe===0){var Le=(a-x)/ae,Je=a-Le*ne;re=b,Se=Le*re+Je}else{var Le=(a-x)/ae,ue=(E-ee)/oe,Je=a-Le*ne,ve=E-ue*b;re=(ve-Je)/(Le-ue),Se=Le*re+Je}return te.x=re,te.y=Se,te}function Be(ne,a,y,x,b,E,z,ee,te,ae,oe,re,Se,ue){var ve=1-te,Le=te,Je=ne*ve+y*Le,rt=a*ve+x*Le,vt=y*ve+b*Le,st=x*ve+E*Le,Xe=b*ve+z*Le,Ke=E*ve+ee*Le,at=Je*ve+vt*Le,ut=rt*ve+st*Le,qe=vt*ve+Xe*Le,wt=st*ve+Ke*Le,ct=at*ve+qe*Le,ht=ut*ve+wt*Le;ae.x=Je,ae.y=rt,oe.x=at,oe.y=ut,re.x=ct,re.y=ht,Se.x=qe,Se.y=wt,ue.x=Xe,ue.y=Ke}var he=new go.Spot(.156,.156),fe=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new pe("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*me,E=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ne,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ne,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=he,b.spot2=fe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,me*a,0,a,(1-me)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,me*y,(1-me)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,me*y,me*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-me)*a,0,0,(1-me)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new pe("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),E.spot1=he,E.spot2=fe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ne,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new pe("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new pe("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var E=x%360;E<0&&(E+=360);var z=b%360,ee=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,E,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=me/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,E*y,a,(1-x)*y,(b+x)*a,(E+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new pe("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new pe("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,E=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,y)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new pe("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var x=ne?ne.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var E=a/2,z=y/2,ee=Math.atan2(y,a),te=x-Math.min(Math.cos(ee)*x/2,E),ae=x-Math.min(Math.sin(ee)*x/2,z),b=new go.Geometry,oe=new go.PathFigure(te,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E,.2*y)),oe.add(new go.PathSegment(go.PathSegment.Line,a-te,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,ae)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),oe.add(new go.PathSegment(go.PathSegment.Line,a-te,y)),oe.add(new go.PathSegment(go.PathSegment.Line,E,.8*y)),oe.add(new go.PathSegment(go.PathSegment.Line,te,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new pe("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new pe("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new pe("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,me*a,0,a,(.5-me/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+me/2)*y,me*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var E=.2,z=.3,ee=0,te=E*me;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z+.05)*a,(.5-te+ee-.02)*y)),E=.2,z=0,ee=-.3,te=E*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),E=.2,z=-.3,ee=0,te=E*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-E+ee)*y,(1-.5+E+z-.05)*a,(.5-te+ee-.02)*y,(.5+te+z)*a,(.5-E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-E+ee)*y,(.5-E+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+E+ee)*y,(.5-E+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+E+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+te+z)*a,(.5+E+ee)*y,(.5+E+z)*a,(.5+te+ee)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var E=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ee,E*a,E*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ee=.75,b=new go.PathFigure((z+E)*a,ee*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ee,E*a,E*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,E=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=.5,z=.5,ee=.5,te=new go.PathFigure(z*a,(ee-E)*y);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),E=.4,b=me*.4;var ae=ge(),oe=ge(),re=ge(),Se=ge();Be(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.42,ae,oe,re,Se,Se);var ue=ge(),ve=ge(),Le=ge();Be(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.58,Se,Se,Le,ue,ve);var Je=ge(),rt=ge(),vt=ge();Be(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.42,Je,rt,vt,Se,Se);var st=ge(),Xe=ge(),Ke=ge();return Be(z,ee+E,z-b,ee+E,z-E,ee+b,z-E,ee,.58,Se,Se,Ke,st,Xe),te.add(new go.PathSegment(go.PathSegment.Move,Ke.x*a,Ke.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,st.x*a,st.y*y,Xe.x*a,Xe.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*y,ae.x*a,ae.y*y,oe.x*a,oe.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,Ke.x*a,Ke.y*y).close()),te.add(new go.PathSegment(go.PathSegment.Move,vt.x*a,vt.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,Le.x*a,Le.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,ue.x*a,ue.y*y,ve.x*a,ve.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,vt.x*a,vt.y*y,Je.x*a,Je.y*y,rt.x*a,rt.y*y).close()),be(ae),be(oe),be(re),be(Se),be(ue),be(ve),be(Le),be(Je),be(rt),be(vt),be(st),be(Xe),be(Ke),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new pe("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ne,a,y){var x=new go.Geometry,b=me*.4,E=.4,z=.5,ee=.5,te=ge(),ae=ge(),oe=ge(),re=ge(),Se=new go.PathFigure((z-E)*a,ee*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),Be(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.44,oe,re,ae,te,te),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y));var ue=de(ae.x,ae.y);Be(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.56,te,te,ae,oe,re);var ve=de(ae.x,ae.y);Se.add(new go.PathSegment(go.PathSegment.Line,(ue.x*.1+.95*.9)*a,ue.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,ue.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,(ve.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),E=.35,b=me*.35;var Le=new go.PathFigure(z*a,(ee-E)*y,!1);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y));var Je=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(Je),be(te),be(ae),be(oe),be(re),be(ue),be(ve),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ne,a,y){var x=new go.Geometry,b=.375,E=0,z=-.125,ee=b*me,te=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y,(.5+ee+E)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,E=0,z=-.125,ee=b*me;var te=new go.PathFigure((1-.5+b+E)*a,(.5+z)*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5+b+z)*y,(.5+b+E)*a,(.5+ee+z)*y,(.5+ee+E)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5+b+z)*y,(.5-b+E)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y,(.5-ee+E)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*a,(.5+z)*y,(.5+ee+E)*a,(.5-b+z)*y,(1-.5+b+E)*a,(.5-ee+z)*y));var te=new go.PathFigure((.525+E)*a,(.5+b+z)*y,!1);return x.add(te),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(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ne,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new pe("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new pe("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*a,z=(.5-b/2)*y,ee=(.5+b/2)*y,te=new go.Geometry,ae=new go.PathFigure(0,z,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var oe=De(0,ee/y,1,ee/y,E/a,1,1,.5,ge());return te.spot2=new go.Spot(oe.x,oe.y),be(oe),te}),go.Shape.setFigureParameter("Arrow2",0,new pe("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new pe("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var E=a-x,z=(y-b)/2,ee=z+b,te=new go.Geometry,ae=new go.PathFigure(0,z,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E,z)),ae.add(new go.PathSegment(go.PathSegment.Line,E,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,y)),ae.add(new go.PathSegment(go.PathSegment.Line,E,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var oe=De(0,ee/y,1,ee/y,E/a,1,1,.5,ge());return te.spot2=new go.Spot(oe.x,oe.y),be(oe),te}),go.Shape.defineFigureGenerator("Chevron",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new pe("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var te=De(0,.5,.3,0,0,b/y,.1,b/y,ge());return z.spot1=new go.Spot(te.x,te.y),te=De(.7,1,1,.5,0,E/y,1,E/y,te),z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new pe("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new pe("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,ee=(y-b)/2,te=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,te=y):(E=0,z=y,ee=0,te=y));var ae=new go.Geometry,oe=new go.PathFigure(a,.5*y,!0);ae.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var re=De(0,.5,.3,ee/y,0,E/y,1,E/y,ge());return ae.spot1=new go.Spot(re.x,re.y),re=De(.7,te/y,1,.5,0,z/y,1,z/y,re),ae.spot2=new go.Spot(re.x,re.y),be(re),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new pe("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var te=De(.7,1,1,.5,0,E/y,1,E/y,ge());return z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new pe("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new pe("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var E=(y-x)/2,z=E+x,ee=(y-b)/2,te=ee+b;(x>y||b>y)&&(b>x?(x=x*y/b,E=(y-x)/2,z=E+x,ee=0,te=y):(E=0,z=y,ee=0,te=y));var ae=new go.Geometry,oe=new go.PathFigure(a,.5*y,!0);ae.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),ae.spot1=new go.Spot(0,E/y);var re=De(.7,te/y,1,.5,0,z/y,1,z/y,ge());return ae.spot2=new go.Spot(re.x,re.y),be(re),ae}),go.Shape.setFigureParameter("Pointer",0,new pe("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=De(.2,.65,1,.65,0,1,1,.5,ge());return b.spot2=new go.Spot(z.x,z.y),be(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new pe("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=De(0,.65,1,.65,0,1,1,.5,ge());return b.spot2=new go.Spot(z.x,z.y),be(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new pe("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,E=(.5+x/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var te=De(.7,1,1,.5,0,E/y,1,E/y,ge());return z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new pe("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,E=b+x;x>y&&(b=0,E=y);var z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var te=De(.7,1,1,.5,0,E/y,1,E/y,ge());return z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("SquareArrow",0,new pe("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(a,.5*y,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=me*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var E=new go.PathFigure(0,.9*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var E=new go.PathFigure(.5*a,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var E=new go.PathFigure(0,.3*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=me*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+E)*a,0,1*a,me*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-me*x,(.5+E)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,1*y,0,y-me*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ee=new go.PathFigure(a,x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-me*x,(.5+E)*a,2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*a,2*x,0,2*x-me*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=me*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*x,(.5-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+E)*a,0,a,me*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-me*x,(.5+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-E)*a,y,0,y-me*x));var ee=new go.PathFigure(0,y-x,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-me*x,(.5-E)*a,y-2*x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+E)*a,y-2*x,a,y-x-me*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=me*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-me*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,me*x,0));var ee=new go.PathFigure(x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+me*x,0,2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+E)*y,x+me*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=me*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*x,0,a,(.5-E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+E)*y,a-me*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*x,y,0,(.5+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*y,me*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ee=new go.PathFigure(a-x,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-me*x,0,a-2*x,(.5-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+E)*y,a-x-me*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(.25*a,.25*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(0,y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var E=new go.PathFigure(.5*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),E.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ne,a,y){var x=new go.Geometry,b=.2,E=.1,z=me*b,ee=me*E,te=.5,ae=.1,oe=new go.PathFigure(te*a,(ae+E)*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ae*y,(te-z)*a,(ae+E)*y,(te-b)*a,(ae+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-E)*y,(te-b)*a,(ae-ee)*y,(te-z)*a,(ae-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ae*y,(te+z)*a,(ae-E)*y,(te+b)*a,(ae-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+E)*y,(te+b)*a,(ae+ee)*y,(te+z)*a,(ae+E)*y));var re=.05,Se=me*re;te=.05,ae=.25;var ue=new go.PathFigure(.5*a,.2*y,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),te=.95,ae=.25,ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+re)*a,ae*y,(te+Se)*a,(ae-re)*y,(te+re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),re=.025,Se=me*re,te=.825,ae=.35,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te+re)*a,(ae-Se)*y,(te+Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-re)*a,ae*y,(te-Se)*a,(ae-re)*y,(te-re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),re=.05,Se=me*re,te=.5,ae=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te+re)*a,(ae-Se)*y,(te+Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-re)*a,ae*y,(te-Se)*a,(ae-re)*y,(te-re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),re=.025,Se=me*re,te=.175,ae=.35,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te+re)*a,(ae-Se)*y,(te+Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-re)*a,ae*y,(te-Se)*a,(ae-re)*y,(te-re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),re=.05,Se=me*re,te=.05,ae=.25,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te-re)*a,(ae-Se)*y,(te-Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new pe("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(a,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),E.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var E=new go.PathFigure(.5*a,.5*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=me*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+E)*y,(.5+b)*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+E)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=me*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+E)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-E)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-E)*y));var ee=new go.PathFigure(a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+E)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+E)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+E)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+E)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=me*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-E)*y,(.2-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+E)*a,0,a,(.2-E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+E)*y,(.8+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-E)*a,y,0,(.8+E)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var E=new go.PathFigure(.1*a,.4*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(.75*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var E=new go.PathFigure(a,.5*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=me*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+z)*y,(ee+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-z)*a,y,0,(ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*y,(ee-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+z)*a,0,a,(ee-z)*y));var ae=new go.PathFigure((E+b)*a,(E+b)*y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)),ae.add(new go.PathSegment(go.PathSegment.Move,E*a,(E+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(E+b)*a,E*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var E=new go.PathFigure(.1*a,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*a,.9*y,a,(E+b)*y,(E+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var E=new go.PathFigure(.1*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var E=new go.PathFigure(.2*a,.1*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),E.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var E=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ee=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,E=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var E=new go.PathFigure(0,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*a,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=.5,z=new go.PathFigure(a,E*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,y,a,(E+b)*y,(E+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*y,(E-b)*a,y,0,(E+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*a,0,0,(E-b)*y,(E-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E*y,(E+b)*a,0,a,(E-b)*y));var ee=new go.PathFigure(a,E*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y));var te=new go.PathFigure(.8*a,.75*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ne,a,y){var x=new go.Geometry,b=me*.1,E=.1,z=.9,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((z+E)*a,ee*y,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=me*.4,z=me*.1,ee=.1,te=.9,ae=.5,oe=new go.PathFigure(.8*a,.5*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+E)*y,(.4+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-E)*y));var re=new go.PathFigure((te+ee)*a,ae*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+ee)*y,(te+ee)*a,(ae+z)*y,(te+z)*a,(ae+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ae*y,(te-z)*a,(ae+ee)*y,(te-ee)*a,(ae+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-ee)*y,(te-ee)*a,(ae-z)*y,(te-z)*a,(ae-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ae*y,(te+z)*a,(ae-ee)*y,(te+ee)*a,(ae-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*b,z=0,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=me*.1,z=.9,ee=.5;var ae=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*b,z=0,ee=.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E+E)*a,(ee-b)*y,.8*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ee+E)*y,(z+E+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.8*a,.5*y,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+E)*a,(ee-b)*y,.7*a,(ee-E)*y)),b=.1,E=me*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-b)*a,ee*y,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.2*a,0,!0);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+E)*a,(ee-b)*y,.9*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ne,a,y){var x=new go.Geometry,b=me*.1,E=.1,z=.1,ee=.5,te=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.3,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.5,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.7,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+E)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,0,(z-b)*a,y,(z-E)*a,0)),z=.9,te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+E)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=me*.5,E=.5,z=.5,ee=.5,te=new go.PathFigure((z-E)*a,ee*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-E)*y,(z-E)*a,(ee-b)*y,(z-b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee-E)*y,(z+E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*a,ee*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*a,ee*y,z*a,(ee-E)*y,z*a,(ee+E)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ne,a,y){var x=new go.Geometry,b=a,E=y;a=a*.38,y=y*.6;var z=me*.8,ee=.8,te=0,ae=.5,oe=(b-a)/2,re=(E-y)/2,Se=new go.PathFigure(te*a+oe,(ae+ee)*y+re,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+oe,ae*y+re,(te-z)*a+oe,(ae+ee)*y+re,(te-ee)*a+oe,(ae+z)*y+re)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te-ee)*a+oe,(ae-z)*y+re,(te-z)*a+oe,(ae-ee)*y+re)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+oe,ae*y+re,te*a+oe,(ae-ee)*y+re,(te-ee+z*.5)*a+oe,(ae-z)*y+re)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te-ee+z*.5)*a+oe,(ae+z)*y+re,te*a+oe,(ae+ee)*y+re).close()),z=me*.4,ee=.4,te=.2,ae=.5;var ue=new go.PathFigure(te*a+oe,(ae+ee)*y+re,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+oe,ae*y+re,(te-z)*a+oe,(ae+ee)*y+re,(te-ee)*a+oe,(ae+z)*y+re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te-ee)*a+oe,(ae-z)*y+re,(te-z)*a+oe,(ae-ee)*y+re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+oe,ae*y+re,te*a+oe,(ae-ee)*y+re,(te-ee+z*.5)*a+oe,(ae-z)*y+re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te-ee+z*.5)*a+oe,(ae+z)*y+re,te*a+oe,(ae+ee)*y+re).close()),z=me*.2,ee=.2,te=.5,ae=.5;var ve=new go.PathFigure((te-ee)*a+oe,ae*y+re,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te-ee)*a+oe,(ae-z)*y+re,(te-z)*a+oe,(ae-ee)*y+re)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+oe,ae*y+re,(te+z)*a+oe,(ae-ee)*y+re,(te+ee)*a+oe,(ae-z)*y+re)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te+ee)*a+oe,(ae+z)*y+re,(te+z)*a+oe,(ae+ee)*y+re)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+oe,ae*y+re,(te-z)*a+oe,(ae+ee)*y+re,(te-ee)*a+oe,(ae+z)*y+re)),z=me*.4,ee=.4,te=.8,ae=.5;var Le=new go.PathFigure(te*a+oe,(ae-ee)*y+re,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+oe,ae*y+re,(te+z)*a+oe,(ae-ee)*y+re,(te+ee)*a+oe,(ae-z)*y+re)),Le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te+ee)*a+oe,(ae+z)*y+re,(te+z)*a+oe,(ae+ee)*y+re)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+oe,ae*y+re,te*a+oe,(ae+ee)*y+re,(te+ee-z*.5)*a+oe,(ae+z)*y+re)),Le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te+ee-z*.5)*a+oe,(ae-z)*y+re,te*a+oe,(ae-ee)*y+re).close()),z=me*.8,ee=.8,te=1,ae=.5;var Je=new go.PathFigure(te*a+oe,(ae-ee)*y+re,!0);return x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+oe,ae*y+re,(te+z)*a+oe,(ae-ee)*y+re,(te+ee)*a+oe,(ae-z)*y+re)),Je.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te+ee)*a+oe,(ae+z)*y+re,(te+z)*a+oe,(ae+ee)*y+re)),Je.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+oe,ae*y+re,te*a+oe,(ae+ee)*y+re,(te+ee-z*.5)*a+oe,(ae+z)*y+re)),Je.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te+ee-z*.5)*a+oe,(ae-z)*y+re,te*a+oe,(ae-ee)*y+re).close()),x}),go.Shape.defineFigureGenerator("Email",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Move,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var E=new go.PathFigure(.1*a,y,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var x=new go.Geometry,b=me*.4,E=.4,z=.5,ee=.5,te=ge(),ae=ge(),oe=ge(),re=ge();Be(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,ae,oe,re);var Se=de(ae.x,ae.y),ue=new go.PathFigure(ae.x*a,ae.y*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z+E)*a,(ee+b)*y,(z+b)*a,(ee+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,(z-b)*a,(ee+E)*y,(z-E)*a,(ee+b)*y)),Be(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,oe,re,ae,te,te),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),b=me*.3,E=.3,Be(z-E,ee,z-E,ee-b,z-b,ee-E,z,ee-E,.5,oe,re,ae,te,te),ue.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*a,ee*y,re.x*a,re.y*y,oe.x*a,oe.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+E)*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*a,ee*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),Be(z,ee-E,z+b,ee-E,z+E,ee-b,z+E,ee,.5,te,te,ae,oe,re),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,re.x*a,re.y*y,oe.x*a,oe.y*y).close());var ue=new go.PathFigure(.45*a,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),be(te),be(ae),be(oe),be(re),be(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function E(z,ee,te){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+te)*y).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ne,a,y){var x=new go.Geometry,b=.5,E=0,z=0,ee=b*me,te=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,oe=1,re=.5,Se=.5,ue=0,ve=new go.PathFigure(te*a,(1-ae)*y,!1);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,re*y,oe*a,.7*y,oe*a,re*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se+E)*a,(ue+E)*y,(.5+b+E)*a,(.5-ee+E)*y,(.5+ee+E)*a,(.5-b+E)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*a,(.5+z)*y,(.5-ee+E)*a,(.5-b+z)*y,(.5-b+E)*a,(.5-ee+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*a,.9*y,(.5-b+E)*a,(.5+ee+z)*y,(.5-ee+E)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*a,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var E=new go.PathFigure(.45*a,.73*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),E.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),E.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),E.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ee=.5,te=z,ae=Math.PI/4,oe=4*(1-Math.cos(ae))/(3*Math.sin(ae)),re=oe*.5,Se=z,ue=z,ve=oe*Se,Le=oe*ue;E.add(new go.PathSegment(go.PathSegment.Bezier,(ee-Se)*a,te*y,(ee-(ve+Se)/2)*a,(te+(ue+Le)/2)*y,(ee-Se)*a,(te+Le)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-ue)*y,(ee-Se)*a,(te-Le)*y,(ee-ve)*a,(te-ue)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(ee+Se)*a,te*y,(ee+ve)*a,(te-ue)*y,(ee+Se)*a,(te-Le)*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ee+Se)*a,(te+Le)*y,(ee+(ve+Se)/2)*a,(te+(ue+Le)/2)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),E.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Je=new go.PathFigure(.2*a,y,!1);x.add(Je),Je.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var rt=new go.PathFigure(.8*a,y,!1);return x.add(rt),rt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var E=new go.PathFigure(.2*a,.2*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(a,y,!1);x.add(E);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,E*a,E*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var E=new go.PathFigure(.475*a,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),E.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),E.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+E)*y,(b+E)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-E)*a,y,0,(b+E)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-E)*y,(b-E)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+E)*a,0,a,(b-E)*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var E=new go.PathFigure(0,.15*y,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var E=new go.PathFigure(0,.2*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),E.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var E=new go.PathFigure(.15*a,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(a,.8*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ee=me*.1,te=.2,ae=.9,oe=new go.PathFigure((te-z)*a,ae*y,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-z)*y,(te-z)*a,(ae-ee)*y,(te-ee)*a,(ae-z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ae*y,(te+ee)*a,(ae-z)*y,(te+z)*a,(ae-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+z)*y,(te+z)*a,(ae+ee)*y,(te+ee)*a,(ae+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ae*y,(te-ee)*a,(ae+z)*y,(te-z)*a,(ae+ee)*y).close()),z=.1,ee=me*.1,te=.8,ae=.9;var re=new go.PathFigure((te-z)*a,ae*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-z)*y,(te-z)*a,(ae-ee)*y,(te-ee)*a,(ae-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ae*y,(te+ee)*a,(ae-z)*y,(te+z)*a,(ae-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+z)*y,(te+z)*a,(ae+ee)*y,(te+ee)*a,(ae+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ae*y,(te-ee)*a,(ae+z)*y,(te-z)*a,(ae+ee)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var E=new go.PathFigure(0,.5*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ee=new go.PathFigure(.5*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var te=.1,ae=me*.1,oe=.1,re=.9,Se=new go.PathFigure((oe-te)*a,re*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-te)*y,(oe-te)*a,(re-ae)*y,(oe-ae)*a,(re-te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a,re*y,(oe+ae)*a,(re-te)*y,(oe+te)*a,(re-ae)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+te)*y,(oe+te)*a,(re+ae)*y,(oe+ae)*a,(re+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a,re*y,(oe-ae)*a,(re+te)*y,(oe-te)*a,(re+ae)*y)),te=.1,ae=me*.1,oe=.4,re=.9;var ue=new go.PathFigure((oe-te)*a,re*y,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-te)*y,(oe-te)*a,(re-ae)*y,(oe-ae)*a,(re-te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a,re*y,(oe+ae)*a,(re-te)*y,(oe+te)*a,(re-ae)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+te)*y,(oe+te)*a,(re+ae)*y,(oe+ae)*a,(re+te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a,re*y,(oe-ae)*a,(re+te)*y,(oe-te)*a,(re+ae)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var E=new go.PathFigure(.45*a,.7*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var oe=.05,re=me*.05,Se=.175,ue=.95,ee=new go.PathFigure((Se-oe)*a,ue*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y));var oe=.05,re=me*.05,Se=.375,ue=.95,te=new go.PathFigure((Se-oe)*a,ue*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y));var oe=.05,re=me*.05,Se=.625,ue=.95,ae=new go.PathFigure((Se-oe)*a,ue*y,!0);x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y));var oe=.05,re=me*.05,Se=.825,ue=.95,ve=new go.PathFigure((Se-oe)*a,ue*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y).close());var Le=new go.PathFigure(0,y,!1);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ee=.05,te=me*.05,ae=.35,oe=.775,re=new go.PathFigure((ae-ee)*a,oe*y,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(oe-ee)*y,(ae-ee)*a,(oe-te)*y,(ae-te)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a,oe*y,(ae+te)*a,(oe-ee)*y,(ae+ee)*a,(oe-te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(oe+ee)*y,(ae+ee)*a,(oe+te)*y,(ae+te)*a,(oe+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a,oe*y,(ae-te)*a,(oe+ee)*y,(ae-ee)*a,(oe+te)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ne,a,y){var x=new go.Geometry,b=.3,E=me*.3,z=.5,ee=.7,te=new go.PathFigure((z-b)*a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var ae=new go.PathFigure(0,.7*y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var E=new go.PathFigure(0,.6*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),E.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y));var ae=new go.PathFigure(.15*a,.5*y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ne,a,y){var x=new go.Geometry,b=.5,E=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),b=.05,E=me*.05,z=.5,ee=.8;var ae=new go.PathFigure((z-b)*a,ee*y,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-E)*y,(z-E)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+E)*a,(ee-b)*y,(z+b)*a,(ee-E)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+E)*y,(z+E)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-E)*a,(ee+b)*y,(z-b)*a,(ee+E)*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var E=new go.PathFigure(.2*a,.5*y,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),E.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var E=new go.PathFigure(0,y*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),E.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var E=new go.PathFigure(.126*a,.85*y,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),E.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ee=new go.PathFigure(.678*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var te=new go.PathFigure(.5*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var E=new go.PathFigure(a*.204,y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ee=new go.PathFigure(a*.612,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var te=new go.PathFigure(a*.816,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var E=new go.PathFigure(a*.055,.07*y,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),E.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ee=new go.PathFigure(a*.055,.18*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var te=new go.PathFigure(a*1,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var te=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var x=new go.Geometry,b=8,E=b*me,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var ee=new go.PathFigure(a*.83,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var te=new go.PathFigure(a*.83,y*1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ae=new go.PathFigure(a*.78,y*.05,!1);return x.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*me,E=y*.8,z=new go.Geometry,ee=new go.PathFigure(x,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-b,a-b,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,E)),ee.add(new go.PathSegment(go.PathSegment.Line,x,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var E=new go.PathFigure(a*1,y*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),E.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),E.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),E.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var E=new go.PathFigure(a*.1,y*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),E.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),E.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,E=b*me,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-E,a-E,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,E,y,0,y-E)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-E)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var E=new go.PathFigure(a*.235,y*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),E.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),E.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93127:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var pe={},$e="5.0",de={},ge=null,be=!1,De=!1,Be=null,he=!1,fe=null,me=null,Ee=0;Ee4?parseFloat(ce):5};pe.setHTML5Codebase=function(ce,ye){me=ce,wt(ce,ye)},pe.setJavaCodebase=pe.setJavaCodebaseVersion=pe.isCompiledInstalled=pe.setPreCompiledScriptPath=pe.setPreCompiledResourcePath=function(){},pe.setHTML5CodebaseVersion=function(ce,ye){var Ae=parseFloat(ce);if(Ae!==NaN&&Ae<5){console.log("The GeoGebra HTML5 codebase version "+Ae+" is deprecated. Using version latest instead.");return}fe=ce,qe(ce,ye)},pe.getHTML5CodebaseVersion=function(){return ne},pe.getParameters=function(){return de},pe.setFontsCSSURL=function(ce){z=ce},pe.setGiacJSURL=function(ce){},pe.setJNLPFile=function(ce){Ce=ce},pe.setJNLPBaseDir=function(ce){},pe.inject=function(){function ce(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ye="auto",Ae=de.id,Qe,Ne=!1,Ue=0;Ue=5)return!0;var ce=pe.getAppletObject();return ce&&typeof ce.recalculateEnvironments=="function"?(ce.recalculateEnvironments(),!0):!1},pe.startAnimation=function(){var ce=pe.getAppletObject();return ce&&typeof ce.startAnimation=="function"?(ce.startAnimation(),!0):!1},pe.stopAnimation=function(){var ce=pe.getAppletObject();return ce&&typeof ce.stopAnimation=="function"?(ce.stopAnimation(),!0):!1},pe.getAppletObject=function(){var ce=de.id!==void 0?de.id:"ggbApplet";return window[ce]},pe.resize=function(){};var ve=function(ce,ye,Ae){var Qe=document.createElement("param");Qe.setAttribute("name",ye),Qe.setAttribute("value",Ae),ce.appendChild(Qe)},Le=function(ce){return ce&&ce!=="false"},Je=function(ce,ye,Ae){te(ne)<=4.2&&(Ae=!0);var Qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ne=document.createElement("div");Ne.classList.add("appletParameters","notranslate");var Ue=ye.width,ie=ye.height;if(ye.disableAutoScale=ye.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ye.disableAutoScale,ye.width!==void 0)if(te(ne)<=4.4)Le(ye.showToolBar)&&(ye.height-=7),Le(ye.showAlgebraInput)&&(ye.height-=37),ye.width<605&&Le(ye.showToolBar)&&(ye.width=605,Ue=605);else{var ke=100;(Le(ye.showToolBar)||Le(ye.showMenuBar))&&(ye.hasOwnProperty("customToolBar")&&(ye.customToolbar=ye.customToolBar),ke=Le(ye.showMenuBar)?245:155),Ue=5?(ye.appletOnLoad=function(Tt){var It=ce.querySelector(".ggb_preview");It&&It.parentNode.removeChild(It),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(gt),window.GGBT_wsf_view&&$(window).trigger("resize"),Lt(Tt)},Rt||gt.appendChild(it)):Ne.appendChild(it),gt.appendChild(Ne),Rt||ce.appendChild(gt),setTimeout(function(){pe.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(Ne),ce.appendChild(Ye),ye.appletOnLoad=function(Tt){pe.resize(),Lt(Tt)}}function St(Tt,It){It&&typeof It.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Tt,It.appletOnLoad):renderGGBElement(Tt),ct("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",It)}function Pt(Tt,It){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Tt,params:It}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(fn){St(fn.article,fn.params)}),html5AppletsToProcess=null)},te(ne)<5&&(Tt.className+=" geogebraweb")):St(Tt,It)}if(Qe){scriptLoadStarted=!0;for(var Ft=0;Ft0?(et.remove(),gt.attr("id","fullscreencontent").show(),jQuery(Lt).append(gt),window.dispatchEvent(new Event("resize"))):Je(et,ye,!1),window.GGBT_wsf_view.launchFullScreen(Lt)}else Ge=Qe,Je(ce,ye,!1);if(!window.GGBT_wsf_view)for(ie=0;iece/4*3&&(et=ce/4*3),Lt=et/5.8,ke.setAttribute("src",b),ke.setAttribute("width",et),ke.setAttribute("height",Lt);var gt=(ce-et)/2,Rt=(ye-Lt)/2;ke.style.left=gt+"px",ke.style.top=Rt+"px",Ne.appendChild(ke)}}return Ne.appendChild(ie),Ne},at=function(ce){return ce=ce.toLowerCase(),ce==="html5"||ce==="screenshot"?ce:"html5"},ut=["web","webSimple","web3d","tablet","tablet3d","phone"],qe=function(ce,ye){if(ne=ce,ye){wt(ne,!0);return}var Ae=!be;if(Ae){var Qe=te(ne);!isNaN(Qe)&&Qe<4.4&&(Ae=!1)}var Ne,Ue;window.location.protocol.substr(0,4)==="http"?Ne=window.location.protocol:Ne="http:";var ie=ne.indexOf("//");ie>0?Ue=ne:ie===0?Ue=Ne+ne:Ue="https://www.geogebra.org/apps/5.2.814.0/";for(var ke in ut)if(ne.slice(ut[ke].length*-1)===ut[ke]||ne.slice((ut[ke].length+1)*-1)===ut[ke]+"/"){wt(Ue,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ae&&!ge.is3D&&!ge.AV&&!ge.SV&&!ge.CV&&!ge.EV2&&!ge.CP&&!ge.PC&&!ge.DA&&!ge.FI&&!ge.PV&&!Le(de.showToolBar)&&!Le(de.showMenuBar)&&!Le(de.showAlgebraInput)&&!Le(de.enableRightClick)&&(!de.appName||de.appName=="classic")?Ue+="webSimple/":Ue+="web3d/",wt(Ue,!1)},wt=function(ce,ye){if(ce.requirejs){ze=ce;return}ce.slice(-1)!=="/"&&(ce+="/"),ze=ce,ye===null&&(ye=ce.indexOf("http")===-1),Oe=ye,a="web.nocache.js",y=!1;var Ae=ze.split("/");Ae.length>1&&(!ye&&Ae[Ae.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):ut.indexOf(Ae[Ae.length-2])>=0&&(a=Ae[Ae.length-2]+".nocache.js")),Ae=ce.split("/"),ne=Ae[Ae.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var Qe=parseFloat(ne);Qe!==NaN&&Qe<5&&ce.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead."),qe("5.0",ye))},ct=function(ce,ye){window.console&&window.console.log&&(!ye||typeof ye.showLogging=="undefined"||ye.showLogging&&ye.showLogging!=="false")&&console.log(ce)};de.material_id!==void 0?re(ht):ht();function ht(){var ce=$e;fe!==null?ce=fe:parseFloat(ce)<5&&(ce="5.0"),qe(ce,!1),me!==null&&wt(me,Oe),he=!0}return pe},GGBAppletUtils=function(){"use strict";function pe(){return window.GGBT_wsf_edit!==void 0}function $e(he,fe){fe!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+fe+","+fe+")",he.style.webkitTransform="scale("+fe+","+fe+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function de(he,fe,me,Ee,Fe,Ce){var ze=null;if(Ce!=null&&Ce!="")for(var Oe=he.parentNode;Oe!=null;)if((" "+Oe.className+" ").indexOf(" "+Ce+" ")>-1){ze=Oe;break}else Oe=Oe.parentNode;var Ge=0,ne=0,a=0,y=0,x=0,b=0,E=0;if(ze)Ge=ze.offsetWidth,ne=Math.max(Ee?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ge=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Ge):(Ge=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=Ge&&(Fe===void 0||!Fe)&&(document.dir==="rtl"?(x=Ge-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,E=40)}}return he&&((me===void 0||!me)&&fe>0&&fe+y1&&(Ce=!0)),fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ce=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))Fe=ge(he,fe,Ce,me,he.scaleContainerClass);else return Ee;return Ce&&(!he.hasOwnProperty("scale")||Ee===1)?Fe:Math.min(Ee,Fe)}function De(he){var fe=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),Ee=he.getBoundingClientRect(),Fe=(fe-Ee.width)/2,Ce=(me-Ee.height)/2;Ce<0&&(Ce=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Fe<40?he.style.left="40px":he.style.left=Fe+"px",he.style.top=Ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ce<40?he.style.top="40px":he.style.top=Ce+"px",he.style.left=Fe+"px")}function Be(he,fe){var me=he.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(fe.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var Ee=be(fe,he);pe()&&me.setAttribute("data-param-scale",Ee);for(var Fe=null,Ce=0;Ce=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(pe){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(pe){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(pe){var $e=c[pe];return $e==null?null:$e},r=d,webModule.__errFn=e}function B(){function pe(he){var fe=he.lastIndexOf(rb);fe==-1&&(fe=he.length);var me=he.indexOf(sb);me==-1&&(me=he.length);var Ee=he.lastIndexOf(tb,Math.min(me,fe));return Ee>=O?he.substring(O,Ee+P):W}function $e(he){if(!he.match(/^\w+:\/\//)){var fe=o.createElement(ub);fe.src=he+vb,he=pe(fe.src)}return he}function de(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ge(){for(var he=o.getElementsByTagName(_),fe=O;feO?he[he.length-P].href:W}function De(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var Be=de();return Be==W&&(Be=ge()),Be==W&&(Be=be()),Be==W&&De()&&(Be=pe(o.location.href)),Be=$e(Be),Be}function C(pe){return pe.match(/^\//)||pe.match(/^[a-zA-Z]+:\/\//)?pe:webModule.__moduleBase+pe}function D(){var pe=[],$e=O,de=[],ge=[];function be(he){var fe=ge[he](),me=de[he];if(fe in me)return fe;var Ee=[];for(var Fe in me)Ee[me[Fe]]=Fe;throw r&&r(he,Ee,fe),null}if(__gwt_isKnownPropertyValue=function(he,fe){return fe in de[he]},webModule.__getPropMap=function(){var he={};for(var fe in de)de.hasOwnProperty(fe)&&(he[fe]=be(fe));return he},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var De;try{De=Cb;var Be=De.indexOf(Db);Be!=-1&&($e=parseInt(De.substring(Be+P),$),De=De.substring(O,Be))}catch(he){}return webModule.__softPermutationId=$e,C(De+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8396:function(pe,$e,de){"use strict";de.d($e,{Ax:function(){return Be},Ds:function(){return he},KI:function(){return me},SI:function(){return De},f1:function(){return be}});var ge=de(85386);function be(Ee){let Fe=!0;if(Ee.length>0){for(let Ce=0;Cene in Ge?fe(Ge,ne,{enumerable:!0,configurable:!0,writable:!0,value:a}):Ge[ne]=a,ze=(Ge,ne)=>{for(var a in ne||(ne={}))Ee.call(ne,a)&&Ce(Ge,a,ne[a]);if(me)for(var a of me(ne))Fe.call(ne,a)&&Ce(Ge,a,ne[a]);return Ge};const Oe=({cancelText:Ge="\u53D6\u6D88",okText:ne="\u786E\u5B9A",loading:a=!1,hasOkBtn:y=!0,hasCancelBtn:x=!0,okButtonProps:b={},onCancel:E=()=>{},onOk:z=()=>{},className:ee=""})=>ge.createElement("div",{className:he()(De.buttonFixed,ee)},ge.createElement("div",{className:De.buttonWrap},x&&ge.createElement(be.ZP,{size:"middle",className:`${De.button} mr20`,onClick:E},Ge),y&&ge.createElement(be.ZP,ze({size:"middle",type:"primary",className:`${De.button} mr20`,loading:a,onClick:z},b),ne)))},40783:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return ze}});var ge=de(59301),be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},De=de(92310),Be=de.n(De),he=de(71418),fe=de(2859),me=de(43597),Ee=de(94601),Fe=(Oe,Ge,ne)=>new Promise((a,y)=>{var x=z=>{try{E(ne.next(z))}catch(ee){y(ee)}},b=z=>{try{E(ne.throw(z))}catch(ee){y(ee)}},E=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);E((ne=ne.apply(Oe,Ge)).next())}),ze=({data:Oe,className:Ge,fullWidth:ne,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,ge.useRef)(null),ee=(0,ge.useRef)(null),te=(0,ge.useRef)(null),ae=(0,ge.useRef)(null),[oe,re]=(0,ge.useState)(!1),[Se,ue]=(0,ge.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ge.useEffect)(()=>{te.current||(te.current=document.createElement("style"),document.head.appendChild(te.current)),Oe!=null&&Oe.visible?(document.body.setAttribute("data-custom","y-hidden"),te.current.innerHTML=" html { overflow-y: hidden; }",Oe!=null&&Oe.src&&ve()):(document.body.removeAttribute("data-custom"),te.current&&(document.head.removeChild(te.current),te.current=null))},[Oe==null?void 0:Oe.visible]);const ve=()=>Fe(void 0,null,function*(){re(!0),ue("\u6B63\u5728\u52A0\u8F7D\u4E2D");const st=yield(0,Ee.ZJ)(Oe==null?void 0:Oe.src);z.current.src="",z.current.src=st,z.current.onload=function(){vt()},re(!1),ue("")}),Le=()=>{document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",y()},Je=st=>Fe(void 0,null,function*(){re(!0),ue("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Xe=yield(0,me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Oe.title,file:st.dataUrl}});Xe!=null&&Xe.id&&!E?(yield(0,me.ZP)(`/api/attachments/${Oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Xe==null?void 0:Xe.id,settings:JSON.stringify(st.state)}})).status===0&&x():Xe!=null&&Xe.id&&x(Xe),document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",re(!1),ue("")}),rt=()=>{const st=document.querySelector('a[href="https://markerjs.com/"]');st&&st.parentNode&&(st.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(Ke=>{const at=document.querySelector(Ke.name);at&&at.setAttribute("title",Ke.title)})},vt=()=>{ee.current=new fe.hP(z.current),ee.current.targetRoot=ae.current,ee.current.addEventListener("render",Je),ee.current.addEventListener("beforeclose",Le),b&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),Oe!=null&&Oe.snapshotData&&ee.current.restoreState(Oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),rt()},300)};return ge.createElement(ge.Fragment,null,(Oe==null?void 0:Oe.visible)&&ge.createElement(he.Z,{spinning:oe,tip:Se,style:{position:"absolute"}},ge.createElement("div",{ref:ae,className:Be()(be.imageDimensions,Ge,ne?be.fullWidth:""),style:a},ge.createElement("img",{className:be.img,ref:z}))))}},57765:function(pe,$e,de){"use strict";var ge=de(59301),be=de(95237),De=de(43604),Be=de(99313),he=de(3113),fe=de(17410),me=de(32313),Ee=de(48136),Fe=de(59301);const Ce=(0,ge.forwardRef)(({callback:ze,showSaveButton:Oe,value:Ge=""},ne)=>{const a=(0,ge.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +(self.webpackChunk=self.webpackChunk||[]).push([[1423],{32313:function(pe,$e){"use strict";$e.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},6404:function(){"use strict";function pe(ne,a,y,E){y===void 0&&(y=0),E===void 0&&(E=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=E}Object.defineProperty(pe.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(pe.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(pe.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(pe.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var y=go.Shape._FigureParameters[ne];return y?y[a]:null},go.Shape.setFigureParameter=function(ne,a,y){if(!(y instanceof pe))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var E=go.Shape._FigureParameters[ne];E||(E=[],go.Shape._FigureParameters[ne]=E),E[a]=y};var $e=[];function de(ne,a){var y=$e.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function ge(){var ne=$e.pop();return ne===void 0?new go.Point:ne}function be(ne){$e.push(ne)}function De(ne,a,y,E,b,x,z,ee,te){te||(te=new go.Point);var ae=ne-y,oe=b-z,re=NaN,Se=NaN;if(ae===0)if(oe===0)ne===y&&(re=ne,Se=a);else{var ue=(x-ee)/oe,ve=x-ue*b;re=ne,Se=ue*re+ve}else if(oe===0){var Le=(a-E)/ae,Je=a-Le*ne;re=b,Se=Le*re+Je}else{var Le=(a-E)/ae,ue=(x-ee)/oe,Je=a-Le*ne,ve=x-ue*b;re=(ve-Je)/(Le-ue),Se=Le*re+Je}return te.x=re,te.y=Se,te}function Be(ne,a,y,E,b,x,z,ee,te,ae,oe,re,Se,ue){var ve=1-te,Le=te,Je=ne*ve+y*Le,rt=a*ve+E*Le,vt=y*ve+b*Le,st=E*ve+x*Le,Xe=b*ve+z*Le,Ke=x*ve+ee*Le,at=Je*ve+vt*Le,ut=rt*ve+st*Le,qe=vt*ve+Xe*Le,wt=st*ve+Ke*Le,ct=at*ve+qe*Le,ht=ut*ve+wt*Le;ae.x=Je,ae.y=rt,oe.x=at,oe.y=ut,re.x=ct,re.y=ht,Se.x=qe,Se.y=wt,ue.x=Xe,ue.y=Ke}var he=new go.Spot(.156,.156),fe=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new pe("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,a/3),E=Math.min(E,y/3);var b=E*me,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,E,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-E)).add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ne,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=y/2,E.endX=a,E.endY=y/2,E}),go.Shape.defineFigureGenerator("LineV",function(ne,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=a/2,E.startY=0,E.endX=a/2,E.endY=y,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ne,a,y){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*a,(1-E)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,E*y)).add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ne,a,y){var E=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=he,b.spot2=fe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}),go.Shape.defineFigureGenerator("Line2",function(ne,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=a,E.startY=0,E.endX=0,E.endY=y,E}),go.Shape.defineFigureGenerator("Curve1",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,me*a,0,a,(1-me)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,me*y,(1-me)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,me*y,me*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-me)*a,0,0,(1-me)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new pe("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*a;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(E=a);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(E=.5);var b=Math.abs(E)*a;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(E=a/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(E=a/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ee,ee).close())),x.spot1=he,x.spot2=fe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ne,a,y){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)).add(new go.PathSegment(go.PathSegment.Line,E*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Line,0,E*y).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new pe("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new pe("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var E=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var x=E%360;x<0&&(x+=360);var z=b%360,ee=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,x,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var E=me/Math.SQRT2*.5,b=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,x*y,a,(1-E)*y,(b+E)*a,(x+E)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new pe("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,a)/2,x=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,y)).add(new go.PathSegment(go.PathSegment.Line,x-b,y)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new pe("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,a)/2,x=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,y)).add(new go.PathSegment(go.PathSegment.Line,x-b,y)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new pe("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var E=ne?ne.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var x=a/2,z=y/2,ee=Math.atan2(y,a),te=E-Math.min(Math.cos(ee)*E/2,x),ae=E-Math.min(Math.sin(ee)*E/2,z),b=new go.Geometry,oe=new go.PathFigure(te,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,.2*y)),oe.add(new go.PathSegment(go.PathSegment.Line,a-te,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,ae)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,a,y-ae)),oe.add(new go.PathSegment(go.PathSegment.Line,a-te,y)),oe.add(new go.PathSegment(go.PathSegment.Line,x,.8*y)),oe.add(new go.PathSegment(go.PathSegment.Line,te,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y-ae)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new pe("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new pe("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,(1-E)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new pe("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-E)*a,.25*y,Math.abs(1-E)*a,.75*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*a,.75*y,E*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,me*a,0,a,(.5-me/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+me/2)*y,me*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var x=.2,z=.3,ee=0,te=x*me;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+x+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-x+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-te+z)*a,(.5-x+ee)*y,(.5-x+z+.05)*a,(.5-te+ee-.02)*y)),x=.2,z=0,ee=-.3,te=x*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*y,(.5+te+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z)*a,(.5-te+ee)*y,(.5+te+z)*a,(.5-x+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-x+ee)*y,(.5-x+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+x+ee)*y)),x=.2,z=-.3,ee=0,te=x*me,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*y,(1-.5+x+z-.05)*a,(.5-te+ee-.02)*y,(.5+te+z)*a,(.5-x+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*y,(.5-te+z)*a,(.5-x+ee)*y,(.5-x+z)*a,(.5-te+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*y,(.5-x+z)*a,(.5+te+ee)*y,(.5-te+z)*a,(.5+x+ee)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+te+z)*a,(.5+x+ee)*y,(.5+x+z)*a,(.5+te+ee)*y).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,ee=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ee,x*a,x*a).close()),b=new go.PathFigure(a*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ee=.75,b=new go.PathFigure((z+x)*a,ee*y,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ee,x*a,x*a).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var E=.8535533905932737,b=.5*a,x=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,x,b,x)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,E*y)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=.5,z=.5,ee=.5,te=new go.PathFigure(z*a,(ee-x)*y);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y)),x=.4,b=me*.4;var ae=ge(),oe=ge(),re=ge(),Se=ge();Be(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.42,ae,oe,re,Se,Se);var ue=ge(),ve=ge(),Le=ge();Be(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.58,Se,Se,Le,ue,ve);var Je=ge(),rt=ge(),vt=ge();Be(z,ee+x,z-b,ee+x,z-x,ee+b,z-x,ee,.42,Je,rt,vt,Se,Se);var st=ge(),Xe=ge(),Ke=ge();return Be(z,ee+x,z-b,ee+x,z-x,ee+b,z-x,ee,.58,Se,Se,Ke,st,Xe),te.add(new go.PathSegment(go.PathSegment.Move,Ke.x*a,Ke.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,st.x*a,st.y*y,Xe.x*a,Xe.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-b)*y,(z-b)*a,(ee-x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*y,ae.x*a,ae.y*y,oe.x*a,oe.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,Ke.x*a,Ke.y*y).close()),te.add(new go.PathSegment(go.PathSegment.Move,vt.x*a,vt.y*y)),te.add(new go.PathSegment(go.PathSegment.Line,Le.x*a,Le.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,ue.x*a,ue.y*y,ve.x*a,ve.y*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+b)*y,(z+b)*a,(ee+x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,vt.x*a,vt.y*y,Je.x*a,Je.y*y,rt.x*a,rt.y*y).close()),be(ae),be(oe),be(re),be(Se),be(ue),be(ve),be(Le),be(Je),be(rt),be(vt),be(st),be(Xe),be(Ke),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new pe("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>a&&(E=a);var b=(a-E)/2,x=b+E;return new go.Geometry().add(new go.PathFigure(x,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ne,a,y){var E=new go.Geometry,b=me*.4,x=.4,z=.5,ee=.5,te=ge(),ae=ge(),oe=ge(),re=ge(),Se=new go.PathFigure((z-x)*a,ee*y,!1);E.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-b)*y,(z-b)*a,(ee-x)*y)),Be(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.44,oe,re,ae,te,te),Se.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y));var ue=de(ae.x,ae.y);Be(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.56,te,te,ae,oe,re);var ve=de(ae.x,ae.y);Se.add(new go.PathSegment(go.PathSegment.Line,(ue.x*.1+.95*.9)*a,ue.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,ue.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.9)*a,(ve.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,ve.x*a,ve.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+b)*y,(z+b)*a,(ee+x)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-b)*a,(ee+x)*y,(z-x)*a,(ee+b)*y)),x=.35,b=me*.35;var Le=new go.PathFigure(z*a,(ee-x)*y,!1);E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),Le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y));var Je=new go.PathFigure((z-x)*a,ee*y,!1);return E.add(Je),be(te),be(ae),be(oe),be(re),be(ue),be(ve),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(ne,a,y){var E=new go.Geometry,b=.375,x=0,z=-.125,ee=b*me,te=new go.PathFigure((.525+x)*a,(.5+b+z)*y,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*a,(.5+z)*y,(.5+ee+x)*a,(.5+b+z)*y,(.5+b+x)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-b+z)*y,(1-.5+b+x)*a,(.5-ee+z)*y,(.5+ee+x)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5-b+z)*y,(.5-b+x)*a,(.5-ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+b+z)*y,(.5-b+x)*a,(.5+ee+z)*y,(.5-ee+x)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,x=0,z=-.125,ee=b*me;var te=new go.PathFigure((1-.5+b+x)*a,(.5+z)*y,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+b+z)*y,(.5+b+x)*a,(.5+ee+z)*y,(.5+ee+x)*a,(.5+b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5+b+z)*y,(.5-b+x)*a,(.5+ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-b+z)*y,(.5-b+x)*a,(.5-ee+z)*y,(.5-ee+x)*a,(.5-b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*a,(.5+z)*y,(.5+ee+x)*a,(.5-b+z)*y,(1-.5+b+x)*a,(.5-ee+z)*y));var te=new go.PathFigure((.525+x)*a,(.5+b+z)*y,!1);return E.add(te),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(ne,a,y){var E=ne?ne.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ne,a,y){var E=ne?ne.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,E*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,E*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ne,a,y){var E=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ne,a,y){var E=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*a,E*y,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ne,a,y){var E=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,E*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*a,E*y,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new pe("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new pe("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var x=(1-E)*a,z=(.5-b/2)*y,ee=(.5+b/2)*y,te=new go.Geometry,ae=new go.PathFigure(0,z,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var oe=De(0,ee/y,1,ee/y,x/a,1,1,.5,ge());return te.spot2=new go.Spot(oe.x,oe.y),be(oe),te}),go.Shape.setFigureParameter("Arrow2",0,new pe("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new pe("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=30),E>a&&(E=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var x=a-E,z=(y-b)/2,ee=z+b,te=new go.Geometry,ae=new go.PathFigure(0,z,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x,z)),ae.add(new go.PathSegment(go.PathSegment.Line,x,0)),ae.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,y)),ae.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/y);var oe=De(0,ee/y,1,ee/y,x/a,1,1,.5,ge());return te.spot2=new go.Spot(oe.x,oe.y),be(oe),te}),go.Shape.defineFigureGenerator("Chevron",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new pe("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*y,x=(.5+E/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var te=De(0,.5,.3,0,0,b/y,.1,b/y,ge());return z.spot1=new go.Spot(te.x,te.y),te=De(.7,1,1,.5,0,x/y,1,x/y,te),z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new pe("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new pe("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var x=(y-E)/2,z=x+E,ee=(y-b)/2,te=ee+b;(E>y||b>y)&&(b>E?(E=E*y/b,x=(y-E)/2,z=x+E,ee=0,te=y):(x=0,z=y,ee=0,te=y));var ae=new go.Geometry,oe=new go.PathFigure(a,.5*y,!0);ae.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var re=De(0,.5,.3,ee/y,0,x/y,1,x/y,ge());return ae.spot1=new go.Spot(re.x,re.y),re=De(.7,te/y,1,.5,0,z/y,1,z/y,re),ae.spot2=new go.Spot(re.x,re.y),be(re),ae}),go.Shape.setFigureParameter("IBeamArrow",0,new pe("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*y,x=(.5+E/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var te=De(.7,1,1,.5,0,x/y,1,x/y,ge());return z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new pe("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new pe("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var x=(y-E)/2,z=x+E,ee=(y-b)/2,te=ee+b;(E>y||b>y)&&(b>E?(E=E*y/b,x=(y-E)/2,z=x+E,ee=0,te=y):(x=0,z=y,ee=0,te=y));var ae=new go.Geometry,oe=new go.PathFigure(a,.5*y,!0);ae.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),ae.spot1=new go.Spot(0,x/y);var re=De(.7,te/y,1,.5,0,z/y,1,z/y,ge());return ae.spot2=new go.Spot(re.x,re.y),be(re),ae}),go.Shape.setFigureParameter("Pointer",0,new pe("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var z=De(.2,.65,1,.65,0,1,1,.5,ge());return b.spot2=new go.Spot(z.x,z.y),be(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new pe("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*a,.75*y,E*a,.25*y).close()),b.spot1=new go.Spot(E,.35);var z=De(0,.65,1,.65,0,1,1,.5,ge());return b.spot2=new go.Spot(z.x,z.y),be(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new pe("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*y,x=(.5+E/2)*y,z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var te=De(.7,1,1,.5,0,x/y,1,x/y,ge());return z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new pe("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=50);var b=(y-E)/2,x=b+E;E>y&&(b=0,x=y);var z=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var te=De(.7,1,1,.5,0,x/y,1,x/y,ge());return z.spot2=new go.Spot(te.x,te.y),be(te),z}),go.Shape.setFigureParameter("SquareArrow",0,new pe("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,x=new go.PathFigure(a,.5*y,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=me*.1,z=new go.PathFigure(0,.9*y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+x)*y).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var x=new go.PathFigure(0,.9*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=me*.5,z=new go.PathFigure(0,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*E,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,E,(.5+x)*a,0,1*a,me*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-me*E,(.5+x)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,(.5-x)*a,1*y,0,y-me*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E));var ee=new go.PathFigure(a,E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*E,1*a,2*E-me*E,(.5+x)*a,2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*a,2*E,0,2*E-me*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=me*.5,z=new go.PathFigure(0,y-E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,me*E,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E,(.5+x)*a,0,a,me*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-me*E,(.5+x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,(.5-x)*a,y,0,y-me*E));var ee=new go.PathFigure(0,y-E,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*E,0,y-E-me*E,(.5-x)*a,y-2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y-E,(.5+x)*a,y-2*E,a,y-E-me*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=me*.5,z=new go.PathFigure(E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*E,0,a,(.5-x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,(.5+x)*y,a-me*E,y)),z.add(new go.PathSegment(go.PathSegment.Line,E,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*E,y,0,(.5+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*y,me*E,0));var ee=new go.PathFigure(E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*y,E+me*E,0,2*E,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,y,2*E,(.5+x)*y,E+me*E,y)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=me*.5,z=new go.PathFigure(a-E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-me*E,0,a,(.5-x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,(.5+x)*y,a-me*E,y)),z.add(new go.PathSegment(go.PathSegment.Line,E,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,me*E,y,0,(.5+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*y,me*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-E,0));var ee=new go.PathFigure(a-E,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*E,.5*y,a-E-me*E,0,a-2*E,(.5-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a-2*E,(.5+x)*y,a-E-me*E,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.25*a,.25*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var x=new go.PathFigure(.5*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var x=new go.PathFigure(.5*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(ne,a,y){var E=new go.Geometry,b=.2,x=.1,z=me*b,ee=me*x,te=.5,ae=.1,oe=new go.PathFigure(te*a,(ae+x)*y,!0);E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ae*y,(te-z)*a,(ae+x)*y,(te-b)*a,(ae+ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-x)*y,(te-b)*a,(ae-ee)*y,(te-z)*a,(ae-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ae*y,(te+z)*a,(ae-x)*y,(te+b)*a,(ae-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+x)*y,(te+b)*a,(ae+ee)*y,(te+z)*a,(ae+x)*y));var re=.05,Se=me*re;te=.05,ae=.25;var ue=new go.PathFigure(.5*a,.2*y,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),te=.95,ae=.25,ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+re)*a,ae*y,(te+Se)*a,(ae-re)*y,(te+re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),re=.025,Se=me*re,te=.825,ae=.35,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te+re)*a,(ae-Se)*y,(te+Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-re)*a,ae*y,(te-Se)*a,(ae-re)*y,(te-re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),re=.05,Se=me*re,te=.5,ae=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te+re)*a,(ae-Se)*y,(te+Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-re)*a,ae*y,(te-Se)*a,(ae-re)*y,(te-re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),re=.025,Se=me*re,te=.175,ae=.35,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te+re)*a,(ae-Se)*y,(te+Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-re)*a,ae*y,(te-Se)*a,(ae-re)*y,(te-re)*a,(ae-Se)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),re=.05,Se=me*re,te=.05,ae=.25,ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-re)*y,(te-re)*a,(ae-Se)*y,(te-Se)*a,(ae-re)*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new pe("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(a,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var x=new go.PathFigure(.5*a,.5*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),E}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=me*.1,z=new go.PathFigure(a,.1*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-x)*y));var ee=new go.PathFigure(a,.1*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+x)*y,(.5+b)*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+x)*y)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=me*.1,z=new go.PathFigure(a,.1*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+x)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-x)*y));var ee=new go.PathFigure(a,.1*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+x)*y,(.5+b)*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+x)*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+x)*y,(.5+b)*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+x)*y)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var x=me*.2,z=new go.PathFigure(0,.2*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*y,(.2-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+x)*a,0,a,(.2-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+x)*y,(.8+x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-x)*a,y,0,(.8+x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ee=new go.PathFigure(0,b*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),E}),go.Shape.defineFigureGenerator("Document",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(.1*a,.4*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(.75*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var x=new go.PathFigure(a,.5*y,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN,x=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),E}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var E=new go.Geometry,b=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=me*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+z)*y,(ee+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-z)*a,y,0,(ee+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*y,(ee-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+z)*a,0,a,(ee-z)*y));var ae=new go.PathFigure((x+b)*a,(x+b)*y,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)),ae.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Line,(x+b)*a,x*y)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var x=new go.PathFigure(.1*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=.5,z=new go.PathFigure(.5*a,y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-b)*a,y,0,(x+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-b)*y,(x-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+b)*a,0,a,(x-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*y,a,(x+b)*y,(x+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var x=new go.PathFigure(.2*a,.1*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var x=1-b,z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ee=new go.PathFigure(.5*b*a,b*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=.5,z=new go.PathFigure(a,x*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+b)*y,(x+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-b)*a,y,0,(x+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-b)*y,(x-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+b)*a,0,a,(x-b)*y));var ee=new go.PathFigure(a,.5*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(ne,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN,x=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN,x=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),E}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var x=new go.PathFigure(0,.5*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(b*a,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(ne,a,y){var E=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=.5,z=new go.PathFigure(a,x*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,y,a,(x+b)*y,(x+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*y,(x-b)*a,y,0,(x+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-b)*y,(x-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*y,(x+b)*a,0,a,(x-b)*y));var ee=new go.PathFigure(a,x*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y));var te=new go.PathFigure(.8*a,.75*y,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),E}),go.Shape.defineFigureGenerator("Ground",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E}),go.Shape.defineFigureGenerator("Inverter",function(ne,a,y){var E=new go.Geometry,b=me*.1,x=.1,z=.9,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ae=new go.PathFigure((z+x)*a,ee*y,!0);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+b)*y,(z+b)*a,(ee+x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-b)*a,(ee+x)*y,(z-x)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-b)*y,(z-b)*a,(ee-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+b)*a,(ee-x)*y,(z+x)*a,(ee-b)*y)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=me*.4,z=me*.1,ee=.1,te=.9,ae=.5,oe=new go.PathFigure(.8*a,.5*y,!0);E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+x)*y,(.4+b)*a,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,y)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-x)*y));var re=new go.PathFigure((te+ee)*a,ae*y,!0);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+ee)*y,(te+ee)*a,(ae+z)*y,(te+z)*a,(ae+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,ae*y,(te-z)*a,(ae+ee)*y,(te-ee)*a,(ae+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-ee)*y,(te-ee)*a,(ae-z)*y,(te-z)*a,(ae-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,ae*y,(te+z)*a,(ae-ee)*y,(te+ee)*a,(ae-z)*y)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var E=new go.Geometry,b=.5,x=me*b,z=0,ee=.5,te=new go.PathFigure(.8*a,.5*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+x)*a,(ee-b)*y,.7*a,(ee-x)*y)),b=.1,x=me*.1,z=.9,ee=.5;var ae=new go.PathFigure((z-b)*a,ee*y,!0);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var E=new go.Geometry,b=.5,x=me*b,z=0,ee=.5,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+x+x)*a,(ee-b)*y,.8*a,(ee-x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ee+x)*y,(z+x+x)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(ne,a,y){var E=new go.Geometry,b=.5,x=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.8*a,.5*y,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+x)*a,(ee-b)*y,.7*a,(ee-x)*y)),b=.1,x=me*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-b)*a,ee*y,!0);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var E=new go.Geometry,b=.5,x=me*b,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ae=new go.PathFigure(.2*a,0,!0);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+x)*a,(ee-b)*y,.9*a,(ee-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("Resistor",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E}),go.Shape.defineFigureGenerator("Inductor",function(ne,a,y){var E=new go.Geometry,b=me*.1,x=.1,z=.1,ee=.5,te=new go.PathFigure((z-b*.5)*a,y,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-b)*a,y,(z-x)*a,0)),z=.3,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-b)*a,y,(z-x)*a,0)),z=.5,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-b)*a,y,(z-x)*a,0)),z=.7,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+x)*a,0,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-b)*a,y,(z-x)*a,0)),z=.9,te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+x)*a,0,(z+b)*a,y)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var E=new go.Geometry,b=me*.5,x=.5,z=.5,ee=.5,te=new go.PathFigure((z-x)*a,ee*y,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*y,(z-x)*a,(ee-b)*y,(z-b)*a,(ee-x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+b)*a,(ee-x)*y,(z+x)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+b)*y,(z+b)*a,(ee+x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-b)*a,(ee+x)*y,(z-x)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,ee*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,ee*y,z*a,(ee-x)*y,z*a,(ee+x)*y)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("Diode",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(ne,a,y){var E=new go.Geometry,b=a,x=y;a=a*.38,y=y*.6;var z=me*.8,ee=.8,te=0,ae=.5,oe=(b-a)/2,re=(x-y)/2,Se=new go.PathFigure(te*a+oe,(ae+ee)*y+re,!0);E.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+oe,ae*y+re,(te-z)*a+oe,(ae+ee)*y+re,(te-ee)*a+oe,(ae+z)*y+re)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te-ee)*a+oe,(ae-z)*y+re,(te-z)*a+oe,(ae-ee)*y+re)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+oe,ae*y+re,te*a+oe,(ae-ee)*y+re,(te-ee+z*.5)*a+oe,(ae-z)*y+re)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te-ee+z*.5)*a+oe,(ae+z)*y+re,te*a+oe,(ae+ee)*y+re).close()),z=me*.4,ee=.4,te=.2,ae=.5;var ue=new go.PathFigure(te*a+oe,(ae+ee)*y+re,!0);E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+oe,ae*y+re,(te-z)*a+oe,(ae+ee)*y+re,(te-ee)*a+oe,(ae+z)*y+re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te-ee)*a+oe,(ae-z)*y+re,(te-z)*a+oe,(ae-ee)*y+re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+oe,ae*y+re,te*a+oe,(ae-ee)*y+re,(te-ee+z*.5)*a+oe,(ae-z)*y+re)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te-ee+z*.5)*a+oe,(ae+z)*y+re,te*a+oe,(ae+ee)*y+re).close()),z=me*.2,ee=.2,te=.5,ae=.5;var ve=new go.PathFigure((te-ee)*a+oe,ae*y+re,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te-ee)*a+oe,(ae-z)*y+re,(te-z)*a+oe,(ae-ee)*y+re)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+oe,ae*y+re,(te+z)*a+oe,(ae-ee)*y+re,(te+ee)*a+oe,(ae-z)*y+re)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te+ee)*a+oe,(ae+z)*y+re,(te+z)*a+oe,(ae+ee)*y+re)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+oe,ae*y+re,(te-z)*a+oe,(ae+ee)*y+re,(te-ee)*a+oe,(ae+z)*y+re)),z=me*.4,ee=.4,te=.8,ae=.5;var Le=new go.PathFigure(te*a+oe,(ae-ee)*y+re,!0);E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+oe,ae*y+re,(te+z)*a+oe,(ae-ee)*y+re,(te+ee)*a+oe,(ae-z)*y+re)),Le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te+ee)*a+oe,(ae+z)*y+re,(te+z)*a+oe,(ae+ee)*y+re)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+oe,ae*y+re,te*a+oe,(ae+ee)*y+re,(te+ee-z*.5)*a+oe,(ae+z)*y+re)),Le.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te+ee-z*.5)*a+oe,(ae-z)*y+re,te*a+oe,(ae-ee)*y+re).close()),z=me*.8,ee=.8,te=1,ae=.5;var Je=new go.PathFigure(te*a+oe,(ae-ee)*y+re,!0);return E.add(Je),Je.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+oe,ae*y+re,(te+z)*a+oe,(ae-ee)*y+re,(te+ee)*a+oe,(ae-z)*y+re)),Je.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae+ee)*y+re,(te+ee)*a+oe,(ae+z)*y+re,(te+z)*a+oe,(ae+ee)*y+re)),Je.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+oe,ae*y+re,te*a+oe,(ae+ee)*y+re,(te+ee-z*.5)*a+oe,(ae+z)*y+re)),Je.add(new go.PathSegment(go.PathSegment.Bezier,te*a+oe,(ae-ee)*y+re,(te+ee-z*.5)*a+oe,(ae-z)*y+re,te*a+oe,(ae-ee)*y+re).close()),E}),go.Shape.defineFigureGenerator("Email",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Move,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),E}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,y,!0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ee=new go.PathFigure(0,.5*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),E}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var E=new go.Geometry,b=me*.4,x=.4,z=.5,ee=.5,te=ge(),ae=ge(),oe=ge(),re=ge();Be(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.5,te,te,ae,oe,re);var Se=de(ae.x,ae.y),ue=new go.PathFigure(ae.x*a,ae.y*y,!0);E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z+x)*a,(ee+b)*y,(z+b)*a,(ee+x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,(z-b)*a,(ee+x)*y,(z-x)*a,(ee+b)*y)),Be(z-x,ee,z-x,ee-b,z-b,ee-x,z,ee-x,.5,oe,re,ae,te,te),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,oe.x*a,oe.y*y,re.x*a,re.y*y)),b=me*.3,x=.3,Be(z-x,ee,z-x,ee-b,z-b,ee-x,z,ee-x,.5,oe,re,ae,te,te),ue.add(new go.PathSegment(go.PathSegment.Line,ae.x*a,ae.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*y,re.x*a,re.y*y,oe.x*a,oe.y*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),Be(z,ee-x,z+b,ee-x,z+x,ee-b,z+x,ee,.5,te,te,ae,oe,re),ue.add(new go.PathSegment(go.PathSegment.Bezier,ae.x*a,ae.y*y,re.x*a,re.y*y,oe.x*a,oe.y*y).close());var ue=new go.PathFigure(.45*a,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),be(te),be(ae),be(oe),be(re),be(Se),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function x(z,ee,te){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+te)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+te)*y).close())}return x(b,0,0),x(b,.4,0),x(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ne,a,y){var E=new go.Geometry,b=.5,x=0,z=0,ee=b*me,te=.4*Math.SQRT2/2+.5,ae=.5-.5*Math.SQRT2/2,oe=1,re=.5,Se=.5,ue=0,ve=new go.PathFigure(te*a,(1-ae)*y,!1);return E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,re*y,oe*a,.7*y,oe*a,re*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se+x)*a,(ue+x)*y,(.5+b+x)*a,(.5-ee+x)*y,(.5+ee+x)*a,(.5-b+x)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*a,(.5+z)*y,(.5-ee+x)*a,(.5-b+z)*y,(.5-b+x)*a,(.5-ee+z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*y,(.5-b+x)*a,(.5+ee+z)*y,(.5-ee+x)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*y)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(a,y,!1);E.add(x);var z=new go.PathFigure(0,.5*y,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var x=new go.PathFigure(.45*a,.73*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(.335*a,(1-.555)*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ee=.5,te=z,ae=Math.PI/4,oe=4*(1-Math.cos(ae))/(3*Math.sin(ae)),re=oe*.5,Se=z,ue=z,ve=oe*Se,Le=oe*ue;x.add(new go.PathSegment(go.PathSegment.Bezier,(ee-Se)*a,te*y,(ee-(ve+Se)/2)*a,(te+(ue+Le)/2)*y,(ee-Se)*a,(te+Le)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-ue)*y,(ee-Se)*a,(te-Le)*y,(ee-ve)*a,(te-ue)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ee+Se)*a,te*y,(ee+ve)*a,(te-ue)*y,(ee+Se)*a,(te-Le)*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ee+Se)*a,(te+Le)*y,(ee+(ve+Se)/2)*a,(te+(ue+Le)/2)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Je=new go.PathFigure(.2*a,y,!1);E.add(Je),Je.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var rt=new go.PathFigure(.8*a,y,!1);return E.add(rt),rt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var x=new go.PathFigure(.2*a,.2*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(a,y,!1);E.add(x);var z=new go.PathFigure(.1*a,y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),E}),go.Shape.defineFigureGenerator("Caution",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var x=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,x*a,x*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),E}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var x=new go.PathFigure(.475*a,.2*y,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var E=new go.Geometry,b=.5,x=me*.5,z=new go.PathFigure(a,b*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+x)*y,(b+x)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-x)*a,y,0,(b+x)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-x)*y,(b-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+x)*a,0,a,(b-x)*y));var ee=new go.PathFigure(b*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),E}),go.Shape.defineFigureGenerator("Package",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var x=new go.PathFigure(0,.15*y,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),E}),go.Shape.defineFigureGenerator("Component",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var x=new go.PathFigure(0,.2*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var x=new go.PathFigure(.15*a,.6*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ee=me*.1,te=.2,ae=.9,oe=new go.PathFigure((te-z)*a,ae*y,!0);E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-z)*y,(te-z)*a,(ae-ee)*y,(te-ee)*a,(ae-z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ae*y,(te+ee)*a,(ae-z)*y,(te+z)*a,(ae-ee)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+z)*y,(te+z)*a,(ae+ee)*y,(te+ee)*a,(ae+z)*y)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ae*y,(te-ee)*a,(ae+z)*y,(te-z)*a,(ae+ee)*y).close()),z=.1,ee=me*.1,te=.8,ae=.9;var re=new go.PathFigure((te-z)*a,ae*y,!0);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae-z)*y,(te-z)*a,(ae-ee)*y,(te-ee)*a,(ae-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ae*y,(te+ee)*a,(ae-z)*y,(te+z)*a,(ae-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ae+z)*y,(te+z)*a,(ae+ee)*y,(te+ee)*a,(ae+z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ae*y,(te-ee)*a,(ae+z)*y,(te-z)*a,(ae+ee)*y).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E}),go.Shape.defineFigureGenerator("Forklift",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ee=new go.PathFigure(.5*a,.7*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var te=.1,ae=me*.1,oe=.1,re=.9,Se=new go.PathFigure((oe-te)*a,re*y,!0);E.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-te)*y,(oe-te)*a,(re-ae)*y,(oe-ae)*a,(re-te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a,re*y,(oe+ae)*a,(re-te)*y,(oe+te)*a,(re-ae)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+te)*y,(oe+te)*a,(re+ae)*y,(oe+ae)*a,(re+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a,re*y,(oe-ae)*a,(re+te)*y,(oe-te)*a,(re+ae)*y)),te=.1,ae=me*.1,oe=.4,re=.9;var ue=new go.PathFigure((oe-te)*a,re*y,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re-te)*y,(oe-te)*a,(re-ae)*y,(oe-ae)*a,(re-te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*a,re*y,(oe+ae)*a,(re-te)*y,(oe+te)*a,(re-ae)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(re+te)*y,(oe+te)*a,(re+ae)*y,(oe+ae)*a,(re+te)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*a,re*y,(oe-ae)*a,(re+te)*y,(oe-te)*a,(re+ae)*y)),E}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var x=new go.PathFigure(.45*a,.7*y,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var oe=.05,re=me*.05,Se=.175,ue=.95,ee=new go.PathFigure((Se-oe)*a,ue*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y));var oe=.05,re=me*.05,Se=.375,ue=.95,te=new go.PathFigure((Se-oe)*a,ue*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y));var oe=.05,re=me*.05,Se=.625,ue=.95,ae=new go.PathFigure((Se-oe)*a,ue*y,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y));var oe=.05,re=me*.05,Se=.825,ue=.95,ve=new go.PathFigure((Se-oe)*a,ue*y,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue-oe)*y,(Se-oe)*a,(ue-re)*y,(Se-re)*a,(ue-oe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se+oe)*a,ue*y,(Se+re)*a,(ue-oe)*y,(Se+oe)*a,(ue-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ue+oe)*y,(Se+oe)*a,(ue+re)*y,(Se+re)*a,(ue+oe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(Se-oe)*a,ue*y,(Se-re)*a,(ue+oe)*y,(Se-oe)*a,(ue+re)*y).close());var Le=new go.PathFigure(0,y,!1);return E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*y,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ee=.05,te=me*.05,ae=.35,oe=.775,re=new go.PathFigure((ae-ee)*a,oe*y,!0);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(oe-ee)*y,(ae-ee)*a,(oe-te)*y,(ae-te)*a,(oe-ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ae+ee)*a,oe*y,(ae+te)*a,(oe-ee)*y,(ae+ee)*a,(oe-te)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,ae*a,(oe+ee)*y,(ae+ee)*a,(oe+te)*y,(ae+te)*a,(oe+ee)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(ae-ee)*a,oe*y,(ae-te)*a,(oe+ee)*y,(ae-ee)*a,(oe+te)*y).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E}),go.Shape.defineFigureGenerator("Globe",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),E}),go.Shape.defineFigureGenerator("Wave",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),E}),go.Shape.defineFigureGenerator("Operator",function(ne,a,y){var E=new go.Geometry,b=.3,x=me*.3,z=.5,ee=.7,te=new go.PathFigure((z-b)*a,ee*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y));var ae=new go.PathFigure(0,.7*y,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),E}),go.Shape.defineFigureGenerator("Battery",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var x=new go.PathFigure(0,.6*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var E=new go.Geometry,b=.5,x=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y));var ae=new go.PathFigure(.15*a,.5*y,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),E}),go.Shape.defineFigureGenerator("Flag",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),E}),go.Shape.defineFigureGenerator("Help",function(ne,a,y){var E=new go.Geometry,b=.5,x=me*.5,z=.5,ee=.5,te=new go.PathFigure((z-b)*a,ee*y,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y).close()),b=.05,x=me*.05,z=.5,ee=.8;var ae=new go.PathFigure((z-b)*a,ee*y,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-b)*y,(z-b)*a,(ee-x)*y,(z-x)*a,(ee-b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ee*y,(z+x)*a,(ee-b)*y,(z+b)*a,(ee-x)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+b)*y,(z+b)*a,(ee+x)*y,(z+x)*a,(ee+b)*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ee*y,(z-x)*a,(ee+b)*y,(z-b)*a,(ee+x)*y).close()),ae.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),E}),go.Shape.defineFigureGenerator("Location",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),E}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var x=new go.PathFigure(.2*a,.5*y,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),E}),go.Shape.defineFigureGenerator("Gear",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),E}),go.Shape.defineFigureGenerator("Map",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E}),go.Shape.defineFigureGenerator("Eject",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var x=new go.PathFigure(0,y*.6,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var x=new go.PathFigure(.126*a,.85*y,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ee=new go.PathFigure(.678*a,.85*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var te=new go.PathFigure(.5*a,.1*y,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var x=new go.PathFigure(a*.204,y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ee=new go.PathFigure(a*.612,y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var te=new go.PathFigure(a*.816,y,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*y,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ee=new go.PathFigure(a*.055,.18*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var te=new go.PathFigure(a*1,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),E}),go.Shape.defineFigureGenerator("Key",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var x=new go.PathFigure(0,0,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var te=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var E=new go.Geometry,b=8,x=b*me,z=new go.PathFigure(b,0,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-x,a-x,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,x,y,0,y-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close());var ee=new go.PathFigure(a*.83,0,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var te=new go.PathFigure(a*.83,y*1,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ae=new go.PathFigure(a*.78,y*.05,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ae.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,a/3),E=Math.min(E,y/3);var b=E*me,x=y*.8,z=new go.Geometry,ee=new go.PathFigure(E,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E,a-b,0,a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,x,a,x-b,a-b,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ee.add(new go.PathSegment(go.PathSegment.Line,E,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,b,x,0,x-b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var x=new go.PathFigure(a*1,y*.55,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var x=new go.PathFigure(a*.1,y*.2,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var E=new go.Geometry,b=15,x=b*me,z=new go.PathFigure(a*.62,y*.475,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-x,a-x,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,x,y,0,y-x)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),x>1?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var z=new go.PathFigure(a*.4,y*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.add(b);var x=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-x)).close());var z=new go.PathFigure(a*.5,y*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var x=new go.PathFigure(a*.235,y*.28,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(ne,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),E}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93127:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var pe={},$e="5.0",de={},ge=null,be=!1,De=!1,Be=null,he=!1,fe=null,me=null,xe=0;xe4?parseFloat(ce):5};pe.setHTML5Codebase=function(ce,ye){me=ce,wt(ce,ye)},pe.setJavaCodebase=pe.setJavaCodebaseVersion=pe.isCompiledInstalled=pe.setPreCompiledScriptPath=pe.setPreCompiledResourcePath=function(){},pe.setHTML5CodebaseVersion=function(ce,ye){var Ae=parseFloat(ce);if(Ae!==NaN&&Ae<5){console.log("The GeoGebra HTML5 codebase version "+Ae+" is deprecated. Using version latest instead.");return}fe=ce,qe(ce,ye)},pe.getHTML5CodebaseVersion=function(){return ne},pe.getParameters=function(){return de},pe.setFontsCSSURL=function(ce){z=ce},pe.setGiacJSURL=function(ce){},pe.setJNLPFile=function(ce){Ce=ce},pe.setJNLPBaseDir=function(ce){},pe.inject=function(){function ce(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ye="auto",Ae=de.id,Qe,Ne=!1,Ue=0;Ue=5)return!0;var ce=pe.getAppletObject();return ce&&typeof ce.recalculateEnvironments=="function"?(ce.recalculateEnvironments(),!0):!1},pe.startAnimation=function(){var ce=pe.getAppletObject();return ce&&typeof ce.startAnimation=="function"?(ce.startAnimation(),!0):!1},pe.stopAnimation=function(){var ce=pe.getAppletObject();return ce&&typeof ce.stopAnimation=="function"?(ce.stopAnimation(),!0):!1},pe.getAppletObject=function(){var ce=de.id!==void 0?de.id:"ggbApplet";return window[ce]},pe.resize=function(){};var ve=function(ce,ye,Ae){var Qe=document.createElement("param");Qe.setAttribute("name",ye),Qe.setAttribute("value",Ae),ce.appendChild(Qe)},Le=function(ce){return ce&&ce!=="false"},Je=function(ce,ye,Ae){te(ne)<=4.2&&(Ae=!0);var Qe=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Qe=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Ne=document.createElement("div");Ne.classList.add("appletParameters","notranslate");var Ue=ye.width,ie=ye.height;if(ye.disableAutoScale=ye.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ye.disableAutoScale,ye.width!==void 0)if(te(ne)<=4.4)Le(ye.showToolBar)&&(ye.height-=7),Le(ye.showAlgebraInput)&&(ye.height-=37),ye.width<605&&Le(ye.showToolBar)&&(ye.width=605,Ue=605);else{var ke=100;(Le(ye.showToolBar)||Le(ye.showMenuBar))&&(ye.hasOwnProperty("customToolBar")&&(ye.customToolbar=ye.customToolBar),ke=Le(ye.showMenuBar)?245:155),Ue=5?(ye.appletOnLoad=function(Tt){var It=ce.querySelector(".ggb_preview");It&&It.parentNode.removeChild(It),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(gt),window.GGBT_wsf_view&&$(window).trigger("resize"),Lt(Tt)},Rt||gt.appendChild(it)):Ne.appendChild(it),gt.appendChild(Ne),Rt||ce.appendChild(gt),setTimeout(function(){pe.resize()},1)}else{var Ye=document.createElement("div");Ye.className="applet_scaler",Ye.style.position="relative",Ye.style.display="block",Ye.appendChild(Ne),ce.appendChild(Ye),ye.appletOnLoad=function(Tt){pe.resize(),Lt(Tt)}}function St(Tt,It){It&&typeof It.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Tt,It.appletOnLoad):renderGGBElement(Tt),ct("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",It)}function Pt(Tt,It){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Tt,params:It}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(fn){St(fn.article,fn.params)}),html5AppletsToProcess=null)},te(ne)<5&&(Tt.className+=" geogebraweb")):St(Tt,It)}if(Qe){scriptLoadStarted=!0;for(var Ft=0;Ft0?(et.remove(),gt.attr("id","fullscreencontent").show(),jQuery(Lt).append(gt),window.dispatchEvent(new Event("resize"))):Je(et,ye,!1),window.GGBT_wsf_view.launchFullScreen(Lt)}else Ge=Qe,Je(ce,ye,!1);if(!window.GGBT_wsf_view)for(ie=0;iece/4*3&&(et=ce/4*3),Lt=et/5.8,ke.setAttribute("src",b),ke.setAttribute("width",et),ke.setAttribute("height",Lt);var gt=(ce-et)/2,Rt=(ye-Lt)/2;ke.style.left=gt+"px",ke.style.top=Rt+"px",Ne.appendChild(ke)}}return Ne.appendChild(ie),Ne},at=function(ce){return ce=ce.toLowerCase(),ce==="html5"||ce==="screenshot"?ce:"html5"},ut=["web","webSimple","web3d","tablet","tablet3d","phone"],qe=function(ce,ye){if(ne=ce,ye){wt(ne,!0);return}var Ae=!be;if(Ae){var Qe=te(ne);!isNaN(Qe)&&Qe<4.4&&(Ae=!1)}var Ne,Ue;window.location.protocol.substr(0,4)==="http"?Ne=window.location.protocol:Ne="http:";var ie=ne.indexOf("//");ie>0?Ue=ne:ie===0?Ue=Ne+ne:Ue="https://www.geogebra.org/apps/5.2.814.0/";for(var ke in ut)if(ne.slice(ut[ke].length*-1)===ut[ke]||ne.slice((ut[ke].length+1)*-1)===ut[ke]+"/"){wt(Ue,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ae&&!ge.is3D&&!ge.AV&&!ge.SV&&!ge.CV&&!ge.EV2&&!ge.CP&&!ge.PC&&!ge.DA&&!ge.FI&&!ge.PV&&!Le(de.showToolBar)&&!Le(de.showMenuBar)&&!Le(de.showAlgebraInput)&&!Le(de.enableRightClick)&&(!de.appName||de.appName=="classic")?Ue+="webSimple/":Ue+="web3d/",wt(Ue,!1)},wt=function(ce,ye){if(ce.requirejs){ze=ce;return}ce.slice(-1)!=="/"&&(ce+="/"),ze=ce,ye===null&&(ye=ce.indexOf("http")===-1),Oe=ye,a="web.nocache.js",y=!1;var Ae=ze.split("/");Ae.length>1&&(!ye&&Ae[Ae.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):ut.indexOf(Ae[Ae.length-2])>=0&&(a=Ae[Ae.length-2]+".nocache.js")),Ae=ce.split("/"),ne=Ae[Ae.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var Qe=parseFloat(ne);Qe!==NaN&&Qe<5&&ce.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Qe+" is deprecated. Using version latest instead."),qe("5.0",ye))},ct=function(ce,ye){window.console&&window.console.log&&(!ye||typeof ye.showLogging=="undefined"||ye.showLogging&&ye.showLogging!=="false")&&console.log(ce)};de.material_id!==void 0?re(ht):ht();function ht(){var ce=$e;fe!==null?ce=fe:parseFloat(ce)<5&&(ce="5.0"),qe(ce,!1),me!==null&&wt(me,Oe),he=!0}return pe},GGBAppletUtils=function(){"use strict";function pe(){return window.GGBT_wsf_edit!==void 0}function $e(he,fe){fe!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+fe+","+fe+")",he.style.webkitTransform="scale("+fe+","+fe+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function de(he,fe,me,xe,Fe,Ce){var ze=null;if(Ce!=null&&Ce!="")for(var Oe=he.parentNode;Oe!=null;)if((" "+Oe.className+" ").indexOf(" "+Ce+" ")>-1){ze=Oe;break}else Oe=Oe.parentNode;var Ge=0,ne=0,a=0,y=0,E=0,b=0,x=0;if(ze)Ge=ze.offsetWidth,ne=Math.max(xe?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ge=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Ge):(Ge=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=Ge&&(Fe===void 0||!Fe)&&(document.dir==="rtl"?(E=Ge-z.width-z.left,b=a<=480?10:30):(b=z.left,E=a<=480?10:30),y=b+E)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,x=40)}}return he&&((me===void 0||!me)&&fe>0&&fe+y1&&(Ce=!0)),fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ce=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))Fe=ge(he,fe,Ce,me,he.scaleContainerClass);else return xe;return Ce&&(!he.hasOwnProperty("scale")||xe===1)?Fe:Math.min(xe,Fe)}function De(he){var fe=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),xe=he.getBoundingClientRect(),Fe=(fe-xe.width)/2,Ce=(me-xe.height)/2;Ce<0&&(Ce=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Fe<40?he.style.left="40px":he.style.left=Fe+"px",he.style.top=Ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ce<40?he.style.top="40px":he.style.top=Ce+"px",he.style.left=Fe+"px")}function Be(he,fe){var me=he.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(fe.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var xe=be(fe,he);pe()&&me.setAttribute("data-param-scale",xe);for(var Fe=null,Ce=0;Ce=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(pe){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(pe){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(pe){var $e=c[pe];return $e==null?null:$e},r=d,webModule.__errFn=e}function B(){function pe(he){var fe=he.lastIndexOf(rb);fe==-1&&(fe=he.length);var me=he.indexOf(sb);me==-1&&(me=he.length);var xe=he.lastIndexOf(tb,Math.min(me,fe));return xe>=O?he.substring(O,xe+P):W}function $e(he){if(!he.match(/^\w+:\/\//)){var fe=o.createElement(ub);fe.src=he+vb,he=pe(fe.src)}return he}function de(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ge(){for(var he=o.getElementsByTagName(_),fe=O;feO?he[he.length-P].href:W}function De(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var Be=de();return Be==W&&(Be=ge()),Be==W&&(Be=be()),Be==W&&De()&&(Be=pe(o.location.href)),Be=$e(Be),Be}function C(pe){return pe.match(/^\//)||pe.match(/^[a-zA-Z]+:\/\//)?pe:webModule.__moduleBase+pe}function D(){var pe=[],$e=O,de=[],ge=[];function be(he){var fe=ge[he](),me=de[he];if(fe in me)return fe;var xe=[];for(var Fe in me)xe[me[Fe]]=Fe;throw r&&r(he,xe,fe),null}if(__gwt_isKnownPropertyValue=function(he,fe){return fe in de[he]},webModule.__getPropMap=function(){var he={};for(var fe in de)de.hasOwnProperty(fe)&&(he[fe]=be(fe));return he},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var De;try{De=Cb;var Be=De.indexOf(Db);Be!=-1&&($e=parseInt(De.substring(Be+P),$),De=De.substring(O,Be))}catch(he){}return webModule.__softPermutationId=$e,C(De+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8396:function(pe,$e,de){"use strict";de.d($e,{Ax:function(){return Be},Ds:function(){return he},KI:function(){return me},SI:function(){return De},f1:function(){return be}});var ge=de(85386);function be(xe){let Fe=!0;if(xe.length>0){for(let Ce=0;Cene in Ge?fe(Ge,ne,{enumerable:!0,configurable:!0,writable:!0,value:a}):Ge[ne]=a,ze=(Ge,ne)=>{for(var a in ne||(ne={}))xe.call(ne,a)&&Ce(Ge,a,ne[a]);if(me)for(var a of me(ne))Fe.call(ne,a)&&Ce(Ge,a,ne[a]);return Ge};const Oe=({cancelText:Ge="\u53D6\u6D88",okText:ne="\u786E\u5B9A",loading:a=!1,hasOkBtn:y=!0,hasCancelBtn:E=!0,okButtonProps:b={},onCancel:x=()=>{},onOk:z=()=>{},className:ee=""})=>ge.createElement("div",{className:he()(De.buttonFixed,ee)},ge.createElement("div",{className:De.buttonWrap},E&&ge.createElement(be.ZP,{size:"middle",className:`${De.button} mr20`,onClick:x},Ge),y&&ge.createElement(be.ZP,ze({size:"middle",type:"primary",className:`${De.button} mr20`,loading:a,onClick:z},b),ne)))},40783:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return ze}});var ge=de(59301),be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},De=de(92310),Be=de.n(De),he=de(71418),fe=de(2859),me=de(43597),xe=de(94601),Fe=(Oe,Ge,ne)=>new Promise((a,y)=>{var E=z=>{try{x(ne.next(z))}catch(ee){y(ee)}},b=z=>{try{x(ne.throw(z))}catch(ee){y(ee)}},x=z=>z.done?a(z.value):Promise.resolve(z.value).then(E,b);x((ne=ne.apply(Oe,Ge)).next())}),ze=({data:Oe,className:Ge,fullWidth:ne,style:a={},onClose:y,onOk:E,showFullTools:b,noAssociationId:x})=>{const z=(0,ge.useRef)(null),ee=(0,ge.useRef)(null),te=(0,ge.useRef)(null),ae=(0,ge.useRef)(null),[oe,re]=(0,ge.useState)(!1),[Se,ue]=(0,ge.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ge.useEffect)(()=>{te.current||(te.current=document.createElement("style"),document.head.appendChild(te.current)),Oe!=null&&Oe.visible?(document.body.setAttribute("data-custom","y-hidden"),te.current.innerHTML=" html { overflow-y: hidden; }",Oe!=null&&Oe.src&&ve()):(document.body.removeAttribute("data-custom"),te.current&&(document.head.removeChild(te.current),te.current=null))},[Oe==null?void 0:Oe.visible]);const ve=()=>Fe(void 0,null,function*(){re(!0),ue("\u6B63\u5728\u52A0\u8F7D\u4E2D");const st=yield(0,xe.ZJ)(Oe==null?void 0:Oe.src);z.current.src="",z.current.src=st,z.current.onload=function(){vt()},re(!1),ue("")}),Le=()=>{document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",y()},Je=st=>Fe(void 0,null,function*(){re(!0),ue("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Xe=yield(0,me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Oe.title,file:st.dataUrl}});Xe!=null&&Xe.id&&!x?(yield(0,me.ZP)(`/api/attachments/${Oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Xe==null?void 0:Xe.id,settings:JSON.stringify(st.state)}})).status===0&&E():Xe!=null&&Xe.id&&E(Xe),document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",re(!1),ue("")}),rt=()=>{const st=document.querySelector('a[href="https://markerjs.com/"]');st&&st.parentNode&&(st.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(Ke=>{const at=document.querySelector(Ke.name);at&&at.setAttribute("title",Ke.title)})},vt=()=>{ee.current=new fe.hP(z.current),ee.current.targetRoot=ae.current,ee.current.addEventListener("render",Je),ee.current.addEventListener("beforeclose",Le),b&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),Oe!=null&&Oe.snapshotData&&ee.current.restoreState(Oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),rt()},300)};return ge.createElement(ge.Fragment,null,(Oe==null?void 0:Oe.visible)&&ge.createElement(he.Z,{spinning:oe,tip:Se,style:{position:"absolute"}},ge.createElement("div",{ref:ae,className:Be()(be.imageDimensions,Ge,ne?be.fullWidth:""),style:a},ge.createElement("img",{className:be.img,ref:z}))))}},57765:function(pe,$e,de){"use strict";var ge=de(59301),be=de(95237),De=de(43604),Be=de(99313),he=de(3113),fe=de(17410),me=de(32313),xe=de(48136),Fe=de(59301);const Ce=(0,ge.forwardRef)(({callback:ze,showSaveButton:Oe,value:Ge=""},ne)=>{const a=(0,ge.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],E=[{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 @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=ee=>{a.current.setValue(a.current.getValue()+" "+ee.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Fe.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},y.map((ee,te)=>Fe.createElement(De.Z,{flex:"110px",className:me.Z.item},Fe.createElement("div",null,Fe.createElement(fe.Z,{value:`$$${ee.value}$$`}),ee.name),Fe.createElement("div",{className:me.Z.children},ee.children.map((ae,oe)=>Fe.createElement("div",{key:oe},Fe.createElement("h1",null,ae.name),Fe.createElement(be.Z,{gutter:[10,10]},ae.data.map((re,Se)=>Fe.createElement(De.Z,{key:Se,onClick:()=>b(re),className:me.Z.diamond},Fe.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Fe.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},x.map((ee,te)=>Fe.createElement(De.Z,{flex:"110px",className:me.Z.item},Fe.createElement("div",null,Fe.createElement(fe.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),Fe.createElement("div",{className:me.Z.children},ee.children.map((ae,oe)=>Fe.createElement("div",{key:oe},ae.name&&Fe.createElement("h1",null,ae.name),Fe.createElement(be.Z,{gutter:[10,10]},ae.data.map((re,Se)=>Fe.createElement(De.Z,{key:Se,onClick:()=>b(re),className:me.Z.diamond},Fe.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=a.current.getValue();var te=ee.innerText;return ze&&ze(te),te};return(0,ge.useImperativeHandle)(ne,()=>({getData:z})),Fe.createElement("div",{className:me.Z.mathWrap},Fe.createElement(Be.default,{defaultActiveKey:"1",items:E}),Fe.createElement("math-field",{locale:"zh_cn",className:me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},Ge||""),Oe&&Fe.createElement("div",{className:me.Z.button},Fe.createElement(he.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});$e.Z=Ce},57560:function(pe,$e,de){"use strict";de.d($e,{h:function(){return ee}});var ge=de(59301),be=de(57809),De=de(78241),Be=de(3113),he=de(89780),fe=de.n(he),me=de(78318),Ee=de(44084),Fe=Object.defineProperty,Ce=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(te,ae,oe)=>ae in te?Fe(te,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):te[ae]=oe,y=(te,ae)=>{for(var oe in ae||(ae={}))Ge.call(ae,oe)&&a(te,oe,ae[oe]);if(Oe)for(var oe of Oe(ae))ne.call(ae,oe)&&a(te,oe,ae[oe]);return te},x=(te,ae)=>Ce(te,ze(ae));const b=be.default.Option,E={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};$e.Z=({callback:te,onCancel:ae})=>{const[oe,re]=(0,ge.useState)("python");function Se(ve){re(z[ve][1])}function ue(ve){te(ve)}return ge.createElement(De.default,x(y({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ue,style:{width:500}}),ge.createElement(De.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ge.createElement(be.default,{getPopupContainer:ve=>ve.parentNode,onChange:Se},Object.keys(z).map(ve=>ge.createElement(b,{key:ve,value:ve},z[ve][0])))),ge.createElement(De.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ge.createElement(ee,{mode:oe})),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Be.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ee({value:te,onChange:ae,mode:oe,options:re={}}){const Se=(0,ge.useRef)(),[ue,ve]=(0,ge.useState)();return(0,ge.useEffect)(()=>{if(ue){let Le=function(Je){const rt=Je.getValue();ae&&ae(rt)};return ue.on("change",Le),()=>{ue.off("change",Le)}}},[ue,ae]),(0,ge.useEffect)(()=>{ue&&ue.setOption("mode",oe)},[ue,oe]),(0,ge.useEffect)(()=>{ue&&(te!==ue.getValue()||te==="")&&setTimeout(()=>{ue.setValue(te||"")},300)},[ue,te]),(0,ge.useEffect)(()=>{if(Se.current&&!ue){const Le=fe().fromTextArea(Se.current,y({mode:oe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},re));ve(Le)}},[Se.current,ue]),ge.createElement("div",{className:"my-codemirror-container"},ge.createElement("textarea",{ref:Se}))}},55659:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return ra}});var ge=de(59301),be=de(89780),De=de.n(be),Be=de(76374),he=de(78318),fe=de(6313),me=de(25717),Ee=de(99498),Fe=de(25419),Ce=de(67549),ze=de(17410),Oe=({value:le="",className:Pe,showTextOnly:se,showLines:Me,style:Ve={}})=>{const Ze=(0,ge.useMemo)(()=>"",[le]);return ge.createElement(ge.Fragment,null,ge.createElement("div",{dangerouslySetInnerHTML:{__html:Ze}}))},Ge=de(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(le,Pe,se)=>Pe in le?ne(le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:se}):le[Pe]=se,ee=(le,Pe)=>{for(var se in Pe||(Pe={}))b.call(Pe,se)&&z(le,se,Pe[se]);if(x)for(var se of x(Pe))E.call(Pe,se)&&z(le,se,Pe[se]);return le},te=(le,Pe)=>a(le,y(Pe));let ae=[{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 oe({onActionCallback:le,title:Pe,icon:se,actionName:Me,className:Ve="",children:Ze}){function lt(){le(Me)}return Ge.createElement("a",{title:Pe,className:Ve,onClick:lt},Ge.createElement("i",{className:`${se}`}),Ze)}var re=({watch:le,showNullButton:Pe,showNullProgramButton:se,onActionCallback:Me,fullScreen:Ve,insertTemp:Ze,hidetoolBar:lt,extraUse:nt})=>{const ot=[...ae,{title:`${le?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${le?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ge.createElement("ul",{className:"markdown-toolbar-container"},!lt&&ot.map((ft,Wt)=>Ge.createElement("li",{key:Wt},ft.actionName?Ge.createElement(oe,te(ee({},ft),{onActionCallback:Me})):Ge.createElement("span",{className:"v-line"}))),Pe?Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,se?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ze&&Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ze}`,onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),nt&&Ge.createElement("li",null,nt),Ge.createElement("li",{className:"btn-full-screen"},Ge.createElement(oe,{icon:`${Ve?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ve?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Me})))},Se=de(74254),ue=de(78241),ve=de(92832),Le=de(3113),Je=Object.defineProperty,rt=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,at=(le,Pe,se)=>Pe in le?Je(le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:se}):le[Pe]=se,ut=(le,Pe)=>{for(var se in Pe||(Pe={}))Xe.call(Pe,se)&&at(le,se,Pe[se]);if(st)for(var se of st(Pe))Ke.call(Pe,se)&&at(le,se,Pe[se]);return le},qe=(le,Pe)=>rt(le,vt(Pe));const wt={labelCol:{span:4},wrapperCol:{span:20}};var ct=({callback:le,onCancel:Pe})=>{function se(Me){le(Me)}return ge.createElement(ue.default,qe(ut({},wt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:se,style:{width:500}}),ge.createElement(ue.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ge.createElement(ve.default,null)),ge.createElement(ue.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ge.createElement(ve.default,null)),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},ht=de(57560),ce=de(42307),ye=de(43418),Ae=de(95237),Qe=de(40783),Ne=de(59301),Ue=({callback:le,onCancel:Pe})=>{const se=document.createElement("canvas"),Me=se.getContext("2d");se.width=1e3,se.height=800,Me.fillStyle="#ffffff",Me.fillRect(0,0,se.width,se.height);const Ve=se.toDataURL("image/png");return Ne.createElement(ye.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ne.createElement(Ae.Z,{style:{height:"100vh"}},Ne.createElement(Qe.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ve,visible:!0,title:String(Date.now())},onOk:Ze=>{le({src:Ze.url})},onClose:Pe})))},ie=de(12378);function ke(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ke,go.CommandHandler),ke.prototype.canAlignSelection=function(){var le=this.diagram;return!(le===null||le.isReadOnly||le.isModelReadOnly||le.selection.count<2)},ke.prototype.alignLeft=function(){var le=this.diagram;le.startTransaction("aligning left");var Pe=1/0;le.selection.each(function(se){se instanceof go.Link||(Pe=Math.min(se.position.x,Pe))}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(Pe,se.position.y))}),le.commitTransaction("aligning left")},ke.prototype.alignRight=function(){var le=this.diagram;le.startTransaction("aligning right");var Pe=-1/0;le.selection.each(function(se){if(!(se instanceof go.Link)){var Me=se.actualBounds.x+se.actualBounds.width;Pe=Math.max(Me,Pe)}}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(Pe-se.actualBounds.width,se.position.y))}),le.commitTransaction("aligning right")},ke.prototype.alignTop=function(){var le=this.diagram;le.startTransaction("alignTop");var Pe=1/0;le.selection.each(function(se){se instanceof go.Link||(Pe=Math.min(se.position.y,Pe))}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(se.position.x,Pe))}),le.commitTransaction("alignTop")},ke.prototype.alignBottom=function(){var le=this.diagram;le.startTransaction("aligning bottom");var Pe=-1/0;le.selection.each(function(se){if(!(se instanceof go.Link)){var Me=se.actualBounds.y+se.actualBounds.height;Pe=Math.max(Me,Pe)}}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(se.actualBounds.x,Pe-se.actualBounds.height))}),le.commitTransaction("aligning bottom")},ke.prototype.alignCenterX=function(){var le=this.diagram,Pe=le.selection.first();if(Pe){le.startTransaction("aligning Center X");var se=Pe.actualBounds.x+Pe.actualBounds.width/2;le.selection.each(function(Me){Me instanceof go.Link||Me.move(new go.Point(se-Me.actualBounds.width/2,Me.actualBounds.y))}),le.commitTransaction("aligning Center X")}},ke.prototype.alignCenterY=function(){var le=this.diagram,Pe=le.selection.first();if(Pe){le.startTransaction("aligning Center Y");var se=Pe.actualBounds.y+Pe.actualBounds.height/2;le.selection.each(function(Me){Me instanceof go.Link||Me.move(new go.Point(Me.actualBounds.x,se-Me.actualBounds.height/2))}),le.commitTransaction("aligning Center Y")}},ke.prototype.alignColumn=function(le){var Pe=this.diagram;Pe.startTransaction("align Column"),le===void 0&&(le=0),le=parseFloat(le);var se=new Array;Pe.selection.each(function(nt){nt instanceof go.Link||se.push(nt)});for(var Me=0;Me0){for(var nt=Ze.elt(lt-1);nt!==null&&nt.isTreeExpanded&&!nt.isTreeLeaf;){var ot=this._sortTreeChildrenByY(nt);nt=ot.last()}nt!==null&&le.select(nt)}else le.select(Ve)}}else if(se.key==="Down")if(Pe.isTreeExpanded&&!Pe.isTreeLeaf){var Me=this._sortTreeChildrenByY(Pe).first();Me!==null&&le.select(Me)}else for(;Pe!==null;){var Ve=Pe.findTreeParentNode();if(Ve===null)break;var Ze=this._sortTreeChildrenByY(Ve),lt=Ze.indexOf(Pe);if(ltZe.y?1:Ve.xZe.x?1:0}),Pe},ke.prototype.copyToClipboard=function(le){go.CommandHandler.prototype.copyToClipboard.call(this,le),this._lastPasteOffset.set(this.pasteOffset)},ke.prototype.pasteFromClipboard=function(){var le=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(le,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),le},Object.defineProperty(ke.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(le){if(le!=="move"&&le!=="select"&&le!=="scroll"&&le!=="tree"&&le!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+le);this._arrowKeyBehavior=le}}),Object.defineProperty(ke.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(le){if(!(le instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+le);this._pasteOffset.set(le)}});var et=ke,Lt=de(6404),gt=de(43604),Rt=de(43597),it={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ye=de(59301),St=(le,Pe,se)=>new Promise((Me,Ve)=>{var Ze=ot=>{try{nt(se.next(ot))}catch(ft){Ve(ft)}},lt=ot=>{try{nt(se.throw(ot))}catch(ft){Ve(ft)}},nt=ot=>ot.done?Me(ot.value):Promise.resolve(ot.value).then(Ze,lt);nt((se=se.apply(le,Pe)).next())});function Pt({onCancel:le,callback:Pe}){let se=(0,ge.useRef)(),Me=(0,ge.useRef)(),Ve=(0,ge.useRef)(),Ze=(0,ge.useRef)(!1);const lt=(0,ge.useRef)(!1),[nt,ot]=(0,ge.useState)(0);function ft(){const xe=ie.bx.make,dt={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"};se.current=new ie.S0(Me.current,{padding:20,grid:xe(ie.s_,"Grid",xe(ie.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),xe(ie.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:_e=>{var He=_e.diagram.commandHandler.addTopLevelParts(_e.diagram.selection,!0);He||_e.diagram.currentTool.doCancel()},commandHandler:xe(et),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:_e=>{var He=_e.subject;He.location=He.location.copy().snapToGridPoint(_e.diagram.grid.gridOrigin,_e.diagram.grid.gridCellSize),setTimeout(()=>{_e.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:_e=>{var He=_e.subject;setTimeout(()=>{_e.diagram.commandHandler.editTextBlock()})},LinkRelinked:_e=>{var He=_e.parameter.part;He.invalidateConnectedLinks();var tt=_e.subject;_e.diagram.toolManager.linkingTool.isForwards?tt.toNode.invalidateConnectedLinks():tt.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),se.current.nodeTemplate=xe(ie.NB,"Auto",{locationSpot:ie.z6.Center,locationObjectName:"SHAPE",desiredSize:new ie.$u(120,60),minSize:new ie.$u(40,40),resizable:!0,resizeCellSize:new ie.$u(10,10),rotatable:!0},new ie.KX("location","loc",ie.E9.parse).makeTwoWay(ie.E9.stringify),new ie.KX("desiredSize","size",ie.$u.parse).makeTwoWay(ie.$u.stringify),xe(ie.bn,{name:"SHAPE",fill:dt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ie.z6.AllSides,toSpot:ie.z6.AllSides},new ie.KX("figure"),new ie.KX("fill"),new ie.KX("stroke","borderColor"),new ie.KX("strokeWidth","thickness"),new ie.KX("strokeDashArray","dash")),xe(ie.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),xe(ie.al,{margin:1,textAlign:"center",overflow:ie.al.OverflowEllipsis,editable:!0},new ie.KX("text").makeTwoWay(),new ie.KX("stroke","color"))),se.current.nodeTemplate.toolTip=xe("ToolTip",xe(ie.s_,"Vertical",{maxSize:new ie.$u(200,NaN)},xe(ie.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ie.KX("text")),xe(ie.al,{font:"10pt sans-serif",textAlign:"center"},new ie.KX("text","details"))));function $t(_e,He){var tt=(je,pt)=>{je.handled=!0,je.diagram.model.commit(bt=>{var Nt=pt.part.adornedPart,Ot=new ie.E9().setRectSpot(Nt.actualBounds,_e);Ot.subtract(Nt.location),Ot.scale(2,2),Ot.x+=Math.sign(Ot.x)*130,Ot.y+=Math.sign(Ot.y)*130,Ot.add(Nt.location),Ot.snapToGridPoint(je.diagram.grid.gridOrigin,je.diagram.grid.gridCellSize);var Ht=bt.copyNodeData(Nt.data);bt.setGroupKeyForNodeData(Ht,bt.getGroupKeyForNodeData(Nt.data)),bt.addNodeData(Ht);var Dn={from:Nt.key,to:bt.getKeyForNodeData(Ht)};bt.addLinkData(Dn);var dn=je.diagram.findNodeForData(Ht);dn.location=Ot,je.diagram.select(dn),setTimeout(()=>{je.diagram.commandHandler.editTextBlock()},20)})};return xe(ie.bn,{figure:He,alignment:_e,alignmentFocus:_e.opposite(),width:_e.equals(ie.z6.Top)||_e.equals(ie.z6.Bottom)?25:18,height:_e.equals(ie.z6.Top)||_e.equals(ie.z6.Bottom)?18:25,fill:"orange",stroke:dt.white,strokeWidth:4,mouseEnter:(je,pt)=>pt.fill="dodgerblue",mouseLeave:(je,pt)=>pt.fill="orange",isActionable:!0,click:tt,contextClick:tt})}function Ut(_e){return xe(ie.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:(He,tt)=>tt.fill="dodgerblue",mouseLeave:(He,tt)=>tt.fill="orange",click:(He,tt)=>{He.diagram.commandHandler.showContextMenu(tt.part.adornedPart)}},_e||{})}se.current.nodeTemplate.selectionAdornmentTemplate=xe(ie.uz,"Spot",xe(ie.Vm,{padding:10}),$t(ie.z6.Top,"TriangleUp"),$t(ie.z6.Left,"TriangleLeft"),$t(ie.z6.Right,"TriangleRight"),$t(ie.z6.Bottom,"TriangleDown"),Ut({alignment:new ie.z6(.75,0)}));function _t(_e,He){return(tt,je)=>{tt.handled=!0,tt.diagram.model.commit(pt=>{pt.set(je.part.adornedPart.data,_e,He)})}}function xt(_e,He){return He||(He="color"),xe(ie.bn,{width:16,height:16,stroke:"lightgray",fill:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.stroke="dodgerblue",mouseLeave:(tt,je)=>je.stroke="lightgray",click:_t(He,_e),contextClick:_t(He,_e)})}function nn(){return[xe("ContextMenuButton",xe(ie.s_,"Horizontal",xt(dt.white,"fill"),xt(dt.beige,"fill"),xt(dt.extralightblue,"fill"),xt(dt.extralightred,"fill"))),xe("ContextMenuButton",xe(ie.s_,"Horizontal",xt(dt.lightgray,"fill"),xt(dt.lightgreen,"fill"),xt(dt.lightblue,"fill"),xt(dt.lightred,"fill")))]}function an(){return[xe("ContextMenuButton",xe(ie.s_,"Horizontal",xt(dt.black),xt(dt.green),xt(dt.blue),xt(dt.red))),xe("ContextMenuButton",xe(ie.s_,"Horizontal",xt(dt.white),xt(dt.magenta),xt(dt.purple),xt(dt.orange)))]}function on(_e,He){return He||(He="thickness"),xe(ie.bn,"LineH",{width:16,height:16,strokeWidth:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:_t(He,_e),contextClick:_t(He,_e)})}function Pn(_e,He){return He||(He="dash"),xe(ie.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:_t(He,_e),contextClick:_t(He,_e)})}function gn(){return[xe("ContextMenuButton",xe(ie.s_,"Horizontal",on(1),on(2),on(3),on(4))),xe("ContextMenuButton",xe(ie.s_,"Horizontal",Pn(null),Pn([2,4]),Pn([4,4])))]}function Dt(_e,He){return He||(He="figure"),xe(ie.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.fill="dodgerblue",mouseLeave:(tt,je)=>je.fill="lightgray",click:_t(He,_e),contextClick:_t(He,_e)})}se.current.nodeTemplate.contextMenu=xe("ContextMenu",xe("ContextMenuButton",xe(ie.s_,"Horizontal",Dt("Rectangle"),Dt("RoundedRectangle"),Dt("Ellipse"),Dt("Diamond"))),xe("ContextMenuButton",xe(ie.s_,"Horizontal",Dt("Parallelogram2"),Dt("ManualOperation"),Dt("Procedure"),Dt("Cylinder1"))),xe("ContextMenuButton",xe(ie.s_,"Horizontal",Dt("Terminator"),Dt("CreateRequest"),Dt("Document"),Dt("TriangleDown"))),nn(),an(),gn()),se.current.groupTemplate=xe(ie.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ie.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(_e,He)=>{var tt=He.addMembers(He.diagram.selection,!0);tt||He.diagram.currentTool.doCancel()},avoidable:!1},new ie.KX("location","loc",ie.E9.parse).makeTwoWay(ie.E9.stringify),xe(ie.s_,"Auto",{name:"BODY"},xe(ie.bn,{parameter1:10,fill:dt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ie.z6.AllSides,toSpot:ie.z6.AllSides},new ie.KX("fill"),new ie.KX("stroke","color"),new ie.KX("strokeWidth","thickness"),new ie.KX("strokeDashArray","dash")),xe(ie.Vm,{background:"transparent",margin:20})),xe(ie.al,{alignment:ie.z6.Top,alignmentFocus:ie.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ie.KX("text"),new ie.KX("stroke","color"))),se.current.groupTemplate.selectionAdornmentTemplate=xe(ie.uz,"Spot",xe(ie.s_,"Auto",xe(ie.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),xe(ie.Vm,{margin:1.5})),Ut({alignment:ie.z6.TopRight,alignmentFocus:ie.z6.BottomRight})),se.current.groupTemplate.contextMenu=xe("ContextMenu",nn(),an(),gn()),se.current.linkTemplate=xe(ie.rU,{layerName:"Foreground",routing:ie.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ie.KX("fromSpot","fromSpot",ie.z6.parse),new ie.KX("toSpot","toSpot",ie.z6.parse),new ie.KX("fromShortLength","dir",_e=>_e>=1?10:0),new ie.KX("toShortLength","dir",_e=>_e>=1?10:0),new ie.KX("points").makeTwoWay(),xe(ie.bn,{strokeWidth:2},new ie.KX("stroke","color"),new ie.KX("strokeWidth","thickness"),new ie.KX("strokeDashArray","dash")),xe(ie.bn,{segmentIndex:0,segmentOffset:new ie.E9(15,0),segmentOrientation:ie.rU.OrientAlong,alignmentFocus:ie.z6.Right,figure:"circle",width:10,strokeWidth:0},new ie.KX("fill","color"),new ie.KX("visible","dir",_e=>_e===1)),xe(ie.bn,{segmentIndex:-1,segmentOffset:new ie.E9(-10,6),segmentOrientation:ie.rU.OrientPlus90,alignmentFocus:ie.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ie.KX("fill","color"),new ie.KX("visible","dir",_e=>_e>=1),new ie.KX("width","thickness",_e=>7+3*_e),new ie.KX("height","thickness",_e=>7+3*_e),new ie.KX("segmentOffset","thickness",_e=>new ie.E9(-15,4+1.5*_e))),xe(ie.bn,{segmentIndex:0,segmentOffset:new ie.E9(15,-6),segmentOrientation:ie.rU.OrientMinus90,alignmentFocus:ie.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ie.KX("fill","color"),new ie.KX("visible","dir",_e=>_e===2),new ie.KX("width","thickness",_e=>7+3*_e),new ie.KX("height","thickness",_e=>7+3*_e),new ie.KX("segmentOffset","thickness",_e=>new ie.E9(-15,4+1.5*_e))),xe(ie.al,{alignmentFocus:new ie.z6(0,1,-4,0),editable:!0},new ie.KX("text").makeTwoWay(),new ie.KX("stroke","color"))),se.current.linkTemplate.selectionAdornmentTemplate=xe(ie.uz,xe(ie.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:cn(2)},new ie.KX("pathPattern","thickness",cn)),Ut({alignmentFocus:new ie.z6(0,0,-6,-4)}));function cn(_e){return xe(ie.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(_e+4).toString()+" H3"})}function en(_e){var He="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return _e===0?He="M0 0 M16 16 M0 8 L16 8":_e===2&&(He="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),xe(ie.bn,{geometryString:He,margin:2,background:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:_t("dir",_e),contextClick:_t("dir",_e)})}function vn(_e){var He=(tt,je)=>{tt.handled=!0,tt.diagram.model.commit(pt=>{var bt=je.part.adornedPart;pt.set(bt.data,_e?"toSpot":"fromSpot",ie.z6.stringify(ie.z6.AllSides)),(_e?bt.toNode:bt.fromNode).invalidateConnectedLinks()})};return xe(ie.bn,{width:12,height:12,fill:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:He,contextClick:He})}function we(_e,He){var tt=0,je=ie.z6.RightSide;_e.equals(ie.z6.Top)?(tt=270,je=ie.z6.TopSide):_e.equals(ie.z6.Left)?(tt=180,je=ie.z6.LeftSide):_e.equals(ie.z6.Bottom)&&(tt=90,je=ie.z6.BottomSide),He||(tt-=180);var pt=(bt,Nt)=>{bt.handled=!0,bt.diagram.model.commit(Ot=>{var Ht=Nt.part.adornedPart;Ot.set(Ht.data,He?"toSpot":"fromSpot",ie.z6.stringify(je)),(He?Ht.toNode:Ht.fromNode).invalidateConnectedLinks()})};return xe(ie.bn,{alignment:_e,alignmentFocus:_e.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:tt,background:"transparent",mouseEnter:(bt,Nt)=>Nt.background="dodgerblue",mouseLeave:(bt,Nt)=>Nt.background="transparent",click:pt,contextClick:pt})}se.current.linkTemplate.contextMenu=xe("ContextMenu",an(),gn(),xe("ContextMenuButton",xe(ie.s_,"Horizontal",en(0),en(1),en(2))),xe("ContextMenuButton",xe(ie.s_,"Horizontal",xe(ie.s_,"Spot",vn(!1),we(ie.z6.Top,!1),we(ie.z6.Left,!1),we(ie.z6.Right,!1),we(ie.z6.Bottom,!1)),xe(ie.s_,"Spot",{margin:new ie.Zt(0,0,0,2)},vn(!0),we(ie.z6.Top,!0),we(ie.z6.Left,!0),we(ie.z6.Right,!0),we(ie.z6.Bottom,!0)))));const Tn=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],b=ee=>{a.current.setValue(a.current.getValue()+" "+ee.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Fe.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},y.map((ee,te)=>Fe.createElement(De.Z,{flex:"110px",className:me.Z.item},Fe.createElement("div",null,Fe.createElement(fe.Z,{value:`$$${ee.value}$$`}),ee.name),Fe.createElement("div",{className:me.Z.children},ee.children.map((ae,oe)=>Fe.createElement("div",{key:oe},Fe.createElement("h1",null,ae.name),Fe.createElement(be.Z,{gutter:[10,10]},ae.data.map((re,Se)=>Fe.createElement(De.Z,{key:Se,onClick:()=>b(re),className:me.Z.diamond},Fe.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Fe.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},E.map((ee,te)=>Fe.createElement(De.Z,{flex:"110px",className:me.Z.item},Fe.createElement("div",null,Fe.createElement(fe.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),Fe.createElement("div",{className:me.Z.children},ee.children.map((ae,oe)=>Fe.createElement("div",{key:oe},ae.name&&Fe.createElement("h1",null,ae.name),Fe.createElement(be.Z,{gutter:[10,10]},ae.data.map((re,Se)=>Fe.createElement(De.Z,{key:Se,onClick:()=>b(re),className:me.Z.diamond},Fe.createElement(fe.Z,{value:"`$$"+re.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=a.current.getValue();var te=ee.innerText;return ze&&ze(te),te};return(0,ge.useImperativeHandle)(ne,()=>({getData:z})),Fe.createElement("div",{className:me.Z.mathWrap},Fe.createElement(Be.default,{defaultActiveKey:"1",items:x}),Fe.createElement("math-field",{locale:"zh_cn",className:me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},Ge||""),Oe&&Fe.createElement("div",{className:me.Z.button},Fe.createElement(he.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});$e.Z=Ce},57560:function(pe,$e,de){"use strict";de.d($e,{h:function(){return ee}});var ge=de(59301),be=de(57809),De=de(78241),Be=de(3113),he=de(89780),fe=de.n(he),me=de(78318),xe=de(44084),Fe=Object.defineProperty,Ce=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(te,ae,oe)=>ae in te?Fe(te,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):te[ae]=oe,y=(te,ae)=>{for(var oe in ae||(ae={}))Ge.call(ae,oe)&&a(te,oe,ae[oe]);if(Oe)for(var oe of Oe(ae))ne.call(ae,oe)&&a(te,oe,ae[oe]);return te},E=(te,ae)=>Ce(te,ze(ae));const b=be.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={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"]};$e.Z=({callback:te,onCancel:ae})=>{const[oe,re]=(0,ge.useState)("python");function Se(ve){re(z[ve][1])}function ue(ve){te(ve)}return ge.createElement(De.default,E(y({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ue,style:{width:500}}),ge.createElement(De.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ge.createElement(be.default,{getPopupContainer:ve=>ve.parentNode,onChange:Se},Object.keys(z).map(ve=>ge.createElement(b,{key:ve,value:ve},z[ve][0])))),ge.createElement(De.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ge.createElement(ee,{mode:oe})),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Be.ZP,{type:"ghost",onClick:ae},"\u53D6\u6D88")))};function ee({value:te,onChange:ae,mode:oe,options:re={}}){const Se=(0,ge.useRef)(),[ue,ve]=(0,ge.useState)();return(0,ge.useEffect)(()=>{if(ue){let Le=function(Je){const rt=Je.getValue();ae&&ae(rt)};return ue.on("change",Le),()=>{ue.off("change",Le)}}},[ue,ae]),(0,ge.useEffect)(()=>{ue&&ue.setOption("mode",oe)},[ue,oe]),(0,ge.useEffect)(()=>{ue&&(te!==ue.getValue()||te==="")&&setTimeout(()=>{ue.setValue(te||"")},300)},[ue,te]),(0,ge.useEffect)(()=>{if(Se.current&&!ue){const Le=fe().fromTextArea(Se.current,y({mode:oe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},re));ve(Le)}},[Se.current,ue]),ge.createElement("div",{className:"my-codemirror-container"},ge.createElement("textarea",{ref:Se}))}},55659:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return ra}});var ge=de(59301),be=de(89780),De=de.n(be),Be=de(76374),he=de(78318),fe=de(6313),me=de(25717),xe=de(99498),Fe=de(25419),Ce=de(67549),ze=de(17410),Oe=({value:le="",className:Pe,showTextOnly:se,showLines:Me,style:Ve={}})=>{const Ze=(0,ge.useMemo)(()=>"",[le]);return ge.createElement(ge.Fragment,null,ge.createElement("div",{dangerouslySetInnerHTML:{__html:Ze}}))},Ge=de(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(le,Pe,se)=>Pe in le?ne(le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:se}):le[Pe]=se,ee=(le,Pe)=>{for(var se in Pe||(Pe={}))b.call(Pe,se)&&z(le,se,Pe[se]);if(E)for(var se of E(Pe))x.call(Pe,se)&&z(le,se,Pe[se]);return le},te=(le,Pe)=>a(le,y(Pe));let ae=[{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 oe({onActionCallback:le,title:Pe,icon:se,actionName:Me,className:Ve="",children:Ze}){function lt(){le(Me)}return Ge.createElement("a",{title:Pe,className:Ve,onClick:lt},Ge.createElement("i",{className:`${se}`}),Ze)}var re=({watch:le,showNullButton:Pe,showNullProgramButton:se,onActionCallback:Me,fullScreen:Ve,insertTemp:Ze,hidetoolBar:lt,extraUse:nt})=>{const ot=[...ae,{title:`${le?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${le?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ge.createElement("ul",{className:"markdown-toolbar-container"},!lt&&ot.map((ft,Wt)=>Ge.createElement("li",{key:Wt},ft.actionName?Ge.createElement(oe,te(ee({},ft),{onActionCallback:Me})):Ge.createElement("span",{className:"v-line"}))),Pe?Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,se?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Ze&&Ge.createElement("li",null,Ge.createElement(oe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Ze}`,onActionCallback:Me},Ge.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),nt&&Ge.createElement("li",null,nt),Ge.createElement("li",{className:"btn-full-screen"},Ge.createElement(oe,{icon:`${Ve?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ve?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Me})))},Se=de(74254),ue=de(78241),ve=de(92832),Le=de(3113),Je=Object.defineProperty,rt=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,at=(le,Pe,se)=>Pe in le?Je(le,Pe,{enumerable:!0,configurable:!0,writable:!0,value:se}):le[Pe]=se,ut=(le,Pe)=>{for(var se in Pe||(Pe={}))Xe.call(Pe,se)&&at(le,se,Pe[se]);if(st)for(var se of st(Pe))Ke.call(Pe,se)&&at(le,se,Pe[se]);return le},qe=(le,Pe)=>rt(le,vt(Pe));const wt={labelCol:{span:4},wrapperCol:{span:20}};var ct=({callback:le,onCancel:Pe})=>{function se(Me){le(Me)}return ge.createElement(ue.default,qe(ut({},wt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:se,style:{width:500}}),ge.createElement(ue.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ge.createElement(ve.default,null)),ge.createElement(ue.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ge.createElement(ve.default,null)),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},ht=de(57560),ce=de(42307),ye=de(43418),Ae=de(95237),Qe=de(40783),Ne=de(59301),Ue=({callback:le,onCancel:Pe})=>{const se=document.createElement("canvas"),Me=se.getContext("2d");se.width=1e3,se.height=800,Me.fillStyle="#ffffff",Me.fillRect(0,0,se.width,se.height);const Ve=se.toDataURL("image/png");return Ne.createElement(ye.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Ne.createElement(Ae.Z,{style:{height:"100vh"}},Ne.createElement(Qe.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ve,visible:!0,title:String(Date.now())},onOk:Ze=>{le({src:Ze.url})},onClose:Pe})))},ie=de(12378);function ke(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ke,go.CommandHandler),ke.prototype.canAlignSelection=function(){var le=this.diagram;return!(le===null||le.isReadOnly||le.isModelReadOnly||le.selection.count<2)},ke.prototype.alignLeft=function(){var le=this.diagram;le.startTransaction("aligning left");var Pe=1/0;le.selection.each(function(se){se instanceof go.Link||(Pe=Math.min(se.position.x,Pe))}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(Pe,se.position.y))}),le.commitTransaction("aligning left")},ke.prototype.alignRight=function(){var le=this.diagram;le.startTransaction("aligning right");var Pe=-1/0;le.selection.each(function(se){if(!(se instanceof go.Link)){var Me=se.actualBounds.x+se.actualBounds.width;Pe=Math.max(Me,Pe)}}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(Pe-se.actualBounds.width,se.position.y))}),le.commitTransaction("aligning right")},ke.prototype.alignTop=function(){var le=this.diagram;le.startTransaction("alignTop");var Pe=1/0;le.selection.each(function(se){se instanceof go.Link||(Pe=Math.min(se.position.y,Pe))}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(se.position.x,Pe))}),le.commitTransaction("alignTop")},ke.prototype.alignBottom=function(){var le=this.diagram;le.startTransaction("aligning bottom");var Pe=-1/0;le.selection.each(function(se){if(!(se instanceof go.Link)){var Me=se.actualBounds.y+se.actualBounds.height;Pe=Math.max(Me,Pe)}}),le.selection.each(function(se){se instanceof go.Link||se.move(new go.Point(se.actualBounds.x,Pe-se.actualBounds.height))}),le.commitTransaction("aligning bottom")},ke.prototype.alignCenterX=function(){var le=this.diagram,Pe=le.selection.first();if(Pe){le.startTransaction("aligning Center X");var se=Pe.actualBounds.x+Pe.actualBounds.width/2;le.selection.each(function(Me){Me instanceof go.Link||Me.move(new go.Point(se-Me.actualBounds.width/2,Me.actualBounds.y))}),le.commitTransaction("aligning Center X")}},ke.prototype.alignCenterY=function(){var le=this.diagram,Pe=le.selection.first();if(Pe){le.startTransaction("aligning Center Y");var se=Pe.actualBounds.y+Pe.actualBounds.height/2;le.selection.each(function(Me){Me instanceof go.Link||Me.move(new go.Point(Me.actualBounds.x,se-Me.actualBounds.height/2))}),le.commitTransaction("aligning Center Y")}},ke.prototype.alignColumn=function(le){var Pe=this.diagram;Pe.startTransaction("align Column"),le===void 0&&(le=0),le=parseFloat(le);var se=new Array;Pe.selection.each(function(nt){nt instanceof go.Link||se.push(nt)});for(var Me=0;Me0){for(var nt=Ze.elt(lt-1);nt!==null&&nt.isTreeExpanded&&!nt.isTreeLeaf;){var ot=this._sortTreeChildrenByY(nt);nt=ot.last()}nt!==null&&le.select(nt)}else le.select(Ve)}}else if(se.key==="Down")if(Pe.isTreeExpanded&&!Pe.isTreeLeaf){var Me=this._sortTreeChildrenByY(Pe).first();Me!==null&&le.select(Me)}else for(;Pe!==null;){var Ve=Pe.findTreeParentNode();if(Ve===null)break;var Ze=this._sortTreeChildrenByY(Ve),lt=Ze.indexOf(Pe);if(ltZe.y?1:Ve.xZe.x?1:0}),Pe},ke.prototype.copyToClipboard=function(le){go.CommandHandler.prototype.copyToClipboard.call(this,le),this._lastPasteOffset.set(this.pasteOffset)},ke.prototype.pasteFromClipboard=function(){var le=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(le,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),le},Object.defineProperty(ke.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(le){if(le!=="move"&&le!=="select"&&le!=="scroll"&&le!=="tree"&&le!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+le);this._arrowKeyBehavior=le}}),Object.defineProperty(ke.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(le){if(!(le instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+le);this._pasteOffset.set(le)}});var et=ke,Lt=de(6404),gt=de(43604),Rt=de(43597),it={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ye=de(59301),St=(le,Pe,se)=>new Promise((Me,Ve)=>{var Ze=ot=>{try{nt(se.next(ot))}catch(ft){Ve(ft)}},lt=ot=>{try{nt(se.throw(ot))}catch(ft){Ve(ft)}},nt=ot=>ot.done?Me(ot.value):Promise.resolve(ot.value).then(Ze,lt);nt((se=se.apply(le,Pe)).next())});function Pt({onCancel:le,callback:Pe}){let se=(0,ge.useRef)(),Me=(0,ge.useRef)(),Ve=(0,ge.useRef)(),Ze=(0,ge.useRef)(!1);const lt=(0,ge.useRef)(!1),[nt,ot]=(0,ge.useState)(0);function ft(){const Ee=ie.bx.make,dt={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"};se.current=new ie.S0(Me.current,{padding:20,grid:Ee(ie.s_,"Grid",Ee(ie.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ee(ie.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:_e=>{var He=_e.diagram.commandHandler.addTopLevelParts(_e.diagram.selection,!0);He||_e.diagram.currentTool.doCancel()},commandHandler:Ee(et),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:_e=>{var He=_e.subject;He.location=He.location.copy().snapToGridPoint(_e.diagram.grid.gridOrigin,_e.diagram.grid.gridCellSize),setTimeout(()=>{_e.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:_e=>{var He=_e.subject;setTimeout(()=>{_e.diagram.commandHandler.editTextBlock()})},LinkRelinked:_e=>{var He=_e.parameter.part;He.invalidateConnectedLinks();var tt=_e.subject;_e.diagram.toolManager.linkingTool.isForwards?tt.toNode.invalidateConnectedLinks():tt.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),se.current.nodeTemplate=Ee(ie.NB,"Auto",{locationSpot:ie.z6.Center,locationObjectName:"SHAPE",desiredSize:new ie.$u(120,60),minSize:new ie.$u(40,40),resizable:!0,resizeCellSize:new ie.$u(10,10),rotatable:!0},new ie.KX("location","loc",ie.E9.parse).makeTwoWay(ie.E9.stringify),new ie.KX("desiredSize","size",ie.$u.parse).makeTwoWay(ie.$u.stringify),Ee(ie.bn,{name:"SHAPE",fill:dt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ie.z6.AllSides,toSpot:ie.z6.AllSides},new ie.KX("figure"),new ie.KX("fill"),new ie.KX("stroke","borderColor"),new ie.KX("strokeWidth","thickness"),new ie.KX("strokeDashArray","dash")),Ee(ie.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ee(ie.al,{margin:1,textAlign:"center",overflow:ie.al.OverflowEllipsis,editable:!0},new ie.KX("text").makeTwoWay(),new ie.KX("stroke","color"))),se.current.nodeTemplate.toolTip=Ee("ToolTip",Ee(ie.s_,"Vertical",{maxSize:new ie.$u(200,NaN)},Ee(ie.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ie.KX("text")),Ee(ie.al,{font:"10pt sans-serif",textAlign:"center"},new ie.KX("text","details"))));function $t(_e,He){var tt=(je,pt)=>{je.handled=!0,je.diagram.model.commit(bt=>{var Nt=pt.part.adornedPart,Ot=new ie.E9().setRectSpot(Nt.actualBounds,_e);Ot.subtract(Nt.location),Ot.scale(2,2),Ot.x+=Math.sign(Ot.x)*130,Ot.y+=Math.sign(Ot.y)*130,Ot.add(Nt.location),Ot.snapToGridPoint(je.diagram.grid.gridOrigin,je.diagram.grid.gridCellSize);var Ht=bt.copyNodeData(Nt.data);bt.setGroupKeyForNodeData(Ht,bt.getGroupKeyForNodeData(Nt.data)),bt.addNodeData(Ht);var Dn={from:Nt.key,to:bt.getKeyForNodeData(Ht)};bt.addLinkData(Dn);var dn=je.diagram.findNodeForData(Ht);dn.location=Ot,je.diagram.select(dn),setTimeout(()=>{je.diagram.commandHandler.editTextBlock()},20)})};return Ee(ie.bn,{figure:He,alignment:_e,alignmentFocus:_e.opposite(),width:_e.equals(ie.z6.Top)||_e.equals(ie.z6.Bottom)?25:18,height:_e.equals(ie.z6.Top)||_e.equals(ie.z6.Bottom)?18:25,fill:"orange",stroke:dt.white,strokeWidth:4,mouseEnter:(je,pt)=>pt.fill="dodgerblue",mouseLeave:(je,pt)=>pt.fill="orange",isActionable:!0,click:tt,contextClick:tt})}function Ut(_e){return Ee(ie.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:(He,tt)=>tt.fill="dodgerblue",mouseLeave:(He,tt)=>tt.fill="orange",click:(He,tt)=>{He.diagram.commandHandler.showContextMenu(tt.part.adornedPart)}},_e||{})}se.current.nodeTemplate.selectionAdornmentTemplate=Ee(ie.uz,"Spot",Ee(ie.Vm,{padding:10}),$t(ie.z6.Top,"TriangleUp"),$t(ie.z6.Left,"TriangleLeft"),$t(ie.z6.Right,"TriangleRight"),$t(ie.z6.Bottom,"TriangleDown"),Ut({alignment:new ie.z6(.75,0)}));function _t(_e,He){return(tt,je)=>{tt.handled=!0,tt.diagram.model.commit(pt=>{pt.set(je.part.adornedPart.data,_e,He)})}}function Et(_e,He){return He||(He="color"),Ee(ie.bn,{width:16,height:16,stroke:"lightgray",fill:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.stroke="dodgerblue",mouseLeave:(tt,je)=>je.stroke="lightgray",click:_t(He,_e),contextClick:_t(He,_e)})}function nn(){return[Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Et(dt.white,"fill"),Et(dt.beige,"fill"),Et(dt.extralightblue,"fill"),Et(dt.extralightred,"fill"))),Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Et(dt.lightgray,"fill"),Et(dt.lightgreen,"fill"),Et(dt.lightblue,"fill"),Et(dt.lightred,"fill")))]}function an(){return[Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Et(dt.black),Et(dt.green),Et(dt.blue),Et(dt.red))),Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Et(dt.white),Et(dt.magenta),Et(dt.purple),Et(dt.orange)))]}function on(_e,He){return He||(He="thickness"),Ee(ie.bn,"LineH",{width:16,height:16,strokeWidth:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:_t(He,_e),contextClick:_t(He,_e)})}function Pn(_e,He){return He||(He="dash"),Ee(ie.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:_t(He,_e),contextClick:_t(He,_e)})}function gn(){return[Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",on(1),on(2),on(3),on(4))),Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Pn(null),Pn([2,4]),Pn([4,4])))]}function Dt(_e,He){return He||(He="figure"),Ee(ie.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:_e,margin:1,background:"transparent",mouseEnter:(tt,je)=>je.fill="dodgerblue",mouseLeave:(tt,je)=>je.fill="lightgray",click:_t(He,_e),contextClick:_t(He,_e)})}se.current.nodeTemplate.contextMenu=Ee("ContextMenu",Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Dt("Rectangle"),Dt("RoundedRectangle"),Dt("Ellipse"),Dt("Diamond"))),Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Dt("Parallelogram2"),Dt("ManualOperation"),Dt("Procedure"),Dt("Cylinder1"))),Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Dt("Terminator"),Dt("CreateRequest"),Dt("Document"),Dt("TriangleDown"))),nn(),an(),gn()),se.current.groupTemplate=Ee(ie.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ie.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(_e,He)=>{var tt=He.addMembers(He.diagram.selection,!0);tt||He.diagram.currentTool.doCancel()},avoidable:!1},new ie.KX("location","loc",ie.E9.parse).makeTwoWay(ie.E9.stringify),Ee(ie.s_,"Auto",{name:"BODY"},Ee(ie.bn,{parameter1:10,fill:dt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ie.z6.AllSides,toSpot:ie.z6.AllSides},new ie.KX("fill"),new ie.KX("stroke","color"),new ie.KX("strokeWidth","thickness"),new ie.KX("strokeDashArray","dash")),Ee(ie.Vm,{background:"transparent",margin:20})),Ee(ie.al,{alignment:ie.z6.Top,alignmentFocus:ie.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ie.KX("text"),new ie.KX("stroke","color"))),se.current.groupTemplate.selectionAdornmentTemplate=Ee(ie.uz,"Spot",Ee(ie.s_,"Auto",Ee(ie.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ee(ie.Vm,{margin:1.5})),Ut({alignment:ie.z6.TopRight,alignmentFocus:ie.z6.BottomRight})),se.current.groupTemplate.contextMenu=Ee("ContextMenu",nn(),an(),gn()),se.current.linkTemplate=Ee(ie.rU,{layerName:"Foreground",routing:ie.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ie.KX("fromSpot","fromSpot",ie.z6.parse),new ie.KX("toSpot","toSpot",ie.z6.parse),new ie.KX("fromShortLength","dir",_e=>_e>=1?10:0),new ie.KX("toShortLength","dir",_e=>_e>=1?10:0),new ie.KX("points").makeTwoWay(),Ee(ie.bn,{strokeWidth:2},new ie.KX("stroke","color"),new ie.KX("strokeWidth","thickness"),new ie.KX("strokeDashArray","dash")),Ee(ie.bn,{segmentIndex:0,segmentOffset:new ie.E9(15,0),segmentOrientation:ie.rU.OrientAlong,alignmentFocus:ie.z6.Right,figure:"circle",width:10,strokeWidth:0},new ie.KX("fill","color"),new ie.KX("visible","dir",_e=>_e===1)),Ee(ie.bn,{segmentIndex:-1,segmentOffset:new ie.E9(-10,6),segmentOrientation:ie.rU.OrientPlus90,alignmentFocus:ie.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ie.KX("fill","color"),new ie.KX("visible","dir",_e=>_e>=1),new ie.KX("width","thickness",_e=>7+3*_e),new ie.KX("height","thickness",_e=>7+3*_e),new ie.KX("segmentOffset","thickness",_e=>new ie.E9(-15,4+1.5*_e))),Ee(ie.bn,{segmentIndex:0,segmentOffset:new ie.E9(15,-6),segmentOrientation:ie.rU.OrientMinus90,alignmentFocus:ie.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ie.KX("fill","color"),new ie.KX("visible","dir",_e=>_e===2),new ie.KX("width","thickness",_e=>7+3*_e),new ie.KX("height","thickness",_e=>7+3*_e),new ie.KX("segmentOffset","thickness",_e=>new ie.E9(-15,4+1.5*_e))),Ee(ie.al,{alignmentFocus:new ie.z6(0,1,-4,0),editable:!0},new ie.KX("text").makeTwoWay(),new ie.KX("stroke","color"))),se.current.linkTemplate.selectionAdornmentTemplate=Ee(ie.uz,Ee(ie.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:cn(2)},new ie.KX("pathPattern","thickness",cn)),Ut({alignmentFocus:new ie.z6(0,0,-6,-4)}));function cn(_e){return Ee(ie.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(_e+4).toString()+" H3"})}function en(_e){var He="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return _e===0?He="M0 0 M16 16 M0 8 L16 8":_e===2&&(He="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ee(ie.bn,{geometryString:He,margin:2,background:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:_t("dir",_e),contextClick:_t("dir",_e)})}function vn(_e){var He=(tt,je)=>{tt.handled=!0,tt.diagram.model.commit(pt=>{var bt=je.part.adornedPart;pt.set(bt.data,_e?"toSpot":"fromSpot",ie.z6.stringify(ie.z6.AllSides)),(_e?bt.toNode:bt.fromNode).invalidateConnectedLinks()})};return Ee(ie.bn,{width:12,height:12,fill:"transparent",mouseEnter:(tt,je)=>je.background="dodgerblue",mouseLeave:(tt,je)=>je.background="transparent",click:He,contextClick:He})}function we(_e,He){var tt=0,je=ie.z6.RightSide;_e.equals(ie.z6.Top)?(tt=270,je=ie.z6.TopSide):_e.equals(ie.z6.Left)?(tt=180,je=ie.z6.LeftSide):_e.equals(ie.z6.Bottom)&&(tt=90,je=ie.z6.BottomSide),He||(tt-=180);var pt=(bt,Nt)=>{bt.handled=!0,bt.diagram.model.commit(Ot=>{var Ht=Nt.part.adornedPart;Ot.set(Ht.data,He?"toSpot":"fromSpot",ie.z6.stringify(je)),(He?Ht.toNode:Ht.fromNode).invalidateConnectedLinks()})};return Ee(ie.bn,{alignment:_e,alignmentFocus:_e.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:tt,background:"transparent",mouseEnter:(bt,Nt)=>Nt.background="dodgerblue",mouseLeave:(bt,Nt)=>Nt.background="transparent",click:pt,contextClick:pt})}se.current.linkTemplate.contextMenu=Ee("ContextMenu",an(),gn(),Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",en(0),en(1),en(2))),Ee("ContextMenuButton",Ee(ie.s_,"Horizontal",Ee(ie.s_,"Spot",vn(!1),we(ie.z6.Top,!1),we(ie.z6.Left,!1),we(ie.z6.Right,!1),we(ie.z6.Bottom,!1)),Ee(ie.s_,"Spot",{margin:new ie.Zt(0,0,0,2)},vn(!0),we(ie.z6.Top,!0),we(ie.z6.Left,!0),we(ie.z6.Right,!0),we(ie.z6.Bottom,!0)))));const Tn=`{ "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"}, @@ -86,21 +86,21 @@ {"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 rn=["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 hn(_e){return console.log("shapeName:",_e),rn.indexOf(_e)>=0}var Vt=new ie.YI(Ve.current,{maxSelectionCount:1,linkTemplate:xe(ie.rU,{locationSpot:ie.z6.Center,selectionAdornmentTemplate:xe(ie.uz,"Link",{locationSpot:ie.z6.Center},xe(ie.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),xe(ie.bn,{toArrow:"Standard",stroke:null}))},{routing:ie.rU.AvoidsNodes,curve:ie.rU.JumpOver,corner:5,toShortLength:4},new ie.KX("points"),xe(ie.bn,{isPanelMain:!0,strokeWidth:2}),xe(ie.bn,{toArrow:"Standard",stroke:null})),model:new ie.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ie.bn.getFigureGenerators().toArray().map(_e=>({text:"\u672A\u547D\u540D",size:"100 100",figure:_e.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return se.current.addDiagramListener("TextEdited",function(_e){var He;const tt=_e.subject.part;var je=(He=document.activeElement)==null?void 0:He.value;typeof je=="string"&&je.trim()===""&&se.current.model.commit(function(pt){pt.set(tt.data,"text","\u672A\u547D\u540D"),se.current.commandHandler.stopCommand()},"increment")}),Vt.nodeTemplate=xe(ie.NB,"Auto",{locationSpot:ie.z6.Center},new ie.KX("location","location",ie.E9.parse).makeTwoWay(ie.E9.stringify),xe(ie.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 ie.KX("stroke").makeTwoWay(),new ie.KX("fill").makeTwoWay(),new ie.KX("figure")),xe(ie.al,{margin:new ie.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ie.$u(16,16),maxSize:new ie.$u(10,NaN),textAlign:"center",editable:!0},new ie.KX("key").makeTwoWay())),setTimeout(()=>{se.current.grid=xe(ie.s_,"Grid",xe(ie.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),xe(ie.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),se.current.grid.visible=!0,se.current.grid.gridCellStroke="darkgray",se.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=se.current,se.current}const Wt=()=>St(this,null,function*(){var xe=se.current.makeImage();const dt=yield(0,Rt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:xe.src}});Pe({src:dt.url})});return(0,ge.useEffect)(()=>(setTimeout(()=>{ft()},500),ot(nt+1),()=>{se.current=null}),[]),Ye.createElement("div",{ref:lt,className:Ze.current?`${it.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement(ye.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!nt,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(Ae.Z,null,Ye.createElement(gt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(gt.Z,{onClick:()=>{var xe,dt,$t=se.current.selection.first();if(Ze.current=!Ze.current,document.activeElement&&$t){let Ut=(dt=(xe=document.activeElement)==null?void 0:xe.value)==null?void 0:dt.trim();typeof Ut=="string"&&se.current.model.commit(function(_t){_t.set($t.data,"text",Ut||"\u672A\u547D\u540D"),se.current.commandHandler.stopCommand()},"increment")}ot(nt+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:le},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:it.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:it.myPaletteDiv,ref:Ve})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:Me,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(Le.ZP,{size:"large",onClick:Wt,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ft=Pt,Bt=de(5112),Mt=de(5871);const jt=Bt.ZP.Group,Jt={margin:"0 8px"};var Tt=({callback:le,onCancel:Pe})=>{function se(Me){le(Me)}return ge.createElement(ue.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:se},ge.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ge.createElement("span",{style:Jt},"\u5355\u5143\u683C\u6570\uFF1A"),ge.createElement("span",{style:Jt},"\u884C\u6570"),ge.createElement(ue.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ge.createElement(Mt.Z,null)),ge.createElement("span",{style:Jt},"\u5217\u6570"),ge.createElement(ue.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ge.createElement(Mt.Z,null))),ge.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ge.createElement("span",{style:Jt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ge.createElement(ue.default.Item,{name:"align"},ge.createElement(jt,null,ge.createElement(Bt.ZP,{value:"default"},ge.createElement("i",{className:"fa fa-align-justify"})),ge.createElement(Bt.ZP,{value:"left"},ge.createElement("i",{className:"fa fa-align-left"})),ge.createElement(Bt.ZP,{value:"center"},ge.createElement("i",{className:"fa fa-align-center"})),ge.createElement(Bt.ZP,{value:"right"},ge.createElement("i",{className:"fa fa-align-right"}))))),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},It=de(78673),fn=de(93127),Xn=de.n(fn),Yn=(0,ge.forwardRef)(({use3d:le,width:Pe,height:se,callback:Me,showSaveButton:Ve},Ze)=>{const lt=(0,ge.useRef)(),nt=(0,ge.useRef)(),[ot,ft]=(0,ge.useState)(!1),Wt=(0,ge.useRef)({id:lt,appName:"graphing",width:Pe||1e3,height:se||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ge.useEffect)(()=>{nt.current=new(Xn())(Wt.current,!0),window.onload=function(){nt.current.inject("applet_container")}},[]);const xe=()=>{var dt=window.ggbApplet.getPNGBase64(1,!0,72);return Me&&Me(dt),dt};return(0,ge.useEffect)(()=>{Wt.current.appName=ot?"3D":"graphing",nt.current.inject("applet_container")},[ot]),(0,ge.useEffect)(()=>{ft(le)},[le]),(0,ge.useImperativeHandle)(Ze,()=>({getImgData:xe})),ge.createElement(ge.Fragment,null,ge.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:lt}),ge.createElement(Ae.Z,{align:"middle"},ge.createElement(gt.Z,{flex:1},ge.createElement(It.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ot,onChange:dt=>ft(dt)})),ge.createElement(gt.Z,null,ge.createElement(Le.ZP,{size:"large",onClick:xe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Jn=de(57765),Qn=de(1012),Gn=de(8591);const un="link",ln="upload-image",Zt="add-flowchart",qt="draw-image",qn="add-flowchart",sn="code-block",Sn="add-table",pn="------------",ea={default:pn,left:`:${pn}`,center:`:${pn}:`,right:`${pn}:`};var ta=de(61346),na=(le,Pe,se)=>new Promise((Me,Ve)=>{var Ze=ot=>{try{nt(se.next(ot))}catch(ft){Ve(ft)}},lt=ot=>{try{nt(se.throw(ot))}catch(ft){Ve(ft)}},nt=ot=>ot.done?Me(ot.value):Promise.resolve(ot.value).then(Ze,lt);nt((se=se.apply(le,Pe)).next())});function Fa(){}let ba=0;const _n=1e4,aa="\u2581",Cn="@\u2581\u2581@",zn="@\u2581@",oa=` +]}`;var rn=["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 hn(_e){return console.log("shapeName:",_e),rn.indexOf(_e)>=0}var Vt=new ie.YI(Ve.current,{maxSelectionCount:1,linkTemplate:Ee(ie.rU,{locationSpot:ie.z6.Center,selectionAdornmentTemplate:Ee(ie.uz,"Link",{locationSpot:ie.z6.Center},Ee(ie.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ee(ie.bn,{toArrow:"Standard",stroke:null}))},{routing:ie.rU.AvoidsNodes,curve:ie.rU.JumpOver,corner:5,toShortLength:4},new ie.KX("points"),Ee(ie.bn,{isPanelMain:!0,strokeWidth:2}),Ee(ie.bn,{toArrow:"Standard",stroke:null})),model:new ie.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ie.bn.getFigureGenerators().toArray().map(_e=>({text:"\u672A\u547D\u540D",size:"100 100",figure:_e.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return se.current.addDiagramListener("TextEdited",function(_e){var He;const tt=_e.subject.part;var je=(He=document.activeElement)==null?void 0:He.value;typeof je=="string"&&je.trim()===""&&se.current.model.commit(function(pt){pt.set(tt.data,"text","\u672A\u547D\u540D"),se.current.commandHandler.stopCommand()},"increment")}),Vt.nodeTemplate=Ee(ie.NB,"Auto",{locationSpot:ie.z6.Center},new ie.KX("location","location",ie.E9.parse).makeTwoWay(ie.E9.stringify),Ee(ie.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 ie.KX("stroke").makeTwoWay(),new ie.KX("fill").makeTwoWay(),new ie.KX("figure")),Ee(ie.al,{margin:new ie.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ie.$u(16,16),maxSize:new ie.$u(10,NaN),textAlign:"center",editable:!0},new ie.KX("key").makeTwoWay())),setTimeout(()=>{se.current.grid=Ee(ie.s_,"Grid",Ee(ie.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ee(ie.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),se.current.grid.visible=!0,se.current.grid.gridCellStroke="darkgray",se.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=se.current,se.current}const Wt=()=>St(this,null,function*(){var Ee=se.current.makeImage();const dt=yield(0,Rt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Ee.src}});Pe({src:dt.url})});return(0,ge.useEffect)(()=>(setTimeout(()=>{ft()},500),ot(nt+1),()=>{se.current=null}),[]),Ye.createElement("div",{ref:lt,className:Ze.current?`${it.maxH60} body-overflow-initial`:"body-overflow-initial"},Ye.createElement(ye.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!nt,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ye.createElement(Ae.Z,null,Ye.createElement(gt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ye.createElement(gt.Z,{onClick:()=>{var Ee,dt,$t=se.current.selection.first();if(Ze.current=!Ze.current,document.activeElement&&$t){let Ut=(dt=(Ee=document.activeElement)==null?void 0:Ee.value)==null?void 0:dt.trim();typeof Ut=="string"&&se.current.model.commit(function(_t){_t.set($t.data,"text",Ut||"\u672A\u547D\u540D"),se.current.commandHandler.stopCommand()},"increment")}ot(nt+1)}},Ye.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:le},Ye.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:it.flowChartWrp},Ye.createElement("div",{style:{display:"flex",height:"100%"}},Ye.createElement("div",{style:{width:"300px",height:"100%"}},Ye.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ye.createElement("div",{style:{height:"calc(100% - 50px)"},className:it.myPaletteDiv,ref:Ve})),Ye.createElement("div",{style:{flex:1,position:"relative"}},Ye.createElement("div",{ref:Me,style:{height:"80vh"}}))),Ye.createElement("div",{className:"tr"},Ye.createElement(Le.ZP,{size:"large",onClick:Wt,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Ft=Pt,Bt=de(5112),Mt=de(5871);const jt=Bt.ZP.Group,Jt={margin:"0 8px"};var Tt=({callback:le,onCancel:Pe})=>{function se(Me){le(Me)}return ge.createElement(ue.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:se},ge.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ge.createElement("span",{style:Jt},"\u5355\u5143\u683C\u6570\uFF1A"),ge.createElement("span",{style:Jt},"\u884C\u6570"),ge.createElement(ue.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ge.createElement(Mt.Z,null)),ge.createElement("span",{style:Jt},"\u5217\u6570"),ge.createElement(ue.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ge.createElement(Mt.Z,null))),ge.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ge.createElement("span",{style:Jt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ge.createElement(ue.default.Item,{name:"align"},ge.createElement(jt,null,ge.createElement(Bt.ZP,{value:"default"},ge.createElement("i",{className:"fa fa-align-justify"})),ge.createElement(Bt.ZP,{value:"left"},ge.createElement("i",{className:"fa fa-align-left"})),ge.createElement(Bt.ZP,{value:"center"},ge.createElement("i",{className:"fa fa-align-center"})),ge.createElement(Bt.ZP,{value:"right"},ge.createElement("i",{className:"fa fa-align-right"}))))),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Le.ZP,{type:"ghost",onClick:Pe},"\u53D6\u6D88")))},It=de(78673),fn=de(93127),Xn=de.n(fn),Yn=(0,ge.forwardRef)(({use3d:le,width:Pe,height:se,callback:Me,showSaveButton:Ve},Ze)=>{const lt=(0,ge.useRef)(),nt=(0,ge.useRef)(),[ot,ft]=(0,ge.useState)(!1),Wt=(0,ge.useRef)({id:lt,appName:"graphing",width:Pe||1e3,height:se||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ge.useEffect)(()=>{nt.current=new(Xn())(Wt.current,!0),window.onload=function(){nt.current.inject("applet_container")}},[]);const Ee=()=>{var dt=window.ggbApplet.getPNGBase64(1,!0,72);return Me&&Me(dt),dt};return(0,ge.useEffect)(()=>{Wt.current.appName=ot?"3D":"graphing",nt.current.inject("applet_container")},[ot]),(0,ge.useEffect)(()=>{ft(le)},[le]),(0,ge.useImperativeHandle)(Ze,()=>({getImgData:Ee})),ge.createElement(ge.Fragment,null,ge.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:lt}),ge.createElement(Ae.Z,{align:"middle"},ge.createElement(gt.Z,{flex:1},ge.createElement(It.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ot,onChange:dt=>ft(dt)})),ge.createElement(gt.Z,null,ge.createElement(Le.ZP,{size:"large",onClick:Ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Jn=de(57765),Qn=de(1012),Gn=de(8591);const un="link",ln="upload-image",Zt="add-flowchart",qt="draw-image",qn="add-flowchart",sn="code-block",Sn="add-table",pn="------------",ea={default:pn,left:`:${pn}`,center:`:${pn}:`,right:`${pn}:`};var ta=de(61346),na=(le,Pe,se)=>new Promise((Me,Ve)=>{var Ze=ot=>{try{nt(se.next(ot))}catch(ft){Ve(ft)}},lt=ot=>{try{nt(se.throw(ot))}catch(ft){Ve(ft)}},nt=ot=>ot.done?Me(ot.value):Promise.resolve(ot.value).then(Ze,lt);nt((se=se.apply(le,Pe)).next())});function Fa(){}let ba=0;const _n=1e4,aa="\u2581",Cn="@\u2581\u2581@",zn="@\u2581@",oa=` **\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`,Nn=["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 An(le){return/^\d+$/.test(le)?`${le}px`:le}const Mn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ga={[Mn+"-B"]:"bold",[Mn+"-I"]:"italic"},xn={[un]:"\u6DFB\u52A0\u94FE\u63A5",[sn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ln]:"\u6DFB\u52A0\u56FE\u7247",[qt]:"\u6DFB\u52A0\u753B\u56FE",[Zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Sn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ra=({defaultValue:le="",onChange:Pe,width:se="100%",height:Me=400,miniToolbar:Ve=!1,isFocus:Ze=!1,watch:lt,insertTemp:nt,mode:ot="markdown",id:ft="markdown-editor-id",showResizeBar:Wt=!1,noStorage:xe=!1,showNullButton:dt=!1,showNullProgramButton:$t=!1,hidetoolBar:Ut=!1,fullScreen:_t=!1,onBlur:xt,onCMBeforeChange:nn,onFullScreen:an,className:on="",disablePaste:Pn=!1,disabled:gn=!1,disabledFill:Dt=!1,placeholder:cn="",values:en="",extraUse:vn})=>{const[we,Tn]=(0,ge.useState)(null),[rn,hn]=(0,ge.useState)(le),[Vt,_e]=(0,ge.useState)(lt),[He,tt]=(0,ge.useState)(_t),[je,pt]=(0,ge.useState)(""),[bt,Nt]=(0,ge.useState)(0),[Ot,Ht]=(0,ge.useState)(Me),[Dn,dn]=(0,ge.useState)(!1),ia=(0,ge.useRef)((0,Qn.Z)()),da=(0,ge.useRef)(!1),On=(0,ge.useRef)(),[kn,Rn]=(0,ge.useState)(0),[In,$n]=(0,ge.useState)(0),tn=(0,ge.useRef)(),Ln=(0,ge.useRef)(),yn=(0,ge.useRef)(),wn=(0,ge.useRef)(),ma=()=>na(void 0,null,function*(){var We;const Te=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ia.current}});(We=Te==null?void 0:Te.attachments)!=null&&We.length&&(console.log("cm:",we,tn),Te.attachments.map(Re=>{Re.content_type.indexOf("image")>-1?we.replaceSelection(`![,](/api/attachments/${Re.id}?type=${Re.content_type})`):Re.content_type.indexOf("video")>-1?we.replaceSelection(``):Re.content_type.indexOf("pdf")>-1?we.replaceSelection(`${Re.name}`):we.replaceSelection(`[${Re.name}](${ENV.API_SERVER}/api/attachments/${Re.id}?type=${Re.content_type})`)}))});(0,ge.useEffect)(()=>{const We=window.scrollY||window.pageYOffset;hn(en),we==null||we.setValue(en),window.scrollTo(0,We)},[en]),(0,ge.useEffect)(()=>{an==null||an(He)},[He]),(0,ge.useEffect)(()=>{if(tn.current){let We=function(Re,Ie){var mt;if(Pn){Ie.preventDefault();return}const yt=Ie.clipboardData;if(yt){const At=yt.types.toString(),Et=yt.items;if(At==="Files"||yt.types.indexOf("Files")>-1){if(Ie.preventDefault(),ot=="stex")return;try{let Ct=Et[1];((mt=Et[0])==null?void 0:mt.kind)==="file"&&(Ct=Et[0]);const zt=Ct.getAsFile(),Yt=zt.name.split(".").pop();(0,ce.I)(zt,kt=>{var Fn,bn,Bn;kt.id?((Fn=zt==null?void 0:zt.type)==null?void 0:Fn.indexOf("image"))>-1?Te.replaceSelection(``):((bn=zt==null?void 0:zt.type)==null?void 0:bn.indexOf("video"))>-1?Te.replaceSelection(``):((Bn=zt==null?void 0:zt.type)==null?void 0:Bn.indexOf("pdf"))>-1?Te.replaceSelection(`${zt.name}`):Nn.includes(Yt)?Te.replaceSelection(`${zt.name}`):Te.replaceSelection(`[${zt.name}](/api/attachments/${kt.id}?type=${kt.content_type})`):(kt==null?void 0:kt.status)===401&&(Gn.ZP.warning((kt==null?void 0:kt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ct){Gn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Te=De().fromTextArea(tn.current,{mode:ot,lineNumbers:!Ve,lineWrapping:!0,value:le,autoCloseTags:!$t,autoCloseBrackets:!0});return Te.on("keyup",function(Re,Ie){Ie.keyCode===8&&(Re.getValue()==""?Te.setOption("placeholder",cn):Te.setOption("placeholder",null))}),Te.on("keydown",function(Re,Ie){if(Ie.keyCode===8){var mt=ua(Re);mt&&Ie.preventDefault()}}),Ze&&Te.focus(),Te.on("paste",We),Te.on("dragleave",function(Re,Ie){Ln.current.classList.remove("mouse-hover-md")}),gn&&Te.on("beforeChange",function(Re,Ie){(Ie.origin==="paste"||Ie.origin==="+input")&&Ie.cancel()}),Tn(Te),()=>{Te.off("paste",We)}}},[]);const Wn=(0,ge.useCallback)(()=>{if(Ln.current)try{}catch(We){console.log(We,"---- to set md editor body height")}},[Ot,Ln,He]);(0,ge.useEffect)(()=>{function We(){let Te=new Be.Z(Re=>{for(let Ie of Re)(Ie.target.offsetHeight>0||Ie.target.offsetWidth>0)&&(Wn(),we.setSize("100%","100%"),we.refresh())});return Te.observe(tn.current.parentElement),Te}if(we){const Te=We();return()=>{var Re,Ie;(Re=tn.current)!=null&&Re.parentElement&&Te.unobserve((Ie=tn.current)==null?void 0:Ie.parentElement)}}},[we,Wn]),(0,ge.useEffect)(()=>{if(we){let We=[];for(const[Te,Re]of Object.entries(ga)){let Ie={[Te]:()=>{Hn(Re)}};We.push(Ie),we.addKeyMap(Ie)}return On.current=setInterval(()=>{da.current&&ma()},4e3),()=>{clearInterval(On.current);for(let Te of We)we.removeKeyMap(Te)}}},[we]),(0,ge.useEffect)(()=>{_t!==He&&tt(_t)},[_t]),(0,ta.Z)(()=>{if(!xe&&bt>0){let We=new Date().getTime(),Te=window.sessionStorage.getItem(ft);We>=bt+_n&&(!Te||Te!==rn)&&(window.sessionStorage.setItem(ft,rn),dn(!0))}},_n),(0,ge.useEffect)(()=>{_e(lt)},[we,lt]),(0,ge.useEffect)(()=>{we&&Ze&&we.focus()},[we,Ze]),(0,ge.useEffect)(()=>{if(Vt&&we){let We=function(Re){let Ie=Re.target;if(wn.current){let mt=Ie.scrollTop/Ie.scrollHeight;wn.current.scrollTop=wn.current.scrollHeight*mt}};const Te=we.getScrollerElement();return Te.addEventListener("scroll",We),()=>{Te.removeEventListener("scroll",We)}}},[we,Vt]),(0,ge.useEffect)(()=>{if(we&&nn){let We=function(Te,Re){nn(Te,Re)};return we.on("beforeChange",We),()=>{we.off("beforeChange",We)}}},[we,nn]),(0,ge.useEffect)(()=>{if(we&&xt){let We=function(){xt(we.getValue())};return we.on("blur",We),()=>{we.off("blur",We)}}},[we,xt]);function ua(We,Te){var Re=We.getDoc(),Ie=Re.getCursor(),mt=Re.getLine(Ie.line),yt=mt.charAt(Ie.ch-1),At=mt.lastIndexOf("@\u2581@",Ie.ch),Et=mt.lastIndexOf("@\u2581\u2581@",Ie.ch),Ct=At>Et?At:Et,zt=At>Et?3:4;if(Cn.indexOf(yt)===-1)return null;if(console.log("change1:",Te,We,mt,Ie,Ct,At,Et,yt),Ct>=0&&Ie.ch-Ct<5){var Yt=Ct+zt;return Re.replaceRange("",{line:Ie.line,ch:Ct},{line:Ie.line,ch:Yt}),{line:Ie.line,ch:Yt}}return null}(0,ge.useEffect)(()=>{if(we){let We=function(Te,Re){const Ie=Te.getValue();hn(Ie),Nt(new Date().getTime()),Te.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pe&&($t?Pe(Ie,ca(Ie)):Pe(Ie))};return we.on("change",We),()=>{we.off("change",We)}}},[we,Pe]),(0,ge.useEffect)(()=>{if(we)if(le==null)we.setValue(""),hn("");else{const We=window.scrollY||window.pageYOffset;le!==we.getValue()&&(we.setValue(le),hn(le),we.setCursor(gn?1:we.lineCount(),0),window.scrollTo(0,We))}},[we,le]);const Hn=(0,ge.useCallback)(We=>{const Te=we.getCursor(),Re=we.getSelection();let Ie=Re.split(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Nn=["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 An(le){return/^\d+$/.test(le)?`${le}px`:le}const Mn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ga={[Mn+"-B"]:"bold",[Mn+"-I"]:"italic"},En={[un]:"\u6DFB\u52A0\u94FE\u63A5",[sn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ln]:"\u6DFB\u52A0\u56FE\u7247",[qt]:"\u6DFB\u52A0\u753B\u56FE",[Zt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Sn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ra=({defaultValue:le="",onChange:Pe,width:se="100%",height:Me=400,miniToolbar:Ve=!1,isFocus:Ze=!1,watch:lt,insertTemp:nt,mode:ot="markdown",id:ft="markdown-editor-id",showResizeBar:Wt=!1,noStorage:Ee=!1,showNullButton:dt=!1,showNullProgramButton:$t=!1,hidetoolBar:Ut=!1,fullScreen:_t=!1,onBlur:Et,onCMBeforeChange:nn,onFullScreen:an,className:on="",disablePaste:Pn=!1,disabled:gn=!1,disabledFill:Dt=!1,placeholder:cn="",values:en="",extraUse:vn})=>{const[we,Tn]=(0,ge.useState)(null),[rn,hn]=(0,ge.useState)(le),[Vt,_e]=(0,ge.useState)(lt),[He,tt]=(0,ge.useState)(_t),[je,pt]=(0,ge.useState)(""),[bt,Nt]=(0,ge.useState)(0),[Ot,Ht]=(0,ge.useState)(Me),[Dn,dn]=(0,ge.useState)(!1),ia=(0,ge.useRef)((0,Qn.Z)()),da=(0,ge.useRef)(!1),On=(0,ge.useRef)(),[kn,Rn]=(0,ge.useState)(0),[In,$n]=(0,ge.useState)(0),tn=(0,ge.useRef)(),Ln=(0,ge.useRef)(),yn=(0,ge.useRef)(),wn=(0,ge.useRef)(),ma=()=>na(void 0,null,function*(){var We;const Te=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ia.current}});(We=Te==null?void 0:Te.attachments)!=null&&We.length&&(console.log("cm:",we,tn),Te.attachments.map(Re=>{Re.content_type.indexOf("image")>-1?we.replaceSelection(`![,](/api/attachments/${Re.id}?type=${Re.content_type})`):Re.content_type.indexOf("video")>-1?we.replaceSelection(``):Re.content_type.indexOf("pdf")>-1?we.replaceSelection(`${Re.name}`):we.replaceSelection(`[${Re.name}](${ENV.API_SERVER}/api/attachments/${Re.id}?type=${Re.content_type})`)}))});(0,ge.useEffect)(()=>{const We=window.scrollY||window.pageYOffset;hn(en),we==null||we.setValue(en),window.scrollTo(0,We)},[en]),(0,ge.useEffect)(()=>{an==null||an(He)},[He]),(0,ge.useEffect)(()=>{if(tn.current){let We=function(Re,Ie){var mt;if(Pn){Ie.preventDefault();return}const yt=Ie.clipboardData;if(yt){const At=yt.types.toString(),xt=yt.items;if(At==="Files"||yt.types.indexOf("Files")>-1){if(Ie.preventDefault(),ot=="stex")return;try{let Ct=xt[1];((mt=xt[0])==null?void 0:mt.kind)==="file"&&(Ct=xt[0]);const zt=Ct.getAsFile(),Yt=zt.name.split(".").pop();(0,ce.I)(zt,kt=>{var Fn,bn,Bn;kt.id?((Fn=zt==null?void 0:zt.type)==null?void 0:Fn.indexOf("image"))>-1?Te.replaceSelection(``):((bn=zt==null?void 0:zt.type)==null?void 0:bn.indexOf("video"))>-1?Te.replaceSelection(``):((Bn=zt==null?void 0:zt.type)==null?void 0:Bn.indexOf("pdf"))>-1?Te.replaceSelection(`${zt.name}`):Nn.includes(Yt)?Te.replaceSelection(`${zt.name}`):Te.replaceSelection(`[${zt.name}](/api/attachments/${kt.id}?type=${kt.content_type})`):(kt==null?void 0:kt.status)===401&&(Gn.ZP.warning((kt==null?void 0:kt.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ct){Gn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Te=De().fromTextArea(tn.current,{mode:ot,lineNumbers:!Ve,lineWrapping:!0,value:le,autoCloseTags:!$t,autoCloseBrackets:!0});return Te.on("keyup",function(Re,Ie){Ie.keyCode===8&&(Re.getValue()==""?Te.setOption("placeholder",cn):Te.setOption("placeholder",null))}),Te.on("keydown",function(Re,Ie){if(Ie.keyCode===8){var mt=ua(Re);mt&&Ie.preventDefault()}}),Ze&&Te.focus(),Te.on("paste",We),Te.on("dragleave",function(Re,Ie){Ln.current.classList.remove("mouse-hover-md")}),gn&&Te.on("beforeChange",function(Re,Ie){(Ie.origin==="paste"||Ie.origin==="+input")&&Ie.cancel()}),Tn(Te),()=>{Te.off("paste",We)}}},[]);const Wn=(0,ge.useCallback)(()=>{if(Ln.current)try{}catch(We){console.log(We,"---- to set md editor body height")}},[Ot,Ln,He]);(0,ge.useEffect)(()=>{function We(){let Te=new Be.Z(Re=>{for(let Ie of Re)(Ie.target.offsetHeight>0||Ie.target.offsetWidth>0)&&(Wn(),we.setSize("100%","100%"),we.refresh())});return Te.observe(tn.current.parentElement),Te}if(we){const Te=We();return()=>{var Re,Ie;(Re=tn.current)!=null&&Re.parentElement&&Te.unobserve((Ie=tn.current)==null?void 0:Ie.parentElement)}}},[we,Wn]),(0,ge.useEffect)(()=>{if(we){let We=[];for(const[Te,Re]of Object.entries(ga)){let Ie={[Te]:()=>{Hn(Re)}};We.push(Ie),we.addKeyMap(Ie)}return On.current=setInterval(()=>{da.current&&ma()},4e3),()=>{clearInterval(On.current);for(let Te of We)we.removeKeyMap(Te)}}},[we]),(0,ge.useEffect)(()=>{_t!==He&&tt(_t)},[_t]),(0,ta.Z)(()=>{if(!Ee&&bt>0){let We=new Date().getTime(),Te=window.sessionStorage.getItem(ft);We>=bt+_n&&(!Te||Te!==rn)&&(window.sessionStorage.setItem(ft,rn),dn(!0))}},_n),(0,ge.useEffect)(()=>{_e(lt)},[we,lt]),(0,ge.useEffect)(()=>{we&&Ze&&we.focus()},[we,Ze]),(0,ge.useEffect)(()=>{if(Vt&&we){let We=function(Re){let Ie=Re.target;if(wn.current){let mt=Ie.scrollTop/Ie.scrollHeight;wn.current.scrollTop=wn.current.scrollHeight*mt}};const Te=we.getScrollerElement();return Te.addEventListener("scroll",We),()=>{Te.removeEventListener("scroll",We)}}},[we,Vt]),(0,ge.useEffect)(()=>{if(we&&nn){let We=function(Te,Re){nn(Te,Re)};return we.on("beforeChange",We),()=>{we.off("beforeChange",We)}}},[we,nn]),(0,ge.useEffect)(()=>{if(we&&Et){let We=function(){Et(we.getValue())};return we.on("blur",We),()=>{we.off("blur",We)}}},[we,Et]);function ua(We,Te){var Re=We.getDoc(),Ie=Re.getCursor(),mt=Re.getLine(Ie.line),yt=mt.charAt(Ie.ch-1),At=mt.lastIndexOf("@\u2581@",Ie.ch),xt=mt.lastIndexOf("@\u2581\u2581@",Ie.ch),Ct=At>xt?At:xt,zt=At>xt?3:4;if(Cn.indexOf(yt)===-1)return null;if(console.log("change1:",Te,We,mt,Ie,Ct,At,xt,yt),Ct>=0&&Ie.ch-Ct<5){var Yt=Ct+zt;return Re.replaceRange("",{line:Ie.line,ch:Ct},{line:Ie.line,ch:Yt}),{line:Ie.line,ch:Yt}}return null}(0,ge.useEffect)(()=>{if(we){let We=function(Te,Re){const Ie=Te.getValue();hn(Ie),Nt(new Date().getTime()),Te.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pe&&($t?Pe(Ie,ca(Ie)):Pe(Ie))};return we.on("change",We),()=>{we.off("change",We)}}},[we,Pe]),(0,ge.useEffect)(()=>{if(we)if(le==null)we.setValue(""),hn("");else{const We=window.scrollY||window.pageYOffset;le!==we.getValue()&&(we.setValue(le),hn(le),we.setCursor(gn?1:we.lineCount(),0),window.scrollTo(0,We))}},[we,le]);const Hn=(0,ge.useCallback)(We=>{const Te=we.getCursor(),Re=we.getSelection();let Ie=Re.split(` `);switch(We){case"bold":return we.replaceSelection("**"+Re+"**"),Re===""&&we.setCursor(Te.line,Te.ch+2),we.focus();case"italic":return we.replaceSelection("*"+Re+"*"),Re===""&&we.setCursor(Te.line,Te.ch+1),we.focus();case"code":return we.replaceSelection("`"+Re+"`"),Re===""&&we.setCursor(Te.line,Te.ch+1),we.focus();case"inline-latex":return pt("inline-latex"),we.focus();case"latex":return we.replaceSelection("```latex\n"+Re+"\n```"),we.setCursor(Te.line+1,Re.length+1),we.focus();case"line-break":return we.replaceSelection(`
`),we.focus();case"list-ul":return Re===""?we.replaceSelection("- "+Re):we.replaceSelection(Ie.map(mt=>mt===""?"":`- ${mt}`).join(` `)),we.focus();case"list-ol":return Re===""?we.replaceSelection("1. "+Re):we.replaceSelection(Ie.map((mt,yt)=>mt===""?"":`${yt+1}. ${mt}`).join(` -`)),we.focus();case"add-null-ch":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(aa),we.focus();case"add-signal":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(zn),we.focus();case"add-multiple":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(Cn),we.focus();case"inster-template-1":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(oa),we.focus();case"eraser":return we.setValue(""),we.focus();case"trigger-watch":return _e(!Vt),we.focus();case"trigger-full-screen":return tt(!He),we.focus();case un:pt(un);return;case sn:pt(sn);return;case ln:pt(ln);return;case qt:pt(qt);return;case"maths-latex":pt("maths-latex");return;case Zt:pt(Zt);return;case Sn:pt(Sn);return;default:throw new Error}},[we,Vt,He]),Xt=(0,ge.useCallback)((We,Te)=>{var Re,Ie,mt,yt,At,Et;switch(pt(""),je){case un:const{title:Fn,link:bn}=We;return we.replaceSelection(`[${Fn}](${bn})`),we.focus();case sn:const{language:Bn,content:pa}=We;return we.replaceSelection(["```"+Bn,pa,"```"].join(` -`)),we.focus();case"maths-latex":for(var Ct=atob(We),zt=new Uint8Array(Ct.length),Yt=0;Yt{Kt.id?we.replaceSelection(`![,](/api/attachments/${Kt.id}?type=${Kt.content_type})`):(Kt==null?void 0:Kt.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":we.replaceSelection("`$$"+We+"$$`");break;case ln:case qt:case qn:const{src:mn,alt:jn}=We,Gt=Te,va=(mt=(Ie=(Re=Gt==null?void 0:Gt.name)==null?void 0:Re.split("."))==null?void 0:Ie.pop)==null?void 0:mt.call(Ie);return((yt=Gt==null?void 0:Gt.type)==null?void 0:yt.indexOf("image"))>-1||!(Gt!=null&&Gt.type)?Gt.align||Gt.width?we.replaceSelection(`

${jn||

`):we.replaceSelection(`${jn||`):((At=Gt==null?void 0:Gt.type)==null?void 0:At.indexOf("video"))>-1?we.replaceSelection(``):((Et=Gt==null?void 0:Gt.type)==null?void 0:Et.indexOf("pdf"))>-1?we.replaceSelection(`${Gt.name}`):Nn.includes(va)?we.replaceSelection(`${Gt.name}`):we.replaceSelection(`[${Gt.name}](${mn})`),we.focus();case Sn:const{row:La,col:Kn,align:ya}=We;let En=` -`;for(let Kt=0;Kt{switch(je){case un:return ge.createElement(ct,{callback:Xt,onCancel:Qt});case sn:return ge.createElement(ht.Z,{callback:Xt,onCancel:Qt});case ln:return ge.createElement(ce.Z,{callback:Xt,onCancel:Qt});case Zt:return ge.createElement(Ft,{callback:Xt,onCancel:Qt});case Sn:return ge.createElement(Tt,{callback:Xt,onCancel:Qt});case"maths-latex":return ge.createElement(Yn,{showSaveButton:!0,callback:Xt});case"inline-latex":return ge.createElement(Jn.Z,{showSaveButton:!0,callback:Xt});default:return null}},[je]);function Qt(){pt("")}(0,ge.useEffect)(()=>{if(yn.current){let We=function(At){mt=!0,yt=At.pageY},Te=function(){mt=!1},Re=function(At){if(mt){let Et=At.pageY-yt;Et<0&&(Et=0),Et>300&&(Et=300);let Ct=Me+Et+"px";Ht(Ct)}},Ie=yn.current,mt=!1,yt=0;return Ie.addEventListener("mousedown",We),document.addEventListener("mousemove",Re),document.addEventListener("mouseup",Te),()=>{Ie.removeEventListener("mousedown",We),document.removeEventListener("mousemove",Re),document.removeEventListener("mouseup",Te)}}},[we,yn]),(0,ge.useEffect)(()=>{Ht(Me)},[Me]);const sa=An(se),Sa=An(Ot),Pa={width:sa,height:Sa},xa=(0,ge.useMemo)(()=>{if(bt){let We=new Date(bt),Te=We.getHours(),Re=We.getMinutes(),Ie=We.getSeconds();return Te=Te<10?"0"+Te:Te,Re=Re<10?"0"+Re:Re,Ie=Ie<10?"0"+Ie:Ie,`${Te}:${Re}:${Ie}`}return 0},[bt]),ca=We=>{const Te=[];if($t){let Re=-1;We=We.replace(/(@▁▁@|@▁@)/g,function(Ie,mt,yt){Te.push({multiLine:Ie!==zn})})}return Te};function Ea(){window.sessionStorage.removeItem(ft),dn(!1),Nt(0)}function Ga(){dn(!1),Nt(0),we.setValue(window.sessionStorage.getItem(ft))}(0,ge.useEffect)(()=>{xn[je]&&je!==qt&&je!==Zt&&setTimeout(()=>{const We=document.getElementsByClassName("markdown-popup-form")[0],Te=window.innerWidth/2-We.offsetWidth/2,Re=window.innerHeight/2-We.offsetHeight/2;Rn(Te),$n(Re)},0)},[je]);const ha=We=>{We.preventDefault();const Te=We.clientX-kn,Re=We.clientY-In;document.body.onmousemove=Ie=>{let mt=Ie.clientX-Te,yt=Ie.clientY-Re;const At=document.getElementsByClassName("markdown-popup-form")[0],Et=window.innerWidth-At.offsetWidth,Ct=window.innerHeight-At.offsetHeight;mt=Math.max(0,Math.min(mt,Et)),yt=Math.max(0,Math.min(yt,Ct)),fa(Ie.clientX,Ie.clientY,Te,Re)&&(Rn(mt),$n(yt))},document.body.onmouseup=function(){document.body.onmousemove=null}},fa=(We,Te,Re,Ie)=>{const mt=document.body.clientHeight,yt=document.body.clientWidth;return We<20&&Re>We||We>yt-20&&ReTe||Te>mt-20&&Ieve in ue?Oe(ue,ve,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ue[ve]=Le,E=(ue,ve)=>{for(var Le in ve||(ve={}))y.call(ve,Le)&&b(ue,Le,ve[Le]);if(a)for(var Le of a(ve))x.call(ve,Le)&&b(ue,Le,ve[Le]);return ue},z=(ue,ve)=>Ge(ue,ne(ve));const{useForm:ee}=ge.default,te={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var oe=({callback:ue,onCancel:ve})=>{const[Le]=ee();let Je=(0,Fe.useRef)();function rt(Xe){Je.current.width=Le.getFieldValue("width"),Je.current.align=Le.getFieldValue("align"),ue(Xe,Je.current)}function vt(Xe,Ke){if(Xe.status===-1){be.ZP.error(Xe.message);return}Le.setFieldsValue({src:`/api/attachments/${Xe.id}`,type:Ke.type})}function st(Xe){let Ke=Xe.target.files[0];Je.current=Ke,Se(Ke,vt)}return ze.createElement(ge.default,z(E({form:Le},ae),{className:"upload-image-panel",onFinish:rt,style:{width:470,overflow:"hidden"}}),ze.createElement(ge.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(ge.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(De.default,{style:te})),ze.createElement(re,{onFileChange:st}))),ze.createElement(ge.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(De.default,{style:{width:264}})),ze.createElement(ge.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Be.Z,null,ze.createElement(ge.default.Item,{name:"width",style:{margin:0}},ze.createElement(he.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(ge.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(fe.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"}]})),ze.createElement("aside",null,ze.createElement(ge.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(me.ZP,{type:"default",onClick:ve},"\u53D6\u6D88"))))};function re({onFileChange:ue}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:ue}))}function Se(ue,ve){if(!ue)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ce.bg)())throw be.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Le=new FormData;Le.append("editormd-image-file",ue),Le.append("file_param_name","editormd-image-file"),Le.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(rt){ve(JSON.parse(rt.target.responseText),ue)},!1),Je.addEventListener("error",function(rt){console.error(rt)},!1),Je.open("POST",`${Ee.KI}/api/attachments.json`),Je.send(Le)}},74254:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return De}});var ge=de(59301),be=de(4676);class De extends ge.Component{constructor(he){super(he);const fe=window.document;this.node=fe.createElement("div"),fe.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,be.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61346:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return be}});var ge=de(59301);function be(De,Be){const he=(0,ge.useRef)();(0,ge.useEffect)(()=>{he.current=De}),(0,ge.useEffect)(()=>{function fe(){he.current()}if(Be!==null){let me=setInterval(fe,Be);return()=>clearInterval(me)}},[Be])}},9749:function(pe,$e,de){"use strict";de.r($e),de.d($e,{default:function(){return st}});var ge=de(59301),be=de(92123),De=de(57809),Be=de(92832),he=de(43418),fe=de(24905),me=de(6848),Ee=de(5871),Fe=de(3113),Ce=de(8591),ze=de(55659),Oe=de(16140),Ge=de(89392),ne={flex_box_center:"flex_box_center___WDeol",flex_space_between:"flex_space_between___IWsL9",flex_box_vertical_center:"flex_box_vertical_center___oFPfv",flex_box_center_end:"flex_box_center_end___Upl2t",flex_box_column:"flex_box_column___Fg5BW",bg:"bg___Mm1RQ",flexRow:"flexRow___O5kWk",flexJustifyCenter:"flexJustifyCenter___zJfFU",flexAlignEnd:"flexAlignEnd___dNXu7",flexAlingCenter:"flexAlingCenter___VH6yX",flexAlignCenter:"flexAlignCenter___gLYIu",flexColumn:"flexColumn___F9Lnl",formWrap:"formWrap___TOxFp",titleWrap:"titleWrap____eUj3",fieldWrap:"fieldWrap___A8TH3",mdWrap:"mdWrap___b3UIq",backgroundFa:"backgroundFa___tmpwD",button:"button___RPcpM",icons:"icons___Q_4QK",navBar:"navBar___WTBHk",active:"active___hgO9F",tipWrap:"tipWrap___sN5ih",tip:"tip___CiN7X",width300:"width300___rIz4g",popover:"popover___YKxuI",groupWrap:"groupWrap___qLGlB",check:"check___mpaLs"},a=de(54001),y=de(36619),x=de(47470),b=de(66089),E=de(59301),z=Object.defineProperty,ee=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,Se=(Xe,Ke,at)=>Ke in Xe?z(Xe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:at}):Xe[Ke]=at,ue=(Xe,Ke)=>{for(var at in Ke||(Ke={}))oe.call(Ke,at)&&Se(Xe,at,Ke[at]);if(ae)for(var at of ae(Ke))re.call(Ke,at)&&Se(Xe,at,Ke[at]);return Xe},ve=(Xe,Ke)=>ee(Xe,te(Ke)),Le=(Xe,Ke,at)=>new Promise((ut,qe)=>{var wt=ce=>{try{ht(at.next(ce))}catch(ye){qe(ye)}},ct=ce=>{try{ht(at.throw(ce))}catch(ye){qe(ye)}},ht=ce=>ce.done?ut(ce.value):Promise.resolve(ce.value).then(wt,ct);ht((at=at.apply(Xe,Ke)).next())});const{Option:Je}=De.default,{TextArea:rt}=Be.default,vt=({shixunsDetail:Xe,dispatch:Ke,practiceSetting:at})=>{const ut=(0,be.useParams)(),[qe,wt]=(0,ge.useState)({}),[ct,ht]=(0,ge.useState)([]),[ce,ye]=(0,ge.useState)(!1),Ae=(0,ge.useRef)(null),Qe=(0,ge.useRef)({editData:null,answerList:null}),[Ne,Ue]=(0,ge.useState)(!0);(0,ge.useEffect)(()=>{ie()},[]),(0,ge.useEffect)(()=>{gt()},[qe,ct]);const ie=()=>Le(void 0,null,function*(){Ue(!0),yield ke(),yield et(),Ue(!1)}),ke=()=>Le(void 0,null,function*(){const Ye=yield(0,Oe.ii)({id:ut.id,challengeId:ut.challengesId,tab:2});Qe.current.editData=Ye,Ye&&wt(Ye)}),et=()=>Le(void 0,null,function*(){const Ye=yield(0,Oe.AE)({id:ut.id,challengeId:ut.challengesId}),St=Ye.map(Pt=>ve(ue({},Pt),{contents:(0,b.S)(Pt.contents)}));Qe.current.answerList=St,Ye&&ht(St)}),Lt=(Ye=!1,St=1)=>Le(void 0,null,function*(){var Pt;ye(!0);const Ft=yield(0,Oe.xK)({id:ut.id,challengeId:ut.challengesId,challenge_answer:ct,hide_answer:qe==null?void 0:qe.hide_answer,disable_copy:qe==null?void 0:qe.disable_copy,sync_origin_shixun:Ye});ye(!1),Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Ft.status===1&&((Pt=Xe==null?void 0:Xe.detail)!=null&&Pt.copy_for_exercise&&(0,b.m)(Ke,Xe,ut.id,St),be.history.push(`/shixuns/${ut.id}/edit/${ut.challengesId}/tab=4`))}),gt=()=>{clearTimeout(Ae.current),Ae.current=setTimeout(Rt,500)},Rt=()=>{!(0,Ge.isEqual)(Qe.current.editData,qe)||!(0,Ge.isEqual)(Qe.current.answerList,ct)?Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},it=()=>{var Ye;const St=()=>{be.history.push(`/shixuns/${ut.id}/challenges`),Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Ye=at==null?void 0:at.sideBar)!=null&&Ye.confirmLeave?he.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{St()}}):St()};return E.createElement("section",{className:ne.bg},E.createElement("div",{className:ne.formWrap},E.createElement(y.Z,{activeIndex:2}),E.createElement("div",{className:ne.check},E.createElement("div",null,E.createElement(fe.default,{checked:qe==null?void 0:qe.hide_answer,onChange:Ye=>wt(ve(ue({},qe),{hide_answer:Ye.target.checked}))},"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),E.createElement("div",null,E.createElement(fe.default,{checked:qe==null?void 0:qe.disable_copy,onChange:Ye=>wt(ve(ue({},qe),{disable_copy:Ye.target.checked}))},"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848"))),E.createElement("div",{className:ne.fieldWrap},E.createElement("p",null,"\u53EF\u4EE5\u5C06\u53C2\u8003\u7B54\u6848\u5206\u7EA7\u8BBE\u7F6E\uFF0C\u8BA9\u5B66\u5458\u81EA\u884C\u9009\u62E9\u7EA7\u522B\uFF0C\u6BCF\u7EA7\u67E5\u770B\u540E\u6309\u7167\u6BD4\u4F8B\u6263\u5206\u503C\uFF08\u5B66\u5458\u5DF2\u5B8C\u6210\u4EFB\u52A1\u518D\u67E5\u770B\uFF0C\u5219\u4E0D\u5F71\u54CD\u5B66\u5458\u5DF2\u83B7\u5F97\u7684\u6210\u7EE9\uFF09"),E.createElement("p",null,"\u793A\u4F8B\uFF1A\u7EA7\u522B1\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD425%\uFF1B\u7EA7\u522B2\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD435%\uFF1B\u7EA7\u522B3\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD440%\uFF1B"),E.createElement("p",null,"\u82E5\u5B66\u5458\u9009\u62E9\u67E5\u770B\u7EA7\u522B1\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF25%\u7684\u5206\u503C\uFF1B\u9009\u62E9\u67E5\u770B\u7EA7\u522B2\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF60%\u7684\u5206\u503C\uFF1B\u9009\u62E9\u67E5\u770B\u7EA7\u522B3\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF100%\u7684\u5206\u503C\u3002"),ct==null?void 0:ct.map((Ye,St)=>E.createElement("div",{key:St,className:"mt30 pb5"},E.createElement("div",{className:ne.flexRow},E.createElement("b",{className:"font16"},"\u7EA7\u522B\uFF1A",St+1),E.createElement("div",{className:"tr flex1"},E.createElement(me.Z,{placement:"bottom",title:"\u5220\u9664"},E.createElement("span",{className:"font14 c-red current",onClick:()=>{let Pt=ct.filter((Ft,Bt)=>Bt!==St);ht(Pt)}},"\u5220\xA0\u9664")))),E.createElement("div",{className:ne.contentWrap},E.createElement("div",{className:ne.flexRow},E.createElement("div",null,E.createElement("p",{className:"font16"},"\u540D\u79F0\uFF1A"),E.createElement(Be.default,{bordered:!1,value:Ye.name,onChange:Pt=>{const Ft=ct.map((Bt,Mt)=>Mt===St?ve(ue({},Bt),{name:Pt.target.value}):Bt);ht(Ft)}})),E.createElement("div",{className:"ml10"},E.createElement("p",{className:"font16"},"\u6263\u51CF\u5206\u503C\u5360\u6BD4\uFF1A"),E.createElement(Ee.Z,{min:0,max:100,precision:0,value:Ye.score,onChange:Pt=>{const Ft=ct.map((Bt,Mt)=>Mt===St?ve(ue({},Bt),{score:Pt}):Bt);ht(Ft)}})))),E.createElement("div",{className:"mt10 mb10"},E.createElement("div",{className:"font16 mb20"},"\u5185\u5BB9\uFF1A"),E.createElement(ze.Z,{placeholder:"\u5EFA\u8BAE\u63D0\u4F9B\u5305\u62EC\u6587\u4EF6\u6240\u6709\u4EE3\u7801\u7684\u5B8C\u6574\u7B54\u6848",defaultValue:Ye.contents,onChange:Pt=>{const Ft=ct.map((Bt,Mt)=>Mt===St?ve(ue({},Bt),{contents:Pt}):Bt);ht(Ft)}})))),E.createElement("div",null,E.createElement(Fe.ZP,{type:"primary",size:"middle",ghost:!0,style:{width:200},className:"mt10",onClick:()=>{let Ye=[...ct,{name:`\u89E3\u9898\u601D\u8DEF${ct.length+1}`,contents:"",score:10,id:null,level:null}];ht(Ye)}},"\u65B0\u589E\u53C2\u8003\u7B54\u6848")))),E.createElement(a.t,{onOk:()=>{var Ye,St;if(!ct.every(Pt=>Pt.name)){ye(!1),Ce.ZP.info("\u8BF7\u5148\u586B\u5199\u53C2\u8003\u7B54\u6848\u540D\u79F0");return}if(!ct.every(Pt=>Pt.contents)){ye(!1),Ce.ZP.info("\u8BF7\u5148\u586B\u5199\u53C2\u8003\u7B54\u6848\u5185\u5BB9");return}(Ye=Xe==null?void 0:Xe.detail)!=null&&Ye.is_fork_from_creator&&((St=Xe==null?void 0:Xe.detail)!=null&&St.copy_for_exercise)&&(qe!=null&&qe.has_relation)?Ke({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"taskLevel",fn:(Pt,Ft)=>{Lt(Pt,Ft)}}}):Lt()},className:"customFixedButton",onCancel:it,loading:ce}),E.createElement(x.Z,{loading:Ne}))};var st=(0,be.connect)(({shixunsDetail:Xe,newCourse:Ke,globalSetting:at,practiceSetting:ut})=>({shixunsDetail:Xe,newCourse:Ke,globalSetting:at,practiceSetting:ut}))(vt)},36619:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return he}});var ge=de(59301),be=de(43418),De=de(92123);const Be=({activeIndex:fe,isEdit:me=!0,dispatch:Ee,practiceSetting:Fe,shixunsDetail:Ce})=>{var ze;const Oe=(0,De.useParams)(),{id:Ge,challengesId:ne}=Oe,a=(ze=Ce==null?void 0:Ce.detail)==null?void 0:ze.is_client_unity_3d,y=(0,ge.useMemo)(()=>[{name:a?"\u9898\u76EE\u8BBE\u7F6E":"\u672C\u5173\u4EFB\u52A1",url:`/shixuns/${Ge}/edit/${ne}/editcheckpoint`},{name:a?"\u4EFF\u771F\u73AF\u5883\u8BBE\u7F6E":"\u8BC4\u6D4B\u8BBE\u7F6E",url:`/shixuns/${Ge}/edit/${ne}/tab=2`},{name:"\u53C2\u8003\u7B54\u6848",url:`/shixuns/${Ge}/edit/${ne}/tab=3`},{name:"\u5173\u5361\u6392\u884C\u699C",url:`/shixuns/${Ge}/edit/${ne}/tab=4`}],[Ge,ne]),x=b=>{var E;const z=()=>{De.history.push(b),Ee({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(E=Fe==null?void 0:Fe.sideBar)!=null&&E.confirmLeave?be.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{z()}}):z()};return ge.createElement("ul",{className:"challenge-nav"},me?y.map((b,E)=>fe===E?ge.createElement("li",{key:b.url}," ",ge.createElement("a",{className:"active"},b.name)," "):ge.createElement("li",{key:b.url}," ",ge.createElement("a",{onClick:()=>x(b.url)},b.name)," ")):ge.createElement("li",{key:y[0].url}," ",ge.createElement("a",{className:"active"},y[0].name)," "))};var he=(0,De.connect)(({globalSetting:fe,practiceSetting:me,shixunsDetail:Ee})=>({globalSetting:fe,practiceSetting:me,shixunsDetail:Ee}))(Be)},47470:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return he}});var ge=de(59301),be=de(71418),De={loading:"loading___lueiN"},he=({loading:fe})=>fe?ge.createElement("div",{className:De.loading},ge.createElement(be.Z,null)):ge.createElement(ge.Fragment,null)},66089:function(pe,$e,de){"use strict";de.d($e,{S:function(){return fe},m:function(){return me}});var ge=de(94601),be=de(8591),De=de(43418),Be=de(59301),he=(Ee,Fe,Ce)=>new Promise((ze,Oe)=>{var Ge=y=>{try{a(Ce.next(y))}catch(x){Oe(x)}},ne=y=>{try{a(Ce.throw(y))}catch(x){Oe(x)}},a=y=>y.done?ze(y.value):Promise.resolve(y.value).then(Ge,ne);a((Ce=Ce.apply(Ee,Fe)).next())});const fe=Ee=>{let Fe=document.createElement("textarea");return Fe.value=Ee,Fe.value},me=(Ee,Fe,Ce,ze,Oe)=>he(void 0,null,function*(){var Ge,ne;const a=yield Ee({type:"shixunsDetail/saveCopyForExercise",payload:{id:Ce,save_type:ze}});ze===1?((a==null?void 0:a.status)==0&&be.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Ge=a==null?void 0:a.data)!=null&&Ge.exists_same_shixun_name?Ee({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(ne=a==null?void 0:a.data)==null?void 0:ne.shixun_name}}):Ee({type:"classroomList/setActionTabs",payload:{}})):(Ee({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&De.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Be.createElement("div",null,Be.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var y,x;(0,ge.xg)(`/shixuns/${(x=(y=Fe==null?void 0:Fe.detail)==null?void 0:y.fork_from)==null?void 0:x.fork_identifier}/challenges`)}}))})},24905:function(pe,$e,de){"use strict";de.d($e,{default:function(){return oe}});var ge=de(92310),be=de.n(ge),De=de(5630),Be=de(59301),he=de(36355),fe=de(1684),me=de(32441),Fe=Be.createContext(null),Ce=de(98447),ze=de(14088),Oe=de(4572),Ge=function(re,Se){var ue={};for(var ve in re)Object.prototype.hasOwnProperty.call(re,ve)&&Se.indexOf(ve)<0&&(ue[ve]=re[ve]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ve=Object.getOwnPropertySymbols(re);Le{var ue;const{prefixCls:ve,className:Le,rootClassName:Je,children:rt,indeterminate:vt=!1,style:st,onMouseEnter:Xe,onMouseLeave:Ke,skipGroup:at=!1,disabled:ut}=re,qe=Ge(re,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:wt,direction:ct,checkbox:ht}=Be.useContext(he.E_),ce=Be.useContext(Fe),{isFormItemInput:ye}=Be.useContext(me.aM),Ae=Be.useContext(fe.Z),Qe=(ue=(ce==null?void 0:ce.disabled)||ut)!==null&&ue!==void 0?ue:Ae,Ne=Be.useRef(qe.value);Be.useEffect(()=>{ce==null||ce.registerValue(qe.value)},[]),Be.useEffect(()=>{if(!at)return qe.value!==Ne.current&&(ce==null||ce.cancelValue(Ne.current),ce==null||ce.registerValue(qe.value),Ne.current=qe.value),()=>ce==null?void 0:ce.cancelValue(qe.value)},[qe.value]);const Ue=wt("checkbox",ve),[ie,ke]=(0,Ce.ZP)(Ue),et=Object.assign({},qe);ce&&!at&&(et.onChange=function(){qe.onChange&&qe.onChange.apply(qe,arguments),ce.toggleOption&&ce.toggleOption({label:rt,value:qe.value})},et.name=ce.name,et.checked=ce.value.includes(qe.value));const Lt=be()(`${Ue}-wrapper`,{[`${Ue}-rtl`]:ct==="rtl",[`${Ue}-wrapper-checked`]:et.checked,[`${Ue}-wrapper-disabled`]:Qe,[`${Ue}-wrapper-in-form-item`]:ye},ht==null?void 0:ht.className,Le,Je,ke),gt=be()({[`${Ue}-indeterminate`]:vt},Oe.A,ke),Rt=vt?"mixed":void 0;return ie(Be.createElement(ze.Z,{component:"Checkbox",disabled:Qe},Be.createElement("label",{className:Lt,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),st),onMouseEnter:Xe,onMouseLeave:Ke},Be.createElement(De.Z,Object.assign({"aria-checked":Rt},et,{prefixCls:Ue,className:gt,disabled:Qe,ref:Se})),rt!==void 0&&Be.createElement("span",null,rt))))};var y=Be.forwardRef(ne),x=de(94480),b=de(2738),E=function(re,Se){var ue={};for(var ve in re)Object.prototype.hasOwnProperty.call(re,ve)&&Se.indexOf(ve)<0&&(ue[ve]=re[ve]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ve=Object.getOwnPropertySymbols(re);Le{const{defaultValue:ue,children:ve,options:Le=[],prefixCls:Je,className:rt,rootClassName:vt,style:st,onChange:Xe}=re,Ke=E(re,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:at,direction:ut}=Be.useContext(he.E_),[qe,wt]=Be.useState(Ke.value||ue||[]),[ct,ht]=Be.useState([]);Be.useEffect(()=>{"value"in Ke&&wt(Ke.value||[])},[Ke.value]);const ce=Be.useMemo(()=>Le.map(it=>typeof it=="string"||typeof it=="number"?{label:it,value:it}:it),[Le]),ye=it=>{ht(Ye=>Ye.filter(St=>St!==it))},Ae=it=>{ht(Ye=>[].concat((0,x.Z)(Ye),[it]))},Qe=it=>{const Ye=qe.indexOf(it.value),St=(0,x.Z)(qe);Ye===-1?St.push(it.value):St.splice(Ye,1),"value"in Ke||wt(St),Xe==null||Xe(St.filter(Pt=>ct.includes(Pt)).sort((Pt,Ft)=>{const Bt=ce.findIndex(jt=>jt.value===Pt),Mt=ce.findIndex(jt=>jt.value===Ft);return Bt-Mt}))},Ne=at("checkbox",Je),Ue=`${Ne}-group`,[ie,ke]=(0,Ce.ZP)(Ne),et=(0,b.Z)(Ke,["value","disabled"]),Lt=Le.length?ce.map(it=>Be.createElement(y,{prefixCls:Ne,key:it.value.toString(),disabled:"disabled"in it?it.disabled:Ke.disabled,value:it.value,checked:qe.includes(it.value),onChange:it.onChange,className:`${Ue}-item`,style:it.style,title:it.title},it.label)):ve,gt={toggleOption:Qe,value:qe,disabled:Ke.disabled,name:Ke.name,registerValue:Ae,cancelValue:ye},Rt=be()(Ue,{[`${Ue}-rtl`]:ut==="rtl"},rt,vt,ke);return ie(Be.createElement("div",Object.assign({className:Rt,style:st},et,{ref:Se}),Be.createElement(Fe.Provider,{value:gt},Lt)))},ee=Be.forwardRef(z);var te=Be.memo(ee);const ae=y;ae.Group=te,ae.__ANT_CHECKBOX=!0;var oe=ae},98447:function(pe,$e,de){"use strict";de.d($e,{C2:function(){return he}});var ge=de(17313),be=de(37613),De=de(83116);const Be=fe=>{const{checkboxCls:me}=fe,Ee=`${me}-wrapper`;return[{[`${me}-group`]:Object.assign(Object.assign({},(0,ge.Wf)(fe)),{display:"inline-flex",flexWrap:"wrap",columnGap:fe.marginXS,[`> ${fe.antCls}-row`]:{flex:1}}),[Ee]:Object.assign(Object.assign({},(0,ge.Wf)(fe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ee}`]:{marginInlineStart:0},[`&${Ee}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[me]:Object.assign(Object.assign({},(0,ge.Wf)(fe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:fe.borderRadiusSM,alignSelf:"center",[`${me}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${me}-inner`]:Object.assign({},(0,ge.oN)(fe))},[`${me}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:fe.checkboxSize,height:fe.checkboxSize,direction:"ltr",backgroundColor:fe.colorBgContainer,border:`${fe.lineWidth}px ${fe.lineType} ${fe.colorBorder}`,borderRadius:fe.borderRadiusSM,borderCollapse:"separate",transition:`all ${fe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:fe.checkboxSize/14*5,height:fe.checkboxSize/14*8,border:`${fe.lineWidthBold}px solid ${fe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${fe.motionDurationFast} ${fe.motionEaseInBack}, opacity ${fe.motionDurationFast}`}},"& + span":{paddingInlineStart:fe.paddingXS,paddingInlineEnd:fe.paddingXS}})},{[` - ${Ee}:not(${Ee}-disabled), +`)),we.focus();case"add-null-ch":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(aa),we.focus();case"add-signal":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(zn),we.focus();case"add-multiple":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(Cn),we.focus();case"inster-template-1":return Re===""&&we.setCursor(Te.line,Te.ch),we.replaceSelection(oa),we.focus();case"eraser":return we.setValue(""),we.focus();case"trigger-watch":return _e(!Vt),we.focus();case"trigger-full-screen":return tt(!He),we.focus();case un:pt(un);return;case sn:pt(sn);return;case ln:pt(ln);return;case qt:pt(qt);return;case"maths-latex":pt("maths-latex");return;case Zt:pt(Zt);return;case Sn:pt(Sn);return;default:throw new Error}},[we,Vt,He]),Xt=(0,ge.useCallback)((We,Te)=>{var Re,Ie,mt,yt,At,xt;switch(pt(""),je){case un:const{title:Fn,link:bn}=We;return we.replaceSelection(`[${Fn}](${bn})`),we.focus();case sn:const{language:Bn,content:pa}=We;return we.replaceSelection(["```"+Bn,pa,"```"].join(` +`)),we.focus();case"maths-latex":for(var Ct=atob(We),zt=new Uint8Array(Ct.length),Yt=0;Yt{Kt.id?we.replaceSelection(`![,](/api/attachments/${Kt.id}?type=${Kt.content_type})`):(Kt==null?void 0:Kt.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":we.replaceSelection("`$$"+We+"$$`");break;case ln:case qt:case qn:const{src:mn,alt:jn}=We,Gt=Te,va=(mt=(Ie=(Re=Gt==null?void 0:Gt.name)==null?void 0:Re.split("."))==null?void 0:Ie.pop)==null?void 0:mt.call(Ie);return((yt=Gt==null?void 0:Gt.type)==null?void 0:yt.indexOf("image"))>-1||!(Gt!=null&&Gt.type)?Gt.align||Gt.width?we.replaceSelection(`

${jn||

`):we.replaceSelection(`${jn||`):((At=Gt==null?void 0:Gt.type)==null?void 0:At.indexOf("video"))>-1?we.replaceSelection(``):((xt=Gt==null?void 0:Gt.type)==null?void 0:xt.indexOf("pdf"))>-1?we.replaceSelection(`${Gt.name}`):Nn.includes(va)?we.replaceSelection(`${Gt.name}`):we.replaceSelection(`[${Gt.name}](${mn})`),we.focus();case Sn:const{row:La,col:Kn,align:ya}=We;let xn=` +`;for(let Kt=0;Kt{switch(je){case un:return ge.createElement(ct,{callback:Xt,onCancel:Qt});case sn:return ge.createElement(ht.Z,{callback:Xt,onCancel:Qt});case ln:return ge.createElement(ce.Z,{callback:Xt,onCancel:Qt});case Zt:return ge.createElement(Ft,{callback:Xt,onCancel:Qt});case Sn:return ge.createElement(Tt,{callback:Xt,onCancel:Qt});case"maths-latex":return ge.createElement(Yn,{showSaveButton:!0,callback:Xt});case"inline-latex":return ge.createElement(Jn.Z,{showSaveButton:!0,callback:Xt});default:return null}},[je]);function Qt(){pt("")}(0,ge.useEffect)(()=>{if(yn.current){let We=function(At){mt=!0,yt=At.pageY},Te=function(){mt=!1},Re=function(At){if(mt){let xt=At.pageY-yt;xt<0&&(xt=0),xt>300&&(xt=300);let Ct=Me+xt+"px";Ht(Ct)}},Ie=yn.current,mt=!1,yt=0;return Ie.addEventListener("mousedown",We),document.addEventListener("mousemove",Re),document.addEventListener("mouseup",Te),()=>{Ie.removeEventListener("mousedown",We),document.removeEventListener("mousemove",Re),document.removeEventListener("mouseup",Te)}}},[we,yn]),(0,ge.useEffect)(()=>{Ht(Me)},[Me]);const sa=An(se),Sa=An(Ot),Pa={width:sa,height:Sa},Ea=(0,ge.useMemo)(()=>{if(bt){let We=new Date(bt),Te=We.getHours(),Re=We.getMinutes(),Ie=We.getSeconds();return Te=Te<10?"0"+Te:Te,Re=Re<10?"0"+Re:Re,Ie=Ie<10?"0"+Ie:Ie,`${Te}:${Re}:${Ie}`}return 0},[bt]),ca=We=>{const Te=[];if($t){let Re=-1;We=We.replace(/(@▁▁@|@▁@)/g,function(Ie,mt,yt){Te.push({multiLine:Ie!==zn})})}return Te};function xa(){window.sessionStorage.removeItem(ft),dn(!1),Nt(0)}function Ga(){dn(!1),Nt(0),we.setValue(window.sessionStorage.getItem(ft))}(0,ge.useEffect)(()=>{En[je]&&je!==qt&&je!==Zt&&setTimeout(()=>{const We=document.getElementsByClassName("markdown-popup-form")[0],Te=window.innerWidth/2-We.offsetWidth/2,Re=window.innerHeight/2-We.offsetHeight/2;Rn(Te),$n(Re)},0)},[je]);const ha=We=>{We.preventDefault();const Te=We.clientX-kn,Re=We.clientY-In;document.body.onmousemove=Ie=>{let mt=Ie.clientX-Te,yt=Ie.clientY-Re;const At=document.getElementsByClassName("markdown-popup-form")[0],xt=window.innerWidth-At.offsetWidth,Ct=window.innerHeight-At.offsetHeight;mt=Math.max(0,Math.min(mt,xt)),yt=Math.max(0,Math.min(yt,Ct)),fa(Ie.clientX,Ie.clientY,Te,Re)&&(Rn(mt),$n(yt))},document.body.onmouseup=function(){document.body.onmousemove=null}},fa=(We,Te,Re,Ie)=>{const mt=document.body.clientHeight,yt=document.body.clientWidth;return We<20&&Re>We||We>yt-20&&ReTe||Te>mt-20&&Ieve in ue?Oe(ue,ve,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ue[ve]=Le,x=(ue,ve)=>{for(var Le in ve||(ve={}))y.call(ve,Le)&&b(ue,Le,ve[Le]);if(a)for(var Le of a(ve))E.call(ve,Le)&&b(ue,Le,ve[Le]);return ue},z=(ue,ve)=>Ge(ue,ne(ve));const{useForm:ee}=ge.default,te={width:280,marginRight:10},ae={labelCol:{span:5},wrapperCol:{span:19}};var oe=({callback:ue,onCancel:ve})=>{const[Le]=ee();let Je=(0,Fe.useRef)();function rt(Xe){Je.current.width=Le.getFieldValue("width"),Je.current.align=Le.getFieldValue("align"),ue(Xe,Je.current)}function vt(Xe,Ke){if(Xe.status===-1){be.ZP.error(Xe.message);return}Le.setFieldsValue({src:`/api/attachments/${Xe.id}`,type:Ke.type})}function st(Xe){let Ke=Xe.target.files[0];Je.current=Ke,Se(Ke,vt)}return ze.createElement(ge.default,z(x({form:Le},ae),{className:"upload-image-panel",onFinish:rt,style:{width:470,overflow:"hidden"}}),ze.createElement(ge.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(ge.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(De.default,{style:te})),ze.createElement(re,{onFileChange:st}))),ze.createElement(ge.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(De.default,{style:{width:264}})),ze.createElement(ge.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Be.Z,null,ze.createElement(ge.default.Item,{name:"width",style:{margin:0}},ze.createElement(he.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(ge.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(fe.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"}]})),ze.createElement("aside",null,ze.createElement(ge.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(me.ZP,{type:"default",onClick:ve},"\u53D6\u6D88"))))};function re({onFileChange:ue}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:ue}))}function Se(ue,ve){if(!ue)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ce.bg)())throw be.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Le=new FormData;Le.append("editormd-image-file",ue),Le.append("file_param_name","editormd-image-file"),Le.append("byxhr","true");var Je=new window.XMLHttpRequest;Je.withCredentials=!0,Je.addEventListener("load",function(rt){ve(JSON.parse(rt.target.responseText),ue)},!1),Je.addEventListener("error",function(rt){console.error(rt)},!1),Je.open("POST",`${xe.KI}/api/attachments.json`),Je.send(Le)}},74254:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return De}});var ge=de(59301),be=de(4676);class De extends ge.Component{constructor(he){super(he);const fe=window.document;this.node=fe.createElement("div"),fe.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,be.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61346:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return be}});var ge=de(59301);function be(De,Be){const he=(0,ge.useRef)();(0,ge.useEffect)(()=>{he.current=De}),(0,ge.useEffect)(()=>{function fe(){he.current()}if(Be!==null){let me=setInterval(fe,Be);return()=>clearInterval(me)}},[Be])}},9749:function(pe,$e,de){"use strict";de.r($e),de.d($e,{default:function(){return st}});var ge=de(59301),be=de(92123),De=de(57809),Be=de(92832),he=de(43418),fe=de(24905),me=de(6848),xe=de(5871),Fe=de(3113),Ce=de(8591),ze=de(55659),Oe=de(16140),Ge=de(89392),ne={flex_box_center:"flex_box_center___WDeol",flex_space_between:"flex_space_between___IWsL9",flex_box_vertical_center:"flex_box_vertical_center___oFPfv",flex_box_center_end:"flex_box_center_end___Upl2t",flex_box_column:"flex_box_column___Fg5BW",bg:"bg___Mm1RQ",flexRow:"flexRow___O5kWk",flexJustifyCenter:"flexJustifyCenter___zJfFU",flexAlignEnd:"flexAlignEnd___dNXu7",flexAlingCenter:"flexAlingCenter___VH6yX",flexAlignCenter:"flexAlignCenter___gLYIu",flexColumn:"flexColumn___F9Lnl",formWrap:"formWrap___TOxFp",titleWrap:"titleWrap____eUj3",fieldWrap:"fieldWrap___A8TH3",mdWrap:"mdWrap___b3UIq",backgroundFa:"backgroundFa___tmpwD",button:"button___RPcpM",icons:"icons___Q_4QK",navBar:"navBar___WTBHk",active:"active___hgO9F",tipWrap:"tipWrap___sN5ih",tip:"tip___CiN7X",width300:"width300___rIz4g",popover:"popover___YKxuI",groupWrap:"groupWrap___qLGlB",check:"check___mpaLs"},a=de(54001),y=de(36619),E=de(47470),b=de(66089),x=de(59301),z=Object.defineProperty,ee=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,Se=(Xe,Ke,at)=>Ke in Xe?z(Xe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:at}):Xe[Ke]=at,ue=(Xe,Ke)=>{for(var at in Ke||(Ke={}))oe.call(Ke,at)&&Se(Xe,at,Ke[at]);if(ae)for(var at of ae(Ke))re.call(Ke,at)&&Se(Xe,at,Ke[at]);return Xe},ve=(Xe,Ke)=>ee(Xe,te(Ke)),Le=(Xe,Ke,at)=>new Promise((ut,qe)=>{var wt=ce=>{try{ht(at.next(ce))}catch(ye){qe(ye)}},ct=ce=>{try{ht(at.throw(ce))}catch(ye){qe(ye)}},ht=ce=>ce.done?ut(ce.value):Promise.resolve(ce.value).then(wt,ct);ht((at=at.apply(Xe,Ke)).next())});const{Option:Je}=De.default,{TextArea:rt}=Be.default,vt=({shixunsDetail:Xe,dispatch:Ke,practiceSetting:at})=>{const ut=(0,be.useParams)(),[qe,wt]=(0,ge.useState)({}),[ct,ht]=(0,ge.useState)([]),[ce,ye]=(0,ge.useState)(!1),Ae=(0,ge.useRef)(null),Qe=(0,ge.useRef)({editData:null,answerList:null}),[Ne,Ue]=(0,ge.useState)(!0);(0,ge.useEffect)(()=>{ie()},[]),(0,ge.useEffect)(()=>{gt()},[qe,ct]);const ie=()=>Le(void 0,null,function*(){Ue(!0),yield ke(),yield et(),Ue(!1)}),ke=()=>Le(void 0,null,function*(){const Ye=yield(0,Oe.ii)({id:ut.id,challengeId:ut.challengesId,tab:2});Qe.current.editData=Ye,Ye&&wt(Ye)}),et=()=>Le(void 0,null,function*(){const Ye=yield(0,Oe.AE)({id:ut.id,challengeId:ut.challengesId}),St=Ye.map(Pt=>ve(ue({},Pt),{contents:(0,b.S)(Pt.contents)}));Qe.current.answerList=St,Ye&&ht(St)}),Lt=(Ye=!1,St=1)=>Le(void 0,null,function*(){var Pt;ye(!0);const Ft=yield(0,Oe.xK)({id:ut.id,challengeId:ut.challengesId,challenge_answer:ct,hide_answer:qe==null?void 0:qe.hide_answer,disable_copy:qe==null?void 0:qe.disable_copy,sync_origin_shixun:Ye});ye(!1),Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}}),Ft.status===1&&((Pt=Xe==null?void 0:Xe.detail)!=null&&Pt.copy_for_exercise&&(0,b.m)(Ke,Xe,ut.id,St),be.history.push(`/shixuns/${ut.id}/edit/${ut.challengesId}/tab=4`))}),gt=()=>{clearTimeout(Ae.current),Ae.current=setTimeout(Rt,500)},Rt=()=>{!(0,Ge.isEqual)(Qe.current.editData,qe)||!(0,Ge.isEqual)(Qe.current.answerList,ct)?Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},it=()=>{var Ye;const St=()=>{be.history.push(`/shixuns/${ut.id}/challenges`),Ke({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(Ye=at==null?void 0:at.sideBar)!=null&&Ye.confirmLeave?he.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{St()}}):St()};return x.createElement("section",{className:ne.bg},x.createElement("div",{className:ne.formWrap},x.createElement(y.Z,{activeIndex:2}),x.createElement("div",{className:ne.check},x.createElement("div",null,x.createElement(fe.default,{checked:qe==null?void 0:qe.hide_answer,onChange:Ye=>wt(ve(ue({},qe),{hide_answer:Ye.target.checked}))},"\u9690\u85CF\u53C2\u8003\u7B54\u6848\u6A21\u5757")),x.createElement("div",null,x.createElement(fe.default,{checked:qe==null?void 0:qe.disable_copy,onChange:Ye=>wt(ve(ue({},qe),{disable_copy:Ye.target.checked}))},"\u7981\u6B62\u590D\u5236\u53C2\u8003\u7B54\u6848"))),x.createElement("div",{className:ne.fieldWrap},x.createElement("p",null,"\u53EF\u4EE5\u5C06\u53C2\u8003\u7B54\u6848\u5206\u7EA7\u8BBE\u7F6E\uFF0C\u8BA9\u5B66\u5458\u81EA\u884C\u9009\u62E9\u7EA7\u522B\uFF0C\u6BCF\u7EA7\u67E5\u770B\u540E\u6309\u7167\u6BD4\u4F8B\u6263\u5206\u503C\uFF08\u5B66\u5458\u5DF2\u5B8C\u6210\u4EFB\u52A1\u518D\u67E5\u770B\uFF0C\u5219\u4E0D\u5F71\u54CD\u5B66\u5458\u5DF2\u83B7\u5F97\u7684\u6210\u7EE9\uFF09"),x.createElement("p",null,"\u793A\u4F8B\uFF1A\u7EA7\u522B1\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD425%\uFF1B\u7EA7\u522B2\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD435%\uFF1B\u7EA7\u522B3\uFF0C\u6263\u51CF\u5206\u503C\u5360\u6BD440%\uFF1B"),x.createElement("p",null,"\u82E5\u5B66\u5458\u9009\u62E9\u67E5\u770B\u7EA7\u522B1\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF25%\u7684\u5206\u503C\uFF1B\u9009\u62E9\u67E5\u770B\u7EA7\u522B2\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF60%\u7684\u5206\u503C\uFF1B\u9009\u62E9\u67E5\u770B\u7EA7\u522B3\u7684\u7B54\u6848\uFF0C\u5C06\u88AB\u6263\u51CF100%\u7684\u5206\u503C\u3002"),ct==null?void 0:ct.map((Ye,St)=>x.createElement("div",{key:St,className:"mt30 pb5"},x.createElement("div",{className:ne.flexRow},x.createElement("b",{className:"font16"},"\u7EA7\u522B\uFF1A",St+1),x.createElement("div",{className:"tr flex1"},x.createElement(me.Z,{placement:"bottom",title:"\u5220\u9664"},x.createElement("span",{className:"font14 c-red current",onClick:()=>{let Pt=ct.filter((Ft,Bt)=>Bt!==St);ht(Pt)}},"\u5220\xA0\u9664")))),x.createElement("div",{className:ne.contentWrap},x.createElement("div",{className:ne.flexRow},x.createElement("div",null,x.createElement("p",{className:"font16"},"\u540D\u79F0\uFF1A"),x.createElement(Be.default,{bordered:!1,value:Ye.name,onChange:Pt=>{const Ft=ct.map((Bt,Mt)=>Mt===St?ve(ue({},Bt),{name:Pt.target.value}):Bt);ht(Ft)}})),x.createElement("div",{className:"ml10"},x.createElement("p",{className:"font16"},"\u6263\u51CF\u5206\u503C\u5360\u6BD4\uFF1A"),x.createElement(xe.Z,{min:0,max:100,precision:0,value:Ye.score,onChange:Pt=>{const Ft=ct.map((Bt,Mt)=>Mt===St?ve(ue({},Bt),{score:Pt}):Bt);ht(Ft)}})))),x.createElement("div",{className:"mt10 mb10"},x.createElement("div",{className:"font16 mb20"},"\u5185\u5BB9\uFF1A"),x.createElement(ze.Z,{placeholder:"\u5EFA\u8BAE\u63D0\u4F9B\u5305\u62EC\u6587\u4EF6\u6240\u6709\u4EE3\u7801\u7684\u5B8C\u6574\u7B54\u6848",defaultValue:Ye.contents,onChange:Pt=>{const Ft=ct.map((Bt,Mt)=>Mt===St?ve(ue({},Bt),{contents:Pt}):Bt);ht(Ft)}})))),x.createElement("div",null,x.createElement(Fe.ZP,{type:"primary",size:"middle",ghost:!0,style:{width:200},className:"mt10",onClick:()=>{let Ye=[...ct,{name:`\u89E3\u9898\u601D\u8DEF${ct.length+1}`,contents:"",score:10,id:null,level:null}];ht(Ye)}},"\u65B0\u589E\u53C2\u8003\u7B54\u6848")))),x.createElement(a.t,{onOk:()=>{var Ye,St;if(!ct.every(Pt=>Pt.name)){ye(!1),Ce.ZP.info("\u8BF7\u5148\u586B\u5199\u53C2\u8003\u7B54\u6848\u540D\u79F0");return}if(!ct.every(Pt=>Pt.contents)){ye(!1),Ce.ZP.info("\u8BF7\u5148\u586B\u5199\u53C2\u8003\u7B54\u6848\u5185\u5BB9");return}(Ye=Xe==null?void 0:Xe.detail)!=null&&Ye.is_fork_from_creator&&((St=Xe==null?void 0:Xe.detail)!=null&&St.copy_for_exercise)&&(qe!=null&&qe.has_relation)?Ke({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",type:"taskLevel",fn:(Pt,Ft)=>{Lt(Pt,Ft)}}}):Lt()},className:"customFixedButton",onCancel:it,loading:ce}),x.createElement(E.Z,{loading:Ne}))};var st=(0,be.connect)(({shixunsDetail:Xe,newCourse:Ke,globalSetting:at,practiceSetting:ut})=>({shixunsDetail:Xe,newCourse:Ke,globalSetting:at,practiceSetting:ut}))(vt)},36619:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return he}});var ge=de(59301),be=de(43418),De=de(92123);const Be=({activeIndex:fe,isEdit:me=!0,dispatch:xe,practiceSetting:Fe,shixunsDetail:Ce})=>{var ze;const Oe=(0,De.useParams)(),{id:Ge,challengesId:ne}=Oe,a=(ze=Ce==null?void 0:Ce.detail)==null?void 0:ze.is_client_unity_3d,y=(0,ge.useMemo)(()=>{var b;return[{name:a?((b=Ce==null?void 0:Ce.detail)==null?void 0:b.vrs_question_type)==1?"\u4EFB\u52A1\u8BBE\u7F6E":"\u9898\u76EE\u8BBE\u7F6E":"\u672C\u5173\u4EFB\u52A1",url:`/shixuns/${Ge}/edit/${ne}/editcheckpoint`},{name:a?"\u4EFF\u771F\u73AF\u5883\u8BBE\u7F6E":"\u8BC4\u6D4B\u8BBE\u7F6E",url:`/shixuns/${Ge}/edit/${ne}/tab=2`},{name:"\u53C2\u8003\u7B54\u6848",url:`/shixuns/${Ge}/edit/${ne}/tab=3`},{name:"\u5173\u5361\u6392\u884C\u699C",url:`/shixuns/${Ge}/edit/${ne}/tab=4`}]},[Ge,ne]),E=b=>{var x;const z=()=>{De.history.push(b),xe({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(x=Fe==null?void 0:Fe.sideBar)!=null&&x.confirmLeave?be.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{z()}}):z()};return ge.createElement("ul",{className:"challenge-nav"},me?y.map((b,x)=>fe===x?ge.createElement("li",{key:b.url}," ",ge.createElement("a",{className:"active"},b.name)," "):ge.createElement("li",{key:b.url}," ",ge.createElement("a",{onClick:()=>E(b.url)},b.name)," ")):ge.createElement("li",{key:y[0].url}," ",ge.createElement("a",{className:"active"},y[0].name)," "))};var he=(0,De.connect)(({globalSetting:fe,practiceSetting:me,shixunsDetail:xe})=>({globalSetting:fe,practiceSetting:me,shixunsDetail:xe}))(Be)},47470:function(pe,$e,de){"use strict";de.d($e,{Z:function(){return he}});var ge=de(59301),be=de(71418),De={loading:"loading___lueiN"},he=({loading:fe})=>fe?ge.createElement("div",{className:De.loading},ge.createElement(be.Z,null)):ge.createElement(ge.Fragment,null)},66089:function(pe,$e,de){"use strict";de.d($e,{S:function(){return fe},m:function(){return me}});var ge=de(94601),be=de(8591),De=de(43418),Be=de(59301),he=(xe,Fe,Ce)=>new Promise((ze,Oe)=>{var Ge=y=>{try{a(Ce.next(y))}catch(E){Oe(E)}},ne=y=>{try{a(Ce.throw(y))}catch(E){Oe(E)}},a=y=>y.done?ze(y.value):Promise.resolve(y.value).then(Ge,ne);a((Ce=Ce.apply(xe,Fe)).next())});const fe=xe=>{let Fe=document.createElement("textarea");return Fe.value=xe,Fe.value},me=(xe,Fe,Ce,ze,Oe)=>he(void 0,null,function*(){var Ge,ne;const a=yield xe({type:"shixunsDetail/saveCopyForExercise",payload:{id:Ce,save_type:ze}});ze===1?((a==null?void 0:a.status)==0&&be.ZP.success("\u4FDD\u5B58\u6210\u529F"),(Ge=a==null?void 0:a.data)!=null&&Ge.exists_same_shixun_name?xe({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(ne=a==null?void 0:a.data)==null?void 0:ne.shixun_name}}):xe({type:"classroomList/setActionTabs",payload:{}})):(xe({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&De.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Be.createElement("div",null,Be.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var y,E;(0,ge.xg)(`/shixuns/${(E=(y=Fe==null?void 0:Fe.detail)==null?void 0:y.fork_from)==null?void 0:E.fork_identifier}/challenges`)}}))})},24905:function(pe,$e,de){"use strict";de.d($e,{default:function(){return oe}});var ge=de(92310),be=de.n(ge),De=de(5630),Be=de(59301),he=de(36355),fe=de(1684),me=de(32441),Fe=Be.createContext(null),Ce=de(98447),ze=de(14088),Oe=de(4572),Ge=function(re,Se){var ue={};for(var ve in re)Object.prototype.hasOwnProperty.call(re,ve)&&Se.indexOf(ve)<0&&(ue[ve]=re[ve]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ve=Object.getOwnPropertySymbols(re);Le{var ue;const{prefixCls:ve,className:Le,rootClassName:Je,children:rt,indeterminate:vt=!1,style:st,onMouseEnter:Xe,onMouseLeave:Ke,skipGroup:at=!1,disabled:ut}=re,qe=Ge(re,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:wt,direction:ct,checkbox:ht}=Be.useContext(he.E_),ce=Be.useContext(Fe),{isFormItemInput:ye}=Be.useContext(me.aM),Ae=Be.useContext(fe.Z),Qe=(ue=(ce==null?void 0:ce.disabled)||ut)!==null&&ue!==void 0?ue:Ae,Ne=Be.useRef(qe.value);Be.useEffect(()=>{ce==null||ce.registerValue(qe.value)},[]),Be.useEffect(()=>{if(!at)return qe.value!==Ne.current&&(ce==null||ce.cancelValue(Ne.current),ce==null||ce.registerValue(qe.value),Ne.current=qe.value),()=>ce==null?void 0:ce.cancelValue(qe.value)},[qe.value]);const Ue=wt("checkbox",ve),[ie,ke]=(0,Ce.ZP)(Ue),et=Object.assign({},qe);ce&&!at&&(et.onChange=function(){qe.onChange&&qe.onChange.apply(qe,arguments),ce.toggleOption&&ce.toggleOption({label:rt,value:qe.value})},et.name=ce.name,et.checked=ce.value.includes(qe.value));const Lt=be()(`${Ue}-wrapper`,{[`${Ue}-rtl`]:ct==="rtl",[`${Ue}-wrapper-checked`]:et.checked,[`${Ue}-wrapper-disabled`]:Qe,[`${Ue}-wrapper-in-form-item`]:ye},ht==null?void 0:ht.className,Le,Je,ke),gt=be()({[`${Ue}-indeterminate`]:vt},Oe.A,ke),Rt=vt?"mixed":void 0;return ie(Be.createElement(ze.Z,{component:"Checkbox",disabled:Qe},Be.createElement("label",{className:Lt,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),st),onMouseEnter:Xe,onMouseLeave:Ke},Be.createElement(De.Z,Object.assign({"aria-checked":Rt},et,{prefixCls:Ue,className:gt,disabled:Qe,ref:Se})),rt!==void 0&&Be.createElement("span",null,rt))))};var y=Be.forwardRef(ne),E=de(94480),b=de(2738),x=function(re,Se){var ue={};for(var ve in re)Object.prototype.hasOwnProperty.call(re,ve)&&Se.indexOf(ve)<0&&(ue[ve]=re[ve]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ve=Object.getOwnPropertySymbols(re);Le{const{defaultValue:ue,children:ve,options:Le=[],prefixCls:Je,className:rt,rootClassName:vt,style:st,onChange:Xe}=re,Ke=x(re,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:at,direction:ut}=Be.useContext(he.E_),[qe,wt]=Be.useState(Ke.value||ue||[]),[ct,ht]=Be.useState([]);Be.useEffect(()=>{"value"in Ke&&wt(Ke.value||[])},[Ke.value]);const ce=Be.useMemo(()=>Le.map(it=>typeof it=="string"||typeof it=="number"?{label:it,value:it}:it),[Le]),ye=it=>{ht(Ye=>Ye.filter(St=>St!==it))},Ae=it=>{ht(Ye=>[].concat((0,E.Z)(Ye),[it]))},Qe=it=>{const Ye=qe.indexOf(it.value),St=(0,E.Z)(qe);Ye===-1?St.push(it.value):St.splice(Ye,1),"value"in Ke||wt(St),Xe==null||Xe(St.filter(Pt=>ct.includes(Pt)).sort((Pt,Ft)=>{const Bt=ce.findIndex(jt=>jt.value===Pt),Mt=ce.findIndex(jt=>jt.value===Ft);return Bt-Mt}))},Ne=at("checkbox",Je),Ue=`${Ne}-group`,[ie,ke]=(0,Ce.ZP)(Ne),et=(0,b.Z)(Ke,["value","disabled"]),Lt=Le.length?ce.map(it=>Be.createElement(y,{prefixCls:Ne,key:it.value.toString(),disabled:"disabled"in it?it.disabled:Ke.disabled,value:it.value,checked:qe.includes(it.value),onChange:it.onChange,className:`${Ue}-item`,style:it.style,title:it.title},it.label)):ve,gt={toggleOption:Qe,value:qe,disabled:Ke.disabled,name:Ke.name,registerValue:Ae,cancelValue:ye},Rt=be()(Ue,{[`${Ue}-rtl`]:ut==="rtl"},rt,vt,ke);return ie(Be.createElement("div",Object.assign({className:Rt,style:st},et,{ref:Se}),Be.createElement(Fe.Provider,{value:gt},Lt)))},ee=Be.forwardRef(z);var te=Be.memo(ee);const ae=y;ae.Group=te,ae.__ANT_CHECKBOX=!0;var oe=ae},98447:function(pe,$e,de){"use strict";de.d($e,{C2:function(){return he}});var ge=de(17313),be=de(37613),De=de(83116);const Be=fe=>{const{checkboxCls:me}=fe,xe=`${me}-wrapper`;return[{[`${me}-group`]:Object.assign(Object.assign({},(0,ge.Wf)(fe)),{display:"inline-flex",flexWrap:"wrap",columnGap:fe.marginXS,[`> ${fe.antCls}-row`]:{flex:1}}),[xe]:Object.assign(Object.assign({},(0,ge.Wf)(fe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[me]:Object.assign(Object.assign({},(0,ge.Wf)(fe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:fe.borderRadiusSM,alignSelf:"center",[`${me}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${me}-inner`]:Object.assign({},(0,ge.oN)(fe))},[`${me}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:fe.checkboxSize,height:fe.checkboxSize,direction:"ltr",backgroundColor:fe.colorBgContainer,border:`${fe.lineWidth}px ${fe.lineType} ${fe.colorBorder}`,borderRadius:fe.borderRadiusSM,borderCollapse:"separate",transition:`all ${fe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:fe.checkboxSize/14*5,height:fe.checkboxSize/14*8,border:`${fe.lineWidthBold}px solid ${fe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${fe.motionDurationFast} ${fe.motionEaseInBack}, opacity ${fe.motionDurationFast}`}},"& + span":{paddingInlineStart:fe.paddingXS,paddingInlineEnd:fe.paddingXS}})},{[` + ${xe}:not(${xe}-disabled), ${me}:not(${me}-disabled) - `]:{[`&:hover ${me}-inner`]:{borderColor:fe.colorPrimary}},[`${Ee}:not(${Ee}-disabled)`]:{[`&:hover ${me}-checked:not(${me}-disabled) ${me}-inner`]:{backgroundColor:fe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${me}-checked:not(${me}-disabled):after`]:{borderColor:fe.colorPrimaryHover}}},{[`${me}-checked`]:{[`${me}-inner`]:{backgroundColor:fe.colorPrimary,borderColor:fe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${fe.motionDurationMid} ${fe.motionEaseOutBack} ${fe.motionDurationFast}`}}},[` - ${Ee}-checked:not(${Ee}-disabled), + `]:{[`&:hover ${me}-inner`]:{borderColor:fe.colorPrimary}},[`${xe}:not(${xe}-disabled)`]:{[`&:hover ${me}-checked:not(${me}-disabled) ${me}-inner`]:{backgroundColor:fe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${me}-checked:not(${me}-disabled):after`]:{borderColor:fe.colorPrimaryHover}}},{[`${me}-checked`]:{[`${me}-inner`]:{backgroundColor:fe.colorPrimary,borderColor:fe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${fe.motionDurationMid} ${fe.motionEaseOutBack} ${fe.motionDurationFast}`}}},[` + ${xe}-checked:not(${xe}-disabled), ${me}-checked:not(${me}-disabled) - `]:{[`&:hover ${me}-inner`]:{backgroundColor:fe.colorPrimaryHover,borderColor:"transparent"}}},{[me]:{"&-indeterminate":{[`${me}-inner`]:{backgroundColor:fe.colorBgContainer,borderColor:fe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:fe.fontSizeLG/2,height:fe.fontSizeLG/2,backgroundColor:fe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ee}-disabled`]:{cursor:"not-allowed"},[`${me}-disabled`]:{[`&, ${me}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${me}-inner`]:{background:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,"&:after":{borderColor:fe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:fe.colorTextDisabled},[`&${me}-indeterminate ${me}-inner::after`]:{background:fe.colorTextDisabled}}}]};function he(fe,me){const Ee=(0,be.TS)(me,{checkboxCls:`.${fe}`,checkboxSize:me.controlInteractiveSize});return[Be(Ee)]}$e.ZP=(0,De.Z)("Checkbox",(fe,me)=>{let{prefixCls:Ee}=me;return[he(Ee,fe)]})}}]); + `]:{[`&:hover ${me}-inner`]:{backgroundColor:fe.colorPrimaryHover,borderColor:"transparent"}}},{[me]:{"&-indeterminate":{[`${me}-inner`]:{backgroundColor:fe.colorBgContainer,borderColor:fe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:fe.fontSizeLG/2,height:fe.fontSizeLG/2,backgroundColor:fe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${xe}-disabled`]:{cursor:"not-allowed"},[`${me}-disabled`]:{[`&, ${me}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${me}-inner`]:{background:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,"&:after":{borderColor:fe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:fe.colorTextDisabled},[`&${me}-indeterminate ${me}-inner::after`]:{background:fe.colorTextDisabled}}}]};function he(fe,me){const xe=(0,be.TS)(me,{checkboxCls:`.${fe}`,checkboxSize:me.controlInteractiveSize});return[Be(xe)]}$e.ZP=(0,De.Z)("Checkbox",(fe,me)=>{let{prefixCls:xe}=me;return[he(xe,fe)]})}}]); diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.9a10e4c5.chunk.css b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.9a10e4c5.chunk.css deleted file mode 100644 index 31fb55d1fa..0000000000 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.9a10e4c5.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.flex_box_center___MjMLk{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___PcWTa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Cq7f3{align-items:center;box-align:center}.flex_box_center_end___sMsFo{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___n6Hxq{flex-direction:column;box-orient:block-axis}.bg____Ic4Q{width:100%;margin-bottom:67px;padding-bottom:30px;overflow-y:auto;padding-top:40px}.bg____Ic4Q .radioStyle___kewjX{display:flex;height:50px;line-height:50px}.bg____Ic4Q .formWrap___jcehV{padding:0 40px}.bg____Ic4Q .formWrap___jcehV label{font-size:16px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp{margin-top:23px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .searchInput___UhEpw .ant-input{height:38px;background-color:#f5f5f5;padding:4px 0}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-form-item-label{margin-top:10px;margin-bottom:8px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-input{height:50px;background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-input>input,.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-select{width:100%;height:50px;background-color:#f5f5f5;padding:9px 20px 9px 8px;margin-right:9px;display:flex;align-items:center}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-radio-wrapper{margin-right:60px}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .title___RpX2E{padding:26px 0;font-size:16px;font-weight:700;color:#333}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-form-item-label{margin-top:10px;margin-bottom:10px}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-input{height:50px;background-color:#f5f5f5!important;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-input>input,.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-select{width:100%;height:50px;background-color:#f5f5f5;padding:9px 20px 9px 8px;margin-right:9px}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .title___RpX2E{padding:26px 0;font-size:16px;font-weight:700;color:#333}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .flexRowCenter___M7zUK{display:flex;flex-direction:row;align-items:center}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-form-item-label{margin-top:10px;margin-bottom:10px}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-form-item{flex-direction:row}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-input{height:50px;background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-input>input,.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj [class^=monaco-editor] textarea{background:none!important;padding:auto;height:auto}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .title___RpX2E{padding:26px 0;font-size:16px;font-weight:700;color:#333}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .testJi___s6Skh{flex-direction:row}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .testJi___s6Skh .ant-form-item-control-input-content{margin-top:-10px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .upBtn___eKx0D{position:relative}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .upBtn___eKx0D button{position:absolute;z-index:10;top:-57px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .checkboxs___B4uNe span[class~=ant-checkbox]{top:0!important}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD{padding-left:73px;margin-top:-13px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x{width:278px;border-radius:8px;display:flex;align-items:center}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-form-item-label{margin-top:10px;margin-bottom:10px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-form-item{flex-direction:row}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-input{background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-input>input,.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR{padding:20px 0}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR .customInput___pywUD{height:30px;background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR .customInput___pywUD>input,.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR .customInput___pywUD>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj textarea{background-color:#f5f5f5;padding:20px;height:200px}.btns___lJQrt{display:flex;align-items:center;gap:20px;margin-bottom:20px}.btns___lJQrt>div{display:flex;align-items:center;justify-content:center}.btns___lJQrt .uploadBtn___bb8tt{width:110px;height:38px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 -1px 3px #ffffff80;border-radius:2px;cursor:pointer}.btns___lJQrt .uploadBtn___bb8tt>span{color:#fff}.btns___lJQrt .addBtn___KmPzc{width:110px;height:38px;background:linear-gradient(180deg,#fff,#f6f7f9),#d3e0fd;box-shadow:0 2px 4px #e0dfe1;border-radius:2px;border:1px solid #BACFFE;cursor:pointer}.btns___lJQrt .addBtn___KmPzc>span{color:#3061d0}.btns___lJQrt .deleteBtn___j15T3{width:96px;height:38px;background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e1dfdf;border-radius:2px;border:1px solid #FEBABA;cursor:pointer}.btns___lJQrt .deleteBtn___j15T3>span{color:#e30000}.uploadTips___ezbms{font-size:14px;font-weight:400;color:#000}.uploadTips___ezbms .uploadTipsIcon___ZWRlB{color:#3061d0;margin-left:6px;cursor:pointer}.downloadBtn____jf42{font-size:14px;font-weight:400;color:#3061d0;cursor:pointer}.uploadBtn___bb8tt{width:108px;height:38px;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #BACFFE;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#3061d0;font-size:14px}.uploadBtn___bb8tt i{font-size:12px;margin-right:6px}.fileItem___fJ0rs{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-left:20px}.fileItem___fJ0rs>span{height:14px;font-weight:400;font-size:14px;color:#3061d0;line-height:14px;text-decoration-line:underline}.multiSelect___Xb8b8 .ant-select-selector{height:40px!important;padding:0 11px!important}.buttonFixed___vyq30{position:fixed;z-index:1000;bottom:0;left:0;width:100%;height:63px;background:#fff;box-shadow:0 -4px 4px #0000000d}.button___hxmYv{width:100px;height:38px!important;font-weight:400;padding:0;font-size:14px!important}.buttonWrap___uK8dl{display:flex;flex-direction:row;justify-content:center;align-items:center;height:100%}.flex_box_center___vvciu{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___WPxvw{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___YY9Br{align-items:center;box-align:center}.flex_box_center_end___FiVhK{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___FWnfq{flex-direction:column;box-orient:block-axis}.wrap___AEhcV{padding:0 20px 20px}.content___NDdD8{display:flex;flex-direction:column;height:200px;overflow-y:auto;background:#f5f5f5;padding:10px;font-size:14px}.content___NDdD8 a{color:#05101a}.content___NDdD8 a:hover{color:#40a9ff}.mainPathWrap___BNeQ2{display:flex;flex-direction:row}.colorBlue___UwyKz{color:#0152d9}.empty___aaM_9{width:100%;height:100%;display:box;display:flex;justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center;flex-direction:column;box-orient:block-axis;background:#fff;padding:100px}.wrap___MkYbQ [class~=ant-upload-drag]{background:#1890ff0a!important;border-radius:4px;border:1px dashed #0152d9}.wrap___MkYbQ .colorBlue___onjbP{color:#0152d9}.wrap___MkYbQ .repeatedName___nbqnE{color:red}.wrap___MkYbQ .text___xvutp{margin-top:20px;color:#464f66;line-height:24px}.wrap___MkYbQ .greyText___dihvZ{font-size:14px;font-weight:400;color:#5f6368}.wrap___MkYbQ .noData___LxOJA{height:180px;margin-bottom:30px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A{display:flex;align-items:center;justify-content:center}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A img{width:46px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A span{font-size:14px;font-weight:400;color:#9096a3}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A .uploadText___Et3KS{color:#3061d0}.wrap___MkYbQ .btnS___k1e6j{height:32px;border-radius:4px;background:#3061d0}.wrap___MkYbQ .btnS___k1e6j i{margin-right:6px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]{width:60px;height:38px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:23px;border:none;display:inline-flex;align-items:center;justify-content:center;margin-right:20px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]:before{background-color:transparent}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper] span{color:#464f66;font-size:14px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]{background-color:#fff;box-shadow:0 2px 4px #e0dfe1;border:1px solid #BACFFE;background:#d3e0fd linear-gradient(180deg,#fff,#f6f7f9)}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:first-child{border-right-color:#bacffe}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:focus-within{box-shadow:0 2px 4px #e0dfe1}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked] span{color:#165dff;font-size:14px}.head___s4Eix{display:flex;margin-bottom:36px}.head___s4Eix .operation___JCAVh{text-align:center}.head___s4Eix>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.headProgram___uWA_M{display:flex;height:40px;line-height:40px;background:#f6f7f8;box-shadow:0 2px 4px #eaeef4;padding-left:5px;padding-right:5px}.headProgram___uWA_M .operation___JCAVh{text-align:center}.headProgram___uWA_M>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.listWrapper___xW3b4{max-height:214px;overflow:auto}.listWrapper___xW3b4::-webkit-scrollbar{display:none}.listWrapper___xW3b4 .list___dCbd6{display:flex;margin-bottom:36px;align-items:center}.listWrapper___xW3b4 .list___dCbd6 .del___abNho{color:#e53333;cursor:pointer}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf>span{color:#3061d0;cursor:pointer;text-decoration:underline}.listWrapper___xW3b4 .list___dCbd6>div{text-align:left;display:inline-block;background:#fff}.loading___lueiN{position:absolute;z-index:1000;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#ffffffbf}.challenge-nav{display:flex;padding:0;border-bottom:1px solid #f1f1f1;margin-bottom:16px}.challenge-nav>li{position:relative;height:40px;margin-right:60px;font-size:16px;line-height:17px}.challenge-nav>li>a{color:#05101a}.challenge-nav .active{color:#0152d9}.challenge-nav .active>a{color:#0152d9!important}.challenge-nav .active:after{position:absolute;content:"";width:100%;background-color:#0152d9;height:3px;border-radius:2px;left:0;bottom:0}.flex_box_center___NeSU8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ImTGl{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___BtRd9{align-items:center;box-align:center}.flex_box_center_end___qcLe3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Ze_3q{flex-direction:column;box-orient:block-axis}.banner___PoUBO{display:flex;align-items:center;justify-content:center}.banner___PoUBO .content___XoDjy{width:1200px;height:212px;display:flex;align-items:flex-start;justify-content:space-between}.banner___PoUBO .content___XoDjy aside{margin-top:56px}.banner___PoUBO .content___XoDjy aside p{display:flex;align-items:center}.banner___PoUBO .content___XoDjy aside p b{font-size:30px;font-weight:500;color:#000;letter-spacing:4px;margin-right:20px}.banner___PoUBO .content___XoDjy aside p span{font-size:16px;color:#000;letter-spacing:4px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j{margin-top:35px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div img{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___HDG9F{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___KhP6Z{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZlFcA{align-items:center;box-align:center}.flex_box_center_end___o7d_z{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ULJgZ{flex-direction:column;box-orient:block-axis}.row___Skft7{background:#ffffffb3;border-radius:12px;border:1px solid #FFFFFF;backdrop-filter:blur(4px);padding:14px 20px;margin-bottom:10px}.row___Skft7 .title___KP2uZ{height:20px;font-weight:500;font-size:14px;color:#2c3a58;line-height:20px}.row___Skft7 .fenge___yM8ys{height:1px;border:1px dashed rgba(204,221,255,.5);margin:15px 0}.row___Skft7 .tagsWrap___XcmUd{flex:1 1;position:relative}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl i{display:inline-block;font-size:12px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz{max-height:245px;overflow:auto}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db{display:flex;flex-wrap:wrap;gap:20px 14px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span{display:inline-flex;align-items:center;font-size:14px;cursor:pointer;padding:2px 12px;background:#fff;border-radius:6px;border:1px solid #DAE3F3}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .name___gsqnj{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .num___sRnLB{margin-left:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span:hover{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db .active___yNnAU{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___Skft7 .tagsBorderWrap___BKCHD .bar___gdtOz{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___KD0ZB{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___rMep5{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___jD3Po{align-items:center;box-align:center}.flex_box_center_end___RbohB{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GmzUj{flex-direction:column;box-orient:block-axis}.list___dlUtq{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___dlUtq .wrap___LYbIZ{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___dlUtq .wrap___LYbIZ:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___dlUtq .wrap___LYbIZ .lockWrap___U7Ajb{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .cover___KP0L8{width:100%;height:26vh;border-radius:10px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .bq___DtmL1{background:linear-gradient(180deg,#f09c1e,#bd6f1d);border-radius:6px;border:1px solid rgba(255,255,255,.6);position:absolute;padding:4px 8px;color:#fff;font-size:12px;line-height:12px;top:6px;left:6px;display:flex;align-items:center;justify-content:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .sign___TZ9Wq{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .titleBg___tnX0O{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq .e___zxiB9{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___dlUtq .wrap___LYbIZ .li___bsnqy .text____ZmZX{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .value___WPLok{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E{display:flex;align-items:center;margin-left:auto}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]{font-size:13px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:278px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 101px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.list___jb2Ay .wrapisCurrent___qIfQT{height:280px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrapisCurrent___qIfQT:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrapisCurrent___qIfQT .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 105px);border-radius:8px 8px 0 0}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ{font-size:16px;font-weight:600;color:#000;padding:10px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___vu9yi{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LwoH7{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pUG0J{align-items:center;box-align:center}.flex_box_center_end___xWI9t{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mr5rB{flex-direction:column;box-orient:block-axis}.list___zE1wj{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___zE1wj .wrap___5HG1h{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___zE1wj .wrap___5HG1h:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___zE1wj .wrap___5HG1h .lockWrap___zziwX{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .cover___G1cj9{width:100%;height:26vh;border-radius:10px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .bq___hpdTt{width:64px;height:20px;background:#19b691b3;color:#fff;border-radius:13px;font-size:12px;line-height:20px;text-align:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .sign___kHAha{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___zE1wj .wrap___5HG1h .li___aNI2z .titleBg___S1VlI{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM .e___fd1jW{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .text___b9Tdy{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___zE1wj .wrap___5HG1h .li___aNI2z .value___ZASRv{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div{display:flex;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div>span{margin-right:12px;font-size:12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag1___c9ebE,.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___PuarE{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___q4lAa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___wsb8w{align-items:center;box-align:center}.flex_box_center_end___H781P{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___bHK1y{flex-direction:column;box-orient:block-axis}.list___e2XDo{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___e2XDo .wrap___cz7sh{height:234px;border-radius:12px;border:1px solid #DEE8FF;position:relative}.list___e2XDo .wrap___cz7sh:hover{cursor:pointer;box-shadow:0 4px 10px #a8c2ee80;border:1px solid #3875FF}.list___e2XDo .wrap___cz7sh:hover .lockWrap___EPuRr{display:flex}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp{position:absolute;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .img___kSEud{width:72px;height:72px;border-radius:50%;border:2px solid #FFFFFF;margin-top:14px}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .text___GIlhY{height:24px;background:linear-gradient(164deg,#526d958a,#2c4773c7);border-radius:8px;border:1px solid #FFFFFF;backdrop-filter:blur(2px);color:#fff;font-size:14px;line-height:14px;padding:5px 14px;display:flex;align-items:center;justify-content:center;position:relative;top:-15px}.list___e2XDo .wrap___cz7sh .top___K4GCD{margin-top:55px}.list___e2XDo .wrap___cz7sh .top___K4GCD .sign___KCjEP{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___e2XDo .wrap___cz7sh .top___K4GCD .name___z3U4d{height:16px;font-weight:600;font-size:16px;color:#262a46;line-height:16px;text-align:center;font-style:normal;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.list___e2XDo .wrap___cz7sh .top___K4GCD .text___GIlhY{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___e2XDo .wrap___cz7sh .middle___LeUM5{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAegAAACOCAYAAAD6ipv/AAAAAXNSR0IArs4c6QAACNtJREFUeF7t3TGLXAUXBuD3kDAj2WAnSLAUCws7wTJWioVg7S8wpa2YImJrZ/wF1oIg2CWlYCkIimUIgl2yIztrwvGb+XaXGDcmhWaPzrNFWLLD3Pc+58DLvTM7W3nCr+5erO7l9bqftzt5OZVLlVzqzsUnfAoPI0CAAAECOyNQlf1Obqdzu5Lv+1y+3DufG1V1+CQI9bgH7Xc/X+tc7cq76Tz7uMf7OQECBAgQIPAIgcqd6nzey1y7WPXzXzk9sqC7e/nrYT5I8n539mATIECAAAECf49AVVZJPrmwyMdVtT7tWU8t6O1V82G+6M5rf08Uz0KAAAECBAg8LFCVb3qRd067mv5TQa/X/cq9zledvICSAAECBAgQ+GcFKrl1vvLWclnfPXikPxT00evN3yrnf3YYnp0AAQIECDxUxrd6mVc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X0uq9158Mds3C6BAgQIEBgjEBVPtpb1tVNoJOC7u7lr4e52Z3XxiQVhAABAgQI7IhAVb65sMjlqlr/oaBPbnWv820nL+yIh9MkQIAAAQJnLlDJrV7m1c2t7eMwJ1fQx/+xXvcr9zpfKekzn5cABAgQILADAptyPl95a7ms7x483T8V9MmV9GG+cLt7BzbDKRIgQIDAmQlsbmv3Iu88eOX8yCvo4x8cvSb9QZL3vbv7zGbnwAQIECDwHxTYvFs7yScXFvn4+DXnh0/z1CvoBx+0/RWsda525V0fZvIf3BKnRIAAAQJPT6Bypzqf9zLXTrtqfuwt7tOSbj9x7F5er/t5u5OXU7lUySV/qvLpzdWRCBAgQODfI1CV/U5up3O7ku/7XL7cO58bVXX4JGfxOzmrxUcafXV8AAAAAElFTkSuQmCC) no-repeat center center;background-size:100% 100%;height:71px;margin:23px 15px 17px;padding:13px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ{display:flex;align-items:center;justify-content:space-between}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ>div{display:flex;align-items:center}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .text___GIlhY{height:20px;font-weight:400;font-size:14px;color:#727c95;line-height:20px;margin-right:10px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .value___qigWu{width:42px;height:20px;font-weight:400;font-size:14px;color:#262a46;line-height:20px}.list___e2XDo .wrap___cz7sh .btns___kGysm{display:flex;align-items:center;margin-top:12px;justify-content:center}.list___e2XDo .wrap___cz7sh .btns___kGysm div{width:76px;background:#11af8d26;height:26px;border-radius:12px;border:1px solid #11AF8D;font-size:12px;color:#11af8d;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .btns___kGysm aside{width:76px;background:#f4831e26;height:26px;border-radius:12px;border:1px solid #E08049;font-size:14px;color:#c05a0c;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>div{margin-left:auto}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.list___e2XDo .warpStyle___pH3uC:hover{border:2px solid #fff!important;box-shadow:none!important}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___itkVp{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___F4yZx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ko4cu{align-items:center;box-align:center}.flex_box_center_end___cCBYR{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mpq6K{flex-direction:column;box-orient:block-axis}.tabs___qRAhL{display:flex;justify-content:space-between;align-items:center;height:40px}.tabs___qRAhL .tabsWrap___CGRvS{display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6{font-weight:500;color:#3875ff}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:none;border-radius:100px 100px 0 0}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio{color:#3061d0;background:#e5eeff;border-radius:999px;border:1px solid #C9DBFF;height:36px}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio:hover{border:1px solid #3061D0}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368}.ClassRoomItem___F4pL0{border:1px solid transparent}.ClassRoomItem___F4pL0:hover{border:1px solid #165DFF!important}.ClassRoomItem___F4pL0:hover .TitleDom___DB76T{color:#165dff}.ClassRoomItem___F4pL0 .TitleDom___DB76T{color:#333}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.markdown-editor-wrapper{position:relative;margin-bottom:12px}.markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center;overflow:hidden}.markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}.markdown-editor-body .CodeMirror-wrap{padding-bottom:15px}.markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px}.markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;font-size:16px}.markdown-editor-container.full-screen{position:fixed;inset:0;height:100vh!important;z-index:998}.markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}.markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}.markdown-editor-container.on-preview .codemirror-container,.markdown-editor-container.on-preview .preview-container{width:50%}.mini .markdown-editor-body{height:calc(100% - 28px)}.flex-end{justify-content:flex-end}.my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}.markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:0px}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}.CodeMirror-empty.CodeMirror-focused{outline:none}.CodeMirror pre.CodeMirror-placeholder{color:#999}.CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.audio-upload-container{display:flex;align-items:center}.audio-upload-container .upload-audio-btn{height:38px!important;padding:9px 27px!important}.audio-upload-container .audio-file-item{display:flex;align-items:center;justify-content:space-between;background:#f6f7f9;border-radius:16px;padding:9px 20px;margin-left:20px}.audio-upload-container .audio-file-item .audio-file-info{display:flex;align-items:center;flex:1 1}.audio-upload-container .audio-file-item .audio-file-info .file-name{font-size:14px;font-weight:400;color:#3061d0;margin-left:8px;margin-right:20px;flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-upload-container .audio-file-item .audio-file-info .file-size{font-size:14px;color:#c5c5c5;margin-right:40px;text-align:right}.audio-upload-container .audio-file-item i.icon-shanchu12:hover{color:#f65160!important} diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.660e9f7b.async.js b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.add55dfd.async.js similarity index 51% rename from p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.660e9f7b.async.js rename to p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.add55dfd.async.js index b4ba535609..ca403a75ec 100644 --- a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.660e9f7b.async.js +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.add55dfd.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[9205],{89489:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},59477:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},26227:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},49198:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},41464:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},52671:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},8657:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},56082:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},33853:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},15075:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},43531:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},38819:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return se}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(le,ue){return ot.createElement(be.Z,(0,he.Z)({},le,{ref:ue,icon:Pe}))},te=ot.forwardRef(oe),se=te},32313:function(Ct,Ft){"use strict";Ft.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},6404:function(){"use strict";function Ct(ne,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(Ct.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(Ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(Ct.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(Ct.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var y=go.Shape._FigureParameters[ne];return y?y[a]:null},go.Shape.setFigureParameter=function(ne,a,y){if(!(y instanceof Ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ne];x||(x=[],go.Shape._FigureParameters[ne]=x),x[a]=y};var Ft=[];function Ae(ne,a){var y=Ft.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function he(){var ne=Ft.pop();return ne===void 0?new go.Point:ne}function ot(ne){Ft.push(ne)}function E(ne,a,y,x,b,z,ee,re,ce){ce||(ce=new go.Point);var me=ne-y,ve=b-ee,ge=NaN,pe=NaN;if(me===0)if(ve===0)ne===y&&(ge=ne,pe=a);else{var fe=(z-re)/ve,ye=z-fe*b;ge=ne,pe=fe*ge+ye}else if(ve===0){var Se=(a-x)/me,Oe=a-Se*ne;ge=b,pe=Se*ge+Oe}else{var Se=(a-x)/me,fe=(z-re)/ve,Oe=a-Se*ne,ye=z-fe*b;ge=(ye-Oe)/(Se-fe),pe=Se*ge+Oe}return ce.x=ge,ce.y=pe,ce}function Pe(ne,a,y,x,b,z,ee,re,ce,me,ve,ge,pe,fe){var ye=1-ce,Se=ce,Oe=ne*ye+y*Se,Ce=a*ye+x*Se,Le=y*ye+b*Se,De=x*ye+z*Se,ke=b*ye+ee*Se,Ue=z*ye+re*Se,et=Oe*ye+Le*Se,Ge=Ce*ye+De*Se,it=Le*ye+ke*Se,Qe=De*ye+Ue*Se,Ye=et*ye+it*Se,Ve=Ge*ye+Qe*Se;me.x=Oe,me.y=Ce,ve.x=et,ve.y=Ge,ge.x=Ye,ge.y=Ve,pe.x=it,pe.y=Qe,fe.x=ke,fe.y=Ue}var be=new go.Spot(.156,.156),oe=new go.Spot(.844,.844),te=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ne,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ne,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=be,b.spot2=oe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,te*a,0,a,(1-te)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,te*y,(1-te)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,te*y,te*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-te)*a,0,0,(1-te)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=be,z.spot2=oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ne,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var ee=b%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ee,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=te/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var x=ne?ne.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,ee=y/2,re=Math.atan2(y,a),ce=x-Math.min(Math.cos(re)*x/2,z),me=x-Math.min(Math.sin(re)*x/2,ee),b=new go.Geometry,ve=new go.PathFigure(ce,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ce,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,me)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-me)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ce,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,ce,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-me)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,te*a,0,a,(.5-te/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+te/2)*y,te*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,ee=.3,re=0,ce=z*te;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+ce+re)*y,(.5-ce+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+ce+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-ce+re)*y,(.5+ce+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ce+ee)*a,(.5-z+re)*y,(.5-z+ee+.05)*a,(.5-ce+re-.02)*y)),z=.2,ee=0,re=-.3,ce=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+ce+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-ce+re)*y,(.5+ce+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-ce+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ce+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+ce+re)*y,(.5-ce+ee)*a,(.5+z+re)*y)),z=.2,ee=-.3,re=0,ce=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee-.05)*a,(.5-ce+re-.02)*y,(.5+ce+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-ce+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-ce+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+ce+re)*y,(.5-ce+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ce+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+ce+re)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,ee=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,re*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*re,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),re=.75,b=new go.PathFigure((ee+z)*a,re*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*re,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,ce=new go.PathFigure(ee*a,(re-z)*y);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),z=.4,b=te*.4;var me=he(),ve=he(),ge=he(),pe=he();Pe(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.42,me,ve,ge,pe,pe);var fe=he(),ye=he(),Se=he();Pe(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.58,pe,pe,Se,fe,ye);var Oe=he(),Ce=he(),Le=he();Pe(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.42,Oe,Ce,Le,pe,pe);var De=he(),ke=he(),Ue=he();return Pe(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.58,pe,pe,Ue,De,ke),ce.add(new go.PathSegment(go.PathSegment.Move,Ue.x*a,Ue.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,De.x*a,De.y*y,ke.x*a,ke.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,ve.x*a,ve.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,Ue.x*a,Ue.y*y).close()),ce.add(new go.PathSegment(go.PathSegment.Move,Le.x*a,Le.y*y)),ce.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,fe.x*a,fe.y*y,ye.x*a,ye.y*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*a,Le.y*y,Oe.x*a,Oe.y*y,Ce.x*a,Ce.y*y).close()),ot(me),ot(ve),ot(ge),ot(pe),ot(fe),ot(ye),ot(Se),ot(Oe),ot(Ce),ot(Le),ot(De),ot(ke),ot(Ue),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,ce=he(),me=he(),ve=he(),ge=he(),pe=new go.PathFigure((ee-z)*a,re*y,!1);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),Pe(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.44,ve,ge,me,ce,ce),pe.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y));var fe=Ae(me.x,me.y);Pe(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.56,ce,ce,me,ve,ge);var ye=Ae(me.x,me.y);pe.add(new go.PathSegment(go.PathSegment.Line,(fe.x*.1+.95*.9)*a,fe.y*.1*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,fe.y*.1*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,.15*y)),pe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,(ye.y*.1+.05*.9)*y)),pe.add(new go.PathSegment(go.PathSegment.Line,ye.x*a,ye.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),z=.35,b=te*.35;var Se=new go.PathFigure(ee*a,(re-z)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y));var Oe=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(Oe),ot(ce),ot(me),ot(ve),ot(ge),ot(fe),ot(ye),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(ne,a,y){var x=new go.Geometry,b=.375,z=0,ee=-.125,re=b*te,ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y,(.5+re+z)*a,(.5-b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,(.5+b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,re=b*te;var ce=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y,(.5+re+z)*a,(.5+b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y,(.5-re+z)*a,(.5-b+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y));var ce=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(ce),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(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ne,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,ee=(.5-b/2)*y,re=(.5+b/2)*y,ce=new go.Geometry,me=new go.PathFigure(0,ee,!0);ce.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ee)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,z,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ce.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,he());return ce.spot2=new go.Spot(ve.x,ve.y),ot(ve),ce}),go.Shape.setFigureParameter("Arrow2",0,new Ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,ee=(y-b)/2,re=ee+b,ce=new go.Geometry,me=new go.PathFigure(0,ee,!0);ce.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ee)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,z,y)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ce.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,he());return ce.spot2=new go.Spot(ve.x,ve.y),ot(ve),ce}),go.Shape.defineFigureGenerator("Chevron",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ce=E(0,.5,.3,0,0,b/y,.1,b/y,he());return ee.spot1=new go.Spot(ce.x,ce.y),ce=E(.7,1,1,.5,0,z/y,1,z/y,ce),ee.spot2=new go.Spot(ce.x,ce.y),ot(ce),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,ce=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,ce=y):(z=0,ee=y,re=0,ce=y));var me=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var ge=E(0,.5,.3,re/y,0,z/y,1,z/y,he());return me.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,ce/y,1,.5,0,ee/y,1,ee/y,ge),me.spot2=new go.Spot(ge.x,ge.y),ot(ge),me}),go.Shape.setFigureParameter("IBeamArrow",0,new Ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var ce=E(.7,1,1,.5,0,z/y,1,z/y,he());return ee.spot2=new go.Spot(ce.x,ce.y),ot(ce),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,ce=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,ce=y):(z=0,ee=y,re=0,ce=y));var me=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);me.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),me.spot1=new go.Spot(0,z/y);var ge=E(.7,ce/y,1,.5,0,ee/y,1,ee/y,he());return me.spot2=new go.Spot(ge.x,ge.y),ot(ge),me}),go.Shape.setFigureParameter("Pointer",0,new Ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,he());return b.spot2=new go.Spot(ee.x,ee.y),ot(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,he());return b.spot2=new go.Spot(ee.x,ee.y),ot(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var ce=E(.7,1,1,.5,0,z/y,1,z/y,he());return ee.spot2=new go.Spot(ce.x,ce.y),ot(ce),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var ce=E(.7,1,1,.5,0,z/y,1,z/y,he());return ee.spot2=new go.Spot(ce.x,ce.y),ot(ce),ee}),go.Shape.setFigureParameter("SquareArrow",0,new Ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-te*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(a,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-te*x,(.5+z)*a,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-te*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-te*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-te*x));var re=new go.PathFigure(0,y-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-te*x,(.5-z)*a,y-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-te*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+te*x,0,2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+te*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var re=new go.PathFigure(a-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-te*x,0,a-2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-te*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ne,a,y){var x=new go.Geometry,b=.2,z=.1,ee=te*b,re=te*z,ce=.5,me=.1,ve=new go.PathFigure(ce*a,(me+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce-b)*a,me*y,(ce-ee)*a,(me+z)*y,(ce-b)*a,(me+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-z)*y,(ce-b)*a,(me-re)*y,(ce-ee)*a,(me-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+b)*a,me*y,(ce+ee)*a,(me-z)*y,(ce+b)*a,(me-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+z)*y,(ce+b)*a,(me+re)*y,(ce+ee)*a,(me+z)*y));var ge=.05,pe=te*ge;ce=.05,me=.25;var fe=new go.PathFigure(.5*a,.2*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),ce=.95,me=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ge)*a,me*y,(ce+pe)*a,(me-ge)*y,(ce+ge)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),ge=.025,pe=te*ge,ce=.825,me=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ge)*y,(ce+ge)*a,(me-pe)*y,(ce+pe)*a,(me-ge)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,me*y,(ce-pe)*a,(me-ge)*y,(ce-ge)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),ge=.05,pe=te*ge,ce=.5,me=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ge)*y,(ce+ge)*a,(me-pe)*y,(ce+pe)*a,(me-ge)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,me*y,(ce-pe)*a,(me-ge)*y,(ce-ge)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),ge=.025,pe=te*ge,ce=.175,me=.35,fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ge)*y,(ce+ge)*a,(me-pe)*y,(ce+pe)*a,(me-ge)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ge)*a,me*y,(ce-pe)*a,(me-ge)*y,(ce-ge)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),ge=.05,pe=te*ge,ce=.05,me=.25,fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ge)*y,(ce-ge)*a,(me-pe)*y,(ce-pe)*a,(me-ge)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=te*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=te*.5,re=.5,ce=new go.PathFigure(a,re*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+ee)*y,(re+ee)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-ee)*a,y,0,(re+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-ee)*y,(re-ee)*a,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+ee)*a,0,a,(re-ee)*y));var me=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),me.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),me.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var re=new go.PathFigure(.5*b*a,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,z*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ce=new go.PathFigure(.8*a,.75*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.9,re=.5,ce=new go.PathFigure(.8*a,.5*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var me=new go.PathFigure((ee+z)*a,re*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.4,ee=te*.1,re=.1,ce=.9,me=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var ge=new go.PathFigure((ce+re)*a,me*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+re)*y,(ce+re)*a,(me+ee)*y,(ce+ee)*a,(me+re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a,me*y,(ce-ee)*a,(me+re)*y,(ce-re)*a,(me+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-re)*y,(ce-re)*a,(me-ee)*y,(ce-ee)*a,(me-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a,me*y,(ce+ee)*a,(me-re)*y,(ce+re)*a,(me-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,ce=new go.PathFigure(.8*a,.5*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var me=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,ce=new go.PathFigure(0,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(re-b)*y,.8*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+z)*y,(ee+z+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,ce=new go.PathFigure(.1*a,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var ve=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,ce=new go.PathFigure(.1*a,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var me=new go.PathFigure(.2*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(re-b)*y,.9*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.1,re=.5,ce=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,ce=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,re*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,re*y,ee*a,(re-z)*y,ee*a,(re+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ne,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var ee=te*.8,re=.8,ce=0,me=.5,ve=(b-a)/2,ge=(z-y)/2,pe=new go.PathFigure(ce*a+ve,(me+re)*y+ge,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+ve,me*y+ge,(ce-ee)*a+ve,(me+re)*y+ge,(ce-re)*a+ve,(me+ee)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me-re)*y+ge,(ce-re)*a+ve,(me-ee)*y+ge,(ce-ee)*a+ve,(me-re)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re+ee*.5)*a+ve,me*y+ge,ce*a+ve,(me-re)*y+ge,(ce-re+ee*.5)*a+ve,(me-ee)*y+ge)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me+re)*y+ge,(ce-re+ee*.5)*a+ve,(me+ee)*y+ge,ce*a+ve,(me+re)*y+ge).close()),ee=te*.4,re=.4,ce=.2,me=.5;var fe=new go.PathFigure(ce*a+ve,(me+re)*y+ge,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+ve,me*y+ge,(ce-ee)*a+ve,(me+re)*y+ge,(ce-re)*a+ve,(me+ee)*y+ge)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me-re)*y+ge,(ce-re)*a+ve,(me-ee)*y+ge,(ce-ee)*a+ve,(me-re)*y+ge)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re+ee*.5)*a+ve,me*y+ge,ce*a+ve,(me-re)*y+ge,(ce-re+ee*.5)*a+ve,(me-ee)*y+ge)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me+re)*y+ge,(ce-re+ee*.5)*a+ve,(me+ee)*y+ge,ce*a+ve,(me+re)*y+ge).close()),ee=te*.2,re=.2,ce=.5,me=.5;var ye=new go.PathFigure((ce-re)*a+ve,me*y+ge,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me-re)*y+ge,(ce-re)*a+ve,(me-ee)*y+ge,(ce-ee)*a+ve,(me-re)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+ve,me*y+ge,(ce+ee)*a+ve,(me-re)*y+ge,(ce+re)*a+ve,(me-ee)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me+re)*y+ge,(ce+re)*a+ve,(me+ee)*y+ge,(ce+ee)*a+ve,(me+re)*y+ge)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*a+ve,me*y+ge,(ce-ee)*a+ve,(me+re)*y+ge,(ce-re)*a+ve,(me+ee)*y+ge)),ee=te*.4,re=.4,ce=.8,me=.5;var Se=new go.PathFigure(ce*a+ve,(me-re)*y+ge,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+ve,me*y+ge,(ce+ee)*a+ve,(me-re)*y+ge,(ce+re)*a+ve,(me-ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me+re)*y+ge,(ce+re)*a+ve,(me+ee)*y+ge,(ce+ee)*a+ve,(me+re)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re-ee*.5)*a+ve,me*y+ge,ce*a+ve,(me+re)*y+ge,(ce+re-ee*.5)*a+ve,(me+ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me-re)*y+ge,(ce+re-ee*.5)*a+ve,(me-ee)*y+ge,ce*a+ve,(me-re)*y+ge).close()),ee=te*.8,re=.8,ce=1,me=.5;var Oe=new go.PathFigure(ce*a+ve,(me-re)*y+ge,!0);return x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*a+ve,me*y+ge,(ce+ee)*a+ve,(me-re)*y+ge,(ce+re)*a+ve,(me-ee)*y+ge)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me+re)*y+ge,(ce+re)*a+ve,(me+ee)*y+ge,(ce+ee)*a+ve,(me+re)*y+ge)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re-ee*.5)*a+ve,me*y+ge,ce*a+ve,(me+re)*y+ge,(ce+re-ee*.5)*a+ve,(me+ee)*y+ge)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a+ve,(me-re)*y+ge,(ce+re-ee*.5)*a+ve,(me-ee)*y+ge,ce*a+ve,(me-re)*y+ge).close()),x}),go.Shape.defineFigureGenerator("Email",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,ce=he(),me=he(),ve=he(),ge=he();Pe(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,ce,ce,me,ve,ge);var pe=Ae(me.x,me.y),fe=new go.PathFigure(me.x*a,me.y*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),Pe(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,ge,me,ce,ce),fe.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ve.x*a,ve.y*y,ge.x*a,ge.y*y)),b=te*.3,z=.3,Pe(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,ge,me,ce,ce),fe.add(new go.PathSegment(go.PathSegment.Line,me.x*a,me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),Pe(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,ce,ce,me,ve,ge),fe.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ge.x*a,ge.y*y,ve.x*a,ve.y*y).close());var fe=new go.PathFigure(.45*a,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ot(ce),ot(me),ot(ve),ot(ge),ot(pe),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(ee,re,ce){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+ce)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+ce)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ne,a,y){var x=new go.Geometry,b=.5,z=0,ee=0,re=b*te,ce=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,ve=1,ge=.5,pe=.5,fe=0,ye=new go.PathFigure(ce*a,(1-me)*y,!1);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,ge*y,ve*a,.7*y,ve*a,ge*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+z)*a,(fe+z)*y,(.5+b+z)*a,(.5-re+z)*y,(.5+re+z)*a,(.5-b+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,.9*y)),ye.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,re=.5,ce=ee,me=Math.PI/4,ve=4*(1-Math.cos(me))/(3*Math.sin(me)),ge=ve*.5,pe=ee,fe=ee,ye=ve*pe,Se=ve*fe;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-pe)*a,ce*y,(re-(ye+pe)/2)*a,(ce+(fe+Se)/2)*y,(re-pe)*a,(ce+Se)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ce-fe)*y,(re-pe)*a,(ce-Se)*y,(re-ye)*a,(ce-fe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+pe)*a,ce*y,(re+ye)*a,(ce-fe)*y,(re+pe)*a,(ce-Se)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+pe)*a,(ce+Se)*y,(re+(ye+pe)/2)*a,(ce+(fe+Se)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Oe=new go.PathFigure(.2*a,y,!1);x.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,re=te*.1,ce=.2,me=.9,ve=new go.PathFigure((ce-ee)*a,me*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ee)*y,(ce-ee)*a,(me-re)*y,(ce-re)*a,(me-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,me*y,(ce+re)*a,(me-ee)*y,(ce+ee)*a,(me-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+ee)*y,(ce+ee)*a,(me+re)*y,(ce+re)*a,(me+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,me*y,(ce-re)*a,(me+ee)*y,(ce-ee)*a,(me+re)*y).close()),ee=.1,re=te*.1,ce=.8,me=.9;var ge=new go.PathFigure((ce-ee)*a,me*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me-ee)*y,(ce-ee)*a,(me-re)*y,(ce-re)*a,(me-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ee)*a,me*y,(ce+re)*a,(me-ee)*y,(ce+ee)*a,(me-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(me+ee)*y,(ce+ee)*a,(me+re)*y,(ce+re)*a,(me+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ee)*a,me*y,(ce-re)*a,(me+ee)*y,(ce-ee)*a,(me+re)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var re=new go.PathFigure(.5*a,.7*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ce=.1,me=te*.1,ve=.1,ge=.9,pe=new go.PathFigure((ve-ce)*a,ge*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-ce)*y,(ve-ce)*a,(ge-me)*y,(ve-me)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ce)*a,ge*y,(ve+me)*a,(ge-ce)*y,(ve+ce)*a,(ge-me)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+ce)*y,(ve+ce)*a,(ge+me)*y,(ve+me)*a,(ge+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ce)*a,ge*y,(ve-me)*a,(ge+ce)*y,(ve-ce)*a,(ge+me)*y)),ce=.1,me=te*.1,ve=.4,ge=.9;var fe=new go.PathFigure((ve-ce)*a,ge*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge-ce)*y,(ve-ce)*a,(ge-me)*y,(ve-me)*a,(ge-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ce)*a,ge*y,(ve+me)*a,(ge-ce)*y,(ve+ce)*a,(ge-me)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(ge+ce)*y,(ve+ce)*a,(ge+me)*y,(ve+me)*a,(ge+ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ce)*a,ge*y,(ve-me)*a,(ge+ce)*y,(ve-ce)*a,(ge+me)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,ge=te*.05,pe=.175,fe=.95,re=new go.PathFigure((pe-ve)*a,fe*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe-ve)*y,(pe-ve)*a,(fe-ge)*y,(pe-ge)*a,(fe-ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,fe*y,(pe+ge)*a,(fe-ve)*y,(pe+ve)*a,(fe-ge)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe+ve)*y,(pe+ve)*a,(fe+ge)*y,(pe+ge)*a,(fe+ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,fe*y,(pe-ge)*a,(fe+ve)*y,(pe-ve)*a,(fe+ge)*y));var ve=.05,ge=te*.05,pe=.375,fe=.95,ce=new go.PathFigure((pe-ve)*a,fe*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe-ve)*y,(pe-ve)*a,(fe-ge)*y,(pe-ge)*a,(fe-ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,fe*y,(pe+ge)*a,(fe-ve)*y,(pe+ve)*a,(fe-ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe+ve)*y,(pe+ve)*a,(fe+ge)*y,(pe+ge)*a,(fe+ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,fe*y,(pe-ge)*a,(fe+ve)*y,(pe-ve)*a,(fe+ge)*y));var ve=.05,ge=te*.05,pe=.625,fe=.95,me=new go.PathFigure((pe-ve)*a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe-ve)*y,(pe-ve)*a,(fe-ge)*y,(pe-ge)*a,(fe-ve)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,fe*y,(pe+ge)*a,(fe-ve)*y,(pe+ve)*a,(fe-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe+ve)*y,(pe+ve)*a,(fe+ge)*y,(pe+ge)*a,(fe+ve)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,fe*y,(pe-ge)*a,(fe+ve)*y,(pe-ve)*a,(fe+ge)*y));var ve=.05,ge=te*.05,pe=.825,fe=.95,ye=new go.PathFigure((pe-ve)*a,fe*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe-ve)*y,(pe-ve)*a,(fe-ge)*y,(pe-ge)*a,(fe-ve)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ve)*a,fe*y,(pe+ge)*a,(fe-ve)*y,(pe+ve)*a,(fe-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(fe+ve)*y,(pe+ve)*a,(fe+ge)*y,(pe+ge)*a,(fe+ve)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ve)*a,fe*y,(pe-ge)*a,(fe+ve)*y,(pe-ve)*a,(fe+ge)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var re=.05,ce=te*.05,me=.35,ve=.775,ge=new go.PathFigure((me-re)*a,ve*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve-re)*y,(me-re)*a,(ve-ce)*y,(me-ce)*a,(ve-re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*a,ve*y,(me+ce)*a,(ve-re)*y,(me+re)*a,(ve-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ve+re)*y,(me+re)*a,(ve+ce)*y,(me+ce)*a,(ve+re)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*a,ve*y,(me-ce)*a,(ve+re)*y,(me-re)*a,(ve+ce)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ne,a,y){var x=new go.Geometry,b=.3,z=te*.3,ee=.5,re=.7,ce=new go.PathFigure((ee-b)*a,re*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var me=new go.PathFigure(0,.7*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,ce=new go.PathFigure((ee-b)*a,re*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var me=new go.PathFigure(.15*a,.5*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,ce=new go.PathFigure((ee-b)*a,re*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),b=.05,z=te*.05,ee=.5,re=.8;var me=new go.PathFigure((ee-b)*a,re*y,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),me.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),me.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var re=new go.PathFigure(.678*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ce=new go.PathFigure(.5*a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var re=new go.PathFigure(a*.612,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ce=new go.PathFigure(a*.816,y,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var re=new go.PathFigure(a*.055,.18*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ce=new go.PathFigure(a*1,0,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ce.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var x=new go.Geometry,b=8,z=b*te,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var re=new go.PathFigure(a*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ce=new go.PathFigure(a*.83,y*1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var me=new go.PathFigure(a*.78,y*.05,!1);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),me.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),me.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=y*.8,ee=new go.Geometry,re=new go.PathFigure(x,0,!0);return ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,z=b*te,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93127:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Ct={},Ft="5.0",Ae={},he=null,ot=!1,E=!1,Pe=null,be=!1,oe=null,te=null,se=0;se4?parseFloat(Me):5};Ct.setHTML5Codebase=function(Me,Re){te=Me,Qe(Me,Re)},Ct.setJavaCodebase=Ct.setJavaCodebaseVersion=Ct.isCompiledInstalled=Ct.setPreCompiledScriptPath=Ct.setPreCompiledResourcePath=function(){},Ct.setHTML5CodebaseVersion=function(Me,Re){var ze=parseFloat(Me);if(ze!==NaN&&ze<5){console.log("The GeoGebra HTML5 codebase version "+ze+" is deprecated. Using version latest instead.");return}oe=Me,it(Me,Re)},Ct.getHTML5CodebaseVersion=function(){return ne},Ct.getParameters=function(){return Ae},Ct.setFontsCSSURL=function(Me){ee=Me},Ct.setGiacJSURL=function(Me){},Ct.setJNLPFile=function(Me){le=Me},Ct.setJNLPBaseDir=function(Me){},Ct.inject=function(){function Me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Re="auto",ze=Ae.id,rt,$e=!1,ut=0;ut=5)return!0;var Me=Ct.getAppletObject();return Me&&typeof Me.recalculateEnvironments=="function"?(Me.recalculateEnvironments(),!0):!1},Ct.startAnimation=function(){var Me=Ct.getAppletObject();return Me&&typeof Me.startAnimation=="function"?(Me.startAnimation(),!0):!1},Ct.stopAnimation=function(){var Me=Ct.getAppletObject();return Me&&typeof Me.stopAnimation=="function"?(Me.stopAnimation(),!0):!1},Ct.getAppletObject=function(){var Me=Ae.id!==void 0?Ae.id:"ggbApplet";return window[Me]},Ct.resize=function(){};var ye=function(Me,Re,ze){var rt=document.createElement("param");rt.setAttribute("name",Re),rt.setAttribute("value",ze),Me.appendChild(rt)},Se=function(Me){return Me&&Me!=="false"},Oe=function(Me,Re,ze){ce(ne)<=4.2&&(ze=!0);var rt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(rt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var $e=document.createElement("div");$e.classList.add("appletParameters","notranslate");var ut=Re.width,_e=Re.height;if(Re.disableAutoScale=Re.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Re.disableAutoScale,Re.width!==void 0)if(ce(ne)<=4.4)Se(Re.showToolBar)&&(Re.height-=7),Se(Re.showAlgebraInput)&&(Re.height-=37),Re.width<605&&Se(Re.showToolBar)&&(Re.width=605,ut=605);else{var We=100;(Se(Re.showToolBar)||Se(Re.showMenuBar))&&(Re.hasOwnProperty("customToolBar")&&(Re.customToolbar=Re.customToolBar),We=Se(Re.showMenuBar)?245:155),ut=5?(Re.appletOnLoad=function(Ne){var at=Me.querySelector(".ggb_preview");at&&at.parentNode.removeChild(at),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Fe),window.GGBT_wsf_view&&$(window).trigger("resize"),Je(Ne)},Ie||Fe.appendChild(Xe)):$e.appendChild(Xe),Fe.appendChild($e),Ie||Me.appendChild(Fe),setTimeout(function(){Ct.resize()},1)}else{var He=document.createElement("div");He.className="applet_scaler",He.style.position="relative",He.style.display="block",He.appendChild($e),Me.appendChild(He),Re.appletOnLoad=function(Ne){Ct.resize(),Je(Ne)}}function je(Ne,at){at&&typeof at.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ne,at.appletOnLoad):renderGGBElement(Ne),Ye("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",at)}function Ee(Ne,at){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ne,params:at}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ht){je(ht.article,ht.params)}),html5AppletsToProcess=null)},ce(ne)<5&&(Ne.className+=" geogebraweb")):je(Ne,at)}if(rt){scriptLoadStarted=!0;for(var xe=0;xe<$e.childNodes.length;xe++){var we=$e.childNodes[xe].tagName;we==="TABLE"&&($e.removeChild($e.childNodes[xe]),xe--)}if(ggbHTML5LoadedScript!==null){var Be=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Be!=null&&Be.parentNode.removeChild(Be)}var Ze=document.createElement("script"),Ke=function(){Ee($e,Re)};Ze.src=ue+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=ne,ggbHTML5LoadedScript=Ze.src,Ye("GeoGebra HTML5 codebase loaded: '"+ue+"'.",Re),!te&&(!oe||oe=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Ke()):ue.requirejs?__webpack_require__.e(5455).then(function(){var Ne=[__webpack_require__(75455)];Ke.apply(null,Ne)}.bind(this)).catch(__webpack_require__.oe):(Ze.onload=Ke,Me.appendChild(Ze))}else Ee($e,Re);Re.height=_e,Re.width=ut},Ce=function(Me,Re,ze){var rt=Ue(Re.width,Re.height,Re.borderColor,ze),$e=document.createElement("div");$e.style.position="relative",$e.style.display="block",$e.style.width=Re.width+"px",$e.style.height=Re.height+"px",$e.className="applet_screenshot applet_scaler"+(ze?" applet_screenshot_play":""),$e.appendChild(rt);var ut=GGBAppletUtils.getScale(Re,Me,ze);ze?(Me.appendChild(ke()),window.GGBT_wsf_view||(Me.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner($e,"66%"),Me.appendChild($e),ut!==1&&!isNaN(ut)&&(GGBAppletUtils.scaleElement($e,ut),$e.style.width=Re.width+"px",$e.style.height=Re.height+"px",$e.parentNode.style.width=Re.width*ut+"px",$e.parentNode.style.height=Re.height*ut+"px"),Ct.resize=function(){Le(Me,rt,$e,ze)},window.addEventListener("resize",function(_e){Ct.resize()}),Ct.resize()};function Le(Me,Re,ze,rt){if(Me.contains(Re)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Me.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}var $e=GGBAppletUtils.getScale(Ae,Me,rt);ze.parentNode!==null&&(!isNaN($e)&&$e!==1?(GGBAppletUtils.scaleElement(ze,$e),ze.parentNode.style.width=Ae.width*$e+"px",ze.parentNode.style.height=Ae.height*$e+"px"):(GGBAppletUtils.scaleElement(ze,1),ze.parentNode.style.width=Ae.width+"px",ze.parentNode.style.height=Ae.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Me),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ct.onExitFullscreen=function(Me,Re){Re.appendChild(Me)};var De=function(Me,Re,ze,rt){Ce(Me,Re,!0);for(var $e=function(){var We=[];for(_e=0;_e0?(Te.remove(),Fe.attr("id","fullscreencontent").show(),jQuery(Je).append(Fe),window.dispatchEvent(new Event("resize"))):Oe(Te,Re,!1),window.GGBT_wsf_view.launchFullScreen(Je)}else ie=rt,Oe(Me,Re,!1);if(!window.GGBT_wsf_view)for(_e=0;_eMe/4*3&&(Te=Me/4*3),Je=Te/5.8,We.setAttribute("src",b),We.setAttribute("width",Te),We.setAttribute("height",Je);var Fe=(Me-Te)/2,Ie=(Re-Je)/2;We.style.left=Fe+"px",We.style.top=Ie+"px",$e.appendChild(We)}}return $e.appendChild(_e),$e},et=function(Me){return Me=Me.toLowerCase(),Me==="html5"||Me==="screenshot"?Me:"html5"},Ge=["web","webSimple","web3d","tablet","tablet3d","phone"],it=function(Me,Re){if(ne=Me,Re){Qe(ne,!0);return}var ze=!ot;if(ze){var rt=ce(ne);!isNaN(rt)&&rt<4.4&&(ze=!1)}var $e,ut;window.location.protocol.substr(0,4)==="http"?$e=window.location.protocol:$e="http:";var _e=ne.indexOf("//");_e>0?ut=ne:_e===0?ut=$e+ne:ut="https://www.geogebra.org/apps/5.2.814.0/";for(var We in Ge)if(ne.slice(Ge[We].length*-1)===Ge[We]||ne.slice((Ge[We].length+1)*-1)===Ge[We]+"/"){Qe(ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ze&&!he.is3D&&!he.AV&&!he.SV&&!he.CV&&!he.EV2&&!he.CP&&!he.PC&&!he.DA&&!he.FI&&!he.PV&&!Se(Ae.showToolBar)&&!Se(Ae.showMenuBar)&&!Se(Ae.showAlgebraInput)&&!Se(Ae.enableRightClick)&&(!Ae.appName||Ae.appName=="classic")?ut+="webSimple/":ut+="web3d/",Qe(ut,!1)},Qe=function(Me,Re){if(Me.requirejs){ue=Me;return}Me.slice(-1)!=="/"&&(Me+="/"),ue=Me,Re===null&&(Re=Me.indexOf("http")===-1),ae=Re,a="web.nocache.js",y=!1;var ze=ue.split("/");ze.length>1&&(!Re&&ze[ze.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Ge.indexOf(ze[ze.length-2])>=0&&(a=ze[ze.length-2]+".nocache.js")),ze=Me.split("/"),ne=ze[ze.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var rt=parseFloat(ne);rt!==NaN&&rt<5&&Me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+rt+" is deprecated. Using version latest instead."),it("5.0",Re))},Ye=function(Me,Re){window.console&&window.console.log&&(!Re||typeof Re.showLogging=="undefined"||Re.showLogging&&Re.showLogging!=="false")&&console.log(Me)};Ae.material_id!==void 0?ge(Ve):Ve();function Ve(){var Me=Ft;oe!==null?Me=oe:parseFloat(Me)<5&&(Me="5.0"),it(Me,!1),te!==null&&Qe(te,ae),be=!0}return Ct},GGBAppletUtils=function(){"use strict";function Ct(){return window.GGBT_wsf_edit!==void 0}function Ft(be,oe){oe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+oe+","+oe+")",be.style.webkitTransform="scale("+oe+","+oe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function Ae(be,oe,te,se,de,le){var ue=null;if(le!=null&&le!="")for(var ae=be.parentNode;ae!=null;)if((" "+ae.className+" ").indexOf(" "+le+" ")>-1){ue=ae;break}else ae=ae.parentNode;var ie=0,ne=0,a=0,y=0,x=0,b=0,z=0;if(ue)ie=ue.offsetWidth,ne=Math.max(se?ue.offsetWidth:0,ue.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ie=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ie):(ie=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),be){var ee=be.getBoundingClientRect();ee.left>0&&ee.left<=ie&&(de===void 0||!de)&&(document.dir==="rtl"?(x=ie-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return be&&((te===void 0||!te)&&oe>0&&oe+y1&&(le=!0)),oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))de=he(be,oe,le,te,be.scaleContainerClass);else return se;return le&&(!be.hasOwnProperty("scale")||se===1)?de:Math.min(se,de)}function E(be){var oe=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),se=be.getBoundingClientRect(),de=(oe-se.width)/2,le=(te-se.height)/2;le<0&&(le=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(de<40?be.style.left="40px":be.style.left=de+"px",be.style.top=le+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(le<40?be.style.top="40px":be.style.top=le+"px",be.style.left=de+"px")}function Pe(be,oe){var te=be.querySelector(".appletParameters");if(te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(oe.id!==te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var se=ot(oe,be);Ct()&&te.setAttribute("data-param-scale",se);for(var de=null,le=0;le=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ct){var Ft=c[Ct];return Ft==null?null:Ft},r=d,webModule.__errFn=e}function B(){function Ct(be){var oe=be.lastIndexOf(rb);oe==-1&&(oe=be.length);var te=be.indexOf(sb);te==-1&&(te=be.length);var se=be.lastIndexOf(tb,Math.min(te,oe));return se>=O?be.substring(O,se+P):W}function Ft(be){if(!be.match(/^\w+:\/\//)){var oe=o.createElement(ub);oe.src=be+vb,be=Ct(oe.src)}return be}function Ae(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function he(){for(var be=o.getElementsByTagName(_),oe=O;oeO?be[be.length-P].href:W}function E(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var Pe=Ae();return Pe==W&&(Pe=he()),Pe==W&&(Pe=ot()),Pe==W&&E()&&(Pe=Ct(o.location.href)),Pe=Ft(Pe),Pe}function C(Ct){return Ct.match(/^\//)||Ct.match(/^[a-zA-Z]+:\/\//)?Ct:webModule.__moduleBase+Ct}function D(){var Ct=[],Ft=O,Ae=[],he=[];function ot(be){var oe=he[be](),te=Ae[be];if(oe in te)return oe;var se=[];for(var de in te)se[te[de]]=de;throw r&&r(be,se,oe),null}if(__gwt_isKnownPropertyValue=function(be,oe){return oe in Ae[be]},webModule.__getPropMap=function(){var be={};for(var oe in Ae)Ae.hasOwnProperty(oe)&&(be[oe]=ot(oe));return be},webModule.__computePropValue=ot,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var Pe=E.indexOf(Db);Pe!=-1&&(Ft=parseInt(E.substring(Pe+P),$),E=E.substring(O,Pe))}catch(be){}return webModule.__softPermutationId=Ft,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8396:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Ax:function(){return Pe},Ds:function(){return be},KI:function(){return te},SI:function(){return E},f1:function(){return ot}});var he=Ae(85386);function ot(se){let de=!0;if(se.length>0){for(let le=0;lene in ie?oe(ie,ne,{enumerable:!0,configurable:!0,writable:!0,value:a}):ie[ne]=a,ue=(ie,ne)=>{for(var a in ne||(ne={}))se.call(ne,a)&&le(ie,a,ne[a]);if(te)for(var a of te(ne))de.call(ne,a)&&le(ie,a,ne[a]);return ie};const ae=({cancelText:ie="\u53D6\u6D88",okText:ne="\u786E\u5B9A",loading:a=!1,hasOkBtn:y=!0,hasCancelBtn:x=!0,okButtonProps:b={},onCancel:z=()=>{},onOk:ee=()=>{},className:re=""})=>he.createElement("div",{className:be()(E.buttonFixed,re)},he.createElement("div",{className:E.buttonWrap},x&&he.createElement(ot.ZP,{size:"middle",className:`${E.button} mr20`,onClick:z},ie),y&&he.createElement(ot.ZP,ue({size:"middle",type:"primary",className:`${E.button} mr20`,loading:a,onClick:ee},b),ne)))},40783:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return ue}});var he=Ae(59301),ot={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Ae(92310),Pe=Ae.n(E),be=Ae(71418),oe=Ae(2859),te=Ae(43597),se=Ae(94601),de=(ae,ie,ne)=>new Promise((a,y)=>{var x=ee=>{try{z(ne.next(ee))}catch(re){y(re)}},b=ee=>{try{z(ne.throw(ee))}catch(re){y(re)}},z=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(x,b);z((ne=ne.apply(ae,ie)).next())}),ue=({data:ae,className:ie,fullWidth:ne,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const ee=(0,he.useRef)(null),re=(0,he.useRef)(null),ce=(0,he.useRef)(null),me=(0,he.useRef)(null),[ve,ge]=(0,he.useState)(!1),[pe,fe]=(0,he.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,he.useEffect)(()=>{ce.current||(ce.current=document.createElement("style"),document.head.appendChild(ce.current)),ae!=null&&ae.visible?(document.body.setAttribute("data-custom","y-hidden"),ce.current.innerHTML=" html { overflow-y: hidden; }",ae!=null&&ae.src&&ye()):(document.body.removeAttribute("data-custom"),ce.current&&(document.head.removeChild(ce.current),ce.current=null))},[ae==null?void 0:ae.visible]);const ye=()=>de(void 0,null,function*(){ge(!0),fe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const De=yield(0,se.ZJ)(ae==null?void 0:ae.src);ee.current.src="",ee.current.src=De,ee.current.onload=function(){Le()},ge(!1),fe("")}),Se=()=>{document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",y()},Oe=De=>de(void 0,null,function*(){ge(!0),fe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ke=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ae.title,file:De.dataUrl}});ke!=null&&ke.id&&!z?(yield(0,te.ZP)(`/api/attachments/${ae.id}/add_subitem.json`,{method:"post",body:{subitem_id:ke==null?void 0:ke.id,settings:JSON.stringify(De.state)}})).status===0&&x():ke!=null&&ke.id&&x(ke),document.body.removeAttribute("data-custom"),ce.current.innerHTML=" ",ge(!1),fe("")}),Ce=()=>{const De=document.querySelector('a[href="https://markerjs.com/"]');De&&De.parentNode&&(De.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(Ue=>{const et=document.querySelector(Ue.name);et&&et.setAttribute("title",Ue.title)})},Le=()=>{re.current=new oe.hP(ee.current),re.current.targetRoot=me.current,re.current.addEventListener("render",Oe),re.current.addEventListener("beforeclose",Se),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),ae!=null&&ae.snapshotData&&re.current.restoreState(ae.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ce()},300)};return he.createElement(he.Fragment,null,(ae==null?void 0:ae.visible)&&he.createElement(be.Z,{spinning:ve,tip:pe,style:{position:"absolute"}},he.createElement("div",{ref:me,className:Pe()(ot.imageDimensions,ie,ne?ot.fullWidth:""),style:a},he.createElement("img",{className:ot.img,ref:ee}))))}},57765:function(Ct,Ft,Ae){"use strict";var he=Ae(59301),ot=Ae(95237),E=Ae(43604),Pe=Ae(99313),be=Ae(3113),oe=Ae(17410),te=Ae(32313),se=Ae(48136),de=Ae(59301);const le=(0,he.forwardRef)(({callback:ue,showSaveButton:ae,value:ie=""},ne)=>{const a=(0,he.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +(self.webpackChunk=self.webpackChunk||[]).push([[9205],{89489:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},59477:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},26227:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},49198:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},41464:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},52671:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},8657:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},56082:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},33853:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},15075:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},43531:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},38819:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return se}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(ue,ce){return it.createElement(ye.Z,(0,pe.Z)({},ue,{ref:ce,icon:Se}))},te=it.forwardRef(oe),se=te},32313:function(xt,At){"use strict";At.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},6404:function(){"use strict";function xt(ne,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ne,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(xt.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(xt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(xt.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(xt.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var y=go.Shape._FigureParameters[ne];return y?y[a]:null},go.Shape.setFigureParameter=function(ne,a,y){if(!(y instanceof xt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ne];x||(x=[],go.Shape._FigureParameters[ne]=x),x[a]=y};var At=[];function Ae(ne,a){var y=At.pop();return y===void 0?new go.Point(ne,a):(y.x=ne,y.y=a,y)}function pe(){var ne=At.pop();return ne===void 0?new go.Point:ne}function it(ne){At.push(ne)}function E(ne,a,y,x,b,z,ee,re,le){le||(le=new go.Point);var he=ne-y,ve=b-ee,fe=NaN,me=NaN;if(he===0)if(ve===0)ne===y&&(fe=ne,me=a);else{var ge=(z-re)/ve,be=z-ge*b;fe=ne,me=ge*fe+be}else if(ve===0){var Pe=(a-x)/he,Te=a-Pe*ne;fe=b,me=Pe*fe+Te}else{var Pe=(a-x)/he,ge=(z-re)/ve,Te=a-Pe*ne,be=z-ge*b;fe=(be-Te)/(Pe-ge),me=Pe*fe+Te}return le.x=fe,le.y=me,le}function Se(ne,a,y,x,b,z,ee,re,le,he,ve,fe,me,ge){var be=1-le,Pe=le,Te=ne*be+y*Pe,Ce=a*be+x*Pe,Le=y*be+b*Pe,Ie=x*be+z*Pe,Me=b*be+ee*Pe,Ue=z*be+re*Pe,Qe=Te*be+Le*Pe,Ge=Ce*be+Ie*Pe,ot=Le*be+Me*Pe,Ve=Ie*be+Ue*Pe,Xe=Qe*be+ot*Pe,Ze=Ge*be+Ve*Pe;he.x=Te,he.y=Ce,ve.x=Qe,ve.y=Ge,fe.x=Xe,fe.y=Ze,me.x=ot,me.y=Ve,ge.x=Me,ge.y=Ue}var ye=new go.Spot(.156,.156),oe=new go.Spot(.844,.844),te=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new xt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ne,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(ne,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=ye,b.spot2=oe,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(ne,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,te*a,0,a,(1-te)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,te*y,(1-te)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,te*y,te*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-te)*a,0,0,(1-te)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new xt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+re,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=ye,z.spot2=oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ne,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new xt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new xt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,y){var x=ne?ne.parameter1:NaN,b=ne?ne.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var ee=b%360,re=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ee,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,y){var x=te/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,y){var x=ne?ne.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,ee=y/2,re=Math.atan2(y,a),le=x-Math.min(Math.cos(re)*x/2,z),he=x-Math.min(Math.sin(re)*x/2,ee),b=new go.Geometry,ve=new go.PathFigure(le,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-le,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,he)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),ve.add(new go.PathSegment(go.PathSegment.Line,a-le,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,le,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new xt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new xt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,te*a,0,a,(.5-te/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+te/2)*y,te*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,ee=.3,re=0,le=z*te;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+le+re)*y,(.5-le+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+le+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+le+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-le+re)*y,(.5+le+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-le+ee)*a,(.5-z+re)*y,(.5-z+ee+.05)*a,(.5-le+re-.02)*y)),z=.2,ee=0,re=-.3,le=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ee)*a,(.5+re)*y,(.5+le+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+le+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee)*a,(.5-le+re)*y,(.5+le+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-le+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-le+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+le+re)*y,(.5-le+ee)*a,(.5+z+re)*y)),z=.2,ee=-.3,re=0,le=z*te,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-z+re)*y,(1-.5+z+ee-.05)*a,(.5-le+re-.02)*y,(.5+le+ee)*a,(.5-z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ee)*a,(.5+re)*y,(.5-le+ee)*a,(.5-z+re)*y,(.5-z+ee)*a,(.5-le+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+z+re)*y,(.5-z+ee)*a,(.5+le+re)*y,(.5-le+ee)*a,(.5+z+re)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+le+ee)*a,(.5+z+re)*y,(.5+z+ee)*a,(.5+le+re)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,ee=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+z)*a,re*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*re,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),re=.75,b=new go.PathFigure((ee+z)*a,re*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*re,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ne,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,le=new go.PathFigure(ee*a,(re-z)*y);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),z=.4,b=te*.4;var he=pe(),ve=pe(),fe=pe(),me=pe();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.42,he,ve,fe,me,me);var ge=pe(),be=pe(),Pe=pe();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.58,me,me,Pe,ge,be);var Te=pe(),Ce=pe(),Le=pe();Se(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.42,Te,Ce,Le,me,me);var Ie=pe(),Me=pe(),Ue=pe();return Se(ee,re+z,ee-b,re+z,ee-z,re+b,ee-z,re,.58,me,me,Ue,Ie,Me),le.add(new go.PathSegment(go.PathSegment.Move,Ue.x*a,Ue.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,Ie.x*a,Ie.y*y,Me.x*a,Me.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*a,fe.y*y,he.x*a,he.y*y,ve.x*a,ve.y*y)),le.add(new go.PathSegment(go.PathSegment.Line,Ue.x*a,Ue.y*y).close()),le.add(new go.PathSegment(go.PathSegment.Move,Le.x*a,Le.y*y)),le.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ge.x*a,ge.y*y,be.x*a,be.y*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*a,Le.y*y,Te.x*a,Te.y*y,Ce.x*a,Ce.y*y).close()),it(he),it(ve),it(fe),it(me),it(ge),it(be),it(Pe),it(Te),it(Ce),it(Le),it(Ie),it(Me),it(Ue),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new xt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,le=pe(),he=pe(),ve=pe(),fe=pe(),me=new go.PathFigure((ee-z)*a,re*y,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.44,ve,fe,he,le,le),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ve.x*a,ve.y*y,fe.x*a,fe.y*y));var ge=Ae(he.x,he.y);Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.56,le,le,he,ve,fe);var be=Ae(he.x,he.y);me.add(new go.PathSegment(go.PathSegment.Line,(ge.x*.1+.95*.9)*a,ge.y*.1*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,ge.y*.1*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),me.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,.15*y)),me.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.9)*a,(be.y*.1+.05*.9)*y)),me.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,fe.x*a,fe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),z=.35,b=te*.35;var Pe=new go.PathFigure(ee*a,(re-z)*y,!1);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y));var Te=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(Te),it(le),it(he),it(ve),it(fe),it(ge),it(be),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(ne,a,y){var x=new go.Geometry,b=.375,z=0,ee=-.125,re=b*te,le=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y,(.5+re+z)*a,(.5-b+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,(.5+b+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),le.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),le.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,ee=-.125,re=b*te;var le=new go.PathFigure((1-.5+b+z)*a,(.5+ee)*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+ee)*y,(.5+b+z)*a,(.5+re+ee)*y,(.5+re+z)*a,(.5+b+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5+b+ee)*y,(.5-b+z)*a,(.5+re+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y,(.5-re+z)*a,(.5-b+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+ee)*y,(.5+re+z)*a,(.5-b+ee)*y,(1-.5+b+z)*a,(.5-re+ee)*y));var le=new go.PathFigure((.525+z)*a,(.5+b+ee)*y,!1);return x.add(le),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ne,a,y){var x=ne?ne.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ne,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ne,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new xt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new xt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,ee=(.5-b/2)*y,re=(.5+b/2)*y,le=new go.Geometry,he=new go.PathFigure(0,ee,!0);le.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,ee)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,re)),he.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),le.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,pe());return le.spot2=new go.Spot(ve.x,ve.y),it(ve),le}),go.Shape.setFigureParameter("Arrow2",0,new xt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new xt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,ee=(y-b)/2,re=ee+b,le=new go.Geometry,he=new go.PathFigure(0,ee,!0);le.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,ee)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,re)),he.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),le.spot1=new go.Spot(0,ee/y);var ve=E(0,re/y,1,re/y,z/a,1,1,.5,pe());return le.spot2=new go.Spot(ve.x,ve.y),it(ve),le}),go.Shape.defineFigureGenerator("Chevron",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new xt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var le=E(0,.5,.3,0,0,b/y,.1,b/y,pe());return ee.spot1=new go.Spot(le.x,le.y),le=E(.7,1,1,.5,0,z/y,1,z/y,le),ee.spot2=new go.Spot(le.x,le.y),it(le),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new xt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new xt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,le=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,le=y):(z=0,ee=y,re=0,le=y));var he=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);he.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close());var fe=E(0,.5,.3,re/y,0,z/y,1,z/y,pe());return he.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,le/y,1,.5,0,ee/y,1,ee/y,fe),he.spot2=new go.Spot(fe.x,fe.y),it(fe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new xt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(0,b/y);var le=E(.7,1,1,.5,0,z/y,1,z/y,pe());return ee.spot2=new go.Spot(le.x,le.y),it(le),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new xt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new xt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=40);var b=ne?ne.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,ee=z+x,re=(y-b)/2,le=re+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,ee=z+x,re=0,le=y):(z=0,ee=y,re=0,le=y));var he=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);he.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,le)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),ve.add(new go.PathSegment(go.PathSegment.Line,0,le)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,re).close()),he.spot1=new go.Spot(0,z/y);var fe=E(.7,le/y,1,.5,0,ee/y,1,ee/y,pe());return he.spot2=new go.Spot(fe.x,fe.y),it(fe),he}),go.Shape.setFigureParameter("Pointer",0,new xt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(ee.x,ee.y),it(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new xt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var ee=E(0,.65,1,.65,0,1,1,.5,pe());return b.spot2=new go.Spot(ee.x,ee.y),it(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new xt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,.3);var le=E(.7,1,1,.5,0,z/y,1,z/y,pe());return ee.spot2=new go.Spot(le.x,le.y),it(le),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new xt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var ee=new go.Geometry,re=new go.PathFigure(a,.5*y,!0);ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ee.spot1=new go.Spot(.2,b/y);var le=E(.7,1,1,.5,0,z/y,1,z/y,pe());return ee.spot2=new go.Spot(le.x,le.y),it(le),ee}),go.Shape.setFigureParameter("SquareArrow",0,new xt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-te*x,(.5+z)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(a,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-te*x,(.5+z)*a,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-te*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,te*x,(.5-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,te*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-te*x,(.5+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-te*x));var re=new go.PathFigure(0,y-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-te*x,(.5-z)*a,y-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-te*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+te*x,0,2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+te*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=te*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-te*x,0,a,(.5-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-te*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,te*x,y,0,(.5+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,te*x,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var re=new go.PathFigure(a-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-te*x,0,a-2*x,(.5-z)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-te*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ne,a,y){var x=new go.Geometry,b=.2,z=.1,ee=te*b,re=te*z,le=.5,he=.1,ve=new go.PathFigure(le*a,(he+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-b)*a,he*y,(le-ee)*a,(he+z)*y,(le-b)*a,(he+re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-z)*y,(le-b)*a,(he-re)*y,(le-ee)*a,(he-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+b)*a,he*y,(le+ee)*a,(he-z)*y,(le+b)*a,(he-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+z)*y,(le+b)*a,(he+re)*y,(le+ee)*a,(he+z)*y));var fe=.05,me=te*fe;le=.05,he=.25;var ge=new go.PathFigure(.5*a,.2*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),le=.95,he=.25,ge.add(new go.PathSegment(go.PathSegment.Bezier,(le+fe)*a,he*y,(le+me)*a,(he-fe)*y,(le+fe)*a,(he-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),fe=.025,me=te*fe,le=.825,he=.35,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-fe)*y,(le+fe)*a,(he-me)*y,(le+me)*a,(he-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-fe)*a,he*y,(le-me)*a,(he-fe)*y,(le-fe)*a,(he-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),fe=.05,me=te*fe,le=.5,he=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-fe)*y,(le+fe)*a,(he-me)*y,(le+me)*a,(he-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-fe)*a,he*y,(le-me)*a,(he-fe)*y,(le-fe)*a,(he-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),fe=.025,me=te*fe,le=.175,he=.35,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-fe)*y,(le+fe)*a,(he-me)*y,(le+me)*a,(he-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-fe)*a,he*y,(le-me)*a,(he-fe)*y,(le-fe)*a,(he-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),fe=.05,me=te*fe,le=.05,he=.25,ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-fe)*y,(le-fe)*a,(he-me)*y,(le-me)*a,(he-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new xt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,y){var x=ne?ne.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-z)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var re=new go.PathFigure(a,.1*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=te*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+z)*a,0,a,(.2-z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+z)*y,(.8+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-z)*a,y,0,(.8+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var re=new go.PathFigure(0,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ne,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ee=te*.5,re=.5,le=new go.PathFigure(a,re*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,y,a,(re+ee)*y,(re+ee)*a,y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,re*y,(re-ee)*a,y,0,(re+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,re*a,0,0,(re-ee)*y,(re-ee)*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,re*y,(re+ee)*a,0,a,(re-ee)*y));var he=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),he.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var re=new go.PathFigure(.5*b*a,b*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ne,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN,z=ne?ne.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ne,a,y){var x=new go.Geometry,b=ne?ne.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=new go.PathFigure(a,z*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var re=new go.PathFigure(a,z*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var le=new go.PathFigure(.8*a,.75*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),le.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.9,re=.5,le=new go.PathFigure(.8*a,.5*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((ee+z)*a,re*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=te*.4,ee=te*.1,re=.1,le=.9,he=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var fe=new go.PathFigure((le+re)*a,he*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+re)*y,(le+re)*a,(he+ee)*y,(le+ee)*a,(he+re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a,he*y,(le-ee)*a,(he+re)*y,(le-re)*a,(he+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-re)*y,(le-re)*a,(he-ee)*y,(le-ee)*a,(he-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a,he*y,(le+ee)*a,(he-re)*y,(le+re)*a,(he-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,le=new go.PathFigure(.8*a,.5*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var he=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=0,re=.5,le=new go.PathFigure(0,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z+z)*a,(re-b)*y,.8*a,(re-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(re+z)*y,(ee+z+z)*a,(re+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(re+z)*y,(ee+z)*a,(re+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+z)*a,(re-b)*y,.7*a,(re-z)*y)),b=.1,z=te*.1,ee=.9,re=.5;var ve=new go.PathFigure((ee-b)*a,re*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*b,ee=.2,re=.5,le=new go.PathFigure(.1*a,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+z)*a,(re-b)*y,.9*a,(re-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(re+z)*y,(ee+z)*a,(re+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(ne,a,y){var x=new go.Geometry,b=te*.1,z=.1,ee=.1,re=.5,le=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.3,le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.5,le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+z)*a,0,(ee+b)*a,y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,0,(ee-b)*a,y,(ee-z)*a,0)),ee=.9,le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+z)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,y){var x=new go.Geometry,b=te*.5,z=.5,ee=.5,re=.5,le=new go.PathFigure((ee-z)*a,re*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-z)*y,(ee-z)*a,(re-b)*y,(ee-b)*a,(re-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re-z)*y,(ee+z)*a,(re-b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),le.add(new go.PathSegment(go.PathSegment.Move,(ee-z+.1)*a,re*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z-.1)*a,re*y,ee*a,(re-z)*y,ee*a,(re+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ne,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var ee=te*.8,re=.8,le=0,he=.5,ve=(b-a)/2,fe=(z-y)/2,me=new go.PathFigure(le*a+ve,(he+re)*y+fe,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a+ve,he*y+fe,(le-ee)*a+ve,(he+re)*y+fe,(le-re)*a+ve,(he+ee)*y+fe)),me.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he-re)*y+fe,(le-re)*a+ve,(he-ee)*y+fe,(le-ee)*a+ve,(he-re)*y+fe)),me.add(new go.PathSegment(go.PathSegment.Bezier,(le-re+ee*.5)*a+ve,he*y+fe,le*a+ve,(he-re)*y+fe,(le-re+ee*.5)*a+ve,(he-ee)*y+fe)),me.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he+re)*y+fe,(le-re+ee*.5)*a+ve,(he+ee)*y+fe,le*a+ve,(he+re)*y+fe).close()),ee=te*.4,re=.4,le=.2,he=.5;var ge=new go.PathFigure(le*a+ve,(he+re)*y+fe,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a+ve,he*y+fe,(le-ee)*a+ve,(he+re)*y+fe,(le-re)*a+ve,(he+ee)*y+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he-re)*y+fe,(le-re)*a+ve,(he-ee)*y+fe,(le-ee)*a+ve,(he-re)*y+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(le-re+ee*.5)*a+ve,he*y+fe,le*a+ve,(he-re)*y+fe,(le-re+ee*.5)*a+ve,(he-ee)*y+fe)),ge.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he+re)*y+fe,(le-re+ee*.5)*a+ve,(he+ee)*y+fe,le*a+ve,(he+re)*y+fe).close()),ee=te*.2,re=.2,le=.5,he=.5;var be=new go.PathFigure((le-re)*a+ve,he*y+fe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he-re)*y+fe,(le-re)*a+ve,(he-ee)*y+fe,(le-ee)*a+ve,(he-re)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a+ve,he*y+fe,(le+ee)*a+ve,(he-re)*y+fe,(le+re)*a+ve,(he-ee)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he+re)*y+fe,(le+re)*a+ve,(he+ee)*y+fe,(le+ee)*a+ve,(he+re)*y+fe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(le-re)*a+ve,he*y+fe,(le-ee)*a+ve,(he+re)*y+fe,(le-re)*a+ve,(he+ee)*y+fe)),ee=te*.4,re=.4,le=.8,he=.5;var Pe=new go.PathFigure(le*a+ve,(he-re)*y+fe,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a+ve,he*y+fe,(le+ee)*a+ve,(he-re)*y+fe,(le+re)*a+ve,(he-ee)*y+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he+re)*y+fe,(le+re)*a+ve,(he+ee)*y+fe,(le+ee)*a+ve,(he+re)*y+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le+re-ee*.5)*a+ve,he*y+fe,le*a+ve,(he+re)*y+fe,(le+re-ee*.5)*a+ve,(he+ee)*y+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he-re)*y+fe,(le+re-ee*.5)*a+ve,(he-ee)*y+fe,le*a+ve,(he-re)*y+fe).close()),ee=te*.8,re=.8,le=1,he=.5;var Te=new go.PathFigure(le*a+ve,(he-re)*y+fe,!0);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(le+re)*a+ve,he*y+fe,(le+ee)*a+ve,(he-re)*y+fe,(le+re)*a+ve,(he-ee)*y+fe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he+re)*y+fe,(le+re)*a+ve,(he+ee)*y+fe,(le+ee)*a+ve,(he+re)*y+fe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(le+re-ee*.5)*a+ve,he*y+fe,le*a+ve,(he+re)*y+fe,(le+re-ee*.5)*a+ve,(he+ee)*y+fe)),Te.add(new go.PathSegment(go.PathSegment.Bezier,le*a+ve,(he-re)*y+fe,(le+re-ee*.5)*a+ve,(he-ee)*y+fe,le*a+ve,(he-re)*y+fe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var re=new go.PathFigure(0,.5*y,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),re.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),re.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),re.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ne,a,y){var x=new go.Geometry,b=te*.4,z=.4,ee=.5,re=.5,le=pe(),he=pe(),ve=pe(),fe=pe();Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,le,le,he,ve,fe);var me=Ae(he.x,he.y),ge=new go.PathFigure(he.x*a,he.y*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,ve.x*a,ve.y*y,fe.x*a,fe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee+z)*a,(re+b)*y,(ee+b)*a,(re+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,(ee-b)*a,(re+z)*y,(ee-z)*a,(re+b)*y)),Se(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,fe,he,le,le),ge.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ve.x*a,ve.y*y,fe.x*a,fe.y*y)),b=te*.3,z=.3,Se(ee-z,re,ee-z,re-b,ee-b,re-z,ee,re-z,.5,ve,fe,he,le,le),ge.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee-z)*a,re*y,fe.x*a,fe.y*y,ve.x*a,ve.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+z)*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ee+z)*a,re*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),Se(ee,re-z,ee+b,re-z,ee+z,re-b,ee+z,re,.5,le,le,he,ve,fe),ge.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,fe.x*a,fe.y*y,ve.x*a,ve.y*y).close());var ge=new go.PathFigure(.45*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),it(le),it(he),it(ve),it(fe),it(me),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(ee,re,le){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*a,(.8+le)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*a,(.5+le)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*a,(.5+le)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*a,(.8+le)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ne,a,y){var x=new go.Geometry,b=.5,z=0,ee=0,re=b*te,le=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,ve=1,fe=.5,me=.5,ge=0,be=new go.PathFigure(le*a,(1-he)*y,!1);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,fe*y,ve*a,.7*y,ve*a,fe*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me+z)*a,(ge+z)*y,(.5+b+z)*a,(.5-re+z)*y,(.5+re+z)*a,(.5-b+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+ee)*y,(.5-re+z)*a,(.5-b+ee)*y,(.5-b+z)*a,(.5-re+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+re+ee)*y,(.5-re+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),be.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,re=.5,le=ee,he=Math.PI/4,ve=4*(1-Math.cos(he))/(3*Math.sin(he)),fe=ve*.5,me=ee,ge=ee,be=ve*me,Pe=ve*ge;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-me)*a,le*y,(re-(be+me)/2)*a,(le+(ge+Pe)/2)*y,(re-me)*a,(le+Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(le-ge)*y,(re-me)*a,(le-Pe)*y,(re-be)*a,(le-ge)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+me)*a,le*y,(re+be)*a,(le-ge)*y,(re+me)*a,(le-Pe)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(re+me)*a,(le+Pe)*y,(re+(be+me)/2)*a,(le+(ge+Pe)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Te=new go.PathFigure(.2*a,y,!1);x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var re=new go.PathFigure(b*a,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),re.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),re.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,re=te*.1,le=.2,he=.9,ve=new go.PathFigure((le-ee)*a,he*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-ee)*y,(le-ee)*a,(he-re)*y,(le-re)*a,(he-ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+ee)*a,he*y,(le+re)*a,(he-ee)*y,(le+ee)*a,(he-re)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+ee)*y,(le+ee)*a,(he+re)*y,(le+re)*a,(he+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-ee)*a,he*y,(le-re)*a,(he+ee)*y,(le-ee)*a,(he+re)*y).close()),ee=.1,re=te*.1,le=.8,he=.9;var fe=new go.PathFigure((le-ee)*a,he*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he-ee)*y,(le-ee)*a,(he-re)*y,(le-re)*a,(he-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le+ee)*a,he*y,(le+re)*a,(he-ee)*y,(le+ee)*a,(he-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(he+ee)*y,(le+ee)*a,(he+re)*y,(le+re)*a,(he+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(le-ee)*a,he*y,(le-re)*a,(he+ee)*y,(le-ee)*a,(he+re)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var re=new go.PathFigure(.5*a,.7*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var le=.1,he=te*.1,ve=.1,fe=.9,me=new go.PathFigure((ve-le)*a,fe*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe-le)*y,(ve-le)*a,(fe-he)*y,(ve-he)*a,(fe-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,fe*y,(ve+he)*a,(fe-le)*y,(ve+le)*a,(fe-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe+le)*y,(ve+le)*a,(fe+he)*y,(ve+he)*a,(fe+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,fe*y,(ve-he)*a,(fe+le)*y,(ve-le)*a,(fe+he)*y)),le=.1,he=te*.1,ve=.4,fe=.9;var ge=new go.PathFigure((ve-le)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe-le)*y,(ve-le)*a,(fe-he)*y,(ve-he)*a,(fe-le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ve+le)*a,fe*y,(ve+he)*a,(fe-le)*y,(ve+le)*a,(fe-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(fe+le)*y,(ve+le)*a,(fe+he)*y,(ve+he)*a,(fe+le)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ve-le)*a,fe*y,(ve-he)*a,(fe+le)*y,(ve-le)*a,(fe+he)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,fe=te*.05,me=.175,ge=.95,re=new go.PathFigure((me-ve)*a,ge*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-ve)*y,(me-ve)*a,(ge-fe)*y,(me-fe)*a,(ge-ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(me+ve)*a,ge*y,(me+fe)*a,(ge-ve)*y,(me+ve)*a,(ge-fe)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+ve)*y,(me+ve)*a,(ge+fe)*y,(me+fe)*a,(ge+ve)*y)),re.add(new go.PathSegment(go.PathSegment.Bezier,(me-ve)*a,ge*y,(me-fe)*a,(ge+ve)*y,(me-ve)*a,(ge+fe)*y));var ve=.05,fe=te*.05,me=.375,ge=.95,le=new go.PathFigure((me-ve)*a,ge*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-ve)*y,(me-ve)*a,(ge-fe)*y,(me-fe)*a,(ge-ve)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(me+ve)*a,ge*y,(me+fe)*a,(ge-ve)*y,(me+ve)*a,(ge-fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+ve)*y,(me+ve)*a,(ge+fe)*y,(me+fe)*a,(ge+ve)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(me-ve)*a,ge*y,(me-fe)*a,(ge+ve)*y,(me-ve)*a,(ge+fe)*y));var ve=.05,fe=te*.05,me=.625,ge=.95,he=new go.PathFigure((me-ve)*a,ge*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-ve)*y,(me-ve)*a,(ge-fe)*y,(me-fe)*a,(ge-ve)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(me+ve)*a,ge*y,(me+fe)*a,(ge-ve)*y,(me+ve)*a,(ge-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+ve)*y,(me+ve)*a,(ge+fe)*y,(me+fe)*a,(ge+ve)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(me-ve)*a,ge*y,(me-fe)*a,(ge+ve)*y,(me-ve)*a,(ge+fe)*y));var ve=.05,fe=te*.05,me=.825,ge=.95,be=new go.PathFigure((me-ve)*a,ge*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge-ve)*y,(me-ve)*a,(ge-fe)*y,(me-fe)*a,(ge-ve)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me+ve)*a,ge*y,(me+fe)*a,(ge-ve)*y,(me+ve)*a,(ge-fe)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(ge+ve)*y,(me+ve)*a,(ge+fe)*y,(me+fe)*a,(ge+ve)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(me-ve)*a,ge*y,(me-fe)*a,(ge+ve)*y,(me-ve)*a,(ge+fe)*y).close());var Pe=new go.PathFigure(0,y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var re=.05,le=te*.05,he=.35,ve=.775,fe=new go.PathFigure((he-re)*a,ve*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-re)*y,(he-re)*a,(ve-le)*y,(he-le)*a,(ve-re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he+re)*a,ve*y,(he+le)*a,(ve-re)*y,(he+re)*a,(ve-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve+re)*y,(he+re)*a,(ve+le)*y,(he+le)*a,(ve+re)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(he-re)*a,ve*y,(he-le)*a,(ve+re)*y,(he-re)*a,(ve+le)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(ne,a,y){var x=new go.Geometry,b=.3,z=te*.3,ee=.5,re=.7,le=new go.PathFigure((ee-b)*a,re*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,le=new go.PathFigure((ee-b)*a,re*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(ne,a,y){var x=new go.Geometry,b=.5,z=te*.5,ee=.5,re=.5,le=new go.PathFigure((ee-b)*a,re*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),b=.05,z=te*.05,ee=.5,re=.8;var he=new go.PathFigure((ee-b)*a,re*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re-b)*y,(ee-b)*a,(re-z)*y,(ee-z)*a,(re-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,re*y,(ee+z)*a,(re-b)*y,(ee+b)*a,(re-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(re+b)*y,(ee+b)*a,(re+z)*y,(ee+z)*a,(re+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,re*y,(ee-z)*a,(re+b)*y,(ee-b)*a,(re+z)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var re=new go.PathFigure(.678*a,.85*y,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),re.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var le=new go.PathFigure(.5*a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var re=new go.PathFigure(a*.612,y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var le=new go.PathFigure(a*.816,y,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),le.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var re=new go.PathFigure(a*.055,.18*y,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),re.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),re.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var le=new go.PathFigure(a*1,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),le.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),le.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var re=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),re.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var le=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,y){var x=new go.Geometry,b=8,z=b*te,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var re=new go.PathFigure(a*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),re.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var le=new go.PathFigure(a*.83,y*1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,y){var x=ne?ne.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*te,z=y*.8,ee=new go.Geometry,re=new go.PathFigure(x,0,!0);return ee.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),re.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),re.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ne,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,y){var x=new go.Geometry,b=15,z=b*te,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ne,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93127:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var xt={},At="5.0",Ae={},pe=null,it=!1,E=!1,Se=null,ye=!1,oe=null,te=null,se=0;se4?parseFloat(ze):5};xt.setHTML5Codebase=function(ze,Re){te=ze,Ve(ze,Re)},xt.setJavaCodebase=xt.setJavaCodebaseVersion=xt.isCompiledInstalled=xt.setPreCompiledScriptPath=xt.setPreCompiledResourcePath=function(){},xt.setHTML5CodebaseVersion=function(ze,Re){var He=parseFloat(ze);if(He!==NaN&&He<5){console.log("The GeoGebra HTML5 codebase version "+He+" is deprecated. Using version latest instead.");return}oe=ze,ot(ze,Re)},xt.getHTML5CodebaseVersion=function(){return ne},xt.getParameters=function(){return Ae},xt.setFontsCSSURL=function(ze){ee=ze},xt.setGiacJSURL=function(ze){},xt.setJNLPFile=function(ze){ue=ze},xt.setJNLPBaseDir=function(ze){},xt.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Re="auto",He=Ae.id,rt,qe=!1,ut=0;ut=5)return!0;var ze=xt.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},xt.startAnimation=function(){var ze=xt.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},xt.stopAnimation=function(){var ze=xt.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},xt.getAppletObject=function(){var ze=Ae.id!==void 0?Ae.id:"ggbApplet";return window[ze]},xt.resize=function(){};var be=function(ze,Re,He){var rt=document.createElement("param");rt.setAttribute("name",Re),rt.setAttribute("value",He),ze.appendChild(rt)},Pe=function(ze){return ze&&ze!=="false"},Te=function(ze,Re,He){le(ne)<=4.2&&(He=!0);var rt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(rt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var ut=Re.width,_e=Re.height;if(Re.disableAutoScale=Re.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Re.disableAutoScale,Re.width!==void 0)if(le(ne)<=4.4)Pe(Re.showToolBar)&&(Re.height-=7),Pe(Re.showAlgebraInput)&&(Re.height-=37),Re.width<605&&Pe(Re.showToolBar)&&(Re.width=605,ut=605);else{var We=100;(Pe(Re.showToolBar)||Pe(Re.showMenuBar))&&(Re.hasOwnProperty("customToolBar")&&(Re.customToolbar=Re.customToolBar),We=Pe(Re.showMenuBar)?245:155),ut=5?(Re.appletOnLoad=function(ke){var $e=ze.querySelector(".ggb_preview");$e&&$e.parentNode.removeChild($e),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Fe),window.GGBT_wsf_view&&$(window).trigger("resize"),Ye(ke)},Ne||Fe.appendChild(et)):qe.appendChild(et),Fe.appendChild(qe),Ne||ze.appendChild(Fe),setTimeout(function(){xt.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(qe),ze.appendChild(De),Re.appletOnLoad=function(ke){xt.resize(),Ye(ke)}}function je(ke,$e){$e&&typeof $e.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ke,$e.appletOnLoad):renderGGBElement(ke),Xe("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$e)}function Ee(ke,$e){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ke,params:$e}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(gt){je(gt.article,gt.params)}),html5AppletsToProcess=null)},le(ne)<5&&(ke.className+=" geogebraweb")):je(ke,$e)}if(rt){scriptLoadStarted=!0;for(var xe=0;xe0?(Oe.remove(),Fe.attr("id","fullscreencontent").show(),jQuery(Ye).append(Fe),window.dispatchEvent(new Event("resize"))):Te(Oe,Re,!1),window.GGBT_wsf_view.launchFullScreen(Ye)}else ie=rt,Te(ze,Re,!1);if(!window.GGBT_wsf_view)for(_e=0;_eze/4*3&&(Oe=ze/4*3),Ye=Oe/5.8,We.setAttribute("src",b),We.setAttribute("width",Oe),We.setAttribute("height",Ye);var Fe=(ze-Oe)/2,Ne=(Re-Ye)/2;We.style.left=Fe+"px",We.style.top=Ne+"px",qe.appendChild(We)}}return qe.appendChild(_e),qe},Qe=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Ge=["web","webSimple","web3d","tablet","tablet3d","phone"],ot=function(ze,Re){if(ne=ze,Re){Ve(ne,!0);return}var He=!it;if(He){var rt=le(ne);!isNaN(rt)&&rt<4.4&&(He=!1)}var qe,ut;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var _e=ne.indexOf("//");_e>0?ut=ne:_e===0?ut=qe+ne:ut="https://www.geogebra.org/apps/5.2.814.0/";for(var We in Ge)if(ne.slice(Ge[We].length*-1)===Ge[We]||ne.slice((Ge[We].length+1)*-1)===Ge[We]+"/"){Ve(ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&He&&!pe.is3D&&!pe.AV&&!pe.SV&&!pe.CV&&!pe.EV2&&!pe.CP&&!pe.PC&&!pe.DA&&!pe.FI&&!pe.PV&&!Pe(Ae.showToolBar)&&!Pe(Ae.showMenuBar)&&!Pe(Ae.showAlgebraInput)&&!Pe(Ae.enableRightClick)&&(!Ae.appName||Ae.appName=="classic")?ut+="webSimple/":ut+="web3d/",Ve(ut,!1)},Ve=function(ze,Re){if(ze.requirejs){ce=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ce=ze,Re===null&&(Re=ze.indexOf("http")===-1),ae=Re,a="web.nocache.js",y=!1;var He=ce.split("/");He.length>1&&(!Re&&He[He.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Ge.indexOf(He[He.length-2])>=0&&(a=He[He.length-2]+".nocache.js")),He=ze.split("/"),ne=He[He.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var rt=parseFloat(ne);rt!==NaN&&rt<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+rt+" is deprecated. Using version latest instead."),ot("5.0",Re))},Xe=function(ze,Re){window.console&&window.console.log&&(!Re||typeof Re.showLogging=="undefined"||Re.showLogging&&Re.showLogging!=="false")&&console.log(ze)};Ae.material_id!==void 0?fe(Ze):Ze();function Ze(){var ze=At;oe!==null?ze=oe:parseFloat(ze)<5&&(ze="5.0"),ot(ze,!1),te!==null&&Ve(te,ae),ye=!0}return xt},GGBAppletUtils=function(){"use strict";function xt(){return window.GGBT_wsf_edit!==void 0}function At(ye,oe){oe!=1?(ye.style.transformOrigin="0% 0% 0px",ye.style.webkitTransformOrigin="0% 0% 0px",ye.style.transform="scale("+oe+","+oe+")",ye.style.webkitTransform="scale("+oe+","+oe+")",ye.style.maxWidth="initial",ye.querySelector(".ggb_preview")!==null&&(ye.querySelector(".ggb_preview").style.maxWidth="initial"),ye.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ye.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ye.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ye.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ye.style.transform="none",ye.style.webkitTransform="none")}function Ae(ye,oe,te,se,de,ue){var ce=null;if(ue!=null&&ue!="")for(var ae=ye.parentNode;ae!=null;)if((" "+ae.className+" ").indexOf(" "+ue+" ")>-1){ce=ae;break}else ae=ae.parentNode;var ie=0,ne=0,a=0,y=0,x=0,b=0,z=0;if(ce)ie=ce.offsetWidth,ne=Math.max(se?ce.offsetWidth:0,ce.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ie=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ie):(ie=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),ye){var ee=ye.getBoundingClientRect();ee.left>0&&ee.left<=ie&&(de===void 0||!de)&&(document.dir==="rtl"?(x=ie-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(ye&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=ye.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return ye&&((te===void 0||!te)&&oe>0&&oe+y1&&(ue=!0)),oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(ye.hasOwnProperty("disableAutoScale")&&ye.disableAutoScale))de=pe(ye,oe,ue,te,ye.scaleContainerClass);else return se;return ue&&(!ye.hasOwnProperty("scale")||se===1)?de:Math.min(se,de)}function E(ye){var oe=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),se=ye.getBoundingClientRect(),de=(oe-se.width)/2,ue=(te-se.height)/2;ue<0&&(ue=0),ye.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(de<40?ye.style.left="40px":ye.style.left=de+"px",ye.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?ye.style.top="40px":ye.style.top=ue+"px",ye.style.left=de+"px")}function Se(ye,oe){var te=ye.querySelector(".appletParameters");if(te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(oe.id!==te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ye)}if(te.parentElement&&/fullscreen/.test(te.parentElement.className))return;var se=it(oe,ye);xt()&&te.setAttribute("data-param-scale",se);for(var de=null,ue=0;ue=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(xt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(xt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(xt){var At=c[xt];return At==null?null:At},r=d,webModule.__errFn=e}function B(){function xt(ye){var oe=ye.lastIndexOf(rb);oe==-1&&(oe=ye.length);var te=ye.indexOf(sb);te==-1&&(te=ye.length);var se=ye.lastIndexOf(tb,Math.min(te,oe));return se>=O?ye.substring(O,se+P):W}function At(ye){if(!ye.match(/^\w+:\/\//)){var oe=o.createElement(ub);oe.src=ye+vb,ye=xt(oe.src)}return ye}function Ae(){var ye=__gwt_getMetaProperty(wb);return ye!=null?ye:W}function pe(){for(var ye=o.getElementsByTagName(_),oe=O;oeO?ye[ye.length-P].href:W}function E(){var ye=o.location;return ye.href==ye.protocol+zb+ye.host+ye.pathname+ye.search+ye.hash}var Se=Ae();return Se==W&&(Se=pe()),Se==W&&(Se=it()),Se==W&&E()&&(Se=xt(o.location.href)),Se=At(Se),Se}function C(xt){return xt.match(/^\//)||xt.match(/^[a-zA-Z]+:\/\//)?xt:webModule.__moduleBase+xt}function D(){var xt=[],At=O,Ae=[],pe=[];function it(ye){var oe=pe[ye](),te=Ae[ye];if(oe in te)return oe;var se=[];for(var de in te)se[te[de]]=de;throw r&&r(ye,se,oe),null}if(__gwt_isKnownPropertyValue=function(ye,oe){return oe in Ae[ye]},webModule.__getPropMap=function(){var ye={};for(var oe in Ae)Ae.hasOwnProperty(oe)&&(ye[oe]=it(oe));return ye},webModule.__computePropValue=it,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var Se=E.indexOf(Db);Se!=-1&&(At=parseInt(E.substring(Se+P),$),E=E.substring(O,Se))}catch(ye){}return webModule.__softPermutationId=At,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8396:function(xt,At,Ae){"use strict";Ae.d(At,{Ax:function(){return Se},Ds:function(){return ye},KI:function(){return te},SI:function(){return E},f1:function(){return it}});var pe=Ae(85386);function it(se){let de=!0;if(se.length>0){for(let ue=0;uene in ie?oe(ie,ne,{enumerable:!0,configurable:!0,writable:!0,value:a}):ie[ne]=a,ce=(ie,ne)=>{for(var a in ne||(ne={}))se.call(ne,a)&&ue(ie,a,ne[a]);if(te)for(var a of te(ne))de.call(ne,a)&&ue(ie,a,ne[a]);return ie};const ae=({cancelText:ie="\u53D6\u6D88",okText:ne="\u786E\u5B9A",loading:a=!1,hasOkBtn:y=!0,hasCancelBtn:x=!0,okButtonProps:b={},onCancel:z=()=>{},onOk:ee=()=>{},className:re=""})=>pe.createElement("div",{className:ye()(E.buttonFixed,re)},pe.createElement("div",{className:E.buttonWrap},x&&pe.createElement(it.ZP,{size:"middle",className:`${E.button} mr20`,onClick:z},ie),y&&pe.createElement(it.ZP,ce({size:"middle",type:"primary",className:`${E.button} mr20`,loading:a,onClick:ee},b),ne)))},40783:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ce}});var pe=Ae(59301),it={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Ae(92310),Se=Ae.n(E),ye=Ae(71418),oe=Ae(2859),te=Ae(43597),se=Ae(94601),de=(ae,ie,ne)=>new Promise((a,y)=>{var x=ee=>{try{z(ne.next(ee))}catch(re){y(re)}},b=ee=>{try{z(ne.throw(ee))}catch(re){y(re)}},z=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(x,b);z((ne=ne.apply(ae,ie)).next())}),ce=({data:ae,className:ie,fullWidth:ne,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const ee=(0,pe.useRef)(null),re=(0,pe.useRef)(null),le=(0,pe.useRef)(null),he=(0,pe.useRef)(null),[ve,fe]=(0,pe.useState)(!1),[me,ge]=(0,pe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,pe.useEffect)(()=>{le.current||(le.current=document.createElement("style"),document.head.appendChild(le.current)),ae!=null&&ae.visible?(document.body.setAttribute("data-custom","y-hidden"),le.current.innerHTML=" html { overflow-y: hidden; }",ae!=null&&ae.src&&be()):(document.body.removeAttribute("data-custom"),le.current&&(document.head.removeChild(le.current),le.current=null))},[ae==null?void 0:ae.visible]);const be=()=>de(void 0,null,function*(){fe(!0),ge("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ie=yield(0,se.ZJ)(ae==null?void 0:ae.src);ee.current.src="",ee.current.src=Ie,ee.current.onload=function(){Le()},fe(!1),ge("")}),Pe=()=>{document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",y()},Te=Ie=>de(void 0,null,function*(){fe(!0),ge("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Me=yield(0,te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ae.title,file:Ie.dataUrl}});Me!=null&&Me.id&&!z?(yield(0,te.ZP)(`/api/attachments/${ae.id}/add_subitem.json`,{method:"post",body:{subitem_id:Me==null?void 0:Me.id,settings:JSON.stringify(Ie.state)}})).status===0&&x():Me!=null&&Me.id&&x(Me),document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",fe(!1),ge("")}),Ce=()=>{const Ie=document.querySelector('a[href="https://markerjs.com/"]');Ie&&Ie.parentNode&&(Ie.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(Ue=>{const Qe=document.querySelector(Ue.name);Qe&&Qe.setAttribute("title",Ue.title)})},Le=()=>{re.current=new oe.hP(ee.current),re.current.targetRoot=he.current,re.current.addEventListener("render",Te),re.current.addEventListener("beforeclose",Pe),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),ae!=null&&ae.snapshotData&&re.current.restoreState(ae.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ce()},300)};return pe.createElement(pe.Fragment,null,(ae==null?void 0:ae.visible)&&pe.createElement(ye.Z,{spinning:ve,tip:me,style:{position:"absolute"}},pe.createElement("div",{ref:he,className:Se()(it.imageDimensions,ie,ne?it.fullWidth:""),style:a},pe.createElement("img",{className:it.img,ref:ee}))))}},57765:function(xt,At,Ae){"use strict";var pe=Ae(59301),it=Ae(95237),E=Ae(43604),Se=Ae(99313),ye=Ae(3113),oe=Ae(17410),te=Ae(32313),se=Ae(48136),de=Ae(59301);const ue=(0,pe.forwardRef)(({callback:ce,showSaveButton:ae,value:ie=""},ne)=>{const a=(0,pe.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:de.createElement(ot.Z,{className:te.Z.lists,gutter:[10,10]},y.map((re,ce)=>de.createElement(E.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(oe.Z,{value:`$$${re.value}$$`}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((me,ve)=>de.createElement("div",{key:ve},de.createElement("h1",null,me.name),de.createElement(ot.Z,{gutter:[10,10]},me.data.map((ge,pe)=>de.createElement(E.Z,{key:pe,onClick:()=>b(ge),className:te.Z.diamond},de.createElement(oe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:de.createElement(ot.Z,{className:te.Z.lists,gutter:[10,10]},x.map((re,ce)=>de.createElement(E.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((me,ve)=>de.createElement("div",{key:ve},me.name&&de.createElement("h1",null,me.name),de.createElement(ot.Z,{gutter:[10,10]},me.data.map((ge,pe)=>de.createElement(E.Z,{key:pe,onClick:()=>b(ge),className:te.Z.diamond},de.createElement(oe.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],ee=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var ce=re.innerText;return ue&&ue(ce),ce};return(0,he.useImperativeHandle)(ne,()=>({getData:ee})),de.createElement("div",{className:te.Z.mathWrap},de.createElement(Pe.default,{defaultActiveKey:"1",items:z}),de.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ie||""),ae&&de.createElement("div",{className:te.Z.button},de.createElement(be.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ft.Z=le},57560:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{h:function(){return re}});var he=Ae(59301),ot=Ae(57809),E=Ae(78241),Pe=Ae(3113),be=Ae(89780),oe=Ae.n(be),te=Ae(78318),se=Ae(44084),de=Object.defineProperty,le=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(ce,me,ve)=>me in ce?de(ce,me,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[me]=ve,y=(ce,me)=>{for(var ve in me||(me={}))ie.call(me,ve)&&a(ce,ve,me[ve]);if(ae)for(var ve of ae(me))ne.call(me,ve)&&a(ce,ve,me[ve]);return ce},x=(ce,me)=>le(ce,ue(me));const b=ot.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Ft.Z=({callback:ce,onCancel:me})=>{const[ve,ge]=(0,he.useState)("python");function pe(ye){ge(ee[ye][1])}function fe(ye){ce(ye)}return he.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:fe,style:{width:500}}),he.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(ot.default,{getPopupContainer:ye=>ye.parentNode,onChange:pe},Object.keys(ee).map(ye=>he.createElement(b,{key:ye,value:ye},ee[ye][0])))),he.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(re,{mode:ve})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Pe.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function re({value:ce,onChange:me,mode:ve,options:ge={}}){const pe=(0,he.useRef)(),[fe,ye]=(0,he.useState)();return(0,he.useEffect)(()=>{if(fe){let Se=function(Oe){const Ce=Oe.getValue();me&&me(Ce)};return fe.on("change",Se),()=>{fe.off("change",Se)}}},[fe,me]),(0,he.useEffect)(()=>{fe&&fe.setOption("mode",ve)},[fe,ve]),(0,he.useEffect)(()=>{fe&&(ce!==fe.getValue()||ce==="")&&setTimeout(()=>{fe.setValue(ce||"")},300)},[fe,ce]),(0,he.useEffect)(()=>{if(pe.current&&!fe){const Se=oe().fromTextArea(pe.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ge));ye(Se)}},[pe.current,fe]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:pe}))}},55659:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return Jr}});var he=Ae(59301),ot=Ae(89780),E=Ae.n(ot),Pe=Ae(76374),be=Ae(78318),oe=Ae(6313),te=Ae(25717),se=Ae(99498),de=Ae(25419),le=Ae(67549),ue=Ae(17410),ae=({value:Tt="",className:xt,showTextOnly:Et,showLines:Vt,style:Sn={}})=>{const $t=(0,he.useMemo)(()=>"",[Tt]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:$t}}))},ie=Ae(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Tt,xt,Et)=>xt in Tt?ne(Tt,xt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Tt[xt]=Et,re=(Tt,xt)=>{for(var Et in xt||(xt={}))b.call(xt,Et)&&ee(Tt,Et,xt[Et]);if(x)for(var Et of x(xt))z.call(xt,Et)&&ee(Tt,Et,xt[Et]);return Tt},ce=(Tt,xt)=>a(Tt,y(xt));let me=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:Tt,title:xt,icon:Et,actionName:Vt,className:Sn="",children:$t}){function $n(){Tt(Vt)}return ie.createElement("a",{title:xt,className:Sn,onClick:$n},ie.createElement("i",{className:`${Et}`}),$t)}var ge=({watch:Tt,showNullButton:xt,showNullProgramButton:Et,onActionCallback:Vt,fullScreen:Sn,insertTemp:$t,hidetoolBar:$n,extraUse:Hn})=>{const Rn=[...me,{title:`${Tt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Tt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ie.createElement("ul",{className:"markdown-toolbar-container"},!$n&&Rn.map((Er,ra)=>ie.createElement("li",{key:ra},Er.actionName?ie.createElement(ve,ce(re({},Er),{onActionCallback:Vt})):ie.createElement("span",{className:"v-line"}))),xt?ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Vt},ie.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Et?ie.createElement(ie.Fragment,null,ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Vt},ie.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Vt},ie.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,$t&&ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$t}`,onActionCallback:Vt},ie.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Hn&&ie.createElement("li",null,Hn),ie.createElement("li",{className:"btn-full-screen"},ie.createElement(ve,{icon:`${Sn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Sn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Vt})))},pe=Ae(74254),fe=Ae(78241),ye=Ae(92832),Se=Ae(3113),Oe=Object.defineProperty,Ce=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,et=(Tt,xt,Et)=>xt in Tt?Oe(Tt,xt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Tt[xt]=Et,Ge=(Tt,xt)=>{for(var Et in xt||(xt={}))ke.call(xt,Et)&&et(Tt,Et,xt[Et]);if(De)for(var Et of De(xt))Ue.call(xt,Et)&&et(Tt,Et,xt[Et]);return Tt},it=(Tt,xt)=>Ce(Tt,Le(xt));const Qe={labelCol:{span:4},wrapperCol:{span:20}};var Ye=({callback:Tt,onCancel:xt})=>{function Et(Vt){Tt(Vt)}return he.createElement(fe.default,it(Ge({},Qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Et,style:{width:500}}),he.createElement(fe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},he.createElement(ye.default,null)),he.createElement(fe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},he.createElement(ye.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Se.ZP,{type:"ghost",onClick:xt},"\u53D6\u6D88")))},Ve=Ae(57560),Me=Ae(42307),Re=Ae(43418),ze=Ae(95237),rt=Ae(40783),$e=Ae(59301),ut=({callback:Tt,onCancel:xt})=>{const Et=document.createElement("canvas"),Vt=Et.getContext("2d");Et.width=1e3,Et.height=800,Vt.fillStyle="#ffffff",Vt.fillRect(0,0,Et.width,Et.height);const Sn=Et.toDataURL("image/png");return $e.createElement(Re.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},$e.createElement(ze.Z,{style:{height:"100vh"}},$e.createElement(rt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Sn,visible:!0,title:String(Date.now())},onOk:$t=>{Tt({src:$t.url})},onClose:xt})))},_e=Ae(12378);function We(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(We,go.CommandHandler),We.prototype.canAlignSelection=function(){var Tt=this.diagram;return!(Tt===null||Tt.isReadOnly||Tt.isModelReadOnly||Tt.selection.count<2)},We.prototype.alignLeft=function(){var Tt=this.diagram;Tt.startTransaction("aligning left");var xt=1/0;Tt.selection.each(function(Et){Et instanceof go.Link||(xt=Math.min(Et.position.x,xt))}),Tt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(xt,Et.position.y))}),Tt.commitTransaction("aligning left")},We.prototype.alignRight=function(){var Tt=this.diagram;Tt.startTransaction("aligning right");var xt=-1/0;Tt.selection.each(function(Et){if(!(Et instanceof go.Link)){var Vt=Et.actualBounds.x+Et.actualBounds.width;xt=Math.max(Vt,xt)}}),Tt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(xt-Et.actualBounds.width,Et.position.y))}),Tt.commitTransaction("aligning right")},We.prototype.alignTop=function(){var Tt=this.diagram;Tt.startTransaction("alignTop");var xt=1/0;Tt.selection.each(function(Et){Et instanceof go.Link||(xt=Math.min(Et.position.y,xt))}),Tt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Et.position.x,xt))}),Tt.commitTransaction("alignTop")},We.prototype.alignBottom=function(){var Tt=this.diagram;Tt.startTransaction("aligning bottom");var xt=-1/0;Tt.selection.each(function(Et){if(!(Et instanceof go.Link)){var Vt=Et.actualBounds.y+Et.actualBounds.height;xt=Math.max(Vt,xt)}}),Tt.selection.each(function(Et){Et instanceof go.Link||Et.move(new go.Point(Et.actualBounds.x,xt-Et.actualBounds.height))}),Tt.commitTransaction("aligning bottom")},We.prototype.alignCenterX=function(){var Tt=this.diagram,xt=Tt.selection.first();if(xt){Tt.startTransaction("aligning Center X");var Et=xt.actualBounds.x+xt.actualBounds.width/2;Tt.selection.each(function(Vt){Vt instanceof go.Link||Vt.move(new go.Point(Et-Vt.actualBounds.width/2,Vt.actualBounds.y))}),Tt.commitTransaction("aligning Center X")}},We.prototype.alignCenterY=function(){var Tt=this.diagram,xt=Tt.selection.first();if(xt){Tt.startTransaction("aligning Center Y");var Et=xt.actualBounds.y+xt.actualBounds.height/2;Tt.selection.each(function(Vt){Vt instanceof go.Link||Vt.move(new go.Point(Vt.actualBounds.x,Et-Vt.actualBounds.height/2))}),Tt.commitTransaction("aligning Center Y")}},We.prototype.alignColumn=function(Tt){var xt=this.diagram;xt.startTransaction("align Column"),Tt===void 0&&(Tt=0),Tt=parseFloat(Tt);var Et=new Array;xt.selection.each(function(Hn){Hn instanceof go.Link||Et.push(Hn)});for(var Vt=0;Vt0){for(var Hn=$t.elt($n-1);Hn!==null&&Hn.isTreeExpanded&&!Hn.isTreeLeaf;){var Rn=this._sortTreeChildrenByY(Hn);Hn=Rn.last()}Hn!==null&&Tt.select(Hn)}else Tt.select(Sn)}}else if(Et.key==="Down")if(xt.isTreeExpanded&&!xt.isTreeLeaf){var Vt=this._sortTreeChildrenByY(xt).first();Vt!==null&&Tt.select(Vt)}else for(;xt!==null;){var Sn=xt.findTreeParentNode();if(Sn===null)break;var $t=this._sortTreeChildrenByY(Sn),$n=$t.indexOf(xt);if($n<$t.length-1){Tt.select($t.elt($n+1));break}else xt=Sn}var Er=Tt.selection.first();Er!==null&&Tt.scrollToRect(Er.actualBounds)}},We.prototype._sortTreeChildrenByY=function(Tt){var xt=new go.List().addAll(Tt.findTreeChildrenNodes());return xt.sort(function(Et,Vt){var Sn=Et.location,$t=Vt.location;return Sn.y<$t.y?-1:Sn.y>$t.y?1:Sn.x<$t.x?-1:Sn.x>$t.x?1:0}),xt},We.prototype.copyToClipboard=function(Tt){go.CommandHandler.prototype.copyToClipboard.call(this,Tt),this._lastPasteOffset.set(this.pasteOffset)},We.prototype.pasteFromClipboard=function(){var Tt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Tt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Tt},Object.defineProperty(We.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Tt){if(Tt!=="move"&&Tt!=="select"&&Tt!=="scroll"&&Tt!=="tree"&&Tt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Tt);this._arrowKeyBehavior=Tt}}),Object.defineProperty(We.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Tt){if(!(Tt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Tt);this._pasteOffset.set(Tt)}});var Te=We,Je=Ae(6404),Fe=Ae(43604),Ie=Ae(43597),Xe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},He=Ae(59301),je=(Tt,xt,Et)=>new Promise((Vt,Sn)=>{var $t=Rn=>{try{Hn(Et.next(Rn))}catch(Er){Sn(Er)}},$n=Rn=>{try{Hn(Et.throw(Rn))}catch(Er){Sn(Er)}},Hn=Rn=>Rn.done?Vt(Rn.value):Promise.resolve(Rn.value).then($t,$n);Hn((Et=Et.apply(Tt,xt)).next())});function Ee({onCancel:Tt,callback:xt}){let Et=(0,he.useRef)(),Vt=(0,he.useRef)(),Sn=(0,he.useRef)(),$t=(0,he.useRef)(!1);const $n=(0,he.useRef)(!1),[Hn,Rn]=(0,he.useState)(0);function Er(){const Qt=_e.bx.make,yr={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"};Et.current=new _e.S0(Vt.current,{padding:20,grid:Qt(_e.s_,"Grid",Qt(_e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qt(_e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:an=>{var Cn=an.diagram.commandHandler.addTopLevelParts(an.diagram.selection,!0);Cn||an.diagram.currentTool.doCancel()},commandHandler:Qt(Te),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:an=>{var Cn=an.subject;Cn.location=Cn.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 Cn=an.subject;setTimeout(()=>{an.diagram.commandHandler.editTextBlock()})},LinkRelinked:an=>{var Cn=an.parameter.part;Cn.invalidateConnectedLinks();var Kn=an.subject;an.diagram.toolManager.linkingTool.isForwards?Kn.toNode.invalidateConnectedLinks():Kn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Et.current.nodeTemplate=Qt(_e.NB,"Auto",{locationSpot:_e.z6.Center,locationObjectName:"SHAPE",desiredSize:new _e.$u(120,60),minSize:new _e.$u(40,40),resizable:!0,resizeCellSize:new _e.$u(10,10),rotatable:!0},new _e.KX("location","loc",_e.E9.parse).makeTwoWay(_e.E9.stringify),new _e.KX("desiredSize","size",_e.$u.parse).makeTwoWay(_e.$u.stringify),Qt(_e.bn,{name:"SHAPE",fill:yr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:_e.z6.AllSides,toSpot:_e.z6.AllSides},new _e.KX("figure"),new _e.KX("fill"),new _e.KX("stroke","borderColor"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),Qt(_e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Qt(_e.al,{margin:1,textAlign:"center",overflow:_e.al.OverflowEllipsis,editable:!0},new _e.KX("text").makeTwoWay(),new _e.KX("stroke","color"))),Et.current.nodeTemplate.toolTip=Qt("ToolTip",Qt(_e.s_,"Vertical",{maxSize:new _e.$u(200,NaN)},Qt(_e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new _e.KX("text")),Qt(_e.al,{font:"10pt sans-serif",textAlign:"center"},new _e.KX("text","details"))));function Yr(an,Cn){var Kn=(xn,wr)=>{xn.handled=!0,xn.diagram.model.commit(br=>{var rr=wr.part.adornedPart,Ar=new _e.E9().setRectSpot(rr.actualBounds,an);Ar.subtract(rr.location),Ar.scale(2,2),Ar.x+=Math.sign(Ar.x)*130,Ar.y+=Math.sign(Ar.y)*130,Ar.add(rr.location),Ar.snapToGridPoint(xn.diagram.grid.gridOrigin,xn.diagram.grid.gridCellSize);var Vr=br.copyNodeData(rr.data);br.setGroupKeyForNodeData(Vr,br.getGroupKeyForNodeData(rr.data)),br.addNodeData(Vr);var Oa={from:rr.key,to:br.getKeyForNodeData(Vr)};br.addLinkData(Oa);var Na=xn.diagram.findNodeForData(Vr);Na.location=Ar,xn.diagram.select(Na),setTimeout(()=>{xn.diagram.commandHandler.editTextBlock()},20)})};return Qt(_e.bn,{figure:Cn,alignment:an,alignmentFocus:an.opposite(),width:an.equals(_e.z6.Top)||an.equals(_e.z6.Bottom)?25:18,height:an.equals(_e.z6.Top)||an.equals(_e.z6.Bottom)?18:25,fill:"orange",stroke:yr.white,strokeWidth:4,mouseEnter:(xn,wr)=>wr.fill="dodgerblue",mouseLeave:(xn,wr)=>wr.fill="orange",isActionable:!0,click:Kn,contextClick:Kn})}function Cr(an){return Qt(_e.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Cn,Kn)=>Kn.fill="dodgerblue",mouseLeave:(Cn,Kn)=>Kn.fill="orange",click:(Cn,Kn)=>{Cn.diagram.commandHandler.showContextMenu(Kn.part.adornedPart)}},an||{})}Et.current.nodeTemplate.selectionAdornmentTemplate=Qt(_e.uz,"Spot",Qt(_e.Vm,{padding:10}),Yr(_e.z6.Top,"TriangleUp"),Yr(_e.z6.Left,"TriangleLeft"),Yr(_e.z6.Right,"TriangleRight"),Yr(_e.z6.Bottom,"TriangleDown"),Cr({alignment:new _e.z6(.75,0)}));function Or(an,Cn){return(Kn,xn)=>{Kn.handled=!0,Kn.diagram.model.commit(wr=>{wr.set(xn.part.adornedPart.data,an,Cn)})}}function wt(an,Cn){return Cn||(Cn="color"),Qt(_e.bn,{width:16,height:16,stroke:"lightgray",fill:an,margin:1,background:"transparent",mouseEnter:(Kn,xn)=>xn.stroke="dodgerblue",mouseLeave:(Kn,xn)=>xn.stroke="lightgray",click:Or(Cn,an),contextClick:Or(Cn,an)})}function Ht(){return[Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",wt(yr.white,"fill"),wt(yr.beige,"fill"),wt(yr.extralightblue,"fill"),wt(yr.extralightred,"fill"))),Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",wt(yr.lightgray,"fill"),wt(yr.lightgreen,"fill"),wt(yr.lightblue,"fill"),wt(yr.lightred,"fill")))]}function Rt(){return[Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",wt(yr.black),wt(yr.green),wt(yr.blue),wt(yr.red))),Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",wt(yr.white),wt(yr.magenta),wt(yr.purple),wt(yr.orange)))]}function Kt(an,Cn){return Cn||(Cn="thickness"),Qt(_e.bn,"LineH",{width:16,height:16,strokeWidth:an,margin:1,background:"transparent",mouseEnter:(Kn,xn)=>xn.background="dodgerblue",mouseLeave:(Kn,xn)=>xn.background="transparent",click:Or(Cn,an),contextClick:Or(Cn,an)})}function en(an,Cn){return Cn||(Cn="dash"),Qt(_e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:an,margin:1,background:"transparent",mouseEnter:(Kn,xn)=>xn.background="dodgerblue",mouseLeave:(Kn,xn)=>xn.background="transparent",click:Or(Cn,an),contextClick:Or(Cn,an)})}function nn(){return[Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",Kt(1),Kt(2),Kt(3),Kt(4))),Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",en(null),en([2,4]),en([4,4])))]}function Xt(an,Cn){return Cn||(Cn="figure"),Qt(_e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:an,margin:1,background:"transparent",mouseEnter:(Kn,xn)=>xn.fill="dodgerblue",mouseLeave:(Kn,xn)=>xn.fill="lightgray",click:Or(Cn,an),contextClick:Or(Cn,an)})}Et.current.nodeTemplate.contextMenu=Qt("ContextMenu",Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",Xt("Rectangle"),Xt("RoundedRectangle"),Xt("Ellipse"),Xt("Diamond"))),Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",Xt("Parallelogram2"),Xt("ManualOperation"),Xt("Procedure"),Xt("Cylinder1"))),Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",Xt("Terminator"),Xt("CreateRequest"),Xt("Document"),Xt("TriangleDown"))),Ht(),Rt(),nn()),Et.current.groupTemplate=Qt(_e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:_e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(an,Cn)=>{var Kn=Cn.addMembers(Cn.diagram.selection,!0);Kn||Cn.diagram.currentTool.doCancel()},avoidable:!1},new _e.KX("location","loc",_e.E9.parse).makeTwoWay(_e.E9.stringify),Qt(_e.s_,"Auto",{name:"BODY"},Qt(_e.bn,{parameter1:10,fill:yr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:_e.z6.AllSides,toSpot:_e.z6.AllSides},new _e.KX("fill"),new _e.KX("stroke","color"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),Qt(_e.Vm,{background:"transparent",margin:20})),Qt(_e.al,{alignment:_e.z6.Top,alignmentFocus:_e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new _e.KX("text"),new _e.KX("stroke","color"))),Et.current.groupTemplate.selectionAdornmentTemplate=Qt(_e.uz,"Spot",Qt(_e.s_,"Auto",Qt(_e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Qt(_e.Vm,{margin:1.5})),Cr({alignment:_e.z6.TopRight,alignmentFocus:_e.z6.BottomRight})),Et.current.groupTemplate.contextMenu=Qt("ContextMenu",Ht(),Rt(),nn()),Et.current.linkTemplate=Qt(_e.rU,{layerName:"Foreground",routing:_e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new _e.KX("fromSpot","fromSpot",_e.z6.parse),new _e.KX("toSpot","toSpot",_e.z6.parse),new _e.KX("fromShortLength","dir",an=>an>=1?10:0),new _e.KX("toShortLength","dir",an=>an>=1?10:0),new _e.KX("points").makeTwoWay(),Qt(_e.bn,{strokeWidth:2},new _e.KX("stroke","color"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),Qt(_e.bn,{segmentIndex:0,segmentOffset:new _e.E9(15,0),segmentOrientation:_e.rU.OrientAlong,alignmentFocus:_e.z6.Right,figure:"circle",width:10,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",an=>an===1)),Qt(_e.bn,{segmentIndex:-1,segmentOffset:new _e.E9(-10,6),segmentOrientation:_e.rU.OrientPlus90,alignmentFocus:_e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",an=>an>=1),new _e.KX("width","thickness",an=>7+3*an),new _e.KX("height","thickness",an=>7+3*an),new _e.KX("segmentOffset","thickness",an=>new _e.E9(-15,4+1.5*an))),Qt(_e.bn,{segmentIndex:0,segmentOffset:new _e.E9(15,-6),segmentOrientation:_e.rU.OrientMinus90,alignmentFocus:_e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",an=>an===2),new _e.KX("width","thickness",an=>7+3*an),new _e.KX("height","thickness",an=>7+3*an),new _e.KX("segmentOffset","thickness",an=>new _e.E9(-15,4+1.5*an))),Qt(_e.al,{alignmentFocus:new _e.z6(0,1,-4,0),editable:!0},new _e.KX("text").makeTwoWay(),new _e.KX("stroke","color"))),Et.current.linkTemplate.selectionAdornmentTemplate=Qt(_e.uz,Qt(_e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Zt(2)},new _e.KX("pathPattern","thickness",Zt)),Cr({alignmentFocus:new _e.z6(0,0,-6,-4)}));function Zt(an){return Qt(_e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(an+4).toString()+" H3"})}function er(an){var Cn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return an===0?Cn="M0 0 M16 16 M0 8 L16 8":an===2&&(Cn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Qt(_e.bn,{geometryString:Cn,margin:2,background:"transparent",mouseEnter:(Kn,xn)=>xn.background="dodgerblue",mouseLeave:(Kn,xn)=>xn.background="transparent",click:Or("dir",an),contextClick:Or("dir",an)})}function Yn(an){var Cn=(Kn,xn)=>{Kn.handled=!0,Kn.diagram.model.commit(wr=>{var br=xn.part.adornedPart;wr.set(br.data,an?"toSpot":"fromSpot",_e.z6.stringify(_e.z6.AllSides)),(an?br.toNode:br.fromNode).invalidateConnectedLinks()})};return Qt(_e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Kn,xn)=>xn.background="dodgerblue",mouseLeave:(Kn,xn)=>xn.background="transparent",click:Cn,contextClick:Cn})}function kt(an,Cn){var Kn=0,xn=_e.z6.RightSide;an.equals(_e.z6.Top)?(Kn=270,xn=_e.z6.TopSide):an.equals(_e.z6.Left)?(Kn=180,xn=_e.z6.LeftSide):an.equals(_e.z6.Bottom)&&(Kn=90,xn=_e.z6.BottomSide),Cn||(Kn-=180);var wr=(br,rr)=>{br.handled=!0,br.diagram.model.commit(Ar=>{var Vr=rr.part.adornedPart;Ar.set(Vr.data,Cn?"toSpot":"fromSpot",_e.z6.stringify(xn)),(Cn?Vr.toNode:Vr.fromNode).invalidateConnectedLinks()})};return Qt(_e.bn,{alignment:an,alignmentFocus:an.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Kn,background:"transparent",mouseEnter:(br,rr)=>rr.background="dodgerblue",mouseLeave:(br,rr)=>rr.background="transparent",click:wr,contextClick:wr})}Et.current.linkTemplate.contextMenu=Qt("ContextMenu",Rt(),nn(),Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",er(0),er(1),er(2))),Qt("ContextMenuButton",Qt(_e.s_,"Horizontal",Qt(_e.s_,"Spot",Yn(!1),kt(_e.z6.Top,!1),kt(_e.z6.Left,!1),kt(_e.z6.Right,!1),kt(_e.z6.Bottom,!1)),Qt(_e.s_,"Spot",{margin:new _e.Zt(0,0,0,2)},Yn(!0),kt(_e.z6.Top,!0),kt(_e.z6.Left,!0),kt(_e.z6.Right,!0),kt(_e.z6.Bottom,!0)))));const pr=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],b=re=>{a.current.setValue(a.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:de.createElement(it.Z,{className:te.Z.lists,gutter:[10,10]},y.map((re,le)=>de.createElement(E.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(oe.Z,{value:`$$${re.value}$$`}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((he,ve)=>de.createElement("div",{key:ve},de.createElement("h1",null,he.name),de.createElement(it.Z,{gutter:[10,10]},he.data.map((fe,me)=>de.createElement(E.Z,{key:me,onClick:()=>b(fe),className:te.Z.diamond},de.createElement(oe.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:de.createElement(it.Z,{className:te.Z.lists,gutter:[10,10]},x.map((re,le)=>de.createElement(E.Z,{flex:"110px",className:te.Z.item},de.createElement("div",null,de.createElement(oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),de.createElement("div",{className:te.Z.children},re.children.map((he,ve)=>de.createElement("div",{key:ve},he.name&&de.createElement("h1",null,he.name),de.createElement(it.Z,{gutter:[10,10]},he.data.map((fe,me)=>de.createElement(E.Z,{key:me,onClick:()=>b(fe),className:te.Z.diamond},de.createElement(oe.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],ee=()=>{var re=document.createElement("div");re.innerHTML=a.current.getValue();var le=re.innerText;return ce&&ce(le),le};return(0,pe.useImperativeHandle)(ne,()=>({getData:ee})),de.createElement("div",{className:te.Z.mathWrap},de.createElement(Se.default,{defaultActiveKey:"1",items:z}),de.createElement("math-field",{locale:"zh_cn",className:te.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ie||""),ae&&de.createElement("div",{className:te.Z.button},de.createElement(ye.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});At.Z=ue},57560:function(xt,At,Ae){"use strict";Ae.d(At,{h:function(){return re}});var pe=Ae(59301),it=Ae(57809),E=Ae(78241),Se=Ae(3113),ye=Ae(89780),oe=Ae.n(ye),te=Ae(78318),se=Ae(44084),de=Object.defineProperty,ue=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(le,he,ve)=>he in le?de(le,he,{enumerable:!0,configurable:!0,writable:!0,value:ve}):le[he]=ve,y=(le,he)=>{for(var ve in he||(he={}))ie.call(he,ve)&&a(le,ve,he[ve]);if(ae)for(var ve of ae(he))ne.call(he,ve)&&a(le,ve,he[ve]);return le},x=(le,he)=>ue(le,ce(he));const b=it.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ee={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};At.Z=({callback:le,onCancel:he})=>{const[ve,fe]=(0,pe.useState)("python");function me(be){fe(ee[be][1])}function ge(be){le(be)}return pe.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ge,style:{width:500}}),pe.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},pe.createElement(it.default,{getPopupContainer:be=>be.parentNode,onChange:me},Object.keys(ee).map(be=>pe.createElement(b,{key:be,value:be},ee[be][0])))),pe.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},pe.createElement(re,{mode:ve})),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Se.ZP,{type:"ghost",onClick:he},"\u53D6\u6D88")))};function re({value:le,onChange:he,mode:ve,options:fe={}}){const me=(0,pe.useRef)(),[ge,be]=(0,pe.useState)();return(0,pe.useEffect)(()=>{if(ge){let Pe=function(Te){const Ce=Te.getValue();he&&he(Ce)};return ge.on("change",Pe),()=>{ge.off("change",Pe)}}},[ge,he]),(0,pe.useEffect)(()=>{ge&&ge.setOption("mode",ve)},[ge,ve]),(0,pe.useEffect)(()=>{ge&&(le!==ge.getValue()||le==="")&&setTimeout(()=>{ge.setValue(le||"")},300)},[ge,le]),(0,pe.useEffect)(()=>{if(me.current&&!ge){const Pe=oe().fromTextArea(me.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));be(Pe)}},[me.current,ge]),pe.createElement("div",{className:"my-codemirror-container"},pe.createElement("textarea",{ref:me}))}},55659:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ia}});var pe=Ae(59301),it=Ae(89780),E=Ae.n(it),Se=Ae(76374),ye=Ae(78318),oe=Ae(6313),te=Ae(25717),se=Ae(99498),de=Ae(25419),ue=Ae(67549),ce=Ae(17410),ae=({value:Tt="",className:Ft,showTextOnly:Ct,showLines:nn,style:xn={}})=>{const Kt=(0,pe.useMemo)(()=>"",[Tt]);return pe.createElement(pe.Fragment,null,pe.createElement("div",{dangerouslySetInnerHTML:{__html:Kt}}))},ie=Ae(59301),ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(Tt,Ft,Ct)=>Ft in Tt?ne(Tt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):Tt[Ft]=Ct,re=(Tt,Ft)=>{for(var Ct in Ft||(Ft={}))b.call(Ft,Ct)&&ee(Tt,Ct,Ft[Ct]);if(x)for(var Ct of x(Ft))z.call(Ft,Ct)&&ee(Tt,Ct,Ft[Ct]);return Tt},le=(Tt,Ft)=>a(Tt,y(Ft));let he=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:Tt,title:Ft,icon:Ct,actionName:nn,className:xn="",children:Kt}){function Hn(){Tt(nn)}return ie.createElement("a",{title:Ft,className:xn,onClick:Hn},ie.createElement("i",{className:`${Ct}`}),Kt)}var fe=({watch:Tt,showNullButton:Ft,showNullProgramButton:Ct,onActionCallback:nn,fullScreen:xn,insertTemp:Kt,hidetoolBar:Hn,extraUse:bn})=>{const Ln=[...he,{title:`${Tt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Tt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ie.createElement("ul",{className:"markdown-toolbar-container"},!Hn&&Ln.map((gr,Mr)=>ie.createElement("li",{key:Mr},gr.actionName?ie.createElement(ve,le(re({},gr),{onActionCallback:nn})):ie.createElement("span",{className:"v-line"}))),Ft?ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:nn},ie.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ct?ie.createElement(ie.Fragment,null,ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:nn},ie.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:nn},ie.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Kt&&ie.createElement("li",null,ie.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Kt}`,onActionCallback:nn},ie.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),bn&&ie.createElement("li",null,bn),ie.createElement("li",{className:"btn-full-screen"},ie.createElement(ve,{icon:`${xn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:xn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:nn})))},me=Ae(74254),ge=Ae(78241),be=Ae(92832),Pe=Ae(3113),Te=Object.defineProperty,Ce=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Qe=(Tt,Ft,Ct)=>Ft in Tt?Te(Tt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):Tt[Ft]=Ct,Ge=(Tt,Ft)=>{for(var Ct in Ft||(Ft={}))Me.call(Ft,Ct)&&Qe(Tt,Ct,Ft[Ct]);if(Ie)for(var Ct of Ie(Ft))Ue.call(Ft,Ct)&&Qe(Tt,Ct,Ft[Ct]);return Tt},ot=(Tt,Ft)=>Ce(Tt,Le(Ft));const Ve={labelCol:{span:4},wrapperCol:{span:20}};var Xe=({callback:Tt,onCancel:Ft})=>{function Ct(nn){Tt(nn)}return pe.createElement(ge.default,ot(Ge({},Ve),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ct,style:{width:500}}),pe.createElement(ge.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},pe.createElement(be.default,null)),pe.createElement(ge.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},pe.createElement(be.default,null)),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Pe.ZP,{type:"ghost",onClick:Ft},"\u53D6\u6D88")))},Ze=Ae(57560),ze=Ae(42307),Re=Ae(43418),He=Ae(95237),rt=Ae(40783),qe=Ae(59301),ut=({callback:Tt,onCancel:Ft})=>{const Ct=document.createElement("canvas"),nn=Ct.getContext("2d");Ct.width=1e3,Ct.height=800,nn.fillStyle="#ffffff",nn.fillRect(0,0,Ct.width,Ct.height);const xn=Ct.toDataURL("image/png");return qe.createElement(Re.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(He.Z,{style:{height:"100vh"}},qe.createElement(rt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:xn,visible:!0,title:String(Date.now())},onOk:Kt=>{Tt({src:Kt.url})},onClose:Ft})))},_e=Ae(12378);function We(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(We,go.CommandHandler),We.prototype.canAlignSelection=function(){var Tt=this.diagram;return!(Tt===null||Tt.isReadOnly||Tt.isModelReadOnly||Tt.selection.count<2)},We.prototype.alignLeft=function(){var Tt=this.diagram;Tt.startTransaction("aligning left");var Ft=1/0;Tt.selection.each(function(Ct){Ct instanceof go.Link||(Ft=Math.min(Ct.position.x,Ft))}),Tt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ft,Ct.position.y))}),Tt.commitTransaction("aligning left")},We.prototype.alignRight=function(){var Tt=this.diagram;Tt.startTransaction("aligning right");var Ft=-1/0;Tt.selection.each(function(Ct){if(!(Ct instanceof go.Link)){var nn=Ct.actualBounds.x+Ct.actualBounds.width;Ft=Math.max(nn,Ft)}}),Tt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ft-Ct.actualBounds.width,Ct.position.y))}),Tt.commitTransaction("aligning right")},We.prototype.alignTop=function(){var Tt=this.diagram;Tt.startTransaction("alignTop");var Ft=1/0;Tt.selection.each(function(Ct){Ct instanceof go.Link||(Ft=Math.min(Ct.position.y,Ft))}),Tt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ct.position.x,Ft))}),Tt.commitTransaction("alignTop")},We.prototype.alignBottom=function(){var Tt=this.diagram;Tt.startTransaction("aligning bottom");var Ft=-1/0;Tt.selection.each(function(Ct){if(!(Ct instanceof go.Link)){var nn=Ct.actualBounds.y+Ct.actualBounds.height;Ft=Math.max(nn,Ft)}}),Tt.selection.each(function(Ct){Ct instanceof go.Link||Ct.move(new go.Point(Ct.actualBounds.x,Ft-Ct.actualBounds.height))}),Tt.commitTransaction("aligning bottom")},We.prototype.alignCenterX=function(){var Tt=this.diagram,Ft=Tt.selection.first();if(Ft){Tt.startTransaction("aligning Center X");var Ct=Ft.actualBounds.x+Ft.actualBounds.width/2;Tt.selection.each(function(nn){nn instanceof go.Link||nn.move(new go.Point(Ct-nn.actualBounds.width/2,nn.actualBounds.y))}),Tt.commitTransaction("aligning Center X")}},We.prototype.alignCenterY=function(){var Tt=this.diagram,Ft=Tt.selection.first();if(Ft){Tt.startTransaction("aligning Center Y");var Ct=Ft.actualBounds.y+Ft.actualBounds.height/2;Tt.selection.each(function(nn){nn instanceof go.Link||nn.move(new go.Point(nn.actualBounds.x,Ct-nn.actualBounds.height/2))}),Tt.commitTransaction("aligning Center Y")}},We.prototype.alignColumn=function(Tt){var Ft=this.diagram;Ft.startTransaction("align Column"),Tt===void 0&&(Tt=0),Tt=parseFloat(Tt);var Ct=new Array;Ft.selection.each(function(bn){bn instanceof go.Link||Ct.push(bn)});for(var nn=0;nn0){for(var bn=Kt.elt(Hn-1);bn!==null&&bn.isTreeExpanded&&!bn.isTreeLeaf;){var Ln=this._sortTreeChildrenByY(bn);bn=Ln.last()}bn!==null&&Tt.select(bn)}else Tt.select(xn)}}else if(Ct.key==="Down")if(Ft.isTreeExpanded&&!Ft.isTreeLeaf){var nn=this._sortTreeChildrenByY(Ft).first();nn!==null&&Tt.select(nn)}else for(;Ft!==null;){var xn=Ft.findTreeParentNode();if(xn===null)break;var Kt=this._sortTreeChildrenByY(xn),Hn=Kt.indexOf(Ft);if(HnKt.y?1:xn.xKt.x?1:0}),Ft},We.prototype.copyToClipboard=function(Tt){go.CommandHandler.prototype.copyToClipboard.call(this,Tt),this._lastPasteOffset.set(this.pasteOffset)},We.prototype.pasteFromClipboard=function(){var Tt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Tt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Tt},Object.defineProperty(We.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Tt){if(Tt!=="move"&&Tt!=="select"&&Tt!=="scroll"&&Tt!=="tree"&&Tt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Tt);this._arrowKeyBehavior=Tt}}),Object.defineProperty(We.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Tt){if(!(Tt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Tt);this._pasteOffset.set(Tt)}});var Oe=We,Ye=Ae(6404),Fe=Ae(43604),Ne=Ae(43597),et={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=Ae(59301),je=(Tt,Ft,Ct)=>new Promise((nn,xn)=>{var Kt=Ln=>{try{bn(Ct.next(Ln))}catch(gr){xn(gr)}},Hn=Ln=>{try{bn(Ct.throw(Ln))}catch(gr){xn(gr)}},bn=Ln=>Ln.done?nn(Ln.value):Promise.resolve(Ln.value).then(Kt,Hn);bn((Ct=Ct.apply(Tt,Ft)).next())});function Ee({onCancel:Tt,callback:Ft}){let Ct=(0,pe.useRef)(),nn=(0,pe.useRef)(),xn=(0,pe.useRef)(),Kt=(0,pe.useRef)(!1);const Hn=(0,pe.useRef)(!1),[bn,Ln]=(0,pe.useState)(0);function gr(){const rn=_e.bx.make,hr={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"};Ct.current=new _e.S0(nn.current,{padding:20,grid:rn(_e.s_,"Grid",rn(_e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),rn(_e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Jt=>{var Fn=Jt.diagram.commandHandler.addTopLevelParts(Jt.diagram.selection,!0);Fn||Jt.diagram.currentTool.doCancel()},commandHandler:rn(Oe),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Jt=>{var Fn=Jt.subject;Fn.location=Fn.location.copy().snapToGridPoint(Jt.diagram.grid.gridOrigin,Jt.diagram.grid.gridCellSize),setTimeout(()=>{Jt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Jt=>{var Fn=Jt.subject;setTimeout(()=>{Jt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Jt=>{var Fn=Jt.parameter.part;Fn.invalidateConnectedLinks();var Wn=Jt.subject;Jt.diagram.toolManager.linkingTool.isForwards?Wn.toNode.invalidateConnectedLinks():Wn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ct.current.nodeTemplate=rn(_e.NB,"Auto",{locationSpot:_e.z6.Center,locationObjectName:"SHAPE",desiredSize:new _e.$u(120,60),minSize:new _e.$u(40,40),resizable:!0,resizeCellSize:new _e.$u(10,10),rotatable:!0},new _e.KX("location","loc",_e.E9.parse).makeTwoWay(_e.E9.stringify),new _e.KX("desiredSize","size",_e.$u.parse).makeTwoWay(_e.$u.stringify),rn(_e.bn,{name:"SHAPE",fill:hr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:_e.z6.AllSides,toSpot:_e.z6.AllSides},new _e.KX("figure"),new _e.KX("fill"),new _e.KX("stroke","borderColor"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),rn(_e.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),rn(_e.al,{margin:1,textAlign:"center",overflow:_e.al.OverflowEllipsis,editable:!0},new _e.KX("text").makeTwoWay(),new _e.KX("stroke","color"))),Ct.current.nodeTemplate.toolTip=rn("ToolTip",rn(_e.s_,"Vertical",{maxSize:new _e.$u(200,NaN)},rn(_e.al,{font:"bold 10pt sans-serif",textAlign:"center"},new _e.KX("text")),rn(_e.al,{font:"10pt sans-serif",textAlign:"center"},new _e.KX("text","details"))));function Zr(Jt,Fn){var Wn=(An,xr)=>{An.handled=!0,An.diagram.model.commit(Pr=>{var rr=xr.part.adornedPart,Yr=new _e.E9().setRectSpot(rr.actualBounds,Jt);Yr.subtract(rr.location),Yr.scale(2,2),Yr.x+=Math.sign(Yr.x)*130,Yr.y+=Math.sign(Yr.y)*130,Yr.add(rr.location),Yr.snapToGridPoint(An.diagram.grid.gridOrigin,An.diagram.grid.gridCellSize);var zr=Pr.copyNodeData(rr.data);Pr.setGroupKeyForNodeData(zr,Pr.getGroupKeyForNodeData(rr.data)),Pr.addNodeData(zr);var Ma={from:rr.key,to:Pr.getKeyForNodeData(zr)};Pr.addLinkData(Ma);var ja=An.diagram.findNodeForData(zr);ja.location=Yr,An.diagram.select(ja),setTimeout(()=>{An.diagram.commandHandler.editTextBlock()},20)})};return rn(_e.bn,{figure:Fn,alignment:Jt,alignmentFocus:Jt.opposite(),width:Jt.equals(_e.z6.Top)||Jt.equals(_e.z6.Bottom)?25:18,height:Jt.equals(_e.z6.Top)||Jt.equals(_e.z6.Bottom)?18:25,fill:"orange",stroke:hr.white,strokeWidth:4,mouseEnter:(An,xr)=>xr.fill="dodgerblue",mouseLeave:(An,xr)=>xr.fill="orange",isActionable:!0,click:Wn,contextClick:Wn})}function Ar(Jt){return rn(_e.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Fn,Wn)=>Wn.fill="dodgerblue",mouseLeave:(Fn,Wn)=>Wn.fill="orange",click:(Fn,Wn)=>{Fn.diagram.commandHandler.showContextMenu(Wn.part.adornedPart)}},Jt||{})}Ct.current.nodeTemplate.selectionAdornmentTemplate=rn(_e.uz,"Spot",rn(_e.Vm,{padding:10}),Zr(_e.z6.Top,"TriangleUp"),Zr(_e.z6.Left,"TriangleLeft"),Zr(_e.z6.Right,"TriangleRight"),Zr(_e.z6.Bottom,"TriangleDown"),Ar({alignment:new _e.z6(.75,0)}));function vr(Jt,Fn){return(Wn,An)=>{Wn.handled=!0,Wn.diagram.model.commit(xr=>{xr.set(An.part.adornedPart.data,Jt,Fn)})}}function wt(Jt,Fn){return Fn||(Fn="color"),rn(_e.bn,{width:16,height:16,stroke:"lightgray",fill:Jt,margin:1,background:"transparent",mouseEnter:(Wn,An)=>An.stroke="dodgerblue",mouseLeave:(Wn,An)=>An.stroke="lightgray",click:vr(Fn,Jt),contextClick:vr(Fn,Jt)})}function Gt(){return[rn("ContextMenuButton",rn(_e.s_,"Horizontal",wt(hr.white,"fill"),wt(hr.beige,"fill"),wt(hr.extralightblue,"fill"),wt(hr.extralightred,"fill"))),rn("ContextMenuButton",rn(_e.s_,"Horizontal",wt(hr.lightgray,"fill"),wt(hr.lightgreen,"fill"),wt(hr.lightblue,"fill"),wt(hr.lightred,"fill")))]}function Rt(){return[rn("ContextMenuButton",rn(_e.s_,"Horizontal",wt(hr.black),wt(hr.green),wt(hr.blue),wt(hr.red))),rn("ContextMenuButton",rn(_e.s_,"Horizontal",wt(hr.white),wt(hr.magenta),wt(hr.purple),wt(hr.orange)))]}function Zt(Jt,Fn){return Fn||(Fn="thickness"),rn(_e.bn,"LineH",{width:16,height:16,strokeWidth:Jt,margin:1,background:"transparent",mouseEnter:(Wn,An)=>An.background="dodgerblue",mouseLeave:(Wn,An)=>An.background="transparent",click:vr(Fn,Jt),contextClick:vr(Fn,Jt)})}function qt(Jt,Fn){return Fn||(Fn="dash"),rn(_e.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Jt,margin:1,background:"transparent",mouseEnter:(Wn,An)=>An.background="dodgerblue",mouseLeave:(Wn,An)=>An.background="transparent",click:vr(Fn,Jt),contextClick:vr(Fn,Jt)})}function en(){return[rn("ContextMenuButton",rn(_e.s_,"Horizontal",Zt(1),Zt(2),Zt(3),Zt(4))),rn("ContextMenuButton",rn(_e.s_,"Horizontal",qt(null),qt([2,4]),qt([4,4])))]}function _t(Jt,Fn){return Fn||(Fn="figure"),rn(_e.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Jt,margin:1,background:"transparent",mouseEnter:(Wn,An)=>An.fill="dodgerblue",mouseLeave:(Wn,An)=>An.fill="lightgray",click:vr(Fn,Jt),contextClick:vr(Fn,Jt)})}Ct.current.nodeTemplate.contextMenu=rn("ContextMenu",rn("ContextMenuButton",rn(_e.s_,"Horizontal",_t("Rectangle"),_t("RoundedRectangle"),_t("Ellipse"),_t("Diamond"))),rn("ContextMenuButton",rn(_e.s_,"Horizontal",_t("Parallelogram2"),_t("ManualOperation"),_t("Procedure"),_t("Cylinder1"))),rn("ContextMenuButton",rn(_e.s_,"Horizontal",_t("Terminator"),_t("CreateRequest"),_t("Document"),_t("TriangleDown"))),Gt(),Rt(),en()),Ct.current.groupTemplate=rn(_e.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:_e.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Jt,Fn)=>{var Wn=Fn.addMembers(Fn.diagram.selection,!0);Wn||Fn.diagram.currentTool.doCancel()},avoidable:!1},new _e.KX("location","loc",_e.E9.parse).makeTwoWay(_e.E9.stringify),rn(_e.s_,"Auto",{name:"BODY"},rn(_e.bn,{parameter1:10,fill:hr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:_e.z6.AllSides,toSpot:_e.z6.AllSides},new _e.KX("fill"),new _e.KX("stroke","color"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),rn(_e.Vm,{background:"transparent",margin:20})),rn(_e.al,{alignment:_e.z6.Top,alignmentFocus:_e.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new _e.KX("text"),new _e.KX("stroke","color"))),Ct.current.groupTemplate.selectionAdornmentTemplate=rn(_e.uz,"Spot",rn(_e.s_,"Auto",rn(_e.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),rn(_e.Vm,{margin:1.5})),Ar({alignment:_e.z6.TopRight,alignmentFocus:_e.z6.BottomRight})),Ct.current.groupTemplate.contextMenu=rn("ContextMenu",Gt(),Rt(),en()),Ct.current.linkTemplate=rn(_e.rU,{layerName:"Foreground",routing:_e.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new _e.KX("fromSpot","fromSpot",_e.z6.parse),new _e.KX("toSpot","toSpot",_e.z6.parse),new _e.KX("fromShortLength","dir",Jt=>Jt>=1?10:0),new _e.KX("toShortLength","dir",Jt=>Jt>=1?10:0),new _e.KX("points").makeTwoWay(),rn(_e.bn,{strokeWidth:2},new _e.KX("stroke","color"),new _e.KX("strokeWidth","thickness"),new _e.KX("strokeDashArray","dash")),rn(_e.bn,{segmentIndex:0,segmentOffset:new _e.E9(15,0),segmentOrientation:_e.rU.OrientAlong,alignmentFocus:_e.z6.Right,figure:"circle",width:10,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",Jt=>Jt===1)),rn(_e.bn,{segmentIndex:-1,segmentOffset:new _e.E9(-10,6),segmentOrientation:_e.rU.OrientPlus90,alignmentFocus:_e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",Jt=>Jt>=1),new _e.KX("width","thickness",Jt=>7+3*Jt),new _e.KX("height","thickness",Jt=>7+3*Jt),new _e.KX("segmentOffset","thickness",Jt=>new _e.E9(-15,4+1.5*Jt))),rn(_e.bn,{segmentIndex:0,segmentOffset:new _e.E9(15,-6),segmentOrientation:_e.rU.OrientMinus90,alignmentFocus:_e.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new _e.KX("fill","color"),new _e.KX("visible","dir",Jt=>Jt===2),new _e.KX("width","thickness",Jt=>7+3*Jt),new _e.KX("height","thickness",Jt=>7+3*Jt),new _e.KX("segmentOffset","thickness",Jt=>new _e.E9(-15,4+1.5*Jt))),rn(_e.al,{alignmentFocus:new _e.z6(0,1,-4,0),editable:!0},new _e.KX("text").makeTwoWay(),new _e.KX("stroke","color"))),Ct.current.linkTemplate.selectionAdornmentTemplate=rn(_e.uz,rn(_e.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Vt(2)},new _e.KX("pathPattern","thickness",Vt)),Ar({alignmentFocus:new _e.z6(0,0,-6,-4)}));function Vt(Jt){return rn(_e.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Jt+4).toString()+" H3"})}function Xn(Jt){var Fn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Jt===0?Fn="M0 0 M16 16 M0 8 L16 8":Jt===2&&(Fn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),rn(_e.bn,{geometryString:Fn,margin:2,background:"transparent",mouseEnter:(Wn,An)=>An.background="dodgerblue",mouseLeave:(Wn,An)=>An.background="transparent",click:vr("dir",Jt),contextClick:vr("dir",Jt)})}function er(Jt){var Fn=(Wn,An)=>{Wn.handled=!0,Wn.diagram.model.commit(xr=>{var Pr=An.part.adornedPart;xr.set(Pr.data,Jt?"toSpot":"fromSpot",_e.z6.stringify(_e.z6.AllSides)),(Jt?Pr.toNode:Pr.fromNode).invalidateConnectedLinks()})};return rn(_e.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Wn,An)=>An.background="dodgerblue",mouseLeave:(Wn,An)=>An.background="transparent",click:Fn,contextClick:Fn})}function kt(Jt,Fn){var Wn=0,An=_e.z6.RightSide;Jt.equals(_e.z6.Top)?(Wn=270,An=_e.z6.TopSide):Jt.equals(_e.z6.Left)?(Wn=180,An=_e.z6.LeftSide):Jt.equals(_e.z6.Bottom)&&(Wn=90,An=_e.z6.BottomSide),Fn||(Wn-=180);var xr=(Pr,rr)=>{Pr.handled=!0,Pr.diagram.model.commit(Yr=>{var zr=rr.part.adornedPart;Yr.set(zr.data,Fn?"toSpot":"fromSpot",_e.z6.stringify(An)),(Fn?zr.toNode:zr.fromNode).invalidateConnectedLinks()})};return rn(_e.bn,{alignment:Jt,alignmentFocus:Jt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Wn,background:"transparent",mouseEnter:(Pr,rr)=>rr.background="dodgerblue",mouseLeave:(Pr,rr)=>rr.background="transparent",click:xr,contextClick:xr})}Ct.current.linkTemplate.contextMenu=rn("ContextMenu",Rt(),en(),rn("ContextMenuButton",rn(_e.s_,"Horizontal",Xn(0),Xn(1),Xn(2))),rn("ContextMenuButton",rn(_e.s_,"Horizontal",rn(_e.s_,"Spot",er(!1),kt(_e.z6.Top,!1),kt(_e.z6.Left,!1),kt(_e.z6.Right,!1),kt(_e.z6.Bottom,!1)),rn(_e.s_,"Spot",{margin:new _e.Zt(0,0,0,2)},er(!0),kt(_e.z6.Top,!0),kt(_e.z6.Left,!0),kt(_e.z6.Right,!0),kt(_e.z6.Bottom,!0)))));const Gr=`{ "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"}, @@ -86,120 +86,120 @@ {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} -]}`;var Ir=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Zr(an){return console.log("shapeName:",an),Ir.indexOf(an)>=0}var sa=new _e.YI(Sn.current,{maxSelectionCount:1,linkTemplate:Qt(_e.rU,{locationSpot:_e.z6.Center,selectionAdornmentTemplate:Qt(_e.uz,"Link",{locationSpot:_e.z6.Center},Qt(_e.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Qt(_e.bn,{toArrow:"Standard",stroke:null}))},{routing:_e.rU.AvoidsNodes,curve:_e.rU.JumpOver,corner:5,toShortLength:4},new _e.KX("points"),Qt(_e.bn,{isPanelMain:!0,strokeWidth:2}),Qt(_e.bn,{toArrow:"Standard",stroke:null})),model:new _e.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},..._e.bn.getFigureGenerators().toArray().map(an=>({text:"\u672A\u547D\u540D",size:"100 100",figure:an.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Et.current.addDiagramListener("TextEdited",function(an){var Cn;const Kn=an.subject.part;var xn=(Cn=document.activeElement)==null?void 0:Cn.value;typeof xn=="string"&&xn.trim()===""&&Et.current.model.commit(function(wr){wr.set(Kn.data,"text","\u672A\u547D\u540D"),Et.current.commandHandler.stopCommand()},"increment")}),sa.nodeTemplate=Qt(_e.NB,"Auto",{locationSpot:_e.z6.Center},new _e.KX("location","location",_e.E9.parse).makeTwoWay(_e.E9.stringify),Qt(_e.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new _e.KX("stroke").makeTwoWay(),new _e.KX("fill").makeTwoWay(),new _e.KX("figure")),Qt(_e.al,{margin:new _e.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new _e.$u(16,16),maxSize:new _e.$u(10,NaN),textAlign:"center",editable:!0},new _e.KX("key").makeTwoWay())),setTimeout(()=>{Et.current.grid=Qt(_e.s_,"Grid",Qt(_e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Qt(_e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Et.current.grid.visible=!0,Et.current.grid.gridCellStroke="darkgray",Et.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Et.current,Et.current}const ra=()=>je(this,null,function*(){var Qt=Et.current.makeImage();const yr=yield(0,Ie.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Qt.src}});xt({src:yr.url})});return(0,he.useEffect)(()=>(setTimeout(()=>{Er()},500),Rn(Hn+1),()=>{Et.current=null}),[]),He.createElement("div",{ref:$n,className:$t.current?`${Xe.maxH60} body-overflow-initial`:"body-overflow-initial"},He.createElement(Re.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Hn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:He.createElement(ze.Z,null,He.createElement(Fe.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),He.createElement(Fe.Z,{onClick:()=>{var Qt,yr,Yr=Et.current.selection.first();if($t.current=!$t.current,document.activeElement&&Yr){let Cr=(yr=(Qt=document.activeElement)==null?void 0:Qt.value)==null?void 0:yr.trim();typeof Cr=="string"&&Et.current.model.commit(function(Or){Or.set(Yr.data,"text",Cr||"\u672A\u547D\u540D"),Et.current.commandHandler.stopCommand()},"increment")}Rn(Hn+1)}},He.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Tt},He.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Xe.flowChartWrp},He.createElement("div",{style:{display:"flex",height:"100%"}},He.createElement("div",{style:{width:"300px",height:"100%"}},He.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),He.createElement("div",{style:{height:"calc(100% - 50px)"},className:Xe.myPaletteDiv,ref:Sn})),He.createElement("div",{style:{flex:1,position:"relative"}},He.createElement("div",{ref:Vt,style:{height:"80vh"}}))),He.createElement("div",{className:"tr"},He.createElement(Se.ZP,{size:"large",onClick:ra,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Ee,we=Ae(5112),Be=Ae(5871);const Ze=we.ZP.Group,Ke={margin:"0 8px"};var Ne=({callback:Tt,onCancel:xt})=>{function Et(Vt){Tt(Vt)}return he.createElement(fe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Et},he.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},he.createElement("span",{style:Ke},"\u5355\u5143\u683C\u6570\uFF1A"),he.createElement("span",{style:Ke},"\u884C\u6570"),he.createElement(fe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},he.createElement(Be.Z,null)),he.createElement("span",{style:Ke},"\u5217\u6570"),he.createElement(fe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},he.createElement(Be.Z,null))),he.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},he.createElement("span",{style:Ke},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),he.createElement(fe.default.Item,{name:"align"},he.createElement(Ze,null,he.createElement(we.ZP,{value:"default"},he.createElement("i",{className:"fa fa-align-justify"})),he.createElement(we.ZP,{value:"left"},he.createElement("i",{className:"fa fa-align-left"})),he.createElement(we.ZP,{value:"center"},he.createElement("i",{className:"fa fa-align-center"})),he.createElement(we.ZP,{value:"right"},he.createElement("i",{className:"fa fa-align-right"}))))),he.createElement("div",{className:"flex-container flex-end"},he.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Se.ZP,{type:"ghost",onClick:xt},"\u53D6\u6D88")))},at=Ae(78673),ht=Ae(93127),ft=Ae.n(ht),st=(0,he.forwardRef)(({use3d:Tt,width:xt,height:Et,callback:Vt,showSaveButton:Sn},$t)=>{const $n=(0,he.useRef)(),Hn=(0,he.useRef)(),[Rn,Er]=(0,he.useState)(!1),ra=(0,he.useRef)({id:$n,appName:"graphing",width:xt||1e3,height:Et||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,he.useEffect)(()=>{Hn.current=new(ft())(ra.current,!0),window.onload=function(){Hn.current.inject("applet_container")}},[]);const Qt=()=>{var yr=window.ggbApplet.getPNGBase64(1,!0,72);return Vt&&Vt(yr),yr};return(0,he.useEffect)(()=>{ra.current.appName=Rn?"3D":"graphing",Hn.current.inject("applet_container")},[Rn]),(0,he.useEffect)(()=>{Er(Tt)},[Tt]),(0,he.useImperativeHandle)($t,()=>({getImgData:Qt})),he.createElement(he.Fragment,null,he.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:$n}),he.createElement(ze.Z,{align:"middle"},he.createElement(Fe.Z,{flex:1},he.createElement(at.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Rn,onChange:yr=>Er(yr)})),he.createElement(Fe.Z,null,he.createElement(Se.ZP,{size:"large",onClick:Qt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),pt=Ae(57765),nt=Ae(1012),lt=Ae(8591);const dt="link",gt="upload-image",Pt="add-flowchart",At="draw-image",It="add-flowchart",Gt="code-block",tn="add-table",pn="------------",gn={default:pn,left:`:${pn}`,center:`:${pn}:`,right:`${pn}:`};var sn=Ae(61346),En=(Tt,xt,Et)=>new Promise((Vt,Sn)=>{var $t=Rn=>{try{Hn(Et.next(Rn))}catch(Er){Sn(Er)}},$n=Rn=>{try{Hn(Et.throw(Rn))}catch(Er){Sn(Er)}},Hn=Rn=>Rn.done?Vt(Rn.value):Promise.resolve(Rn.value).then($t,$n);Hn((Et=Et.apply(Tt,xt)).next())});function Dn(){}let un=0;const qn=1e4,Nn="\u2581",bn="@\u2581\u2581@",Wn="@\u2581@",jn=` +]}`;var Dr=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Xr(Jt){return console.log("shapeName:",Jt),Dr.indexOf(Jt)>=0}var la=new _e.YI(xn.current,{maxSelectionCount:1,linkTemplate:rn(_e.rU,{locationSpot:_e.z6.Center,selectionAdornmentTemplate:rn(_e.uz,"Link",{locationSpot:_e.z6.Center},rn(_e.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),rn(_e.bn,{toArrow:"Standard",stroke:null}))},{routing:_e.rU.AvoidsNodes,curve:_e.rU.JumpOver,corner:5,toShortLength:4},new _e.KX("points"),rn(_e.bn,{isPanelMain:!0,strokeWidth:2}),rn(_e.bn,{toArrow:"Standard",stroke:null})),model:new _e.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},..._e.bn.getFigureGenerators().toArray().map(Jt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Jt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ct.current.addDiagramListener("TextEdited",function(Jt){var Fn;const Wn=Jt.subject.part;var An=(Fn=document.activeElement)==null?void 0:Fn.value;typeof An=="string"&&An.trim()===""&&Ct.current.model.commit(function(xr){xr.set(Wn.data,"text","\u672A\u547D\u540D"),Ct.current.commandHandler.stopCommand()},"increment")}),la.nodeTemplate=rn(_e.NB,"Auto",{locationSpot:_e.z6.Center},new _e.KX("location","location",_e.E9.parse).makeTwoWay(_e.E9.stringify),rn(_e.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new _e.KX("stroke").makeTwoWay(),new _e.KX("fill").makeTwoWay(),new _e.KX("figure")),rn(_e.al,{margin:new _e.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new _e.$u(16,16),maxSize:new _e.$u(10,NaN),textAlign:"center",editable:!0},new _e.KX("key").makeTwoWay())),setTimeout(()=>{Ct.current.grid=rn(_e.s_,"Grid",rn(_e.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),rn(_e.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ct.current.grid.visible=!0,Ct.current.grid.gridCellStroke="darkgray",Ct.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ct.current,Ct.current}const Mr=()=>je(this,null,function*(){var rn=Ct.current.makeImage();const hr=yield(0,Ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:rn.src}});Ft({src:hr.url})});return(0,pe.useEffect)(()=>(setTimeout(()=>{gr()},500),Ln(bn+1),()=>{Ct.current=null}),[]),De.createElement("div",{ref:Hn,className:Kt.current?`${et.maxH60} body-overflow-initial`:"body-overflow-initial"},De.createElement(Re.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!bn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:De.createElement(He.Z,null,De.createElement(Fe.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),De.createElement(Fe.Z,{onClick:()=>{var rn,hr,Zr=Ct.current.selection.first();if(Kt.current=!Kt.current,document.activeElement&&Zr){let Ar=(hr=(rn=document.activeElement)==null?void 0:rn.value)==null?void 0:hr.trim();typeof Ar=="string"&&Ct.current.model.commit(function(vr){vr.set(Zr.data,"text",Ar||"\u672A\u547D\u540D"),Ct.current.commandHandler.stopCommand()},"increment")}Ln(bn+1)}},De.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Tt},De.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:et.flowChartWrp},De.createElement("div",{style:{display:"flex",height:"100%"}},De.createElement("div",{style:{width:"300px",height:"100%"}},De.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),De.createElement("div",{style:{height:"calc(100% - 50px)"},className:et.myPaletteDiv,ref:xn})),De.createElement("div",{style:{flex:1,position:"relative"}},De.createElement("div",{ref:nn,style:{height:"80vh"}}))),De.createElement("div",{className:"tr"},De.createElement(Pe.ZP,{size:"large",onClick:Mr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Ee,we=Ae(5112),Be=Ae(5871);const Ke=we.ZP.Group,nt={margin:"0 8px"};var ke=({callback:Tt,onCancel:Ft})=>{function Ct(nn){Tt(nn)}return pe.createElement(ge.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ct},pe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},pe.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),pe.createElement("span",{style:nt},"\u884C\u6570"),pe.createElement(ge.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},pe.createElement(Be.Z,null)),pe.createElement("span",{style:nt},"\u5217\u6570"),pe.createElement(ge.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},pe.createElement(Be.Z,null))),pe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},pe.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),pe.createElement(ge.default.Item,{name:"align"},pe.createElement(Ke,null,pe.createElement(we.ZP,{value:"default"},pe.createElement("i",{className:"fa fa-align-justify"})),pe.createElement(we.ZP,{value:"left"},pe.createElement("i",{className:"fa fa-align-left"})),pe.createElement(we.ZP,{value:"center"},pe.createElement("i",{className:"fa fa-align-center"})),pe.createElement(we.ZP,{value:"right"},pe.createElement("i",{className:"fa fa-align-right"}))))),pe.createElement("div",{className:"flex-container flex-end"},pe.createElement(Pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),pe.createElement(Pe.ZP,{type:"ghost",onClick:Ft},"\u53D6\u6D88")))},$e=Ae(78673),gt=Ae(93127),ct=Ae.n(gt),st=(0,pe.forwardRef)(({use3d:Tt,width:Ft,height:Ct,callback:nn,showSaveButton:xn},Kt)=>{const Hn=(0,pe.useRef)(),bn=(0,pe.useRef)(),[Ln,gr]=(0,pe.useState)(!1),Mr=(0,pe.useRef)({id:Hn,appName:"graphing",width:Ft||1e3,height:Ct||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,pe.useEffect)(()=>{bn.current=new(ct())(Mr.current,!0),window.onload=function(){bn.current.inject("applet_container")}},[]);const rn=()=>{var hr=window.ggbApplet.getPNGBase64(1,!0,72);return nn&&nn(hr),hr};return(0,pe.useEffect)(()=>{Mr.current.appName=Ln?"3D":"graphing",bn.current.inject("applet_container")},[Ln]),(0,pe.useEffect)(()=>{gr(Tt)},[Tt]),(0,pe.useImperativeHandle)(Kt,()=>({getImgData:rn})),pe.createElement(pe.Fragment,null,pe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Hn}),pe.createElement(He.Z,{align:"middle"},pe.createElement(Fe.Z,{flex:1},pe.createElement($e.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ln,onChange:hr=>gr(hr)})),pe.createElement(Fe.Z,null,pe.createElement(Pe.ZP,{size:"large",onClick:rn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ht=Ae(57765),at=Ae(1012),lt=Ae(8591);const ft="link",mt="upload-image",Pt="add-flowchart",Et="draw-image",Lt="add-flowchart",zt="code-block",tn="add-table",gn="------------",dn={default:gn,left:`:${gn}`,center:`:${gn}:`,right:`${gn}:`};var on=Ae(61346),En=(Tt,Ft,Ct)=>new Promise((nn,xn)=>{var Kt=Ln=>{try{bn(Ct.next(Ln))}catch(gr){xn(gr)}},Hn=Ln=>{try{bn(Ct.throw(Ln))}catch(gr){xn(gr)}},bn=Ln=>Ln.done?nn(Ln.value):Promise.resolve(Ln.value).then(Kt,Hn);bn((Ct=Ct.apply(Tt,Ft)).next())});function Rn(){}let sn=0;const $n=1e4,_n="\u2581",Mn="@\u2581\u2581@",Qn="@\u2581@",dr=` **\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`,Jt=["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 ir(Tt){return/^\d+$/.test(Tt)?`${Tt}px`:Tt}const xr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",sr={[xr+"-B"]:"bold",[xr+"-I"]:"italic"},Rr={[dt]:"\u6DFB\u52A0\u94FE\u63A5",[Gt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[gt]:"\u6DFB\u52A0\u56FE\u7247",[At]:"\u6DFB\u52A0\u753B\u56FE",[Pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[tn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Jr=({defaultValue:Tt="",onChange:xt,width:Et="100%",height:Vt=400,miniToolbar:Sn=!1,isFocus:$t=!1,watch:$n,insertTemp:Hn,mode:Rn="markdown",id:Er="markdown-editor-id",showResizeBar:ra=!1,noStorage:Qt=!1,showNullButton:yr=!1,showNullProgramButton:Yr=!1,hidetoolBar:Cr=!1,fullScreen:Or=!1,onBlur:wt,onCMBeforeChange:Ht,onFullScreen:Rt,className:Kt="",disablePaste:en=!1,disabled:nn=!1,disabledFill:Xt=!1,placeholder:Zt="",values:er="",extraUse:Yn})=>{const[kt,pr]=(0,he.useState)(null),[Ir,Zr]=(0,he.useState)(Tt),[sa,an]=(0,he.useState)($n),[Cn,Kn]=(0,he.useState)(Or),[xn,wr]=(0,he.useState)(""),[br,rr]=(0,he.useState)(0),[Ar,Vr]=(0,he.useState)(Vt),[Oa,Na]=(0,he.useState)(!1),Pa=(0,he.useRef)((0,nt.Z)()),ka=(0,he.useRef)(!1),to=(0,he.useRef)(),[Ka,Za]=(0,he.useState)(0),[Aa,da]=(0,he.useState)(0),Ga=(0,he.useRef)(),qr=(0,he.useRef)(),Mt=(0,he.useRef)(),zt=(0,he.useRef)(),Wt=()=>En(void 0,null,function*(){var hn;const ln=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Pa.current}});(hn=ln==null?void 0:ln.attachments)!=null&&hn.length&&(console.log("cm:",kt,Ga),ln.attachments.map(An=>{An.content_type.indexOf("image")>-1?kt.replaceSelection(`![,](/api/attachments/${An.id}?type=${An.content_type})`):An.content_type.indexOf("video")>-1?kt.replaceSelection(``):An.content_type.indexOf("pdf")>-1?kt.replaceSelection(`${An.name}`):kt.replaceSelection(`[${An.name}](${ENV.API_SERVER}/api/attachments/${An.id}?type=${An.content_type})`)}))});(0,he.useEffect)(()=>{const hn=window.scrollY||window.pageYOffset;Zr(er),kt==null||kt.setValue(er),window.scrollTo(0,hn)},[er]),(0,he.useEffect)(()=>{Rt==null||Rt(Cn)},[Cn]),(0,he.useEffect)(()=>{if(Ga.current){let hn=function(An,Mn){var hr;if(en){Mn.preventDefault();return}const Gr=Mn.clipboardData;if(Gr){const ua=Gr.types.toString(),fa=Gr.items;if(ua==="Files"||Gr.types.indexOf("Files")>-1){if(Mn.preventDefault(),Rn=="stex")return;try{let Ca=fa[1];((hr=fa[0])==null?void 0:hr.kind)==="file"&&(Ca=fa[0]);const xa=Ca.getAsFile(),Xa=xa.name.split(".").pop();(0,Me.I)(xa,Ta=>{var gr,kr,ta;Ta.id?((gr=xa==null?void 0:xa.type)==null?void 0:gr.indexOf("image"))>-1?ln.replaceSelection(``):((kr=xa==null?void 0:xa.type)==null?void 0:kr.indexOf("video"))>-1?ln.replaceSelection(``):((ta=xa==null?void 0:xa.type)==null?void 0:ta.indexOf("pdf"))>-1?ln.replaceSelection(`${xa.name}`):Jt.includes(Xa)?ln.replaceSelection(`${xa.name}`):ln.replaceSelection(`[${xa.name}](/api/attachments/${Ta.id}?type=${Ta.content_type})`):(Ta==null?void 0:Ta.status)===401&&(lt.ZP.warning((Ta==null?void 0:Ta.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ca){lt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ln=E().fromTextArea(Ga.current,{mode:Rn,lineNumbers:!Sn,lineWrapping:!0,value:Tt,autoCloseTags:!Yr,autoCloseBrackets:!0});return ln.on("keyup",function(An,Mn){Mn.keyCode===8&&(An.getValue()==""?ln.setOption("placeholder",Zt):ln.setOption("placeholder",null))}),ln.on("keydown",function(An,Mn){if(Mn.keyCode===8){var hr=mn(An);hr&&Mn.preventDefault()}}),$t&&ln.focus(),ln.on("paste",hn),ln.on("dragleave",function(An,Mn){qr.current.classList.remove("mouse-hover-md")}),nn&&ln.on("beforeChange",function(An,Mn){(Mn.origin==="paste"||Mn.origin==="+input")&&Mn.cancel()}),pr(ln),()=>{ln.off("paste",hn)}}},[]);const dn=(0,he.useCallback)(()=>{if(qr.current)try{}catch(hn){console.log(hn,"---- to set md editor body height")}},[Ar,qr,Cn]);(0,he.useEffect)(()=>{function hn(){let ln=new Pe.Z(An=>{for(let Mn of An)(Mn.target.offsetHeight>0||Mn.target.offsetWidth>0)&&(dn(),kt.setSize("100%","100%"),kt.refresh())});return ln.observe(Ga.current.parentElement),ln}if(kt){const ln=hn();return()=>{var An,Mn;(An=Ga.current)!=null&&An.parentElement&&ln.unobserve((Mn=Ga.current)==null?void 0:Mn.parentElement)}}},[kt,dn]),(0,he.useEffect)(()=>{if(kt){let hn=[];for(const[ln,An]of Object.entries(sr)){let Mn={[ln]:()=>{kn(An)}};hn.push(Mn),kt.addKeyMap(Mn)}return to.current=setInterval(()=>{ka.current&&Wt()},4e3),()=>{clearInterval(to.current);for(let ln of hn)kt.removeKeyMap(ln)}}},[kt]),(0,he.useEffect)(()=>{Or!==Cn&&Kn(Or)},[Or]),(0,sn.Z)(()=>{if(!Qt&&br>0){let hn=new Date().getTime(),ln=window.sessionStorage.getItem(Er);hn>=br+qn&&(!ln||ln!==Ir)&&(window.sessionStorage.setItem(Er,Ir),Na(!0))}},qn),(0,he.useEffect)(()=>{an($n)},[kt,$n]),(0,he.useEffect)(()=>{kt&&$t&&kt.focus()},[kt,$t]),(0,he.useEffect)(()=>{if(sa&&kt){let hn=function(An){let Mn=An.target;if(zt.current){let hr=Mn.scrollTop/Mn.scrollHeight;zt.current.scrollTop=zt.current.scrollHeight*hr}};const ln=kt.getScrollerElement();return ln.addEventListener("scroll",hn),()=>{ln.removeEventListener("scroll",hn)}}},[kt,sa]),(0,he.useEffect)(()=>{if(kt&&Ht){let hn=function(ln,An){Ht(ln,An)};return kt.on("beforeChange",hn),()=>{kt.off("beforeChange",hn)}}},[kt,Ht]),(0,he.useEffect)(()=>{if(kt&&wt){let hn=function(){wt(kt.getValue())};return kt.on("blur",hn),()=>{kt.off("blur",hn)}}},[kt,wt]);function mn(hn,ln){var An=hn.getDoc(),Mn=An.getCursor(),hr=An.getLine(Mn.line),Gr=hr.charAt(Mn.ch-1),ua=hr.lastIndexOf("@\u2581@",Mn.ch),fa=hr.lastIndexOf("@\u2581\u2581@",Mn.ch),Ca=ua>fa?ua:fa,xa=ua>fa?3:4;if(bn.indexOf(Gr)===-1)return null;if(console.log("change1:",ln,hn,hr,Mn,Ca,ua,fa,Gr),Ca>=0&&Mn.ch-Ca<5){var Xa=Ca+xa;return An.replaceRange("",{line:Mn.line,ch:Ca},{line:Mn.line,ch:Xa}),{line:Mn.line,ch:Xa}}return null}(0,he.useEffect)(()=>{if(kt){let hn=function(ln,An){const Mn=ln.getValue();Zr(Mn),rr(new Date().getTime()),ln.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),xt&&(Yr?xt(Mn,fr(Mn)):xt(Mn))};return kt.on("change",hn),()=>{kt.off("change",hn)}}},[kt,xt]),(0,he.useEffect)(()=>{if(kt)if(Tt==null)kt.setValue(""),Zr("");else{const hn=window.scrollY||window.pageYOffset;Tt!==kt.getValue()&&(kt.setValue(Tt),Zr(Tt),kt.setCursor(nn?1:kt.lineCount(),0),window.scrollTo(0,hn))}},[kt,Tt]);const kn=(0,he.useCallback)(hn=>{const ln=kt.getCursor(),An=kt.getSelection();let Mn=An.split(` -`);switch(hn){case"bold":return kt.replaceSelection("**"+An+"**"),An===""&&kt.setCursor(ln.line,ln.ch+2),kt.focus();case"italic":return kt.replaceSelection("*"+An+"*"),An===""&&kt.setCursor(ln.line,ln.ch+1),kt.focus();case"code":return kt.replaceSelection("`"+An+"`"),An===""&&kt.setCursor(ln.line,ln.ch+1),kt.focus();case"inline-latex":return wr("inline-latex"),kt.focus();case"latex":return kt.replaceSelection("```latex\n"+An+"\n```"),kt.setCursor(ln.line+1,An.length+1),kt.focus();case"line-break":return kt.replaceSelection(`
-`),kt.focus();case"list-ul":return An===""?kt.replaceSelection("- "+An):kt.replaceSelection(Mn.map(hr=>hr===""?"":`- ${hr}`).join(` -`)),kt.focus();case"list-ol":return An===""?kt.replaceSelection("1. "+An):kt.replaceSelection(Mn.map((hr,Gr)=>hr===""?"":`${Gr+1}. ${hr}`).join(` -`)),kt.focus();case"add-null-ch":return An===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(Nn),kt.focus();case"add-signal":return An===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(Wn),kt.focus();case"add-multiple":return An===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(bn),kt.focus();case"inster-template-1":return An===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(jn),kt.focus();case"eraser":return kt.setValue(""),kt.focus();case"trigger-watch":return an(!sa),kt.focus();case"trigger-full-screen":return Kn(!Cn),kt.focus();case dt:wr(dt);return;case Gt:wr(Gt);return;case gt:wr(gt);return;case At:wr(At);return;case"maths-latex":wr("maths-latex");return;case Pt:wr(Pt);return;case tn:wr(tn);return;default:throw new Error}},[kt,sa,Cn]),rn=(0,he.useCallback)((hn,ln)=>{var An,Mn,hr,Gr,ua,fa;switch(wr(""),xn){case dt:const{title:gr,link:kr}=hn;return kt.replaceSelection(`[${gr}](${kr})`),kt.focus();case Gt:const{language:ta,content:Nr}=hn;return kt.replaceSelection(["```"+ta,Nr,"```"].join(` -`)),kt.focus();case"maths-latex":for(var Ca=atob(hn),xa=new Uint8Array(Ca.length),Xa=0;Xa{Tn.id?kt.replaceSelection(`![,](/api/attachments/${Tn.id}?type=${Tn.content_type})`):(Tn==null?void 0:Tn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":kt.replaceSelection("`$$"+hn+"$$`");break;case gt:case At:case It:const{src:zr,alt:ma}=hn,na=ln,vt=(hr=(Mn=(An=na==null?void 0:na.name)==null?void 0:An.split("."))==null?void 0:Mn.pop)==null?void 0:hr.call(Mn);return((Gr=na==null?void 0:na.type)==null?void 0:Gr.indexOf("image"))>-1||!(na!=null&&na.type)?na.align||na.width?kt.replaceSelection(`

${ma||

`):kt.replaceSelection(`${ma||`):((ua=na==null?void 0:na.type)==null?void 0:ua.indexOf("video"))>-1?kt.replaceSelection(``):((fa=na==null?void 0:na.type)==null?void 0:fa.indexOf("pdf"))>-1?kt.replaceSelection(`${na.name}`):Jt.includes(vt)?kt.replaceSelection(`${na.name}`):kt.replaceSelection(`[${na.name}](${zr})`),kt.focus();case tn:const{row:Nt,col:on,align:On}=hn;let Un=` -`;for(let Tn=0;Tn{switch(xn){case dt:return he.createElement(Ye,{callback:rn,onCancel:Jn});case Gt:return he.createElement(Ve.Z,{callback:rn,onCancel:Jn});case gt:return he.createElement(Me.Z,{callback:rn,onCancel:Jn});case Pt:return he.createElement(xe,{callback:rn,onCancel:Jn});case tn:return he.createElement(Ne,{callback:rn,onCancel:Jn});case"maths-latex":return he.createElement(st,{showSaveButton:!0,callback:rn});case"inline-latex":return he.createElement(pt.Z,{showSaveButton:!0,callback:rn});default:return null}},[xn]);function Jn(){wr("")}(0,he.useEffect)(()=>{if(Mt.current){let hn=function(ua){hr=!0,Gr=ua.pageY},ln=function(){hr=!1},An=function(ua){if(hr){let fa=ua.pageY-Gr;fa<0&&(fa=0),fa>300&&(fa=300);let Ca=Vt+fa+"px";Vr(Ca)}},Mn=Mt.current,hr=!1,Gr=0;return Mn.addEventListener("mousedown",hn),document.addEventListener("mousemove",An),document.addEventListener("mouseup",ln),()=>{Mn.removeEventListener("mousedown",hn),document.removeEventListener("mousemove",An),document.removeEventListener("mouseup",ln)}}},[kt,Mt]),(0,he.useEffect)(()=>{Vr(Vt)},[Vt]);const Fr=ir(Et),lr=ir(Ar),zn={width:Fr,height:lr},dr=(0,he.useMemo)(()=>{if(br){let hn=new Date(br),ln=hn.getHours(),An=hn.getMinutes(),Mn=hn.getSeconds();return ln=ln<10?"0"+ln:ln,An=An<10?"0"+An:An,Mn=Mn<10?"0"+Mn:Mn,`${ln}:${An}:${Mn}`}return 0},[br]),fr=hn=>{const ln=[];if(Yr){let An=-1;hn=hn.replace(/(@▁▁@|@▁@)/g,function(Mn,hr,Gr){ln.push({multiLine:Mn!==Wn})})}return ln};function aa(){window.sessionStorage.removeItem(Er),Na(!1),rr(0)}function Dr(){Na(!1),rr(0),kt.setValue(window.sessionStorage.getItem(Er))}(0,he.useEffect)(()=>{Rr[xn]&&xn!==At&&xn!==Pt&&setTimeout(()=>{const hn=document.getElementsByClassName("markdown-popup-form")[0],ln=window.innerWidth/2-hn.offsetWidth/2,An=window.innerHeight/2-hn.offsetHeight/2;Za(ln),da(An)},0)},[xn]);const oa=hn=>{hn.preventDefault();const ln=hn.clientX-Ka,An=hn.clientY-Aa;document.body.onmousemove=Mn=>{let hr=Mn.clientX-ln,Gr=Mn.clientY-An;const ua=document.getElementsByClassName("markdown-popup-form")[0],fa=window.innerWidth-ua.offsetWidth,Ca=window.innerHeight-ua.offsetHeight;hr=Math.max(0,Math.min(hr,fa)),Gr=Math.max(0,Math.min(Gr,Ca)),va(Mn.clientX,Mn.clientY,ln,An)&&(Za(hr),da(Gr))},document.body.onmouseup=function(){document.body.onmousemove=null}},va=(hn,ln,An,Mn)=>{const hr=document.body.clientHeight,Gr=document.body.clientWidth;return hn<20&&An>hn||hn>Gr-20&&Anln||ln>hr-20&&Mnye in fe?ae(fe,ye,{enumerable:!0,configurable:!0,writable:!0,value:Se}):fe[ye]=Se,z=(fe,ye)=>{for(var Se in ye||(ye={}))y.call(ye,Se)&&b(fe,Se,ye[Se]);if(a)for(var Se of a(ye))x.call(ye,Se)&&b(fe,Se,ye[Se]);return fe},ee=(fe,ye)=>ie(fe,ne(ye));const{useForm:re}=he.default,ce={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:fe,onCancel:ye})=>{const[Se]=re();let Oe=(0,de.useRef)();function Ce(ke){Oe.current.width=Se.getFieldValue("width"),Oe.current.align=Se.getFieldValue("align"),fe(ke,Oe.current)}function Le(ke,Ue){if(ke.status===-1){ot.ZP.error(ke.message);return}Se.setFieldsValue({src:`/api/attachments/${ke.id}`,type:Ue.type})}function De(ke){let Ue=ke.target.files[0];Oe.current=Ue,pe(Ue,Le)}return ue.createElement(he.default,ee(z({form:Se},me),{className:"upload-image-panel",onFinish:Ce,style:{width:470,overflow:"hidden"}}),ue.createElement(he.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ue.createElement("div",{className:"flex-container"},ue.createElement(he.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ue.createElement(E.default,{style:ce})),ue.createElement(ge,{onFileChange:De}))),ue.createElement(he.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ue.createElement(E.default,{style:{width:264}})),ue.createElement(he.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ue.createElement(Pe.Z,null,ue.createElement(he.default.Item,{name:"width",style:{margin:0}},ue.createElement(be.Z,{style:{width:264}})),ue.createElement("span",{className:"ml8"},"%"))),ue.createElement(he.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ue.createElement(oe.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"}]})),ue.createElement("aside",null,ue.createElement(he.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ue.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(te.ZP,{type:"default",onClick:ye},"\u53D6\u6D88"))))};function ge({onFileChange:fe}){return ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ue.createElement("input",{type:"file",onChange:fe}))}function pe(fe,ye){if(!fe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,le.bg)())throw ot.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Se=new FormData;Se.append("editormd-image-file",fe),Se.append("file_param_name","editormd-image-file"),Se.append("byxhr","true");var Oe=new window.XMLHttpRequest;Oe.withCredentials=!0,Oe.addEventListener("load",function(Ce){ye(JSON.parse(Ce.target.responseText),fe)},!1),Oe.addEventListener("error",function(Ce){console.error(Ce)},!1),Oe.open("POST",`${se.KI}/api/attachments.json`),Oe.send(Se)}},74254:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return E}});var he=Ae(59301),ot=Ae(4676);class E extends he.Component{constructor(be){super(be);const oe=window.document;this.node=oe.createElement("div"),oe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,ot.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},53253:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{i:function(){return me},Z:function(){return ge}});var he={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},ot=Ae(71418),E=Ae(6848),Pe=Ae(93948),be=Ae(92310),oe=Ae.n(be),te=Ae(94601),se=Ae(62556),de=Ae(47141),le=Ae(79005),ue=Ae(20345),ae=Ae(77882),ie=Ae(31081),ne=Ae(75309),a=Ae(71979),y=Ae(47558),x=Ae(42922),b=Ae(66832),z=Ae(96593),ee=Ae(19664),re=Ae(91833),ce=Ae(59301);const me=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:le,swimg:ue},{name:"101\u8BA1\u5212",ptimg:ae,swimg:ie},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ne,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ee,swimg:re}];var ge=({className:pe,dataSource:fe=[],col:ye=4,right:Se,bottom:Oe=23,precision:Ce=0,wrapWidth:Le=1200,trackEventItems:De,loading:ke,onRemove:Ue=()=>{},isCurrent:et=!0,showAlias:Ge=!1,showProgress:it=!1})=>{const Qe=Math.floor((Le-(ye-1)*Se)/ye),Ye=[{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(Ve=>(window.ENV==="build"&&(Ve.ptimg=`/react/build${Ve.ptimg}`,Ve.swimg=`/react/build${Ve.swimg}`),Ve));return ce.createElement(ot.Z,{spinning:ke},ce.createElement("div",{className:oe()(he.list,pe)},!!(fe!=null&&fe.length)&&(fe==null?void 0:fe.map((Ve,Me)=>{var Re,ze,rt,$e,ut,_e;const{name:We,id:Te,identifier:Je,featured:Fe,school_name:Ie,image_url:Xe,excellent:He,is_plan:je}=Ve;return ce.createElement("div",{key:Te,className:et&&it?he.wrapisCurrent:he.wrap,style:{width:Qe,marginRight:(1+Me)%ye===0?0:Se+Ce,marginBottom:Oe}},ce.createElement("a",{className:he.li,onClick:Ee=>{Ee.preventDefault(),Ee.stopPropagation(),De&&(0,te.L9)([De]),(0,te.xg)(`/paths/${Je}`)}},ce.createElement("div",{className:he.img},ce.createElement("img",{className:he.cover,src:`${Xe}`}),et&&(0,de.bg)()&&(Ve==null?void 0:Ve.studying)&&ce.createElement("div",{className:`${he.movebq} user-path-items`,onClick:Ee=>{Ee.stopPropagation(),Ue(Ve)}},ce.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ce.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Re=Ve==null?void 0:Ve.subject_tags)==null?void 0:Re.map((Ee,xe)=>{var we,Be;if(xe===0){const Ke=(we=Ye.find(Ne=>Ne.name==Ee))==null?void 0:we.swimg;return ce.createElement("img",{className:he.sign,src:Ke,style:{left:"-4px"}})}const Ze=(Be=Ye.find(Ke=>Ke.name==Ee))==null?void 0:Be.ptimg;return ce.createElement("img",{className:he.sign,src:Ze,style:{left:`${48+52*(xe-1)+2*xe}px`}})}),ce.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ve==null?void 0:Ve.excellent)&&ce.createElement("div",{className:he.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ce.createElement("div",{className:he.name},ce.createElement(E.Z,{title:Ge&&(Ve!=null&&Ve.excellent_alias_name)?ce.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${We}`,ce.createElement("br",null),ce.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ve==null?void 0:Ve.excellent_alias_name}`)):We},ce.createElement("span",{className:he.e},Ge&&(Ve==null?void 0:Ve.excellent_alias_name)||We))),et&&it&&((ze=Ve==null?void 0:Ve.progress)==null?void 0:ze.all_score)!=0&&ce.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ce.createElement(Pe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((rt=Ve==null?void 0:Ve.progress)==null?void 0:rt.my_score)/(($e=Ve==null?void 0:Ve.progress)==null?void 0:$e.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(ut=Ve==null?void 0:Ve.progress)==null?void 0:ut.my_score,"/",(_e=Ve==null?void 0:Ve.progress)==null?void 0:_e.all_score),(!et||!it)&&ce.createElement("div",{className:he.tags},ce.createElement("div",null,ce.createElement(E.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ce.createElement("span",null,Ve.stages_count))),ce.createElement(E.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ce.createElement("span",null,Ve.members_count)))))))})),!fe.length&&ce.createElement(se.Z,null)))}},15817:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{jL:function(){return be},w9:function(){return yt},dN:function(){return lt},QD:function(){return Rn},cQ:function(){return $e.Z},Oz:function(){return Ke},op:function(){return Et},O5:function(){return Ir},_b:function(){return Cr},t7:function(){return fe},Gi:function(){return gn},YG:function(){return At},kT:function(){return tn},qp:function(){return x},K3:function(){return ee},vr:function(){return Qt},qE:function(){return $t},Je:function(){return Oe},wb:function(){return Me},lB:function(){return rt},cq:function(){return Nn},tp:function(){return me},Si:function(){return an},k8:function(){return qr},Du:function(){return Vr}});var he=Ae(59301),ot={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK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bsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",be=({dataSource:Mt=[],img:zt,imgWidth:Wt=346,title:dn,sunTitle:mn,bannerExtraContent:kn})=>he.createElement("div",{className:ot.banner},he.createElement("div",{className:ot.content},he.createElement("aside",null,he.createElement("p",null,he.createElement("b",null,dn),he.createElement("span",null,mn)),Mt.length>0&&he.createElement("div",{className:ot.btns},Mt.map((rn,_n)=>he.createElement("div",{key:_n,onClick:rn.click},rn.name,rn.sign?he.createElement("img",{src:E,width:39}):null))),kn),zt&&he.createElement("img",{style:{marginTop:33,marginRight:38},src:zt,width:Wt}))),oe={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"},te=Ae(92310),se=Ae.n(te),de=Ae(89392),le=Object.defineProperty,ue=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ne=(Mt,zt,Wt)=>zt in Mt?le(Mt,zt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Mt[zt]=Wt,a=(Mt,zt)=>{for(var Wt in zt||(zt={}))ae.call(zt,Wt)&&ne(Mt,Wt,zt[Wt]);if(ue)for(var Wt of ue(zt))ie.call(zt,Wt)&&ne(Mt,Wt,zt[Wt]);return Mt},x=({dataSource:Mt=[],value:zt,onChange:Wt,onTitleChange:dn,className:mn,title:kn,titleWidth:rn=41,style:_n={},fontColor:Jn="#6A7283",showCount:Fr,classNameActive:lr,styleItem:zn={}})=>{const[dr,fr]=(0,he.useState)(0),[aa,Dr]=(0,he.useState)(!1),oa=(0,he.useRef)(null),va=(0,he.useRef)(null);return(0,he.useEffect)(()=>{var hn;Mt.length!==0&&(((hn=oa==null?void 0:oa.current)==null?void 0:hn.clientHeight)>97?fr(1):fr(0)),Mt.length===0&&fr(0),Dr(!1)},[Mt]),he.createElement("div",{className:se()(oe.row,mn),style:_n},he.createElement("div",{onClick:(0,de.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:rn,marginTop:aa?12:4},className:`${oe.title} ${dn?"current":""}`},kn),he.createElement("div",{className:aa?`${oe.tagsWrap} ${oe.tagsBorderWrap}`:oe.tagsWrap},he.createElement("div",{className:oe.bar,ref:va,style:dr>0?{height:dr===1?97:"auto",overflow:dr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},he.createElement("div",{className:oe.tag,ref:oa},Mt==null?void 0:Mt.map(hn=>he.createElement("span",{onClick:()=>Wt(hn.id),key:hn.id,style:a(a({color:Jn},zn),(hn==null?void 0:hn.style)||{}),className:zt===hn.id?se()(lr||oe.active,hn.classNameActive):""},he.createElement("span",{title:hn.name,className:oe.name},hn.name),!!Fr&&he.createElement("span",{className:oe.num},hn.count))))),!!dr&&he.createElement(he.Fragment,null,dr===1?he.createElement("div",{onClick:()=>{var hn;fr(2),((hn=oa==null?void 0:oa.current)==null?void 0:hn.clientHeight)>245?Dr(!0):Dr(!1)},className:oe.action},"\u5C55\u5F00",he.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):he.createElement("div",{onClick:()=>{va.current.scrollTop=0,fr(1),Dr(!1)},className:oe.action},"\u6536\u8D77",he.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},ee=({dataSource:Mt=[],value:zt,onChange:Wt,onTitleChange:dn,className:mn,title:kn,titleWidth:rn=41,style:_n={},fontColor:Jn="#6A7283",showCount:Fr,expand:lr=!0})=>{const[zn,dr]=(0,he.useState)(0),[fr,aa]=(0,he.useState)(!1),Dr=(0,he.useRef)(null),oa=(0,he.useRef)(null),[va,hn]=(0,he.useState)(lr);return he.createElement("div",{className:se()(b.row,mn),style:_n},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,de.throttle)(()=>dn==null?void 0:dn(),2e3),style:{width:rn,marginTop:fr?12:4},className:`${b.title} ${dn?"current":""}`},kn),he.createElement("i",{className:`iconfont ${va?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:va?8:10},onClick:()=>hn(!va)})),va&&he.createElement("div",{className:fr?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},he.createElement("div",{className:b.fenge}),he.createElement("div",{className:b.bar,ref:oa},he.createElement("div",{className:b.tag,ref:Dr},Mt==null?void 0:Mt.map(ln=>he.createElement("span",{onClick:()=>Wt(ln.id),key:ln.id,style:{color:Jn},className:zt===ln.id?b.active:""},he.createElement("span",{title:ln.name,className:b.name},ln.name),!!Fr&&he.createElement("span",{className:b.num},ln.count)))))))},re={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"},me=({dataSource:Mt=[],value:zt,onChange:Wt,className:dn,style:mn={}})=>he.createElement("div",{style:mn,className:se()(re.tabs,dn)},Mt.map(kn=>he.createElement("span",{onClick:()=>Wt(kn.id),className:zt===kn.id?re.active:"",key:kn.id},kn.name))),ve={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"},ge=Ae(92832),fe=({dataSource:Mt=[],value:zt="",onChange:Wt,onInputChange:dn=()=>{},className:mn,style:kn={},placeholder:rn,allowClear:_n=!1})=>{var Jn;const[Fr,lr]=(0,he.useState)(""),[zn,dr]=(0,he.useState)("");(0,he.useEffect)(()=>{var Dr;let oa=zt;(Dr=JSON.stringify(zt))!=null&&Dr.includes("{")&&(lr(zt.id),oa=zt.value||"");try{dr(decodeURIComponent(oa||""))}catch(va){dr(decodeURIComponent(oa||""))}},[zt]);const fr=()=>{Wt(encodeURIComponent(zn),Fr||null)},aa=Dr=>{Dr!==Fr&&(lr(Dr),Wt(encodeURIComponent(zn),Dr))};return he.createElement("div",{className:se()(ve.input,mn),style:kn},!!Mt.length&&he.createElement("div",{className:ve.dropdown},he.createElement("div",{className:ve.text},(Jn=Mt.find(Dr=>Dr.id===Fr))==null?void 0:Jn.name,he.createElement("i",{className:"iconfont icon-zhankai4"}),he.createElement("b",{className:ve.b1}),he.createElement("b",{className:ve.b2})),he.createElement("div",{className:ve.menu},Mt.map((Dr,oa)=>he.createElement("div",{key:oa,onClick:()=>aa(Dr.id)},Dr.name)))),he.createElement(ge.default,{onPressEnter:fr,value:zn,onChange:Dr=>{dr(Dr.target.value),dn(encodeURIComponent(Dr.target.value),Fr||null)},bordered:!1,placeholder:rn}),he.createElement("i",{onClick:fr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ye={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"},Oe=({value:Mt,onChange:zt,className:Wt,total:dn,pageSize:mn,style:kn={}})=>{const rn=Mt<2,_n=Mt>=Math.ceil(dn/mn);return dn<=mn?he.createElement(he.Fragment,null):he.createElement("div",{className:se()(ye.quickPager,Wt),style:kn},he.createElement("div",{onClick:()=>{rn||zt(Mt-1,"prev")},className:rn?ye.disabled:""},"\u4E0A\u4E00\u9875"),he.createElement("div",{onClick:()=>{_n||zt(Mt+1,"next")},className:_n?ye.disabled:""},"\u4E0B\u4E00\u9875"))},Ce={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"},Le=Ae(71418),De=Ae(6848),ke=Ae(13570),Ue=Ae(85386),et=Ae(94601),Ge=Ae(96908),it=Ae(57177),Qe=Ae(81378),Ye=Ae(62556),Me=({className:Mt,dataSource:zt=[],col:Wt=4,right:dn,bottom:mn=23,precision:kn=0,wrapWidth:rn=1200,trackEventItems:_n,loading:Jn})=>{const Fr=Math.floor((rn-(Wt-1)*dn)/Wt);return he.createElement(Le.Z,{spinning:Jn},he.createElement("div",{className:se()(Ce.list,Mt)},!!zt.length&&zt.map((lr,zn)=>{const{name:dr,id:fr,identifier:aa,power:Dr,cover_image_id:oa,pic:va}=lr;return he.createElement("div",{className:Ce.wrap,key:fr,style:{width:Fr,marginRight:(1+zn)%Wt===0?0:dn+kn,marginBottom:mn}},he.createElement("a",{target:"_blank",href:`/shixuns/${aa}/challenges`,className:Ce.li,onClick:hn=>{hn.preventDefault(),_n&&(0,et.L9)([_n]),Dr&&(0,et.xg)(`/shixuns/${aa}/challenges`)}},he.createElement("div",{className:Ce.img},he.createElement("img",{className:Ce.cover,src:`${va}`}),lr.is_jupyter&&he.createElement("img",{className:Ce.sign,src:Ge}),lr.is_jupyter_lab&&he.createElement("img",{className:Ce.sign,src:it}),lr.is_unity_3d&&he.createElement("img",{className:Ce.sign,src:Qe})),he.createElement("div",{className:Ce.name},he.createElement(De.Z,{title:dr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Ce.e},dr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:Ce.tags},he.createElement(De.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,lr.challenges_count))),!!lr.myshixuns_count&&he.createElement(De.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,lr.myshixuns_count))),he.createElement(De.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,lr.level))),he.createElement("div",{className:Ce.rate},he.createElement(ke.Z,{allowHalf:!0,disabled:!0,defaultValue:lr.score_info}),he.createElement("span",null,"\xA0",lr.score_info?`${lr.score_info}\u5206`:"5\u5206")))),!Dr&&he.createElement("div",{className:Ce.lockWrap},he.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!zt.length&&he.createElement(Ye.Z,null)))},Re={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},rt=({className:Mt,dataSource:zt=[],col:Wt=4,right:dn,bottom:mn=23,precision:kn=0,wrapWidth:rn=1200,wrapClassName:_n,trackEventItems:Jn,loading:Fr})=>{const lr=Math.floor((rn-(Wt-1)*dn)/Wt);return he.createElement(Le.Z,{spinning:Fr},he.createElement("div",{className:se()(Re.list,Mt)},!!zt.length&&zt.map((zn,dr)=>{const{name:fr,id:aa,identifier:Dr,power:oa,cover_image_id:va,pic:hn}=zn;return he.createElement("div",{className:se()(Re.wrap,_n),key:aa,style:{width:lr,marginRight:(1+dr)%Wt===0?0:dn+kn,marginBottom:mn}},he.createElement("a",{target:"_blank",href:`/shixuns/${Dr}/challenges`,className:Re.li,onClick:ln=>{ln.preventDefault(),Jn&&(0,et.L9)([Jn]),oa&&(0,et.xg)(`/shixuns/${Dr}/challenges`)}},he.createElement("img",{src:Ae(47621),className:Re.titleBg}),he.createElement("div",{className:Re.name},he.createElement(De.Z,{title:fr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Re.e},fr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Re.img},he.createElement("img",{className:Re.cover,src:va?`${Ue.Z.API_SERVER}/api/attachments/${va}`:`${Ue.Z.IMG_SERVER+hn}`}),zn.is_jupyter&&he.createElement("div",{className:Re.bq},"Jupyter"),zn.is_jupyter_lab&&he.createElement("div",{className:Re.bq},"JupyterLab"),zn.is_unity_3d&&he.createElement("div",{className:Re.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),he.createElement("div",{className:"mt20 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Re.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:Re.value},zn.myshixuns_count)),he.createElement("div",null,he.createElement("span",{className:Re.text},"\u56F0\u96BE\u7B49\u7EA7"),he.createElement("span",{className:Re.value},zn.level))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Re.text},"\u5173\u5361\u6570"),he.createElement("span",{className:Re.value},zn.challenges_count)),he.createElement("div",{className:Re.rate},he.createElement(ke.Z,{allowHalf:!0,disabled:!0,defaultValue:zn.score_info}),he.createElement("span",{className:Re.value,style:{color:"#FF9C00"}},"\xA0",zn.score_info?`${zn.score_info}\u5206`:"5\u5206"))))),!oa&&he.createElement("div",{className:Re.lockWrap},he.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!zt.length&&he.createElement(Ye.Z,null)))},$e=Ae(53253),ut={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},_e=Ae(79005),We=Ae(20345),Te=Ae(77882),Je=Ae(31081),Fe=Ae(75309),Ie=Ae(71979),Xe=Ae(47558),He=Ae(42922),je=Ae(66832),Ee=Ae(96593),xe=Ae(19664),we=Ae(91833);const Be=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:_e,swimg:We},{name:"101\u8BA1\u5212",ptimg:Te,swimg:Je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Fe,swimg:Ie},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Xe,swimg:He},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:je,swimg:Ee},{name:"\u519B\u961F\u4E00\u6D41",ptimg:xe,swimg:we}];var Ke=({className:Mt,dataSource:zt=[],col:Wt=4,right:dn,bottom:mn=23,precision:kn=0,wrapWidth:rn=1200,trackEventItems:_n,loading:Jn,wrapClassName:Fr,imgClassName:lr,isArrow:zn=!1})=>{const dr=Math.floor((rn-(Wt-1)*dn)/Wt),[fr,aa]=(0,he.useState)(),[Dr,oa]=(0,he.useState)(),va=ln=>aa(ln),hn=()=>aa(-1);return he.createElement(Le.Z,{spinning:Jn},he.createElement("div",{className:se()(ut.list,Mt)},!!(zt!=null&&zt.length)&&(zt==null?void 0:zt.map((ln,An)=>{var Mn;const{name:hr,id:Gr,identifier:ua,featured:fa,school_name:Ca,image_url:xa,excellent:Xa,is_plan:Ta}=ln;return he.createElement("div",{key:Gr,className:se()(ut.wrap,Fr),style:{width:dr,marginRight:(1+An)%Wt===0?0:dn+kn,marginBottom:mn}},he.createElement("a",{target:"_blank",href:`/paths/${ua}`,className:ut.li,onClick:gr=>{gr.preventDefault(),_n&&(0,et.L9)([_n]),(0,et.xg)(`/paths/${ua}`)}},he.createElement("img",{src:Ae(39057),className:ut.titleBg}),he.createElement("div",{className:ut.name},he.createElement(De.Z,{title:hr},he.createElement("span",{className:ut.e,style:{color:zn&&fr===An?"#145DFF":"#000000"},onMouseEnter:()=>{va(An)},onMouseLeave:hn},hr))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:se()(ut.img,lr)},he.createElement("img",{className:ut.cover,src:`${Ue.Z.IMG_SERVER+xa}`}),(Mn=ln==null?void 0:ln.subject_tags)==null?void 0:Mn.map((gr,kr)=>{var ta,Nr;if(kr===0){const ma=(ta=Be.find(na=>na.name==gr))==null?void 0:ta.swimg;return he.createElement("img",{className:ut.sign,src:ma,style:{left:"-4px"}})}const zr=(Nr=Be.find(ma=>ma.name==gr))==null?void 0:Nr.ptimg;return he.createElement("img",{className:ut.sign,src:zr,style:{left:`${48+52*(kr-1)+2*kr}px`}})}),he.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(ln==null?void 0:ln.excellent)&&he.createElement("div",{className:ut.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:ut.text},"\u7AE0\u8282\u6570"),he.createElement("span",{className:ut.value},ln.stages_count)),he.createElement("div",null,he.createElement("span",{className:ut.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:ut.value},ln.members_count))))))})),!zt.length&&he.createElement(Ye.Z,null)))},Ne={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,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA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rR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ht=Ae(59301),yt=({className:Mt,dataSource:zt=[],col:Wt=4,right:dn,bottom:mn=23,precision:kn=0,wrapWidth:rn=1200,trackEventItems:_n,loading:Jn})=>{const Fr=Math.floor((rn-(Wt-1)*dn)/Wt);return ht.createElement(Le.Z,{spinning:Jn},ht.createElement("div",{className:se()(Ne.list,Mt)},!!zt.length&&zt.map((lr,zn)=>{const{subject_identifier:dr,id:fr,identifier:aa,power:Dr}=lr,oa=lr.is_public!=0&&lr.is_public;return ht.createElement("div",{className:Ne.wrap,key:fr,style:{width:Fr,marginRight:(1+zn)%Wt===0?0:dn+kn,marginBottom:mn}},ht.createElement("a",{className:Ne.li,onClick:va=>{va.preventDefault(),_n&&(0,et.L9)([_n]),(0,et.xg)(lr.first_category_url)}},ht.createElement("div",{className:Ne.top},ht.createElement(De.Z,{title:lr.name},ht.createElement("div",{className:Ne.name},lr.name)),ht.createElement("img",{className:Ne.img,src:Ue.Z.IMG_SERVER+"/images/"+lr.avatar_url}),ht.createElement("div",{className:Ne.text,title:lr.creator},lr.creator),dr&&ht.createElement("div",{className:Ne.btns},ht.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ht.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),oa&&ht.createElement("div",{className:Ne.sign},"\u516C\u5F00")),ht.createElement("div",{className:Ne.bottom},lr.visits>0&&ht.createElement(De.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ht.createElement("span",null,ht.createElement("i",{className:"iconfont icon-liulanyan"}),ht.createElement("span",null,lr.visits))),lr.course_members_count>0&&ht.createElement(De.Z,{title:"\u6210\u5458",placement:"bottom"},ht.createElement("span",null,ht.createElement("i",{className:"iconfont icon-chengyuan"}),lr.course_members_count)),lr.tasks_count>0&&ht.createElement(De.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ht.createElement("span",null,ht.createElement("i",{className:"iconfont icon-zuoye"}),lr.tasks_count)),lr.is_end?ht.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ht.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!lr.is_accessible&&ht.createElement("div",{className:Ne.lockWrap},ht.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ht.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!zt.length&&ht.createElement(Ye.Z,null)))},st={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUY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kn=0,wrapWidth:rn=1200,wrapClassName:_n,trackEventItems:Jn,loading:Fr})=>{const lr=Math.floor((rn-(Wt-1)*dn)/Wt);return he.createElement(Le.Z,{spinning:Fr},he.createElement("div",{className:se()(st.list,Mt)},!!zt.length&&zt.map((zn,dr)=>{const{subject_identifier:fr,id:aa,identifier:Dr,power:oa}=zn,va=zn.is_public!=0&&zn.is_public;return he.createElement("div",{className:se()(`${st.wrap} ${zn.is_accessible?"":st.warpStyle}`,_n),key:aa,style:{width:lr,marginRight:(1+dr)%Wt===0?0:dn+kn,marginBottom:mn}},he.createElement("a",{className:st.li,onClick:hn=>{hn.preventDefault(),Jn&&(0,et.L9)([Jn]),(0,et.xg)(zn.first_category_url)}},he.createElement("div",{className:st.creator},he.createElement("img",{className:st.img,src:Ue.Z.IMG_SERVER+"/images/"+zn.avatar_url}),he.createElement("div",{className:st.text,title:zn.creator},zn.creator)),he.createElement("div",{className:st.top},he.createElement(De.Z,{title:zn.name},he.createElement("div",{className:st.name},zn.name)),va&&he.createElement("div",{className:st.sign},"\u516C\u5F00")),he.createElement("div",{className:st.middle},he.createElement("div",{className:st.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:st.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:st.value},(zn==null?void 0:zn.visits)||0)),he.createElement("div",null,he.createElement("span",{className:st.text},"\u6210\u5458"),he.createElement("span",{className:st.value},(zn==null?void 0:zn.course_members_count)||0))),he.createElement("div",{className:st.row},he.createElement("div",null,he.createElement("span",{className:st.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:st.value},(zn==null?void 0:zn.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:st.text},"\u72B6\u6001"),zn.is_end?he.createElement("span",{className:st.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:st.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),fr&&he.createElement("div",{className:st.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!zn.is_accessible&&he.createElement("div",{className:st.lockWrap},he.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!zt.length&&he.createElement(Ye.Z,null)))},dt={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"},gt=Ae(92123),At=({dataSource:Mt=[],value:zt,onChange:Wt,className:dn,style:mn={},tabBarExtraContent:kn})=>he.createElement("div",{className:se()(dt.tabs,dn),style:mn},he.createElement("div",{className:dt.tabsWrap},Mt.map((rn,_n)=>he.createElement("aside",{className:dt.tab,onClick:()=>{Wt(rn.id),rn.link&>.history.push(rn.link)},key:_n},he.createElement("div",{className:zt===rn.id?dt.active:""},rn.name),(rn==null?void 0:rn.resetCount)==null&&(rn==null?void 0:rn.total)!==void 0&&he.createElement("span",null,"\uFF08",rn==null?void 0:rn.total,"\uFF09"),(rn==null?void 0:rn.resetCount)!==void 0&&(rn==null?void 0:rn.total)!==void 0&&he.createElement(De.Z,{title:(rn==null?void 0:rn.tip)!=null?rn==null?void 0:rn.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},rn==null?void 0:rn.resetCount),"/",he.createElement("span",null,rn==null?void 0:rn.total),"\uFF09"))))),he.createElement("div",{className:dt.tabBar},kn)),It={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},tn=({dataSource:Mt=[],value:zt,onChange:Wt,className:dn,style:mn={},tabBarExtraContent:kn})=>he.createElement("div",{className:se()(It.tabs,dn),style:mn},he.createElement("div",{className:It.tabsWrap},Mt.map((rn,_n)=>he.createElement("aside",{className:It.tab,onClick:()=>{Wt(rn.id),rn.link&>.history.push(rn.link)},key:_n},he.createElement("div",{className:zt===rn.id?It.active:""},rn.name),(rn==null?void 0:rn.resetCount)==null&&(rn==null?void 0:rn.total)!==void 0&&he.createElement("span",null,"\uFF08",rn==null?void 0:rn.total,"\uFF09"),(rn==null?void 0:rn.resetCount)!==void 0&&(rn==null?void 0:rn.total)!==void 0&&he.createElement(De.Z,{title:(rn==null?void 0:rn.tip)!=null?rn==null?void 0:rn.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},rn==null?void 0:rn.resetCount),"/",he.createElement("span",null,rn==null?void 0:rn.total),"\uFF09"))))),he.createElement("div",{className:It.tabBar},kn)),gn=({className:Mt,style:zt={},children:Wt})=>he.createElement("div",{className:se()(Mt),style:zt},Wt),sn={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"},En=Ae(38854),Dn=Ae(20834);const un=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Nn=({sortValue:Mt,dropValue:zt,className:Wt,onSort:dn,onDrop:mn,dataSource:kn=un})=>{var rn;return he.createElement("div",{className:se()(sn.orderWrap,Wt)},he.createElement(En.Z,{dropdownRender:()=>he.createElement(Dn.default,null,kn.map((_n,Jn)=>he.createElement(Dn.default.Item,{key:Jn,onClick:()=>mn(_n.id)},_n.name)))},he.createElement("span",{className:sn.orderTextWrap},(rn=kn.find(_n=>zt===_n.id))==null?void 0:rn.name)),he.createElement("span",{className:sn.orderIconWrap},he.createElement("span",{className:sn.orderAsc},he.createElement("i",{className:Mt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${sn.cursorPointer} ${sn.active}`:`iconfont icon-sanjiaoxing-up font12 ${sn.cursorPointer}`,onClick:()=>dn(Mt==="asc"?"desc":"asc")})),he.createElement("span",{className:sn.orderDesc},he.createElement("i",{className:Mt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${sn.cursorPointer} ${sn.active}`:`iconfont icon-sanjiaoxing-down font12 ${sn.cursorPointer}`,onClick:()=>dn(Mt==="asc"?"desc":"asc")}))))},bn={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Wn=Ae(3113),jn=Ae(21585),Jt=Object.defineProperty,ir=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable,sr=(Mt,zt,Wt)=>zt in Mt?Jt(Mt,zt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Mt[zt]=Wt,Rr=(Mt,zt)=>{for(var Wt in zt||(zt={}))Wr.call(zt,Wt)&&sr(Mt,Wt,zt[Wt]);if(ir)for(var Wt of ir(zt))xr.call(zt,Wt)&&sr(Mt,Wt,zt[Wt]);return Mt},Jr=(Mt,zt)=>{var Wt={};for(var dn in Mt)Wr.call(Mt,dn)&&zt.indexOf(dn)<0&&(Wt[dn]=Mt[dn]);if(Mt!=null&&ir)for(var dn of ir(Mt))zt.indexOf(dn)<0&&xr.call(Mt,dn)&&(Wt[dn]=Mt[dn]);return Wt},Tt=(Mt,zt,Wt)=>new Promise((dn,mn)=>{var kn=Jn=>{try{_n(Wt.next(Jn))}catch(Fr){mn(Fr)}},rn=Jn=>{try{_n(Wt.throw(Jn))}catch(Fr){mn(Fr)}},_n=Jn=>Jn.done?dn(Jn.value):Promise.resolve(Jn.value).then(kn,rn);_n((Wt=Wt.apply(Mt,zt)).next())}),Et=Mt=>{var zt=Mt,{className:Wt,style:dn,children:mn,loading:kn=!1,openLoading:rn,onClick:_n=()=>{},size:Jn="middle",shape:Fr="round",theme:lr}=zt,zn=Jr(zt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[dr,fr]=(0,he.useState)(!1),aa=(0,he.useMemo)(()=>{switch(lr){case jn.Fy.THEMEONE:return bn.ThemeOne;case jn.Fy.DEFAULT:default:return bn.btn}},[lr]);return he.createElement(Wn.ZP,Rr({onClick:(0,de.throttle)(Dr=>Tt(void 0,null,function*(){rn&&fr(!0);try{yield _n(Dr)}catch(oa){console.log("error",oa)}rn&&fr(!1)}),2e3,{leading:!0,trailing:!1}),className:se()(aa,bn[`${Jn}-${Fr}`],Wt),style:dn,size:Jn,shape:Fr,loading:dr||kn},zn),mn)},Vt={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"},$t=({className:Mt,style:zt,children:Wt=null,onClick:dn,title:mn})=>he.createElement("div",{className:se()(Vt.head,Mt),style:zt},he.createElement("span",{className:"primary-hover",onClick:dn},he.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),he.createElement("b",{title:mn},mn),he.createElement("div",{className:Vt.node},Wt)),$n={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"},Rn=({confirmShow:Mt=!0,confirmTitle:zt,confirmClick:Wt,cancelShow:dn=!0,cancelTitle:mn,cancelClick:kn,className:rn,style:_n,confirmLoading:Jn=!1})=>he.createElement("div",{className:se()($n.btns,rn),style:_n},Mt&&he.createElement(Wn.ZP,{loading:Jn,onClick:Wt,type:"primary",className:$n.confirm},zt),dn&&he.createElement(Wn.ZP,{onClick:kn,className:$n.cancel},mn)),Er={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"},Qt=({className:Mt,style:zt={},LeftContent:Wt,children:dn,RightContent:mn})=>he.createElement("div",{className:se()(Er.fixedBottom,Mt),style:zt},he.createElement("div",{className:Er.wrap},he.createElement("div",{className:Er.left},Wt),he.createElement("div",{className:Er.center},dn),he.createElement("div",{className:Er.right},mn))),yr={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Cr=({className:Mt,style:zt={},dataSource:Wt=[]})=>he.createElement("div",{className:se()(yr.crumbs,Mt),style:zt},Wt.map((dn,mn)=>mngt.history.push(dn.path)},dn.name):he.createElement("span",null,dn.name),he.createElement("span",null,"\xA0",">","\xA0")):he.createElement("span",{key:mn,style:{color:"#5F6368"}},dn.name))),Or=Ae(31797),wt=Object.defineProperty,Ht=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Xt=(Mt,zt,Wt)=>zt in Mt?wt(Mt,zt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Mt[zt]=Wt,Zt=(Mt,zt)=>{for(var Wt in zt||(zt={}))en.call(zt,Wt)&&Xt(Mt,Wt,zt[Wt]);if(Kt)for(var Wt of Kt(zt))nn.call(zt,Wt)&&Xt(Mt,Wt,zt[Wt]);return Mt},er=(Mt,zt)=>Ht(Mt,Rt(zt)),Yn=(Mt,zt)=>{var Wt={};for(var dn in Mt)en.call(Mt,dn)&&zt.indexOf(dn)<0&&(Wt[dn]=Mt[dn]);if(Mt!=null&&Kt)for(var dn of Kt(Mt))zt.indexOf(dn)<0&&nn.call(Mt,dn)&&(Wt[dn]=Mt[dn]);return Wt};const{Countdown:kt}=Or.default;var Ir=Mt=>{var zt=Mt,{onChange:Wt}=zt,dn=Yn(zt,["onChange"]);const[mn,kn]=(0,he.useState)(null);(0,he.useEffect)(()=>{typeof mn=="number"&&mn>=0&&Wt(mn)},[mn]);const rn=_n=>{const Jn=Math.floor(_n/1e3);kn(Jn)};return he.createElement(kt,er(Zt({},dn),{onChange:rn}))},Zr={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},an=({DataProps:Mt,className:zt,style:Wt={}})=>{var dn;return he.createElement("div",{className:se()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Zr.ClassRoomItem,zt),style:Wt,onClick:()=>{(0,et.xg)(Mt==null?void 0:Mt.first_category_url)}},he.createElement("div",{className:"flex flex-col item-center"},he.createElement("img",{src:`${(dn=Ue.Z)==null?void 0:dn.IMG_SERVER}/images/${Mt==null?void 0:Mt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Mt==null?void 0:Mt.subject_identifier)&&he.createElement("div",{className:"mt-40px"},he.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),he.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},he.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Mt!=null&&Mt.is_public)&&he.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),he.createElement("span",{className:se()("text-16px font-medium",Zr.TitleDom)},Mt==null?void 0:Mt.name)),he.createElement("div",{className:"c-grey-333 font-medium"},Mt==null?void 0:Mt.creator),he.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Mt==null?void 0:Mt.course_members_count),he.createElement("div",{className:"c-grey-333 flex item-center justify-between"},he.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Mt==null?void 0:Mt.tasks_count),Mt!=null&&Mt.is_end?he.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):he.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Cn=Object.defineProperty,Kn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,br=(Mt,zt,Wt)=>zt in Mt?Cn(Mt,zt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Mt[zt]=Wt,rr=(Mt,zt)=>{for(var Wt in zt||(zt={}))xn.call(zt,Wt)&&br(Mt,Wt,zt[Wt]);if(Kn)for(var Wt of Kn(zt))wr.call(zt,Wt)&&br(Mt,Wt,zt[Wt]);return Mt},Vr=({DataProps:Mt=[],selectValue:zt,onChange:Wt,className:dn,style:mn={},extra:kn,classNameItem:rn,styleItem:_n={},barHidden:Jn})=>{const[Fr,lr]=(0,he.useState)();return(0,he.useEffect)(()=>{lr(Array.isArray(zt)?zt:[zt])},[zt]),he.createElement("div",{className:se()("flex px-20px py-10px gap-40px",dn),style:rr({borderBottom:"1px solid #D3F0FF"},mn)},Mt==null?void 0:Mt.map(zn=>he.createElement("div",{key:zn==null?void 0:zn.id,className:se()("flex item-center justify-center current c-grey-333 text-16 relative",rn,zn==null?void 0:zn.className),style:rr(rr({color:Fr!=null&&Fr.includes(zn==null?void 0:zn.id)?"#1890FF":"",minWidth:88},_n),(zn==null?void 0:zn.style)||{}),onClick:dr=>{Wt==null||Wt({domEvent:dr,item:zn}),zn!=null&&zn.link&>.history.push(zn==null?void 0:zn.link)}},zn==null?void 0:zn.name,!Jn&&(Fr==null?void 0:Fr.includes(zn==null?void 0:zn.id))&&he.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),he.createElement("div",{className:"ml-auto"},kn))},Oa=Object.defineProperty,Na=Object.defineProperties,Pa=Object.getOwnPropertyDescriptors,ka=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,Ka=Object.prototype.propertyIsEnumerable,Za=(Mt,zt,Wt)=>zt in Mt?Oa(Mt,zt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Mt[zt]=Wt,Aa=(Mt,zt)=>{for(var Wt in zt||(zt={}))to.call(zt,Wt)&&Za(Mt,Wt,zt[Wt]);if(ka)for(var Wt of ka(zt))Ka.call(zt,Wt)&&Za(Mt,Wt,zt[Wt]);return Mt},da=(Mt,zt)=>Na(Mt,Pa(zt)),qr=({value:Mt,onChange:zt,onInputChange:Wt,className:dn,style:mn={},InputProps:kn})=>{const[rn,_n]=(0,he.useState)(Mt);return he.createElement("div",{className:se()("flex item-center rounded-full px-10px py-2px",dn),style:Aa({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},mn)},he.createElement(ge.default,da(Aa({bordered:!1},kn),{onChange:Jn=>{_n(Jn.target.value),Wt==null||Wt(encodeURIComponent(Jn.target.value))},onPressEnter:Jn=>{zt==null||zt({domEvent:Jn,item:{value:rn}})}})),he.createElement("img",{className:"h-22px current",src:Ae(25365),height:22,onClick:Jn=>{zt==null||zt({domEvent:Jn,item:{value:rn}})}}))}},61346:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return ot}});var he=Ae(59301);function ot(E,Pe){const be=(0,he.useRef)();(0,he.useEffect)(()=>{be.current=E}),(0,he.useEffect)(()=>{function oe(){be.current()}if(Pe!==null){let te=setInterval(oe,Pe);return()=>clearInterval(te)}},[Pe])}},47348:function(Ct,Ft,Ae){"use strict";Ae.r(Ft),Ae.d(Ft,{PracticeFileType:function(){return we},default:function(){return Ze}});var he=Ae(59301),ot=Ae(92123),E=Ae(61485),Pe=Ae(57809),be=Ae(92832),oe=Ae(36381),te=Ae(78241),se=Ae(43418),de=Ae(8591),le=Ae(5871),ue=Ae(24905),ae=Ae(5112),ie=Ae(1710),ne=Ae(60324),a=Ae(81327),y=Ae(3113),x=Ae(6848),b=Ae(54580),z=Ae(16140),ee={flex_box_center:"flex_box_center___MjMLk",flex_space_between:"flex_space_between___PcWTa",flex_box_vertical_center:"flex_box_vertical_center___Cq7f3",flex_box_center_end:"flex_box_center_end___sMsFo",flex_box_column:"flex_box_column___n6Hxq",bg:"bg____Ic4Q",radioStyle:"radioStyle___kewjX",formWrap:"formWrap___jcehV",onePart:"onePart___ECsrp",searchInput:"searchInput___UhEpw",twoPart:"twoPart___WVIpx",title:"title___RpX2E",threePart:"threePart___Tzme_",flexRowCenter:"flexRowCenter___M7zUK",fourPart:"fourPart___HgBFj",testJi:"testJi___s6Skh",upBtn:"upBtn___eKx0D",checkboxs:"checkboxs___B4uNe",averageWarp:"averageWarp___yXrlD",averageCustom:"averageCustom___t5o4x",groupWrap:"groupWrap___eT0sR",customInput:"customInput___pywUD",btns:"btns___lJQrt",uploadBtn:"uploadBtn___bb8tt",addBtn:"addBtn___KmPzc",deleteBtn:"deleteBtn___j15T3",uploadTips:"uploadTips___ezbms",uploadTipsIcon:"uploadTipsIcon___ZWRlB",downloadBtn:"downloadBtn____jf42",fileItem:"fileItem___fJ0rs",multiSelect:"multiSelect___Xb8b8"},re=Ae(54001),ce=Ae(64165),me=Ae(99313),ve=Ae(71418),ge={flex_box_center:"flex_box_center___vvciu",flex_space_between:"flex_space_between___WPxvw",flex_box_vertical_center:"flex_box_vertical_center___YY9Br",flex_box_center_end:"flex_box_center_end___FiVhK",flex_box_column:"flex_box_column___FWnfq",wrap:"wrap___AEhcV",content:"content___NDdD8",mainPathWrap:"mainPathWrap___BNeQ2",colorBlue:"colorBlue___UwyKz",empty:"empty___aaM_9"},pe=Object.defineProperty,fe=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Oe=(Ke,Ne,at)=>Ne in Ke?pe(Ke,Ne,{enumerable:!0,configurable:!0,writable:!0,value:at}):Ke[Ne]=at,Ce=(Ke,Ne)=>{for(var at in Ne||(Ne={}))ye.call(Ne,at)&&Oe(Ke,at,Ne[at]);if(fe)for(var at of fe(Ne))Se.call(Ne,at)&&Oe(Ke,at,Ne[at]);return Ke},Le=(Ke,Ne,at)=>new Promise((ht,ft)=>{var yt=nt=>{try{pt(at.next(nt))}catch(lt){ft(lt)}},st=nt=>{try{pt(at.throw(nt))}catch(lt){ft(lt)}},pt=nt=>nt.done?ht(nt.value):Promise.resolve(nt.value).then(yt,st);pt((at=at.apply(Ke,Ne)).next())});const De=Ke=>Ke!=null&&Ke.length?Ke.filter((Ne,at)=>at!==0).map(Ne=>Ne.val).join("").substr(1):"",ke=({shixunsDetail:Ke,globalSetting:Ne,dispatch:at,fileType:ht,path:ft,onFinish:yt=()=>{}})=>{const st=(0,ot.useParams)(),[pt,nt]=(0,he.useState)(""),[lt,dt]=(0,he.useState)("1"),[gt,Pt]=(0,he.useState)([]),[At,It]=(0,he.useState)(!1),[Gt,tn]=(0,he.useState)([]),gn=[we.OriginalPicturePath,we.ExpectPicturePath,we.PicturePath].includes(ht);(0,he.useEffect)(()=>{Ke.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(nt(ft||""),sn())},[Ke.actionTabs.key,ft,lt]);const sn=(jn="")=>Le(void 0,null,function*(){It(!0);const Jt=yield at({type:`shixunsDetail/${lt==="1"?"getRepository":"getSecretRepository"}`,payload:{id:st.id,path:jn}});if(Jt!=null&&Jt.trees){const ir=Jt.trees.map(Wr=>Ce(Ce({},Wr),{name:Wr.name,val:Wr.name}));tn(ir||[])}else tn([]);It(!1)}),En=jn=>{const Jt=De(gt);let ir=`${Jt&&`${Jt}/`}${jn}`;lt==="2"&&(ir=`secret/${ir}`),ht===we.Path?!(pt!=null&&pt.includes(`${ir}\uFF1B`))&&nt(`${pt}${ir}\uFF1B`):ht===we.ExecPath&&nt(ir)},Dn=jn=>{if(jn.type==="tree"){gt.length?gt.push({val:`/${jn.val}`,path:jn.val}):gt.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${jn.val}`,path:jn.val}),Pt(gt);const Jt=De(gt);gn&&nt(Jt),sn(Jt)}},un=(jn,Jt)=>{const ir=gt.filter((xr,sr)=>sr<=Jt);Pt(ir);const Wr=De(ir);gn&&nt(Wr),sn(Wr)},qn=()=>Le(void 0,null,function*(){yt(pt),Nn()}),Nn=()=>{nt(""),Pt([]),tn([]),dt("1"),at({type:"shixunsDetail/setActionTabs",payload:{}})},bn=()=>he.createElement(ce.Z,{style:{margin:"0 0"},image:ce.Z.PRESENTED_IMAGE_SIMPLE,imageStyle:{height:60},description:he.createElement("div",null,he.createElement("p",{style:{color:"#888",marginBottom:0}},"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u6682\u65E0\u6587\u4EF6\u3002\u8BF7\u5148\u5F00\u542F\u5E76\u4E0A\u4F20\u4EE3\u7801\u6587"),he.createElement("span",{style:{color:"#888"}},"\u4EF6\u3001\u6807\u51C6\u56FE\u7247\u7B49\u6587\u4EF6\u5230\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"))},he.createElement(y.ZP,{type:"primary",onClick:()=>{Nn(),at({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"warehouse"}}),ot.history.push(`/shixuns/${st.id}/edit?tabId=warehouse`)}},"\u53BB\u4E0A\u4F20")),Wn=De(gt);return he.createElement(se.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:Ke.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:qn,onCancel:Nn},he.createElement("div",{className:ge.wrap},he.createElement(me.default,{activeKey:lt,onChange:jn=>{Pt([]),dt(jn)}},he.createElement(me.default.TabPane,{tab:"\u4EE3\u7801\u4ED3\u5E93",key:"1"}),ht==="exec_path"&&he.createElement(me.default.TabPane,{tab:"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",key:"2"})),he.createElement(ve.Z,{style:{backgroundColor:"#f5f5f5",height:200},spinning:At},he.createElement("div",{className:ge.content},he.createElement("div",null,!!(gt!=null&>.length)&>.map((jn,Jt)=>he.createElement("a",{style:{whiteSpace:Jt===0?"nowrap":""},key:Jt,onClick:()=>un(jn,Jt)},jn.val))),Gt!=null&&Gt.length?Gt.map((jn,Jt)=>jn.type==="tree"?he.createElement("a",{key:Jt,onClick:()=>Dn(jn)},he.createElement("i",{className:`iconfont icon-wenjianjia ${ge.colorBlue}`}),Wn&&`${Wn}/`,jn.name):he.createElement("a",{key:Jt,onClick:()=>En(`${jn.name}`)},he.createElement("i",{className:`iconfont icon-zuoye ${ge.colorBlue}`}),Wn&&`${Wn}/`,jn.name)):bn())),he.createElement("label",{className:"mt5"},"\u5DF2\u9009\u4E2D\u7684\u6587\u4EF6:"),he.createElement(be.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:pt,onChange:jn=>nt(jn.target.value)})))};var Ue=(0,ot.connect)(({shixunsDetail:Ke,globalSetting:Ne})=>({shixunsDetail:Ke,globalSetting:Ne}))(ke),et=Ae(53935),Ge=Ae(89392),it=Ae(47470),Qe=Ae(43597),Ye=Ae(36619),Ve=Ae(66089),Me=Ae(15817),Re=Ae(85386),ze=Ae(55659),rt=Ae(3745),$e=Object.defineProperty,ut=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Fe=(Ke,Ne,at)=>Ne in Ke?$e(Ke,Ne,{enumerable:!0,configurable:!0,writable:!0,value:at}):Ke[Ne]=at,Ie=(Ke,Ne)=>{for(var at in Ne||(Ne={}))Te.call(Ne,at)&&Fe(Ke,at,Ne[at]);if(We)for(var at of We(Ne))Je.call(Ne,at)&&Fe(Ke,at,Ne[at]);return Ke},Xe=(Ke,Ne)=>ut(Ke,_e(Ne)),He=(Ke,Ne,at)=>new Promise((ht,ft)=>{var yt=nt=>{try{pt(at.next(nt))}catch(lt){ft(lt)}},st=nt=>{try{pt(at.throw(nt))}catch(lt){ft(lt)}},pt=nt=>nt.done?ht(nt.value):Promise.resolve(nt.value).then(yt,st);pt((at=at.apply(Ke,Ne)).next())});const{Option:je}=Pe.default,{TextArea:Ee}=be.default,{Panel:xe}=oe.default;var we=(Ke=>(Ke.Path="path",Ke.ExecPath="exec_path",Ke.OriginalPicturePath="original_picture_path",Ke.ExpectPicturePath="expect_picture_path",Ke.PicturePath="picture_path",Ke))(we||{});const Be=({shixunsDetail:Ke,dispatch:Ne,practiceSetting:at})=>{var ht,ft,yt,st,pt,nt,lt,dt,gt,Pt,At,It,Gt,tn,pn,gn,sn,En,Dn,un,qn;const Nn=(0,ot.useDispatch)(),[bn]=te.default.useForm(),[Wn]=te.default.useForm(),[jn]=te.default.useForm(),[Jt,ir]=(0,he.useState)({}),[Wr,xr]=(0,he.useState)({}),[sr,Rr]=(0,he.useState)([]),[Jr,Tt]=(0,he.useState)({}),[xt,Et]=(0,he.useState)([]),[Vt,Sn]=(0,he.useState)({hidden:0,input_visible:!1,is_invisible:!1,actual_output_visible:!1,last_match_rule:!1}),[$t,$n]=(0,he.useState)([!1]),[Hn,Rn]=(0,he.useState)(!1),[Er,ra]=(0,he.useState)(),Qt=(0,he.useRef)({formValue:{},testSetList:[],uploadData:[]}),[yr,Yr]=(0,he.useState)(!0),[Cr,Or]=(0,he.useState)(!0),wt=(0,he.useRef)(null),[Ht,Rt]=(0,he.useState)(!1),[Kt,en]=(0,he.useState)(!1),[nn,Xt]=(0,he.useState)(!1),[Zt,er]=(0,he.useState)(!1),[Yn,kt]=(0,he.useState)(!1),pr=(0,ot.useParams)(),[Ir,Zr]=(0,he.useState)(!1),[sa,an]=(0,he.useState)(!1),[Cn,Kn]=(0,he.useState)(!1),[xn,wr]=(0,he.useState)(!1),[br,rr]=(0,he.useState)(!1),[Ar,Vr]=(0,he.useState)([]),[Oa,Na]=(0,he.useState)(""),[Pa,ka]=(0,he.useState)([]),[to,Ka]=(0,he.useState)(null),[Za,Aa]=(0,he.useState)([]),[da,Ga]=(0,he.useState)({}),[qr,Mt]=(0,he.useState)([]),[zt,Wt]=(0,he.useState)(null),[dn,mn]=(0,he.useState)([]),[kn,rn]=(0,he.useState)([]),[_n,Jn]=(0,he.useState)([]),Fr=["test_set_rules","go_back_url","next_challenge","position","name","chooses","st","id","path","exec_path","show_type","original_picture_path","expect_picture_path","picture_path","test_set_rules_expression","web_route","test_set_score","test_set_average","exec_time","ignore_space","with_code_file","unity_3d","unity_3d_routes","unity_3d_result","has_web_route","test_sets","is_file","proxy_port","unity3d_show_location"];let lr=[];(0,he.useEffect)(()=>{zn(),dr()},[]),(0,he.useEffect)(()=>{console.log(sr);let vt=sr.every(Tn=>Tn.hidden===1);Zr(vt);let Nt=sr.every(Tn=>Tn.is_invisible);an(Nt);let on=sr.every(Tn=>Tn.last_match_rule);Kn(on);let On=sr.every(Tn=>Tn.input_visible);wr(On);let Un=sr.every(Tn=>Tn.actual_output_visible);rr(Un)},[sr]),(0,he.useEffect)(()=>{Ke.actionTabs.key=="\u7F16\u8F91\u8BBE\u7F6E\u9879"?fr(Ke.actionTabs.params):Ke.actionTabs.key=="\u7F16\u8F91\u91C7\u96C6\u70B9"&&aa(Ke.actionTabs.params)},[Ke.actionTabs.key]),(0,he.useEffect)(()=>(JSON.stringify(Qt.current.formValue)!=="{}"&&Qt.current.testSetList.length&&oa(),()=>{clearTimeout(wt.current)}),[Jt,xt]);const zn=()=>He(void 0,null,function*(){var vt,Nt;Yr(!0);const on=yield Ne({type:"shixunsDetail/getRepository",payload:{id:pr.id,path:""}});Or((on==null?void 0:on.trees)===null);const On=yield(0,z.ii)({id:pr.id,challengeId:pr.challengesId,tab:1});if(On){Yr(!1);const Un=((Nt=(vt=On.test_sets)==null?void 0:vt[0])==null?void 0:Nt.is_file)||!1,Tn=Xe(Ie({},On),{is_file:Un});Tt(Tn),parseInt(On==null?void 0:On.code_compile_score)>0&&kt(!0),hn(Tn)}}),dr=()=>He(void 0,null,function*(){const vt=yield(0,Qe.ZP)("/api/vrs_env_list",{method:"get"});(vt==null?void 0:vt.status)===0&&Vr(vt==null?void 0:vt.data)}),fr=vt=>He(void 0,null,function*(){Ka(vt),Wn.setFieldsValue(Ie({},vt))}),aa=vt=>He(void 0,null,function*(){var Nt,on;Wt(vt),jn.setFieldsValue(Xe(Ie({},vt),{vrs_env_id:(Nt=Ke==null?void 0:Ke.detail)==null?void 0:Nt.vrs_env_id,vrs_subject_id:(on=Ke==null?void 0:Ke.detail)==null?void 0:on.vrs_subject_id}))}),Dr=vt=>{let Nt=vt==null?void 0:vt.length;if(Nt==0)return;const on=Math.floor(100/Nt),On=100%Nt,Un=Number(on)+Number(On);console.log(Nt,vt),Mt(vt.map((Tn,la)=>Xe(Ie({},Tn),{score:la==Nt-1?Un:on})))},oa=()=>{clearTimeout(wt.current),wt.current=setTimeout(va,500)},va=()=>{Fr.some(Nt=>{const on=(0,Ge.isNumber)(Jt[Nt])?String(Jt[Nt]):Jt[Nt],On=(0,Ge.isNumber)(Qt.current.formValue[Nt])?String(Qt.current.formValue[Nt]):Qt.current.formValue[Nt];return!(0,Ge.isEqual)(on,On)})||!(0,Ge.isEqual)(Qt.current.testSetList,xt)||!(0,Ge.isEqual)(Qt.current.uploadData,sr)?Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},hn=vt=>{var Nt;if(vt.proxy_port=(vt==null?void 0:vt.proxy_port)||8080,bn.setFieldsValue(Ie({},vt)),ir(Ie({},vt)),vt!=null&&vt.is_file){const on=vt.test_sets||[];Rr(on);const On=[{hidden:0,input:"",output:"",score:100}];Qt.current={formValue:Ie({},vt),testSetList:On,uploadData:on},Et(On),$n(Array(On.length).fill(!1))}else{const on=(Nt=vt.test_sets)!=null&&Nt.length?vt.test_sets:[{hidden:0,input:"",output:"",score:100}];Qt.current={formValue:Ie({},vt),testSetList:on,uploadData:[]},$n(Array(on.length).fill(!1)),Et(on)}ka((vt==null?void 0:vt.vrs_settings)||[]),Mt((vt==null?void 0:vt.test_sets)||[])},ln=vt=>He(void 0,null,function*(){if(Cr){se.default.confirm({centered:!0,title:"\u63D0\u793A",content:"\u8BF7\u5148\u4E0A\u4F20\u672C\u5173\u4EFB\u52A1\u7684\u6240\u6709\u4EE3\u7801\u6587\u4EF6\u3001\u6807\u51C6\u56FE\u7247\u7B49\u6240\u6709\u5FC5\u8981\u7684\u6587\u4EF6\u5230\u4EE3\u7801\u4ED3\u5E93",okText:"\u53BB\u4E0A\u4F20",onOk:()=>{Ne({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"warehouse"}}),ot.history.push(`/shixuns/${pr.id}/edit?tabId=warehouse`)},cancelText:"\u53D6\u6D88"});return}Ne({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}}),ra(vt)}),An=vt=>{const Nt={[Er]:vt};bn.setFieldsValue(Nt),ir(Ie(Ie({},Jt),Nt))},Mn=vt=>{const Nt=bn.getFieldsValue();ir(Ie({},Nt)),"vrs_env_id"in vt&&(bn.setFieldsValue({vrs_subject_id:null}),ir(Xe(Ie({},Nt),{vrs_subject_id:null})),ka([]),Mt([])),"vrs_subject_id"in vt&&(ka([]),Mt([])),"test_set_score"in vt&&vt.test_set_score&&(bn.setFieldsValue({test_set_average:!0}),Jt.is_file?Gr(sr):hr(xt)),"test_set_average"in vt&&vt.test_set_average&&(Dr(qr),Jt.is_file?Gr(sr):hr(xt)),"unity_3d"in vt&&(vt.unity_3d||(bn.setFieldsValue({with_code_file:!0}),ir(Xe(Ie({},Nt),{with_code_file:!0}))))},hr=vt=>{let Nt=parseInt(bn.getFieldValue("code_compile_score")||0);const on=Math.floor((100-Nt)/vt.length),On=on+(100-Nt)%vt.length;vt=vt.map((Un,Tn)=>Tn===vt.length-1?Xe(Ie({},Un),{score:On}):Xe(Ie({},Un),{score:on})),Qt.current.testSetList=(0,Ge.clone)(vt),Et(vt)},Gr=vt=>{let Nt=parseInt(bn.getFieldValue("code_compile_score")||0);const on=Math.floor((100-Nt)/vt.length),On=on+(100-Nt)%vt.length;vt=vt.map((Un,Tn)=>Tn===vt.length-1?Xe(Ie({},Un),{score:On}):Xe(Ie({},Un),{score:on})),Qt.current.uploadData=(0,Ge.clone)(vt),Rr(vt)},ua=()=>{const vt=[...xt,{hidden:0,input:"",output:"",score:0}];$n([...$t,!1]),Rn(!1),bn.getFieldValue("test_set_average")?hr(vt):Et(vt)},fa=(vt,Nt=!1,on=1)=>He(void 0,null,function*(){var On,Un,Tn,la,Ra,no,Co;const{vrs_type:ni,vrs_env_id:ri,vrs_subject_id:Ro,test_set_average:So,vrs_settings:ai,test_set:ko,point_hint:Mo}=vt;console.log(vt),vt.path&&!vt.path.endsWith("\uFF1B")&&(vt.path=vt.path+"\uFF1B"),console.log(_n),console.log(vt),((On=Ke.detail)==null?void 0:On.vrs_type)==1?(yield(0,Qe.ZP)(`/api/shixuns/${pr==null?void 0:pr.id}/challenges/${pr==null?void 0:pr.challengesId}/update_vrs_setting`,{method:"put",body:Xe(Ie({},vt),{vrs_type:1,vrs_env_id:ri,vrs_subject_id:Ro,test_set:qr,unity_3d_routes:(Tn=(Un=Ar==null?void 0:Ar.filter(Ao=>{var Eo;return Ao.id==((Eo=Ke==null?void 0:Ke.detail)==null?void 0:Eo.vrs_env_id)}))==null?void 0:Un[0])==null?void 0:Tn.url,voice_attachment_id:(no=(Ra=(la=_n.filter(Ao=>Ao.status==="done"))==null?void 0:la[0])==null?void 0:Ra.response)==null?void 0:no.container_id})})).status==0&&de.ZP.success("\u4FDD\u5B58\u6210\u529F"):(yield(0,z.Rs)(Xe(Ie({},pr),{tab:1,vrs_type:0,challenge:Xe(Ie(Ie({},vt),{test_set_rules_expression:vt.test_set_rules===0?null:vt.test_set_rules_expression}),{shixunfileexpectpicturepath:vt.original_picture_path,shixunfilestandardpicturepath:vt.expect_picture_path}),test_set:lr,sync_origin_shixun:Nt}))).status>=0&&((Co=Ke==null?void 0:Ke.detail)!=null&&Co.copy_for_exercise&&(0,Ve.m)(Ne,Ke,pr.id,on),ot.history.replace(`/shixuns/${pr.id}/edit/${pr.challengesId}/tab=3`))}),Ca=(vt,Nt)=>{const on=[...sr];on.splice(Nt,1),Jt.test_set_average?Gr(on):Rr(on)},xa=(vt,Nt)=>{console.log(vt,Nt);const on=sr.map((On,Un)=>Un===Nt?Xe(Ie({},On),{score:vt.target.value?Number(vt.target.value):0}):On);Rr(on)},Xa=(vt,Nt,on)=>{on==="hidden"&&(vt=vt?1:0),console.log(vt,Nt);const On=sr.map((Tn,la)=>la===Nt?Xe(Ie({},Tn),{[on]:vt}):Tn);Rr(On),console.log(On);const Un=On.every(Tn=>Tn[on]===vt);on==="hidden"?Zr(Un&&vt):on==="is_invisible"?an(Un&&vt):on==="input_visible"?wr(Un&&vt):on==="actual_output_visible"?rr(Un&&vt):Kn(Un&&vt)},Ta=(vt,Nt)=>{Nt==="hidden"&&(vt=vt?1:0),console.log(vt);const on=sr.map((On,Un)=>Xe(Ie({},On),{[Nt]:vt}));Rr(on),Nt==="hidden"?Zr(vt):Nt==="is_invisible"?an(vt):Nt==="input_visible"?wr(vt):Nt==="actual_output_visible"?rr(vt):Kn(vt)},gr=vt=>{if(vt!=null&&vt.length){if(bn.setFieldsValue({is_file:vt==null?void 0:vt[0].is_file}),ir(Xe(Ie({},Jt),{is_file:vt==null?void 0:vt[0].is_file})),vt!=null&&vt[0].is_file){const Nt=sr.concat(vt.map(on=>Xe(Ie({},on),{hidden:0,is_invisible:!1,last_match_rule:!1})));Jt.test_set_average?Gr(Nt):Rr(Nt)}if(!(vt!=null&&vt[0].is_file)){const Nt=xt==null?void 0:xt.filter(on=>on.input||on.output).concat(vt);$n(Array(Nt.length).fill(!1)),Jt.test_set_average?hr(Nt):Et(Nt)}}},kr=()=>{se.default.confirm({title:"\u5220\u9664\u6D4B\u8BD5\u7528\u4F8B\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u5173\u5361\u4E2D\u7684\u6D4B\u8BD5\u7528\u4F8B\u5168\u90E8\u5220\u9664\uFF1F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>{vt()}});const vt=()=>{Jt.is_file?Gr([]):(hr([{hidden:0,input:"",output:"",score:0}]),$n([!1]))}},ta=()=>{var vt;const Nt=()=>{ot.history.push(`/shixuns/${pr.id}/challenges`),Ne({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(vt=at==null?void 0:at.sideBar)!=null&&vt.confirmLeave?se.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Nt()}}):Nt()};console.log(sr,444);const Nr=vt=>He(void 0,null,function*(){ka(Pa.filter(Nt=>!vt.includes(Nt.id)))}),zr=vt=>He(void 0,null,function*(){let Nt=qr.filter(on=>!vt.includes(on.id));Mt(Nt),Dr(Nt)}),ma=[{title:"\u5E8F\u53F7",render:(vt,Nt,on)=>on+1,width:60,align:"center"},{title:"\u76EE\u6807",dataIndex:"target",align:"center"},{title:"\u8BBE\u7F6E\u9879\u540D\u79F0",dataIndex:"name",align:"center"},{title:"\u6001\u52BF\u503C",dataIndex:"value",align:"center"},{title:"\u64CD\u4F5C",dataIndex:"course_group_name",align:"right",width:200,render:(vt,Nt)=>he.createElement(he.Fragment,null,he.createElement("span",{onClick:()=>{Nn({type:"shixunsDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u8BBE\u7F6E\u9879",params:Nt}})},className:"current c-light-primary mr15"},"\u7F16\u8F91"),he.createElement("span",{onClick:()=>Nr([Nt==null?void 0:Nt.id]),className:"current",style:{color:"#9096A3"}},"\u5220\u9664"))}],na=[{title:"\u5E8F\u53F7",render:(vt,Nt,on)=>on+1,width:60,align:"center"},{title:"\u91C7\u96C6\u70B9\u540D\u79F0",dataIndex:"vrs_point_name",align:"center"},{title:"\u7B54\u6848\u503C\u7C7B\u578B",dataIndex:"vrs_point_answer_type",align:"center",render:(vt,Nt,on)=>vt==0?"\u56FA\u5B9A\u503C":vt==1?"\u533A\u95F4\u503C":"\u72B6\u6001\u503C"},{title:"\u7B54\u6848",dataIndex:"vrs_point_answer_value",align:"center"},{title:"\u5F97\u5206\u6BD4\u4F8B",dataIndex:"score",align:"left",width:220,render:(vt,Nt,on)=>{var On;return he.createElement(he.Fragment,null,he.createElement(le.Z,{min:0,max:100,value:(On=qr[on])==null?void 0:On.score,disabled:Jt==null?void 0:Jt.test_set_average,onChange:Un=>{qr[on].score=Un?Number(Un):0,Mt([...qr])}}),he.createElement("span",{className:"ml5"},"%"))}},Jt.point_hint&&{title:"\u5F15\u5BFC\u987A\u5E8F",dataIndex:"vrs_position",align:"center"},Jt.point_hint&&{title:"\u5F15\u5BFC\u5185\u5BB9",dataIndex:"vrs_content",ellipsis:!0,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"course_group_name",align:"right",width:200,render:(vt,Nt)=>he.createElement(he.Fragment,null,he.createElement("span",{onClick:()=>{Nn({type:"shixunsDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u91C7\u96C6\u70B9",params:Nt}})},className:"current mr15",style:{color:"#3061D0"}},"\u7F16\u8F91"),he.createElement("span",{onClick:()=>zr([Nt==null?void 0:Nt.id]),className:"current",style:{color:"#9096A3"}},"\u5220\u9664"))}].filter(vt=>!!vt);return he.createElement(he.Fragment,null,he.createElement("section",{key:1,className:ee.bg},he.createElement(te.default,{form:bn,className:ee.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:Mn,onFinish:vt=>{var Nt,on,On;let Un=parseInt(bn.getFieldValue("code_compile_score")||0);if(((Nt=Ke.detail)==null?void 0:Nt.vrs_type)==1&&(qr!=null&&qr.length)){const Tn=qr.reduce((la,Ra)=>la+Ra,0);if(vt.test_set_score&&Tn!==100&&(qr!=null&&qr.length)){de.ZP.error("\u6570\u636E\u91C7\u96C6\u70B9\u7684\u5F97\u5206\u6BD4\u4F8B\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}}if(vt.is_file){if(!(sr!=null&&sr.length)){de.ZP.error("\u6D4B\u8BD5\u96C6\u4E0D\u80FD\u4E3A\u7A7A");return}const la=sr.map(Ra=>Ra.score).reduce((Ra,no)=>Ra+no,0)+Un;if(vt.test_set_score&&la!==100&&(xt!=null&&xt.length)){de.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}lr=sr}if(!vt.is_file){const la=xt.map(Ra=>Ra.score).reduce((Ra,no)=>Ra+no,0)+Un;if(vt.test_set_score&&la!==100&&(xt!=null&&xt.length)){de.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}lr=xt.map(Ra=>Xe(Ie({},Ra),{is_file:!1}))}vt.test_set_score||(lr=lr.map(Tn=>Xe(Ie({},Tn),{is_target:!1,target_name:""}))),(on=Ke==null?void 0:Ke.detail)!=null&&on.is_fork_from_creator&&((On=Ke==null?void 0:Ke.detail)!=null&&On.copy_for_exercise)&&(Jr!=null&&Jr.has_relation)?Ne({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:vt,type:"taskLevel",fn:(Tn,la,Ra)=>{fa(Tn,la,Ra)}}}):fa(vt)},initialValues:{test_set_rules:0}},he.createElement(Ye.Z,{activeIndex:1}),he.createElement("div",{className:ee.onePart},((ht=Ke.detail)==null?void 0:ht.identity)<3&&((ft=Ke.detail)==null?void 0:ft.unity_3d)&&((yt=Ke.detail)==null?void 0:yt.vrs_type)==1&&he.createElement(he.Fragment,null,((st=Ke.detail)==null?void 0:st.vrs_question_type)==1&&he.createElement(he.Fragment,null,he.createElement(te.default.Item,{name:"is_time_limit",valuePropName:"checked",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883"}]},he.createElement(ue.default,null,"\u5F00\u542F\u4EFB\u52A1\u5B8C\u6210\u65F6\u95F4\u9650\u5236\uFF0C\u672A\u5728\u6307\u5B9A\u65F6\u95F4\u5185\u5B8C\u6210")),Jt.is_time_limit&&he.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:10}},he.createElement("div",{style:{color:"#000000"}},"\u9650\u5236\u65F6\u957F"),he.createElement(te.default.Item,{className:"ml20",style:{marginBottom:"0px"},name:"time_limit",rules:[{required:!0,message:"\u4F5C\u4E1A\u603B\u5206\u4E0D\u80FD\u4E3A\u7A7A"}]},he.createElement(le.Z,{size:"large",style:{width:120},min:1,precision:0})),he.createElement("div",{style:{color:"#9096A3",marginLeft:10}},"\u5206\u949F")),he.createElement(te.default.Item,{name:"vrs_content",label:"\u5F15\u5BFC\u5185\u5BB9:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5F15\u5BFC\u5185\u5BB9"}]},he.createElement(ze.Z,{defaultValue:Jt.vrs_content||"",watch:!0})),he.createElement(te.default.Item,{name:"audioFiles"},he.createElement(rt.Z,{value:_n,onChange:Jn,maxSize:5e3,maxCount:1}))),he.createElement(te.default.Item,{name:"test_set_average",label:"\u91C7\u96C6\u70B9\u5F97\u5206\u89C4\u8303"},he.createElement(ae.ZP.Group,null,he.createElement(ae.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),he.createElement(ae.ZP,{value:!1},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),he.createElement("div",{style:{position:"relative"}},he.createElement(te.default.Item,{name:"test_set",label:"\u8003\u6838\u6570\u636E\u91C7\u96C6\u70B9\u4E0E\u6807\u51C6\u7B54\u6848",rules:[{required:!1,message:"\u8BF7\u6DFB\u52A0\u8003\u6838\u6570\u636E\u91C7\u96C6\u70B9\u4E0E\u6807\u51C6\u7B54\u6848"}]},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{className:ee.btns},he.createElement("div",{className:ee.uploadBtn,onClick:()=>{Nn({type:"shixunsDetail/setActionTabs",payload:{key:"\u4E0A\u4F20\u91C7\u96C6\u70B9"}})}},he.createElement("span",null,"\u4E0A\u4F20\u91C7\u96C6\u70B9")),he.createElement("div",{className:ee.addBtn,onClick:()=>{Nn({type:"shixunsDetail/setActionTabs",payload:{key:"\u6DFB\u52A0\u91C7\u96C6\u70B9"}})}},he.createElement("span",null,"\u6DFB\u52A0\u91C7\u96C6\u70B9")),(dn==null?void 0:dn.length)>0&&he.createElement("div",{className:ee.deleteBtn,onClick:()=>se.default.confirm({title:"\u63D0\u793A",centered:!0,content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E9B\u91C7\u96C6\u70B9\u5417\uFF1F",onOk:()=>zr(dn)})},he.createElement("span",null,"\u6279\u91CF\u5220\u9664"))),he.createElement(Me.t7,{className:ee.searchInput,style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u91C7\u96C6\u70B9\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Oa,onChange:vt=>{var Nt;return Na((Nt=decodeURIComponent(vt))==null?void 0:Nt.trim())}})),he.createElement(ie.default,{style:{padding:"15px 0"},pagination:!1,columns:na,dataSource:qr==null?void 0:qr.filter(vt=>{var Nt,on;return!Oa||((Nt=vt==null?void 0:vt.vrs_point_name)==null?void 0:Nt.toLowerCase().includes(Oa.toLowerCase()))||((on=vt==null?void 0:vt.vrs_point_name)==null?void 0:on.includes(Oa))}),rowKey:vt=>vt==null?void 0:vt.id,rowSelection:{selectedRowKeys:dn,onChange:vt=>{mn(vt)}}})),((pt=Ke.detail)==null?void 0:pt.vrs_question_type)==0&&he.createElement(te.default.Item,{name:"point_hint",valuePropName:"checked",style:{position:"absolute",top:10,right:0}},he.createElement(ue.default,null,"\u5BF9\u5B66\u5458\u5F00\u542F\u91C7\u96C6\u70B9\u64CD\u4F5C\u5F15\u5BFC")))),!((nt=Ke.detail)!=null&&nt.unity_3d)&&((lt=Ke.detail)==null?void 0:lt.identity)<3&&((dt=Ke.detail)==null?void 0:dt.vrs_type)!=1&&he.createElement(te.default.Item,{name:"unity_3d_routes",label:"\u8DEF\u5F84:",rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},he.createElement(be.default,{bordered:!1,disabled:((gt=Ke.detail)==null?void 0:gt.shixun_status)===2,placeholder:"\u8BF7\u8F93\u5165\u7B2C\u4E09\u65B9\u5E73\u53F0\u7684\u94FE\u63A5\u5730\u5740\u3002\u4F8B\uFF1Ahttps://..."})),((Pt=Ke.detail)==null?void 0:Pt.unity_3d)&&((At=Ke.detail)==null?void 0:At.identity)<3&&((It=Ke.detail)==null?void 0:It.vrs_type)!=1&&he.createElement(he.Fragment,null,he.createElement(te.default.Item,{name:"with_code_file",label:"\u662F\u5426\u9700\u8981\u4EE3\u7801\u8BC4\u6D4B:"},he.createElement(ae.ZP.Group,null,he.createElement(ae.ZP,{value:!0},"\u662F"),he.createElement(ae.ZP,{value:!1},"\u5426"))),Jt.with_code_file?he.createElement(te.default.Item,{name:"unity_3d_result",label:"\u8BC4\u6D4B\u7ED3\u679C\u662F\u5426\u7531 Unity3D \u51B3\u5B9A:"},he.createElement(ae.ZP.Group,null,he.createElement(ae.ZP,{value:!0},"\u662F"),he.createElement(ae.ZP,{value:!1},"\u5426"))):null,Jt.with_code_file?he.createElement(te.default.Item,{name:"unity3d_show_location",label:"Unity3D\u5185\u5BB9\u5C55\u793A\u4F4D\u7F6E:"},he.createElement(ae.ZP.Group,null,he.createElement(ae.ZP,{value:0},"\u5DE6\u4FA7\uFF08\u4EFB\u52A1\u8981\u6C42\u4E0A\u65B9\uFF09"),he.createElement(ae.ZP,{value:1},"\u53F3\u4FA7\uFF08\u53EF\u901A\u8FC7\u5B9E\u9A8C\u73AF\u5883\u5207\u6362\uFF09"))):null)),he.createElement("div",{className:ee.twoPart},Jt.with_code_file&&((Gt=Ke.detail)==null?void 0:Gt.vrs_type)!=1&&he.createElement(he.Fragment,null,he.createElement("div",{className:ee.title},"\u8BC4\u6D4B\u6587\u4EF6"),he.createElement(te.default.Item,{name:"exec_time",label:he.createElement("div",null,"\u8BC4\u6D4B\u65F6\u957F\u9650\u5236 ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u7A0B\u5E8F\u7F16\u8BD1\u3001\u6267\u884C\u6240\u5141\u8BB8\u7684\u6700\u5927\u65F6\u957F\uFF0C\u5355\u4F4D\uFF1A\u79D2\uFF09")),rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},he.createElement(be.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F",className:ee.width300})),he.createElement(te.default.Item,{label:he.createElement("div",null,"\u8BC4\u6D4B\u7ED3\u679C\u5C55\u793A\u65B9\u5F0F ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B66\u5458\u8BC4\u6D4B\u672C\u5173\u4EFB\u52A1\u65F6\uFF0C\u67E5\u770B\u6548\u679C\u9875\u4E0A\u9700\u8981\u5C55\u73B0\u7684\u6587\u4EF6\u7C7B\u578B\uFF09"))},he.createElement(te.default.Item,{name:"show_type",noStyle:!0,rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},he.createElement(Pe.default,{bordered:!1,size:"large",style:{width:600},getPopupContainer:vt=>vt.parentNode},he.createElement(je,{value:-1},"\u6D4B\u8BD5\u96C6\u5BF9\u6BD4"),he.createElement(je,{value:1},"\u56FE\u7247"),he.createElement(je,{value:2},"apk/exe"),he.createElement(je,{value:3},"txt"),he.createElement(je,{value:4},"html"),he.createElement(je,{value:5},"mp3"),he.createElement(je,{value:6},"mp4"),he.createElement(je,{value:7},"LaTeX"),he.createElement(je,{value:8},"office"),he.createElement(je,{value:9},"Verilog"))),he.createElement(ne.Z,{overlayClassName:ee.popover,placement:"bottomLeft",content:he.createElement("p",{className:"font12"},"\u56FE\u7247\uFF1A\u5904\u7406\u6216\u8F93\u51FA\u56FE\u7247\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",he.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E\u56FE\u7247\u8DEF\u5F84\u548C\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\uFF0C\u5C55\u793A\u4EE3\u7801\u5BF9\u5E94\u7684\u56FE\u7247\u6548\u679C",he.createElement("br",null),he.createElement("br",null),"apk/exe\uFF1A\u5199\u53EF\u6267\u884C\u6587\u4EF6\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",he.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\uFF0C\u5C55\u793A\u4E8C\u7EF4\u7801\u4EE5\u4F9B\u626B\u7801\u4E0B\u8F7D",he.createElement("br",null),he.createElement("br",null),"txt\uFF1A\u8F93\u51FAtxt\u6587\u6863\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",he.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\u8BBE\u7F6E\uFF0C\u5C55\u793Atxt\u6587\u4EF6\u5185\u5BB9",he.createElement("br",null),he.createElement("br",null),"html\uFF1Aweb\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",he.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7Web\u8DEF\u7531\u8BBE\u7F6E\uFF0C\u5C55\u793Ahtml\u6548\u679C\u9884\u89C8\u9875",he.createElement("br",null),he.createElement("br",null),"mp3/mp4\uFF1Amp3/mp4\u6587\u4EF6\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",he.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\u8BBE\u7F6E\uFF0C\u5C55\u793Amp3/mp4\u6587\u4EF6\u5185\u5BB9",he.createElement("br",null),he.createElement("br",null),"LaTeX\uFF1ALaTeX\u5B9E\u9A8C\u62A5\u544A\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u62E9\u6B64\u9879",he.createElement("br",null),"\u5B66\u5458\u53EF\u4EE5\u4F7F\u7528LaTeX\u7CFB\u7EDF\u64B0\u5199\u5B9E\u9A8C\u62A5\u544A\uFF0C\u6700\u7EC8\u4EE5PDF\u683C\u5F0F\u5C55\u793A",he.createElement("br",null),he.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A\u9009\u62E9\u4E86LaTeX\u7684\u5173\u5361\uFF0C\u9700\u8981\u6559\u5E08\u624B\u52A8\u5BF9\u8BE5\u5173\u5361\u8FDB\u884C\u5224\u5206"),he.createElement("br",null),he.createElement("br",null),"Office\uFF1AMicrosoftOffice\u76F8\u5173\u6587\u4EF6\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",he.createElement("br",null),"\u6CE8\u610F\uFF1A\u5B66\u751F\u4E0A\u4F20\u7684office\u6587\u4EF6\u76EE\u5F55\u662F\u5728/data/bigfiles\u76EE\u5F55\u4E0B\uFF0C\u5982\u679C\u8981\u505A\u8BC4\u6D4B\uFF0C\u8BF7\u8BFB\u53D6\u6B64\u76EE\u5F55\u7684\u6587\u4EF6",he.createElement("br",null)),trigger:"click"},he.createElement(E.Z,{className:"ml5 font24 c-light-black"}))),he.createElement(te.default.Item,{name:"path",label:he.createElement("div",null,"\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6 ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u6587\u4EF6\u5C06\u76F4\u63A5\u663E\u793A\u7ED9\u5B66\u751F\uFF0C\u9700\u8981\u5B66\u751F\u5728\u5176\u4E2D\u586B\u5199\u4EE3\u7801\uFF09")),rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},he.createElement(be.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u4EE3\u7801\u6587\u4EF6\uFF0C\u53EF\u540C\u65F6\u9009\u62E9\u591A\u4E2A\u6587\u4EF6",onClick:()=>ln("path")})),he.createElement(te.default.Item,{name:"exec_path",label:he.createElement("div",null,"\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6 ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u70B9\u51FB\u8BC4\u6D4B\u6309\u94AE\u65F6\u8C03\u7528\u7684\u6587\u4EF6\uFF0C\u7528\u4E8E\u68C0\u6D4B\u5B66\u5458\u7ED3\u679C\u662F\u5426\u6B63\u786E\uFF0C\u53EF\u4EE5\u4E0E\u201C\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u201D\u4E00\u81F4\uFF09")),rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},he.createElement(be.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u4EE3\u7801\u6587\u4EF6",onClick:()=>ln("exec_path")})),Jt.show_type===4&&(Jt.web_route||(Jr==null?void 0:Jr.has_web_route))&&he.createElement(he.Fragment,null,he.createElement(te.default.Item,{name:"proxy_port",label:he.createElement("div",null,"\u7AEF\u53E3\u53F7 ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BF7\u6CE8\u610F\u5C06\u670D\u52A1\u5668\u7A0B\u5E8F\u7684\u7AEF\u53E3\u53F7\u6620\u5C04\u5230\u4EE5\u4E0B\u7AEF\u53E3\uFF0C\u9ED8\u8BA48080\uFF09")),rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7AEF\u53E3\u53F7"},{validator:(vt,Nt)=>/^([0-9]|[1-9]\d|[1-9]\d{2}|[1-9]\d{3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$/.test(Nt)||!Nt?Promise.resolve():Promise.reject(new Error("\u7AEF\u53E3\u8F93\u5165\u8303\u56F4(0-65535)"))}]},he.createElement(be.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u51650-65535\u7684\u503C"})),he.createElement(te.default.Item,{name:"web_route",label:he.createElement("div",null,"Web\u8DEF\u7531 ",he.createElement("span",{className:"font12 c-light-black"}," \uFF08\u7F51\u7AD9\u7C7B\u578B\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u586B\u5199Web\u8DEF\u7531\u5730\u5740\uFF09"))},he.createElement(be.default,{bordered:!1,placeholder:"\u7F51\u7AD9\u7C7B\u578B\u5B9E\u8BAD\uFF0C\u8BF7\u586B\u5199Web\u8DEF\u7531\u5730\u5740\u3002\u4F8B\uFF1Ajava/mypage"}))),(Jt.show_type===1||Jt.show_type===5||Jt.show_type===6)&&he.createElement(te.default.Item,{name:"original_picture_path",label:he.createElement("div",null,"\u6E90\u6587\u4EF6\u76EE\u5F55 ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u76EE\u5F55\u7528\u4E8E\u5B58\u653E\u9700\u8981\u5904\u7406\u7684\u56FE\u7247/MP3/MP4\u7B49\u6587\u4EF6\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5355\u72EC\u7684\u6587\u4EF6\u5939\uFF09"))},he.createElement(be.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\uFF0C\u4F8B\uFF1Asrc/step1/sourcefiles",onClick:()=>ln("original_picture_path")})),Jt.show_type!==-1&&he.createElement(te.default.Item,{name:"picture_path",label:he.createElement("div",null,"\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u76EE\u5F55 ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u76EE\u5F55\u7528\u4E8E\u5B58\u653E\u5B66\u5458\u4EE3\u7801\u6267\u884C\u540E\u751F\u6210\u7684\u6587\u4EF6\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5355\u72EC\u7684\u6587\u4EF6\u5939\uFF09"))},he.createElement(be.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\uFF0C\u4F8B\uFF1Asrc/step1/outputfiles",onClick:()=>ln("picture_path")})),(Jt.show_type===1||Jt.show_type===5||Jt.show_type===6)&&he.createElement(te.default.Item,{name:"expect_picture_path",label:he.createElement("div",null,"\u6807\u51C6\u7B54\u6848\u6587\u4EF6\u76EE\u5F55 ",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u76EE\u5F55\u7528\u4E8E\u5B58\u653E\u6700\u7EC8\u4F5C\u4E3A\u53C2\u8003\u7684\u6587\u4EF6\uFF0C\u5728\u8BC4\u6D4B\u901A\u8FC7\u540E\u4F1A\u5C55\u793A\u7ED9\u5B66\u5458\u67E5\u770B\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5355\u72EC\u7684\u6587\u4EF6\u5939\uFF09"))},he.createElement(be.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\uFF0C\u4F8B\uFF1Asrc/step1/expectedfiles",onClick:()=>ln("expect_picture_path")})))),he.createElement("div",{className:ee.threePart},Jt.with_code_file&&((tn=Ke.detail)==null?void 0:tn.vrs_type)!=1&&he.createElement(he.Fragment,null,he.createElement("div",{className:ee.title},"\u8BC4\u6D4B\u89C4\u5219"),he.createElement("div",{className:ee.flexRowCenter},he.createElement(te.default.Item,{className:ee.formCustom,name:"test_set_rules",label:"\u901A\u5173\u5224\u5B9A:"},he.createElement(ae.ZP.Group,{className:"ml25"},he.createElement(ae.ZP,{className:ee.radioStyle,value:0},"\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u5BF9\u6BD4"),he.createElement(ae.ZP,{className:ee.radioStyle,value:1},"\u5B9E\u9645\u8F93\u51FA\u6EE1\u8DB3\u89C4\u5219"))),Jt.test_set_rules===1&&he.createElement(he.Fragment,null,he.createElement(te.default.Item,{name:"test_set_rules_expression",style:{marginTop:50,position:"relative",top:40},rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},he.createElement(be.default,{style:{width:400,marginLeft:-40},bordered:!1,placeholder:"\u9002\u7528\u4E8E\u8F93\u51FA\u7ED3\u679C\u52A8\u6001\u53D8\u5316\u7684\u7A0B\u5E8F"})),he.createElement(ne.Z,{overlayClassName:ee.popover,placement:"bottomLeft",content:he.createElement("p",{className:"font12"},"\u4F7F\u7528\u793A\u4F8B1\uFF1A\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u7684\u76F8\u5BF9\u8BEF\u5DEE\u57280.01\u4EE5\u5185\uFF0C\u53EF\u4F7F\u7528\u4EE5\u4E0B\u8868\u8FBE\u5F0F\uFF1A",he.createElement("br",null),"(actual-expect)/expect <= 0.01",he.createElement("br",null),"\u4F7F\u7528\u793A\u4F8B2\uFF1A\u5B9E\u9645\u8F93\u51FA\u7ED3\u679C\u5305\u542B\u67D0\u6BB5\u5B57\u7B26\u4E32hello\uFF0C\u53EF\u4F7F\u7528\u4EE5\u4E0B\u8868\u8FBE\u5F0F\uFF1A",he.createElement("br",null),'string.contains(actual, "hello")',he.createElement("br",null),he.createElement("br",null),"\u82E5\u9700\u8981\u5BF9\u8F93\u51FA\u7ED3\u679C\u4E2D\u6BCF\u4E2A\u5143\u7D20\u8FDB\u884C\u64CD\u4F5C\uFF0C\u53EF\u4F7F\u7528list\u96C6\u5408",he.createElement("br",null),"\u793A\u4F8B\u53C2\u8003\uFF1A\u5047\u8BBE\u7A0B\u5E8F\u5B9E\u9645\u8F93\u51FA\u4E3A\uFF1A100 1000 10000\uFF1B\u9884\u671F\u8F93\u51FA\u4E3A\uFF1A100.01 1000.02 10000.05",he.createElement("br",null),"\u8BC4\u6D4B\u8981\u6C42\uFF1A\u5B9E\u9645\u8F93\u51FA\u5217\u8868\u4E2D\u5143\u7D20\u4E0E\u9884\u671F\u8F93\u51FA\u5217\u8868\u4E2D\u5BF9\u5E94\u5143\u7D20\u76F8\u5BF9\u8BEF\u5DEE\u57280.01 \u4E4B\u5185\uFF0C\u53EF\u4F7F\u4EE5\u4E0B\u8868\u8FBE\u5F0F\uFF1A",he.createElement("br",null),"list.forEach( 'math.abs( (actualElem-expectElem)/expectElem ) <= 0.01 ' )",he.createElement("br",null),he.createElement("br",null),he.createElement("a",{href:"https://www.educoder.net/forums/4346",target:"_blank",style:{background:"#0152d9",color:"#fff"}},"\u70B9\u51FB\u67E5\u770B\u8BE6\u60C5\u8BF4\u660E"),he.createElement("br",null)),trigger:"click"},he.createElement(E.Z,{style:{padding:"114px 0 0 9px"},className:"font24 c-light-black"})))),he.createElement(te.default.Item,{className:ee.formCustom,name:"ignore_space",label:"\u7A7A\u683C\u5904\u7406:"},he.createElement(ae.ZP.Group,{className:"ml25"},he.createElement(ae.ZP,{className:ee.radioStyle,value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),he.createElement(ae.ZP,{className:ee.radioStyle,value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),he.createElement(ae.ZP,{className:ee.radioStyle,value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C",he.createElement("span",{className:"font12 c-light-black"},"(\u8BC4\u6D4B\u8FC7\u7A0B\u4E2D\u81EA\u52A8\u53BB\u6389\u6240\u6709\u7A7A\u683C\u8FDB\u884C\u5BF9\u6BD4)")))))),he.createElement("div",{className:ee.fourPart},Jt.with_code_file&&((pn=Ke.detail)==null?void 0:pn.vrs_type)!=1&&he.createElement(he.Fragment,null,he.createElement("div",{className:ee.title},"\u6D4B\u8BD5\u96C6"),he.createElement(te.default.Item,{className:ee.testJi,name:"test_set_score",label:"\u5F97\u5206\u89C4\u8303:"},he.createElement(ae.ZP.Group,{className:"ml25"},he.createElement(ae.ZP,{value:!1,className:ee.radioStyle},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u80FD\u83B7\u5F97\u91D1\u5E01\uFF09")),he.createElement(ae.ZP,{value:!0,className:ee.radioStyle},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u90E8\u5206\u6D4B\u8BD5\u96C6\u6B63\u786E\u65F6\uFF0C\u6309\u914D\u7F6E\u7684\u6BD4\u4F8B\u83B7\u5F97\u91D1\u5E01\uFF09")))),Jt.test_set_score&&he.createElement("div",{className:ee.averageWarp},he.createElement(te.default.Item,{className:ee.averageCustom,name:"test_set_average",label:""},he.createElement(ae.ZP.Group,null,he.createElement(ae.ZP,{style:{margin:"0 40px 0 20px"},value:!0},"\u5747\u5206\u6BD4\u4F8B"),he.createElement(ae.ZP,{value:!1},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B")))),Jt.test_set_score&&he.createElement("div",null,he.createElement("div",{style:{display:"flex",height:"30px",marginBottom:"10px",paddingLeft:"93px"}},he.createElement(ue.default,{checked:Yn,style:{display:"flex",alignItems:"center"},className:ee.checkboxs,onChange:vt=>{kt(vt.target.checked),bn.setFieldsValue({code_compile_score:0}),Jt.test_set_average&&(Jt.is_file?Gr(sr):hr(xt))}},"\u542F\u7528\u7F16\u8BD1\u901A\u8FC7\u5373\u53EF\u5F97\u5206"),Yn&&he.createElement("span",{style:{display:"flex"}},he.createElement(te.default.Item,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F16\u8BD1\u5F97\u5206"}],name:"code_compile_score"},he.createElement(le.Z,{onChange:()=>{Jt.test_set_average&&(Jt.is_file?Gr(sr):hr(xt))},parser:vt=>isNaN(parseInt(vt))?"":parseInt(vt),min:0,max:100,style:{width:"85px",margin:"5px 0px",fontSize:"14px"}}))," ",he.createElement("span",{style:{display:"flex",alignItems:"center",marginLeft:"5px",marginTop:10}},"%",he.createElement("div",{style:{color:"#999",fontSize:"12px"}},"\uFF08\u8BF7\u6CE8\u610F\u8BE5\u5B9E\u8BAD\u9898\u662F\u5426\u6709\u7F16\u8BD1\u8FC7\u7A0B\uFF0C\u82E5\u6CA1\u6709\u5219\u65E0\u6CD5\u83B7\u5F97\u7F16\u8BD1\u5F97\u5206\uFF09"))))),he.createElement(te.default.Item,{className:ee.testJi,name:"is_file",label:"\u7528\u4F8B\u7C7B\u578B:"},he.createElement(ae.ZP.Group,{className:"ml25"},he.createElement(a.Z,{direction:"horizontal"},he.createElement(ae.ZP,{value:!1,className:ee.radioStyle},"\u6587\u672C"),he.createElement(ae.ZP,{value:!0,className:ee.radioStyle},"\u6587\u4EF6")))),he.createElement("div",{style:{marginTop:"20px"},className:ee.upBtn},!Jt.is_file&&he.createElement(y.ZP,{ghost:!0,disabled:$t.every(vt=>!vt),type:"primary",className:"mb20",style:{right:"345px"},onClick:()=>en(!0)},"\u6279\u91CF\u8BBE\u7F6E"),he.createElement(y.ZP,{ghost:!0,type:"primary",className:"mb20",style:{right:"174px"},onClick:()=>kr()},"\u4E00\u952E\u5220\u9664\u6D4B\u8BD5\u7528\u4F8B"),he.createElement(y.ZP,{ghost:!0,type:"primary",className:"mb20",style:{right:"4px"},onClick:()=>Rt(!0)},"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"),Jt.is_file&&he.createElement(et.Y2,{showEvaluatingSetting:!0,onEvaluatingChange:Xa,checkAll1:Ir,checkAll2:sa,checkAll3:Cn,checkAll4:xn,checkAll5:br,onSelectAll:Ta,disabled:Jt==null?void 0:Jt.test_set_average,inputChange:xa,showScore:Jt==null?void 0:Jt.test_set_score,data:sr,onRemove:Ca})),!Jt.is_file&&he.createElement(ue.default,{checked:$t.every(vt=>!!vt),onChange:vt=>{const Nt=$t.map(()=>vt.target.checked);$n(Nt),Rn(vt.target.checked)}},"\u5168\u9009"),!Jt.is_file&&xt.map((vt,Nt)=>he.createElement("div",{className:ee.groupWrap,key:Nt},he.createElement("div",{className:"font16"},he.createElement(ue.default,{checked:$t[Nt],onChange:on=>{console.log($t);const On=[...$t];On[Nt]=on.target.checked;const Un=On.every(Tn=>Tn);$n(On),Rn(Un)}}),he.createElement("span",{className:"mr10 ml5"},"\u7EC4",Nt+1," : "),Jt.test_set_score&&he.createElement("span",{style:{marginRight:100}},he.createElement(le.Z,{style:{width:85},value:vt.score,precision:0,min:0,max:100,onBlur:on=>{if(Number(on)<0||Number(on)>100){de.ZP.info("\u6D4B\u8BD5\u7528\u4F8B\u7684\u6743\u91CD\u6BD4\u4F8B\u503C\u9650\u5236\u4E3A 0-100");const On=xt.map((Tn,la)=>la===Nt?Xe(Ie({},Tn),{score:100}):Tn),Un={test_set_average:!1};ir(Ie(Ie({},Jt),Un)),bn.setFieldsValue(Un),Et(On)}},onChange:on=>{const On=xt.map((Tn,la)=>la===Nt?Xe(Ie({},Tn),{score:on?Number(on):0}):Tn),Un={test_set_average:!1};ir(Ie(Ie({},Jt),Un)),bn.setFieldsValue(Un),Et(On)}}),he.createElement("span",{className:"ml10 mr10"},"%")),Jt.test_set_score&&he.createElement(ue.default,{className:"font14 ml5",checked:vt.is_target,onChange:on=>{const On=xt.map((Un,Tn)=>Tn===Nt?Xe(Ie({},Un),{is_target:on.target.checked}):Un);Et(On)}},"\u6307\u6807\u6D4B\u8BD5\u96C6",he.createElement(x.Z,{title:"\u5982\u9700\u8981\u8F93\u51FA\u6307\u6807\uFF0C\u53EF\u4EE5\u52FE\u9009\u6307\u6807\u6D4B\u6D4B\u8BD5\u96C6\uFF0C\u5E76\u5BF9\u6307\u6807\u8FDB\u884C\u547D\u540D\u3002\u6559\u5E08\u53EF\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u5B9E\u8BAD\u62A5\u544A\u9875\u9762\u67E5\u770B\u5B66\u751F\u7684\u6307\u6807\u662F\u5426\u5408\u683C\u3002\u6307\u6807\u5F97\u5206\u8BA1\u5165\u6700\u7EC8\u6210\u7EE9"},he.createElement(E.Z,{className:"ml5 font12 c-light-black"}))," "),vt.is_target&&Jt.test_set_score&&he.createElement(be.default,{value:vt.target_name,maxLength:30,style:{width:"50%"},onChange:on=>{const On=xt.map((Un,Tn)=>Tn===Nt?Xe(Ie({},Un),{target_name:on.target.value}):Un);Et(On)}}),he.createElement("span",{className:"tr flex1",style:{float:"right"}},Nt!==0&&he.createElement(x.Z,{placement:"bottom",title:"\u5220\u9664"},he.createElement("span",{className:"font16 c-red current",onClick:()=>{const on=xt.filter((Un,Tn)=>Tn!==Nt),On=$t.filter((Un,Tn)=>Tn!==Nt);$n(On),hr(on)}},"\u5220\xA0\u9664")))),he.createElement(Ee,{bordered:!1,className:"mt10",rows:5,placeholder:"\u8F93\u5165",value:vt.input,onChange:on=>{const On=xt.map((Un,Tn)=>Tn===Nt?Xe(Ie({},Un),{input:on.target.value}):Un);Et(On)}}),he.createElement(Ee,{bordered:!1,className:"mt10",rows:5,placeholder:"\u9884\u671F\u8F93\u51FA",value:vt.output,onChange:on=>{const On=xt.map((Un,Tn)=>Tn===Nt?Xe(Ie({},Un),{output:on.target.value}):Un);Et(On)}}),he.createElement("div",{className:"mt10"},he.createElement("span",{className:"font14 mr15"},"\u53EF\u89C1\u6027: ",he.createElement(x.Z,{title:he.createElement("div",null,he.createElement("span",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),he.createElement("br",null),he.createElement("span",null,"\u9690\u85CF\u8F93\u5165\uFF1A\u52FE\u9009\u540E\u6D4B\u8BD5\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),he.createElement("br",null),he.createElement("span",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),he.createElement("br",null),he.createElement("span",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),he.createElement("br",null))},he.createElement(E.Z,{className:"ml5 font12 c-light-black"}))),he.createElement(ue.default,{checked:vt.hidden===1,onChange:on=>{const On=xt.map((Un,Tn)=>Tn===Nt?Xe(Ie({},Un),{hidden:on.target.checked?1:0,input_visible:on.target.checked,is_invisible:on.target.checked,actual_output_visible:on.target.checked}):Un);Et(On)}},he.createElement("span",{className:"font14"},"\u5168\u90E8\u9690\u85CF")),he.createElement(ue.default,{checked:vt.hidden===1?!0:vt.input_visible,onChange:on=>{const On=xt.map((Un,Tn)=>{if(Tn===Nt){const la=on.target.checked&&vt.is_invisible&&vt.actual_output_visible?1:0;return Xe(Ie({},Un),{input_visible:on.target.checked,hidden:la})}return Un});Et(On)}},he.createElement("span",{className:"font14"},"\u9690\u85CF\u8F93\u5165")),he.createElement(ue.default,{checked:vt.hidden===1?!0:vt.is_invisible,onChange:on=>{const On=xt.map((Un,Tn)=>{if(Tn===Nt){const la=on.target.checked&&vt.actual_output_visible&&vt.input_visible?1:0;return Xe(Ie({},Un),{is_invisible:on.target.checked,hidden:la})}return Un});Et(On)}},he.createElement("span",{className:"font14"},"\u9690\u85CF\u9884\u671F\u8F93\u51FA")),he.createElement(ue.default,{checked:vt.hidden===1?!0:vt.actual_output_visible,onChange:on=>{const On=xt.map((Un,Tn)=>{if(Tn===Nt){const la=on.target.checked&&vt.is_invisible&&vt.input_visible?1:0;return Xe(Ie({},Un),{actual_output_visible:on.target.checked,hidden:la})}return Un});Et(On)}},he.createElement("span",{className:"font14"},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA"))),he.createElement("div",null,he.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),he.createElement(ue.default,{checked:vt.last_match_rule,onChange:on=>{const On=xt.map((Un,Tn)=>Tn===Nt?Xe(Ie({},Un),{last_match_rule:on.target.checked}):Un);Et(On)}},he.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))),!Jt.is_file&&he.createElement("div",null,he.createElement(y.ZP,{type:"primary",ghost:!0,className:"mt10",onClick:ua},"\u65B0\u589E\u6D4B\u8BD5\u96C6"),he.createElement("span",{className:" ml20 mt10 font12 c-light-black"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u516C\u5F00\u6D4B\u8BD5\u96C6\u548C\u9690\u85CF\u6D4B\u8BD5\u96C6\u7ED3\u5408\u4F7F\u7528\uFF0C\u53EF\u4EE5\u964D\u4F4E\u4F5C\u5F0A\u7684\u673A\u7387\uFF1B\u9690\u85CF\u6D4B\u8BD5\u96C6\uFF0C\u5728\u201C\u63D0\u4EA4\u8BC4\u6D4B\u201D\u65F6\u4E5F\u5C06\u88AB\u7CFB\u7EDF\u81EA\u52A8\u68C0\u6D4B"))))),he.createElement(Ue,{fileType:Er,path:Jt==null?void 0:Jt[Er],onFinish:vt=>An(vt)})),he.createElement(re.t,{key:2,onOk:()=>bn.submit(),className:"customFixedButton",onCancel:ta}),he.createElement(it.Z,{loading:yr}),he.createElement(et.ZP,{rootIdentifier:(gn=Ke==null?void 0:Ke.detail)==null?void 0:gn.root_identifier,visible:Ht,onClose:()=>Rt(!1),onOK:gr,multiple:!0,defaultMultipleValue:Jt==null?void 0:Jt.is_file}),he.createElement(se.default,{open:Kt,onOk:()=>{const vt=xt.map((Nt,on)=>$t[on]?(console.log(Ie({},Nt)),console.log(Ie({},Vt)),console.log(Ie(Ie({},Nt),Vt)),Ie(Ie({},Nt),Vt)):Nt);Et(vt),Sn({hidden:0,input_visible:!1,is_invisible:!1,actual_output_visible:!1,last_match_rule:!1}),en(!1)},centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:()=>{Sn({hidden:0,input_visible:!1,is_invisible:!1,actual_output_visible:!1,last_match_rule:!1}),en(!1)},width:586,title:"\u6279\u91CF\u8BBE\u7F6E"},he.createElement("div",null,he.createElement("span",{className:"font14 mr15"},"\u53EF\u89C1\u6027: ",he.createElement(x.Z,{title:he.createElement("div",null,he.createElement("span",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),he.createElement("br",null),he.createElement("span",null,"\u9690\u85CF\u8F93\u5165\uFF1A\u52FE\u9009\u540E\u6D4B\u8BD5\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),he.createElement("br",null),he.createElement("span",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),he.createElement("br",null),he.createElement("span",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),he.createElement("br",null))},he.createElement(E.Z,{className:"ml5 font12 c-light-black"}))),he.createElement(ue.default,{checked:Vt.hidden===1,onChange:vt=>{Sn(Xe(Ie({},Vt),{hidden:vt.target.checked?1:0,input_visible:vt.target.checked,is_invisible:vt.target.checked,actual_output_visible:vt.target.checked}))}},he.createElement("span",{className:"font14 mr10"},"\u5168\u90E8\u9690\u85CF")),he.createElement(ue.default,{checked:Vt.input_visible,onChange:vt=>{const Nt=vt.target.checked&&Vt.is_invisible&&Vt.actual_output_visible?1:0;Sn(Xe(Ie({},Vt),{hidden:Nt,input_visible:vt.target.checked}))}},he.createElement("span",{className:"font14 mr10"},"\u9690\u85CF\u8F93\u5165")),he.createElement(ue.default,{checked:Vt.is_invisible,onChange:vt=>{const Nt=vt.target.checked&&Vt.input_visible&&Vt.actual_output_visible?1:0;Sn(Xe(Ie({},Vt),{hidden:Nt,is_invisible:vt.target.checked}))}},he.createElement("span",{className:"font14 mr10"},"\u9690\u85CF\u9884\u671F\u8F93\u51FA")),he.createElement(ue.default,{checked:Vt.actual_output_visible,onChange:vt=>{const Nt=vt.target.checked&&Vt.input_visible&&Vt.is_invisible?1:0;Sn(Xe(Ie({},Vt),{hidden:Nt,actual_output_visible:vt.target.checked}))}},he.createElement("span",{className:"font14"},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA")),he.createElement("div",{className:"mt10"},he.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),he.createElement(ue.default,{checked:Vt.last_match_rule,onChange:vt=>{Sn(Xe(Ie({},Vt),{last_match_rule:vt.target.checked}))}},he.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",he.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))),he.createElement(se.default,{zIndex:1001,width:600,centered:!0,title:Ke.actionTabs.key,open:["\u7F16\u8F91\u8BBE\u7F6E\u9879","\u6DFB\u52A0\u8BBE\u7F6E\u9879"].includes(Ke.actionTabs.key),onCancel:()=>{Nn({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:()=>Wn.submit(),afterClose:()=>{Wn.resetFields(),Ka(null)}},he.createElement(te.default,{form:Wn,className:"mt10",labelCol:{span:5},wrapperCol:{span:20},onFinish:vt=>{if(Ke.actionTabs.key=="\u7F16\u8F91\u8BBE\u7F6E\u9879"){let Nt=Pa.findIndex(on=>on.id==Ke.actionTabs.params.id);Pa[Nt]=Ie(Ie({},Pa[Nt]),vt),ka([...Pa])}else ka([...Pa,Xe(Ie({},vt),{id:new Date().getTime()})]);Ne({type:"shixunsDetail/setActionTabs",payload:{}})},colon:!1,size:"large",labelAlign:"right"},he.createElement(te.default.Item,{label:"\u76EE\u6807",name:"target",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u76EE\u6807\u540D\u79F0"}]},he.createElement(be.default,{placeholder:"\u8BF7\u8F93\u5165\u76EE\u6807\u540D\u79F0",maxLength:20})),he.createElement(te.default.Item,{label:"\u8BBE\u7F6E\u9879\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BBE\u7F6E\u9879\u540D\u79F0"}]},he.createElement(be.default,{placeholder:"\u8BF7\u8F93\u5165\u8BBE\u7F6E\u9879\u540D\u79F0\uFF0C\u6700\u5927\u652F\u630120\u4E2A\u5B57\u7B26",maxLength:20})),he.createElement(te.default.Item,{label:"\u6001\u52BF\u503C",name:"value",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6001\u52BF\u503C"}]},he.createElement(be.default,{placeholder:"\u8BF7\u8F93\u5165\u6001\u52BF\u503C\uFF0C\u6700\u5927\u652F\u630120\u4E2A\u5B57\u7B26",maxLength:20})))),he.createElement(se.default,{zIndex:1001,width:600,centered:!0,title:Ke.actionTabs.key,open:["\u7F16\u8F91\u91C7\u96C6\u70B9","\u6DFB\u52A0\u91C7\u96C6\u70B9"].includes(Ke.actionTabs.key),onCancel:()=>{Nn({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:()=>jn.submit(),afterClose:()=>{jn.resetFields(),Ka(null)}},he.createElement(te.default,{form:jn,className:"mt10",labelCol:{span:5},wrapperCol:{span:20},onFinish:vt=>{if(Ke.actionTabs.key=="\u7F16\u8F91\u91C7\u96C6\u70B9"){let Nt=qr.findIndex(on=>on.id==Ke.actionTabs.params.id);qr[Nt]=Ie(Ie({},qr[Nt]),vt),Mt([...qr])}else{let Nt=vt.vrs_point_name.map(On=>Xe(Ie({},vt),{vrs_point_name:On,id:On})),on=Nt.map(On=>Xe(Ie({},On),{score:0}));console.log(vt.vrs_point_name,Nt),Jt.test_set_average?Dr([...qr,...Nt]):Mt([...qr,ppointArr1])}Ne({type:"shixunsDetail/setActionTabs",payload:{}})},onValuesChange:(vt,Nt)=>{vt.vrs_point_answer_type&&jn.setFieldsValue({vrs_point_answer_value:""}),xr(Ie({},Nt))},initialValues:{vrs_env_id:(sn=Ke==null?void 0:Ke.detail)==null?void 0:sn.vrs_env_id,vrs_subject_id:(En=Ke==null?void 0:Ke.detail)==null?void 0:En.vrs_subject_id},colon:!1,size:"large",labelAlign:"right"},he.createElement(te.default.Item,{name:"vrs_env_id",label:"\u5173\u8054\u4EFF\u771F\u73AF\u5883",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883"}]},he.createElement(Pe.default,{placeholder:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:vt=>vt.parentNode},Ar==null?void 0:Ar.map(vt=>he.createElement(je,{value:vt.id},`${vt.name}\uFF08${vt.url}\uFF09`)))),he.createElement(te.default.Item,{name:"vrs_subject_id",label:"\u5173\u8054\u79D1\u76EE",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE"}]},he.createElement(Pe.default,{placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:vt=>vt.parentNode},(Dn=Ar==null?void 0:Ar.filter(vt=>{var Nt;return vt.id==((Nt=Ke==null?void 0:Ke.detail)==null?void 0:Nt.vrs_env_id)})[0])==null?void 0:Dn.vrs_subjects.map(vt=>he.createElement(je,{value:vt.id},vt.name)))),he.createElement(te.default.Item,{label:"\u91C7\u96C6\u70B9",name:"vrs_point_name",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u91C7\u96C6\u70B9"}]},he.createElement(Pe.default,{placeholder:"\u8BF7\u9009\u62E9\u91C7\u96C6\u70B9",mode:Ke.actionTabs.key=="\u7F16\u8F91\u91C7\u96C6\u70B9"?void 0:"multiple",size:"large",style:{width:"100%",height:40},className:ee.multiSelect},(un=Ar==null?void 0:Ar.filter(vt=>{var Nt;return vt.id==((Nt=Ke==null?void 0:Ke.detail)==null?void 0:Nt.vrs_env_id)})[0])==null?void 0:un.vrs_points.map(vt=>he.createElement(je,{value:vt.name},vt.name)))),he.createElement(te.default.Item,{label:"\u7B54\u6848\u503C\u7C7B\u578B",name:"vrs_point_answer_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B54\u6848\u503C\u7C7B\u578B"}]},he.createElement(Pe.default,{placeholder:"\u8BF7\u9009\u62E9\u7B54\u6848\u503C\u7C7B\u578B"},he.createElement(Pe.default.Option,{value:0},"\u56FA\u5B9A\u503C"),he.createElement(Pe.default.Option,{value:1},"\u533A\u95F4\u503C"),he.createElement(Pe.default.Option,{value:2},"\u72B6\u6001\u503C"))),he.createElement(te.default.Item,{shouldUpdate:(vt,Nt)=>vt.vrs_point_answer_type!==Nt.vrs_point_answer_type,noStyle:!0},({getFieldValue:vt})=>{const Nt=vt("vrs_point_answer_type");return he.createElement(te.default.Item,{label:"\u7B54\u6848",name:"vrs_point_answer_value",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B54\u6848"},{validator:(on,On)=>{if(Nt===1&&On){if(!/^\d+-\d+$/.test(On))return Promise.reject(new Error('\u533A\u95F4\u503C\u683C\u5F0F\u5E94\u4E3A"\u6570\u5B57-\u6570\u5B57"\uFF0C\u5982\uFF1A1-5'));const[Tn,la]=On.split("-").map(Number);if(Tn>=la)return Promise.reject(new Error("\u533A\u95F4\u503C\u5DE6\u8FB9\u6570\u5B57\u5FC5\u987B\u5C0F\u4E8E\u53F3\u8FB9\u6570\u5B57"))}return Promise.resolve()}}]},he.createElement(be.default,{placeholder:Nt===1?"\u8BF7\u8F93\u5165\u533A\u95F4\u503C\uFF0C\u683C\u5F0F\u5982\uFF1A1-5":"\u8BF7\u8F93\u5165\u7B54\u6848\uFF0C\u6700\u5927\u652F\u630120\u4E2A\u5B57\u7B26",maxLength:20}))}),Jt.point_hint&&he.createElement(he.Fragment,null,he.createElement(te.default.Item,{name:"vrs_position",label:"\u5F15\u5BFC\u987A\u5E8F"},he.createElement(le.Z,{placeholder:"\u8BF7\u8F93\u5165\u5F15\u5BFC\u987A\u5E8F",min:0,precision:0,controls:!1,style:{width:"100%"}})),he.createElement(te.default.Item,{name:"vrs_content",label:"\u5F15\u5BFC\u5185\u5BB9"},he.createElement(be.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u5F15\u5BFC\u5185\u5BB9",style:{height:100}}))))),he.createElement(se.default,{zIndex:1001,width:800,centered:!0,title:"\u4E0A\u4F20\u91C7\u96C6\u70B9",open:Ke.actionTabs.key=="\u4E0A\u4F20\u91C7\u96C6\u70B9",onCancel:()=>{Nn({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:()=>{bn.submit()}},he.createElement(te.default,{form:bn,className:"mt10",layout:"vertical",onFinish:vt=>{if((kn==null?void 0:kn.length)<=0){de.ZP.info("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}}},he.createElement(te.default.Item,{name:"vrs_env_id",label:"\u5173\u8054\u4EFF\u771F\u73AF\u5883",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883"}]},he.createElement(Pe.default,{placeholder:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:vt=>vt.parentNode},Ar==null?void 0:Ar.map(vt=>he.createElement(je,{value:vt.id},`${vt.name}\uFF08${vt.url}\uFF09`)))),he.createElement(te.default.Item,{name:"vrs_subject_id",label:"\u5173\u8054\u79D1\u76EE",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE"}]},he.createElement(Pe.default,{placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:vt=>vt.parentNode},(qn=Ar==null?void 0:Ar.filter(vt=>{var Nt;return vt.id==((Nt=Ke==null?void 0:Ke.detail)==null?void 0:Nt.vrs_env_id)})[0])==null?void 0:qn.vrs_subjects.map(vt=>he.createElement(je,{value:vt.id},vt.name)))),he.createElement("div",{className:"mb30"},he.createElement("span",{className:ee.uploadTips},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),he.createElement("a",{className:`${ee.downloadBtn} ml30`,href:Re.Z.API_SERVER+"/api/item_banks/down_template",download:!0},he.createElement("i",{className:"iconfont icon-xiazai4 mr5 font14"}),"\u4E0B\u8F7D\u6A21\u7248")),he.createElement("div",{className:"flex item-center"},he.createElement(b.default,{onRemove:()=>{rn([])},beforeUpload:vt=>{if(console.log(vt),(vt==null?void 0:vt.size)>1024*1024*50)return de.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;let Nt=[];return Nt.push(vt),rn([...Nt]),!1},fileList:kn,accept:".xls,.xlsx",showUploadList:!1},he.createElement("div",{className:ee.uploadBtn},he.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}}),"\u7ACB\u5373\u4E0A\u4F20")),kn.map((vt,Nt)=>he.createElement("div",{key:vt.uid,className:ee.fileItem},he.createElement("span",{className:"file-name"},vt.name),he.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:14,cursor:"pointer"},onClick:()=>rn(kn.filter(on=>on.uid!==vt.uid))})))))))};var Ze=(0,ot.connect)(({shixunsDetail:Ke,newCourse:Ne,globalSetting:at,practiceSetting:ht})=>({shixunsDetail:Ke,newCourse:Ne,globalSetting:at,practiceSetting:ht}))(Be)},3745:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return y}});var he=Ae(59301),ot=Ae(8591),E=Ae(54580),Pe=Ae(3113),be=Ae(85386),oe=Object.defineProperty,te=Object.defineProperties,se=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ae=(x,b,z)=>b in x?oe(x,b,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[b]=z,ie=(x,b)=>{for(var z in b||(b={}))le.call(b,z)&&ae(x,z,b[z]);if(de)for(var z of de(b))ue.call(b,z)&&ae(x,z,b[z]);return x},ne=(x,b)=>te(x,se(b)),y=({value:x=[],onChange:b,maxSize:z=50,maxCount:ee=10,isEdit:re=!1})=>{const ce=fe=>{if(fe===0)return"0B";const ye=1024,Se=["B","KB","MB","GB"],Oe=Math.floor(Math.log(fe)/Math.log(ye));return`${parseFloat((fe/Math.pow(ye,Oe)).toFixed(1))}${Se[Oe]}`},me=fe=>{const ye=[".mp3",".flac",".wav"],Se=fe.toLowerCase().substring(fe.lastIndexOf("."));return ye.includes(Se)},ve=fe=>me(fe.name)?fe.size/1024/1024=ee?(ot.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${ee}\u4E2A\u97F3\u9891\u6587\u4EF6`),!1):!0:(ot.ZP.error(`\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7${z}MB`),!1):(ot.ZP.error("\u4EC5\u652F\u6301MP3\u3001FLAC\u3001WAV\u683C\u5F0F\u7684\u97F3\u9891\u6587\u4EF6"),!1),ge=fe=>{const{file:ye}=fe;if(ye.status==="uploading"){const Se=x.findIndex(Ce=>Ce.uid===ye.uid);let Oe;if(Se>=0)Oe=[...x],Oe[Se]=ne(ie({},Oe[Se]),{status:"uploading",percent:ye.percent||0});else{const Ce={uid:ye.uid,name:ye.name,size:ye.size,file:ye.originFileObj,status:"uploading",percent:ye.percent||0};Oe=[...x,Ce]}b==null||b(Oe);return}if(ye.status==="done"){const Se=x.map(Oe=>Oe.uid===ye.uid?ne(ie({},Oe),{status:"done",percent:100,response:ye.response}):Oe);b==null||b(Se),ot.ZP.success(`${ye.name} \u4E0A\u4F20\u6210\u529F`)}if(ye.status==="error"){const Se=x.map(Oe=>Oe.uid===ye.uid?ne(ie({},Oe),{status:"error",percent:0}):Oe);b==null||b(Se),ot.ZP.error(`${ye.name} \u4E0A\u4F20\u5931\u8D25`)}},pe=fe=>{const ye=x.filter(Se=>Se.uid!==fe);b==null||b(ye)};return console.log("value",x),he.createElement("div",{className:"audio-upload-container",style:{display:"flex",alignItems:"flex-start",gap:"16px"}},he.createElement(E.default,{action:`${be.Z.API_SERVER}/api/attachments.json`,beforeUpload:ve,onChange:ge,accept:".mp3,.flac,.wav",showUploadList:!1,multiple:!1,withCredentials:!0,name:"file",maxCount:ee},he.createElement(Pe.ZP,{type:"primary",style:{height:"38px",padding:"4px 27px"}},"\u4E0A\u4F20\u97F3\u9891")),he.createElement("div",{className:"audio-file-list"},x==null?void 0:x.map((fe,ye)=>{var Se,Oe;const Ce=fe.status==="uploading";return he.createElement("div",{key:fe.uid,className:"audio-file-item",style:{marginBottom:8}},he.createElement("div",{className:"audio-file-info",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},he.createElement("div",{style:{display:"flex",alignItems:"center",flex:1}},he.createElement("i",{className:"iconfont icon-wenjian8",style:{color:"#3061D0",fontSize:16,marginRight:4}}),he.createElement("div",{style:{flex:1}},he.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:Ce?4:0}},he.createElement("span",{className:"file-name",style:{marginRight:8}},((Se=fe==null?void 0:fe.response)==null?void 0:Se.filename)||(fe==null?void 0:fe.name)),he.createElement("span",{className:"file-size"},ce(((Oe=fe==null?void 0:fe.response)==null?void 0:Oe.size)||fe.size))),Ce&&fe.percent!==void 0&&he.createElement("div",{style:{width:"100%"}},he.createElement("div",{style:{height:2,backgroundColor:"#f0f0f0",borderRadius:1,overflow:"hidden"}},he.createElement("div",{style:{height:"100%",backgroundColor:"#1890ff",width:`${fe.percent}%`,transition:"width 0.3s ease"}}))))),he.createElement("div",{style:{marginLeft:8}},he.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#CCCCCC",fontSize:16,cursor:"pointer"},onClick:()=>pe(fe.uid)}))))})))}},36619:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return be}});var he=Ae(59301),ot=Ae(43418),E=Ae(92123);const Pe=({activeIndex:oe,isEdit:te=!0,dispatch:se,practiceSetting:de,shixunsDetail:le})=>{var ue;const ae=(0,E.useParams)(),{id:ie,challengesId:ne}=ae,a=(ue=le==null?void 0:le.detail)==null?void 0:ue.is_client_unity_3d,y=(0,he.useMemo)(()=>[{name:a?"\u9898\u76EE\u8BBE\u7F6E":"\u672C\u5173\u4EFB\u52A1",url:`/shixuns/${ie}/edit/${ne}/editcheckpoint`},{name:a?"\u4EFF\u771F\u73AF\u5883\u8BBE\u7F6E":"\u8BC4\u6D4B\u8BBE\u7F6E",url:`/shixuns/${ie}/edit/${ne}/tab=2`},{name:"\u53C2\u8003\u7B54\u6848",url:`/shixuns/${ie}/edit/${ne}/tab=3`},{name:"\u5173\u5361\u6392\u884C\u699C",url:`/shixuns/${ie}/edit/${ne}/tab=4`}],[ie,ne]),x=b=>{var z;const ee=()=>{E.history.push(b),se({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(z=de==null?void 0:de.sideBar)!=null&&z.confirmLeave?ot.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ee()}}):ee()};return he.createElement("ul",{className:"challenge-nav"},te?y.map((b,z)=>oe===z?he.createElement("li",{key:b.url}," ",he.createElement("a",{className:"active"},b.name)," "):he.createElement("li",{key:b.url}," ",he.createElement("a",{onClick:()=>x(b.url)},b.name)," ")):he.createElement("li",{key:y[0].url}," ",he.createElement("a",{className:"active"},y[0].name)," "))};var be=(0,E.connect)(({globalSetting:oe,practiceSetting:te,shixunsDetail:se})=>({globalSetting:oe,practiceSetting:te,shixunsDetail:se}))(Pe)},47470:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return be}});var he=Ae(59301),ot=Ae(71418),E={loading:"loading___lueiN"},be=({loading:oe})=>oe?he.createElement("div",{className:E.loading},he.createElement(ot.Z,null)):he.createElement(he.Fragment,null)},53935:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Y2:function(){return De},ZP:function(){return ke}});var he=Ae(59301),ot=Ae(54580),E=Ae(8591),Pe=Ae(43418),be=Ae(95237),oe=Ae(5112),te=Ae(3113),se=Ae(24905),de=Ae(6848),le=Ae(92832),ue={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8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IlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ie=Ae(47257),ne=Ae.n(ie),a=Ae(43597),y=Ae(1012),x=Ae(94601),b=Ae(25561),z=Ae(59301),ee=Object.defineProperty,re=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,pe=(Ue,et,Ge)=>et in Ue?ee(Ue,et,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ue[et]=Ge,fe=(Ue,et)=>{for(var Ge in et||(et={}))ve.call(et,Ge)&&pe(Ue,Ge,et[Ge]);if(me)for(var Ge of me(et))ge.call(et,Ge)&&pe(Ue,Ge,et[Ge]);return Ue},ye=(Ue,et)=>re(Ue,ce(et)),Se=(Ue,et,Ge)=>new Promise((it,Qe)=>{var Ye=Re=>{try{Me(Ge.next(Re))}catch(ze){Qe(ze)}},Ve=Re=>{try{Me(Ge.throw(Re))}catch(ze){Qe(ze)}},Me=Re=>Re.done?it(Re.value):Promise.resolve(Re.value).then(Ye,Ve);Me((Ge=Ge.apply(Ue,et)).next())});const{Dragger:Oe}=ot.default,Ce=Ue=>{const et=ze=>ze&&ze.substring(0,ze.lastIndexOf("."));for(var Ge=[...Ue],it=0,Qe=[],Ye=0;Ye{if(ze.forEach(rt=>{let $e=rt.name.split(/\.(?=[^\.]+$)/);rt.name=`${$e[0]}.${$e[1].toLowerCase()}`}),ze[0].name.includes(".in"))return ze.length===2?ze:[ze[0],{}];if(ze[0].name.includes(".out"))return ze.length===2?ze.reverse():[{},ze[0]]})},Le=({onClose:Ue,onOK:et,visible:Ge,wrapClassName:it,rootIdentifier:Qe,multiple:Ye=!1,defaultMultipleValue:Ve=!0})=>{const[Me,Re]=(0,he.useState)([]),[ze,rt]=(0,he.useState)({}),[$e,ut]=(0,he.useState)(!1),[_e,We]=(0,he.useState)(!0),[Te,Je]=(0,he.useState)(null),Fe=(0,he.useRef)([]),Ie=(0,he.useRef)(0),Xe=()=>{Ue()};(0,he.useEffect)(()=>{He()},[]),(0,he.useEffect)(()=>{Ge&&(Fe.current=[],Ie.current=0,Re([]),We(Ve))},[Ge]);const He=()=>Se(void 0,null,function*(){try{Je(!0)}catch(Ne){}}),je=Ne=>Ne&&Ne.substring(0,Ne.lastIndexOf(".")),Ee=Ne=>{var at,ht;const ft=je((at=Ne[0])==null?void 0:at.name)||je((ht=Ne[1])==null?void 0:ht.name),yt=Me.filter(st=>je(st.name)!==ft);Fe.current=[...yt],Re([...yt])},xe=Ne=>{if(!_e){const pt=new FormData;pt.append("file",Ne.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:pt},!0).then(lt=>{if(lt.status===0){Ie.current=Ie.current+1;const dt=Fe.current.map(gt=>{var Pt;if(gt.name===Ne.name){const At=fe({},gt);return(Pt=Ne==null?void 0:Ne.name)!=null&&Pt.includes(".in")?At.input=lt==null?void 0:lt.content:At.output=lt==null?void 0:lt.content,At}return gt});if(Fe.current=[...dt],Re([...dt]),Ie.current>0&&Ie.current===Me.length){ut(!1);let gt=Ce(dt);gt=gt.filter(Pt=>{var At,It;return!!((At=Pt[0])!=null&&At.name&&((It=Pt[1])!=null&&It.name))}),gt=gt.map(Pt=>ye(fe(fe({},Pt[0]),Pt[1]),{is_file:!1})),et(gt),Ue()}}else ut(!1),Ue()});return}if(Te){const pt=new FormData;pt.append("file",Ne.file),Qe===null?pt.append("identifier","testsets"):pt.append("identifier",Qe),(0,a.ZP)("/api/attachments.json",{method:"post",body:pt},!0).then(lt=>{if(lt.filename){Ie.current=Ie.current+1;const dt=Fe.current.map(gt=>{var Pt;if(gt.name===(lt==null?void 0:lt.filename)){const At=ye(fe({},gt),{is_oss:!Te});return(Pt=lt==null?void 0:lt.filename)!=null&&Pt.includes(".in")?(At.in_object_key=lt==null?void 0:lt.object,At.in_object_size=lt==null?void 0:lt.size,At.input=lt==null?void 0:lt.filename,At.in_file=Ne):(At.out_object_key=lt==null?void 0:lt.object,At.out_object_size=lt==null?void 0:lt.size,At.output=lt==null?void 0:lt.filename,At.out_file=Ne),At}return gt});if(Fe.current=[...dt],Re([...dt]),Ie.current>0&&Ie.current===Me.length){ut(!1);let gt=Ce(dt);gt=gt.filter(Pt=>{var At,It;return!!((At=Pt[0])!=null&&At.name&&((It=Pt[1])!=null&&It.name))}),gt=gt.map(Pt=>ye(fe(fe({},Pt[0]),Pt[1]),{is_file:!0})),et(gt),Ue()}}else ut(!1),Ue()});return}const at=new(ne())({endpoint:ze.end_point,region:ze.region,accessKeyId:ze.access_key_id,accessKeySecret:ze.access_key_secret,bucket:ze.bucket,stsToken:ze.security_token}),ht=Ne.name,ft={container_type:"TestSet",file_name:ht},yt=(0,y.Z)();let st=`testsets/${Qe}/${yt}${ht.indexOf(".")>-1?"."+ht.split(".").pop():""}`;Qe===null&&(st=`testsets/${yt}${ht.indexOf(".")>-1?"."+ht.split(".").pop():""}`),at.multipartUpload(st,new Blob([Ne.file],{type:Ne.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:ht+""},url:ze==null?void 0:ze.callback_url,host:ze==null?void 0:ze.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(ft)}}).then(function(pt){if(pt.data.status===0){Ie.current=Ie.current+1;const nt=Fe.current.map(lt=>{var dt,gt,Pt,At,It,Gt,tn,pn,gn,sn,En,Dn,un,qn,Nn,bn,Wn;if(lt.name===((gt=(dt=pt.data)==null?void 0:dt.data)==null?void 0:gt.file_name)){const jn=ye(fe({},lt),{is_oss:!Te});return(It=(At=(Pt=pt.data)==null?void 0:Pt.data)==null?void 0:At.file_name)!=null&&It.includes(".in")?(jn.in_object_key=(tn=(Gt=pt.data)==null?void 0:Gt.data)==null?void 0:tn.object,jn.in_object_size=(gn=(pn=pt.data)==null?void 0:pn.data)==null?void 0:gn.size,jn.input=(En=(sn=pt.data)==null?void 0:sn.data)==null?void 0:En.file_name,jn.in_file=Ne):(jn.out_object_key=(un=(Dn=pt.data)==null?void 0:Dn.data)==null?void 0:un.object,jn.out_object_size=(Nn=(qn=pt.data)==null?void 0:qn.data)==null?void 0:Nn.size,jn.output=(Wn=(bn=pt.data)==null?void 0:bn.data)==null?void 0:Wn.file_name,jn.out_file=Ne),jn}return lt});if(Fe.current=[...nt],Re([...nt]),Ie.current>0&&Ie.current===Me.length){ut(!1);let lt=Ce(nt);lt=lt.filter(dt=>{var gt,Pt;return!!((gt=dt[0])!=null&>.name&&((Pt=dt[1])!=null&&Pt.name))}),lt=lt.map(dt=>ye(fe(fe({},dt[0]),dt[1]),{is_file:!0})),et(lt),Ue()}}})},we=Ne=>new Promise((at,ht)=>{let ft=0,yt=[];for(let st=0;st{ft++,ft===Ne.length&&(yt.length?(E.ZP.warning(`${yt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),ht()):at(Ne))}).catch(pt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",pt),ft++,yt.push(Ne[st].name),ft===Ne.length&&(yt.length?(E.ZP.warning(`${yt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),ht()):at(Ne))})}),Be=()=>Se(void 0,null,function*(){if(Me.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield we(Me),ut(!0),Ce(Me).some(at=>{var ht,ft;return!((ht=at[0])!=null&&ht.name&&((ft=at[1])!=null&&ft.name))})){Pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Se(void 0,null,function*(){Me.map(at=>Se(void 0,null,function*(){xe(at)}))}),onCancel:()=>{ut(!1)}});return}Me.map(at=>Se(void 0,null,function*(){xe(at)}))}),Ze={name:"file",fileList:Me,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:Ne=>{if(Me!=null&&Me.some(ht=>ht.name===Ne.name))return E.ZP.info(`${Ne.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(Ne.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(Ne.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const at={name:Ne.name,uid:Ne.uid,file:Ne,percent:0};return Me.push(at),Fe.current=[...Me],Re([...Me]),!1}},Ke=Ce(Me);return console.log(Me,Ke,"fileList"),z.createElement(Pe.default,{open:Ge,wrapClassName:it,onOk:Be,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:$e},onCancel:Xe,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ue.wrap},Me.length?z.createElement("div",null,z.createElement(be.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Ye?"visible":"hidden"}},z.createElement("span",{className:ue.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(oe.ZP.Group,{className:`ml20 ${ue.testCaseRadio}`,optionType:"button",value:_e,onChange:Ne=>We(Ne.target.value)},z.createElement(oe.ZP,{value:!1},"\u6587\u672C"),z.createElement(oe.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(ot.default,fe({},Ze),z.createElement(te.ZP,{type:"primary",className:ue.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(De,{data:Ke,onRemove:Ee})):z.createElement("div",{className:`${ue.noData} mb30`},z.createElement(ot.default.Dragger,ye(fe({},Ze),{className:ue.dragger}),z.createElement("img",{src:ae,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ue.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ue.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},De=({data:Ue=[],onRemove:et,width:Ge="auto",showScore:it=!1,disabled:Qe=!1,inputChange:Ye,onEvaluatingChange:Ve,onSelectAll:Me,checkAll1:Re,checkAll2:ze,checkAll3:rt,checkAll4:$e,checkAll5:ut,showEvaluatingSetting:_e=!1,className:We="",isProgramHomework:Te=!1})=>{const Je={value:"",filename:"",dataUrl:""},[Fe,Ie]=(0,he.useState)(fe({},Je)),Xe=Ee=>{let xe=document.createElement("a");document.body.appendChild(xe);let we=URL.createObjectURL(Ee.file);xe.href=we,xe.download=Ee.name,xe.click(),URL.revokeObjectURL(we),document.body.removeChild(xe)},He=(Ee,xe)=>{(0,x.LR)(Ee,xe)},je=(Ee,xe)=>{Pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{et(Ee,xe)},onCancel:()=>{}})};return Ue.length?z.createElement("div",{className:We,style:{width:Ge}},z.createElement("div",{className:`${Te?ue.headProgram:ue.head}`},_e&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:Re,onChange:Ee=>{Me(Ee.target.checked,"hidden")}}),z.createElement(de.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Te?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:it?Te?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:it?Te?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),it&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:$e,onChange:Ee=>{Me(Ee.target.checked,"input_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:ze,onChange:Ee=>{Me(Ee.target.checked,"is_invisible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:ut,onChange:Ee=>{Me(Ee.target.checked,"actual_output_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:rt,onChange:Ee=>{Me(Ee.target.checked,"last_match_rule")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ue.operation,style:Te?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ue.listWrapper,style:{boxShadow:Te?"0px 2px 4px 0px #EAEEF4":"unset"}},Ue.map((Ee,xe)=>{var we,Be,Ze,Ke;return z.createElement("div",{key:xe,className:ue.list,style:Te?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},_e&&z.createElement("div",{style:{width:"15%"}},z.createElement(se.default,{checked:!!Ee.hidden,onChange:Ne=>{Ve(Ne.target.checked,xe,"hidden")}})),z.createElement("div",{style:{width:Te?"25%":"15%",paddingLeft:Te?"5px":"0px",paddingRight:Te?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",xe+1),z.createElement("div",{className:ue.info,style:{width:it?Te?"20%":"15%":"25%"}},z.createElement("span",{title:Ee.input||((we=Ee[0])==null?void 0:we.name),onClick:()=>Se(void 0,null,function*(){let Ne;Ee.input?Ee.input_file_url?Ne=Ee.input_file_url:Ne=Ee.in_file:Ne=Ee[0];let at;typeof Ne=="string"?(at=yield fetch(Ne,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ie({value:yield at.text(),filename:"",dataUrl:Ne})):(at=yield(0,x.db)(Ne.file),Ie({value:at.text,filename:Ne.name,dataUrl:at.link}))})},Ee.input||((Be=Ee[0])==null?void 0:Be.name))),z.createElement("div",{className:ue.info,style:{width:it?Te?"20%":"15%":"25%"}},z.createElement("span",{title:Ee.output||((Ze=Ee[1])==null?void 0:Ze.name),onClick:()=>Se(void 0,null,function*(){let Ne;Ee.input?Ee.output_file_url?Ne=Ee.output_file_url:Ne=Ee.out_file:Ne=Ee[1];let at;typeof Ne=="string"?(at=yield fetch(Ne,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ie({value:yield at.text(),filename:"",dataUrl:Ne})):(at=yield(0,x.db)(Ne.file),Ie({value:at.text,filename:Ne.name,dataUrl:at.link}))})},Ee.output||((Ke=Ee[1])==null?void 0:Ke.name))),it&&z.createElement("div",{style:{width:"20%"}},z.createElement(le.default,{size:"large",addonAfter:Te?"%":null,disabled:Qe,style:{width:"80%"},onChange:Ne=>Ye(Ne,xe),value:Ee.score}),!Te&&z.createElement("span",null,"\xA0%")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.input_visible||!1,onChange:Ne=>{Ve(Ne.target.checked,xe,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.is_invisible||!1,onChange:Ne=>{Ve(Ne.target.checked,xe,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.actual_output_visible||!1,onChange:Ne=>{Ve(Ne.target.checked,xe,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.last_match_rule||!1,onChange:Ne=>{Ve(Ne.target.checked,xe,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>je(Ee,xe),style:Te?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ue.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Fe.dataUrl,filename:Fe.filename,type:Fe.dataUrl.length?"txt":"",onClose:()=>Ie(fe({},Je)),monacoEditor:{value:Fe.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var ke=Le},66089:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{S:function(){return oe},m:function(){return te}});var he=Ae(94601),ot=Ae(8591),E=Ae(43418),Pe=Ae(59301),be=(se,de,le)=>new Promise((ue,ae)=>{var ie=y=>{try{a(le.next(y))}catch(x){ae(x)}},ne=y=>{try{a(le.throw(y))}catch(x){ae(x)}},a=y=>y.done?ue(y.value):Promise.resolve(y.value).then(ie,ne);a((le=le.apply(se,de)).next())});const oe=se=>{let de=document.createElement("textarea");return de.value=se,de.value},te=(se,de,le,ue,ae)=>be(void 0,null,function*(){var ie,ne;const a=yield se({type:"shixunsDetail/saveCopyForExercise",payload:{id:le,save_type:ue}});ue===1?((a==null?void 0:a.status)==0&&ot.ZP.success("\u4FDD\u5B58\u6210\u529F"),(ie=a==null?void 0:a.data)!=null&&ie.exists_same_shixun_name?se({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(ne=a==null?void 0:a.data)==null?void 0:ne.shixun_name}}):se({type:"classroomList/setActionTabs",payload:{}})):(se({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&E.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Pe.createElement("div",null,Pe.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var y,x;(0,he.xg)(`/shixuns/${(x=(y=de==null?void 0:de.detail)==null?void 0:y.fork_from)==null?void 0:x.fork_identifier}/challenges`)}}))})},47257:function(Ct){(function(Ft){(function(Ae){if(1)Ct.exports=Ae();else var he})(function(){var Ae,he,ot;return function(){function E(Pe,be,oe){function te(le,ue){if(!be[le]){if(!Pe[le]){var ae=void 0;if(!ue&&ae)return require(le,!0);if(se)return se(le,!0);var ie=new Error("Cannot find module '"+le+"'");throw ie.code="MODULE_NOT_FOUND",ie}var ne=be[le]={exports:{}};Pe[le][0].call(ne.exports,function(a){var y=Pe[le][1][a];return te(y||a)},ne,ne.exports,E,Pe,be,oe)}return be[le].exports}for(var se=void 0,de=0;de +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,ir=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Cn(Tt){return/^\d+$/.test(Tt)?`${Tt}px`:Tt}const or=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",fn={[or+"-B"]:"bold",[or+"-I"]:"italic"},Or={[ft]:"\u6DFB\u52A0\u94FE\u63A5",[zt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[mt]:"\u6DFB\u52A0\u56FE\u7247",[Et]:"\u6DFB\u52A0\u753B\u56FE",[Pt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[tn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ia=({defaultValue:Tt="",onChange:Ft,width:Ct="100%",height:nn=400,miniToolbar:xn=!1,isFocus:Kt=!1,watch:Hn,insertTemp:bn,mode:Ln="markdown",id:gr="markdown-editor-id",showResizeBar:Mr=!1,noStorage:rn=!1,showNullButton:hr=!1,showNullProgramButton:Zr=!1,hidetoolBar:Ar=!1,fullScreen:vr=!1,onBlur:wt,onCMBeforeChange:Gt,onFullScreen:Rt,className:Zt="",disablePaste:qt=!1,disabled:en=!1,disabledFill:_t=!1,placeholder:Vt="",values:Xn="",extraUse:er})=>{const[kt,Gr]=(0,pe.useState)(null),[Dr,Xr]=(0,pe.useState)(Tt),[la,Jt]=(0,pe.useState)(Hn),[Fn,Wn]=(0,pe.useState)(vr),[An,xr]=(0,pe.useState)(""),[Pr,rr]=(0,pe.useState)(0),[Yr,zr]=(0,pe.useState)(nn),[Ma,ja]=(0,pe.useState)(!1),na=(0,pe.useRef)((0,at.Z)()),Xa=(0,pe.useRef)(!1),Ha=(0,pe.useRef)(),[eo,da]=(0,pe.useState)(0),[ma,qr]=(0,pe.useState)(0),Fa=(0,pe.useRef)(),Za=(0,pe.useRef)(),Ht=(0,pe.useRef)(),Mt=(0,pe.useRef)(),Wt=()=>En(void 0,null,function*(){var hn;const ln=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:na.current}});(hn=ln==null?void 0:ln.attachments)!=null&&hn.length&&(console.log("cm:",kt,Fa),ln.attachments.map(Bn=>{Bn.content_type.indexOf("image")>-1?kt.replaceSelection(`![,](/api/attachments/${Bn.id}?type=${Bn.content_type})`):Bn.content_type.indexOf("video")>-1?kt.replaceSelection(``):Bn.content_type.indexOf("pdf")>-1?kt.replaceSelection(`${Bn.name}`):kt.replaceSelection(`[${Bn.name}](${ENV.API_SERVER}/api/attachments/${Bn.id}?type=${Bn.content_type})`)}))});(0,pe.useEffect)(()=>{const hn=window.scrollY||window.pageYOffset;Xr(Xn),kt==null||kt.setValue(Xn),window.scrollTo(0,hn)},[Xn]),(0,pe.useEffect)(()=>{Rt==null||Rt(Fn)},[Fn]),(0,pe.useEffect)(()=>{if(Fa.current){let hn=function(Bn,kn){var Br;if(qt){kn.preventDefault();return}const ra=kn.clipboardData;if(ra){const fa=ra.types.toString(),ua=ra.items;if(fa==="Files"||ra.types.indexOf("Files")>-1){if(kn.preventDefault(),Ln=="stex")return;try{let Ba=ua[1];((Br=ua[0])==null?void 0:Br.kind)==="file"&&(Ba=ua[0]);const Aa=Ba.getAsFile(),Na=Aa.name.split(".").pop();(0,ze.I)(Aa,va=>{var yr,Ir,aa;va.id?((yr=Aa==null?void 0:Aa.type)==null?void 0:yr.indexOf("image"))>-1?ln.replaceSelection(``):((Ir=Aa==null?void 0:Aa.type)==null?void 0:Ir.indexOf("video"))>-1?ln.replaceSelection(``):((aa=Aa==null?void 0:Aa.type)==null?void 0:aa.indexOf("pdf"))>-1?ln.replaceSelection(`${Aa.name}`):ir.includes(Na)?ln.replaceSelection(`${Aa.name}`):ln.replaceSelection(`[${Aa.name}](/api/attachments/${va.id}?type=${va.content_type})`):(va==null?void 0:va.status)===401&&(lt.ZP.warning((va==null?void 0:va.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ba){lt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ln=E().fromTextArea(Fa.current,{mode:Ln,lineNumbers:!xn,lineWrapping:!0,value:Tt,autoCloseTags:!Zr,autoCloseBrackets:!0});return ln.on("keyup",function(Bn,kn){kn.keyCode===8&&(Bn.getValue()==""?ln.setOption("placeholder",Vt):ln.setOption("placeholder",null))}),ln.on("keydown",function(Bn,kn){if(kn.keyCode===8){var Br=mn(Bn);Br&&kn.preventDefault()}}),Kt&&ln.focus(),ln.on("paste",hn),ln.on("dragleave",function(Bn,kn){Za.current.classList.remove("mouse-hover-md")}),en&&ln.on("beforeChange",function(Bn,kn){(kn.origin==="paste"||kn.origin==="+input")&&kn.cancel()}),Gr(ln),()=>{ln.off("paste",hn)}}},[]);const pn=(0,pe.useCallback)(()=>{if(Za.current)try{}catch(hn){console.log(hn,"---- to set md editor body height")}},[Yr,Za,Fn]);(0,pe.useEffect)(()=>{function hn(){let ln=new Se.Z(Bn=>{for(let kn of Bn)(kn.target.offsetHeight>0||kn.target.offsetWidth>0)&&(pn(),kt.setSize("100%","100%"),kt.refresh())});return ln.observe(Fa.current.parentElement),ln}if(kt){const ln=hn();return()=>{var Bn,kn;(Bn=Fa.current)!=null&&Bn.parentElement&&ln.unobserve((kn=Fa.current)==null?void 0:kn.parentElement)}}},[kt,pn]),(0,pe.useEffect)(()=>{if(kt){let hn=[];for(const[ln,Bn]of Object.entries(fn)){let kn={[ln]:()=>{Pn(Bn)}};hn.push(kn),kt.addKeyMap(kn)}return Ha.current=setInterval(()=>{Xa.current&&Wt()},4e3),()=>{clearInterval(Ha.current);for(let ln of hn)kt.removeKeyMap(ln)}}},[kt]),(0,pe.useEffect)(()=>{vr!==Fn&&Wn(vr)},[vr]),(0,on.Z)(()=>{if(!rn&&Pr>0){let hn=new Date().getTime(),ln=window.sessionStorage.getItem(gr);hn>=Pr+$n&&(!ln||ln!==Dr)&&(window.sessionStorage.setItem(gr,Dr),ja(!0))}},$n),(0,pe.useEffect)(()=>{Jt(Hn)},[kt,Hn]),(0,pe.useEffect)(()=>{kt&&Kt&&kt.focus()},[kt,Kt]),(0,pe.useEffect)(()=>{if(la&&kt){let hn=function(Bn){let kn=Bn.target;if(Mt.current){let Br=kn.scrollTop/kn.scrollHeight;Mt.current.scrollTop=Mt.current.scrollHeight*Br}};const ln=kt.getScrollerElement();return ln.addEventListener("scroll",hn),()=>{ln.removeEventListener("scroll",hn)}}},[kt,la]),(0,pe.useEffect)(()=>{if(kt&&Gt){let hn=function(ln,Bn){Gt(ln,Bn)};return kt.on("beforeChange",hn),()=>{kt.off("beforeChange",hn)}}},[kt,Gt]),(0,pe.useEffect)(()=>{if(kt&&wt){let hn=function(){wt(kt.getValue())};return kt.on("blur",hn),()=>{kt.off("blur",hn)}}},[kt,wt]);function mn(hn,ln){var Bn=hn.getDoc(),kn=Bn.getCursor(),Br=Bn.getLine(kn.line),ra=Br.charAt(kn.ch-1),fa=Br.lastIndexOf("@\u2581@",kn.ch),ua=Br.lastIndexOf("@\u2581\u2581@",kn.ch),Ba=fa>ua?fa:ua,Aa=fa>ua?3:4;if(Mn.indexOf(ra)===-1)return null;if(console.log("change1:",ln,hn,Br,kn,Ba,fa,ua,ra),Ba>=0&&kn.ch-Ba<5){var Na=Ba+Aa;return Bn.replaceRange("",{line:kn.line,ch:Ba},{line:kn.line,ch:Na}),{line:kn.line,ch:Na}}return null}(0,pe.useEffect)(()=>{if(kt){let hn=function(ln,Bn){const kn=ln.getValue();Xr(kn),rr(new Date().getTime()),ln.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ft&&(Zr?Ft(kn,pr(kn)):Ft(kn))};return kt.on("change",hn),()=>{kt.off("change",hn)}}},[kt,Ft]),(0,pe.useEffect)(()=>{if(kt)if(Tt==null)kt.setValue(""),Xr("");else{const hn=window.scrollY||window.pageYOffset;Tt!==kt.getValue()&&(kt.setValue(Tt),Xr(Tt),kt.setCursor(en?1:kt.lineCount(),0),window.scrollTo(0,hn))}},[kt,Tt]);const Pn=(0,pe.useCallback)(hn=>{const ln=kt.getCursor(),Bn=kt.getSelection();let kn=Bn.split(` +`);switch(hn){case"bold":return kt.replaceSelection("**"+Bn+"**"),Bn===""&&kt.setCursor(ln.line,ln.ch+2),kt.focus();case"italic":return kt.replaceSelection("*"+Bn+"*"),Bn===""&&kt.setCursor(ln.line,ln.ch+1),kt.focus();case"code":return kt.replaceSelection("`"+Bn+"`"),Bn===""&&kt.setCursor(ln.line,ln.ch+1),kt.focus();case"inline-latex":return xr("inline-latex"),kt.focus();case"latex":return kt.replaceSelection("```latex\n"+Bn+"\n```"),kt.setCursor(ln.line+1,Bn.length+1),kt.focus();case"line-break":return kt.replaceSelection(`
+`),kt.focus();case"list-ul":return Bn===""?kt.replaceSelection("- "+Bn):kt.replaceSelection(kn.map(Br=>Br===""?"":`- ${Br}`).join(` +`)),kt.focus();case"list-ol":return Bn===""?kt.replaceSelection("1. "+Bn):kt.replaceSelection(kn.map((Br,ra)=>Br===""?"":`${ra+1}. ${Br}`).join(` +`)),kt.focus();case"add-null-ch":return Bn===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(_n),kt.focus();case"add-signal":return Bn===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(Qn),kt.focus();case"add-multiple":return Bn===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(Mn),kt.focus();case"inster-template-1":return Bn===""&&kt.setCursor(ln.line,ln.ch),kt.replaceSelection(dr),kt.focus();case"eraser":return kt.setValue(""),kt.focus();case"trigger-watch":return Jt(!la),kt.focus();case"trigger-full-screen":return Wn(!Fn),kt.focus();case ft:xr(ft);return;case zt:xr(zt);return;case mt:xr(mt);return;case Et:xr(Et);return;case"maths-latex":xr("maths-latex");return;case Pt:xr(Pt);return;case tn:xr(tn);return;default:throw new Error}},[kt,la,Fn]),$t=(0,pe.useCallback)((hn,ln)=>{var Bn,kn,Br,ra,fa,ua;switch(xr(""),An){case ft:const{title:yr,link:Ir}=hn;return kt.replaceSelection(`[${yr}](${Ir})`),kt.focus();case zt:const{language:aa,content:Nr}=hn;return kt.replaceSelection(["```"+aa,Nr,"```"].join(` +`)),kt.focus();case"maths-latex":for(var Ba=atob(hn),Aa=new Uint8Array(Ba.length),Na=0;Na{to.id?kt.replaceSelection(`![,](/api/attachments/${to.id}?type=${to.content_type})`):(to==null?void 0:to.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":kt.replaceSelection("`$$"+hn+"$$`");break;case mt:case Et:case Lt:const{src:Wr,alt:pa}=hn,oa=ln,ro=(Br=(kn=(Bn=oa==null?void 0:oa.name)==null?void 0:Bn.split("."))==null?void 0:kn.pop)==null?void 0:Br.call(kn);return((ra=oa==null?void 0:oa.type)==null?void 0:ra.indexOf("image"))>-1||!(oa!=null&&oa.type)?oa.align||oa.width?kt.replaceSelection(`

${pa||

`):kt.replaceSelection(`${pa||`):((fa=oa==null?void 0:oa.type)==null?void 0:fa.indexOf("video"))>-1?kt.replaceSelection(``):((ua=oa==null?void 0:oa.type)==null?void 0:ua.indexOf("pdf"))>-1?kt.replaceSelection(`${oa.name}`):ir.includes(ro)?kt.replaceSelection(`${oa.name}`):kt.replaceSelection(`[${oa.name}](${Wr})`),kt.focus();case tn:const{row:ao,col:Eo,align:xo}=hn;let Fo=` +`;for(let to=0;to{switch(An){case ft:return pe.createElement(Xe,{callback:$t,onCancel:qn});case zt:return pe.createElement(Ze.Z,{callback:$t,onCancel:qn});case mt:return pe.createElement(ze.Z,{callback:$t,onCancel:qn});case Pt:return pe.createElement(xe,{callback:$t,onCancel:qn});case tn:return pe.createElement(ke,{callback:$t,onCancel:qn});case"maths-latex":return pe.createElement(st,{showSaveButton:!0,callback:$t});case"inline-latex":return pe.createElement(ht.Z,{showSaveButton:!0,callback:$t});default:return null}},[An]);function qn(){xr("")}(0,pe.useEffect)(()=>{if(Ht.current){let hn=function(fa){Br=!0,ra=fa.pageY},ln=function(){Br=!1},Bn=function(fa){if(Br){let ua=fa.pageY-ra;ua<0&&(ua=0),ua>300&&(ua=300);let Ba=nn+ua+"px";zr(Ba)}},kn=Ht.current,Br=!1,ra=0;return kn.addEventListener("mousedown",hn),document.addEventListener("mousemove",Bn),document.addEventListener("mouseup",ln),()=>{kn.removeEventListener("mousedown",hn),document.removeEventListener("mousemove",Bn),document.removeEventListener("mouseup",ln)}}},[kt,Ht]),(0,pe.useEffect)(()=>{zr(nn)},[nn]);const Cr=Cn(Ct),cr=Cn(Yr),Nn={width:Cr,height:cr},mr=(0,pe.useMemo)(()=>{if(Pr){let hn=new Date(Pr),ln=hn.getHours(),Bn=hn.getMinutes(),kn=hn.getSeconds();return ln=ln<10?"0"+ln:ln,Bn=Bn<10?"0"+Bn:Bn,kn=kn<10?"0"+kn:kn,`${ln}:${Bn}:${kn}`}return 0},[Pr]),pr=hn=>{const ln=[];if(Zr){let Bn=-1;hn=hn.replace(/(@▁▁@|@▁@)/g,function(kn,Br,ra){ln.push({multiLine:kn!==Qn})})}return ln};function sa(){window.sessionStorage.removeItem(gr),ja(!1),rr(0)}function kr(){ja(!1),rr(0),kt.setValue(window.sessionStorage.getItem(gr))}(0,pe.useEffect)(()=>{Or[An]&&An!==Et&&An!==Pt&&setTimeout(()=>{const hn=document.getElementsByClassName("markdown-popup-form")[0],ln=window.innerWidth/2-hn.offsetWidth/2,Bn=window.innerHeight/2-hn.offsetHeight/2;da(ln),qr(Bn)},0)},[An]);const Qr=hn=>{hn.preventDefault();const ln=hn.clientX-eo,Bn=hn.clientY-ma;document.body.onmousemove=kn=>{let Br=kn.clientX-ln,ra=kn.clientY-Bn;const fa=document.getElementsByClassName("markdown-popup-form")[0],ua=window.innerWidth-fa.offsetWidth,Ba=window.innerHeight-fa.offsetHeight;Br=Math.max(0,Math.min(Br,ua)),ra=Math.max(0,Math.min(ra,Ba)),Sa(kn.clientX,kn.clientY,ln,Bn)&&(da(Br),qr(ra))},document.body.onmouseup=function(){document.body.onmousemove=null}},Sa=(hn,ln,Bn,kn)=>{const Br=document.body.clientHeight,ra=document.body.clientWidth;return hn<20&&Bn>hn||hn>ra-20&&Bnln||ln>Br-20&&knbe in ge?ae(ge,be,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ge[be]=Pe,z=(ge,be)=>{for(var Pe in be||(be={}))y.call(be,Pe)&&b(ge,Pe,be[Pe]);if(a)for(var Pe of a(be))x.call(be,Pe)&&b(ge,Pe,be[Pe]);return ge},ee=(ge,be)=>ie(ge,ne(be));const{useForm:re}=pe.default,le={width:280,marginRight:10},he={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:ge,onCancel:be})=>{const[Pe]=re();let Te=(0,de.useRef)();function Ce(Me){Te.current.width=Pe.getFieldValue("width"),Te.current.align=Pe.getFieldValue("align"),ge(Me,Te.current)}function Le(Me,Ue){if(Me.status===-1){it.ZP.error(Me.message);return}Pe.setFieldsValue({src:`/api/attachments/${Me.id}`,type:Ue.type})}function Ie(Me){let Ue=Me.target.files[0];Te.current=Ue,me(Ue,Le)}return ce.createElement(pe.default,ee(z({form:Pe},he),{className:"upload-image-panel",onFinish:Ce,style:{width:470,overflow:"hidden"}}),ce.createElement(pe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ce.createElement("div",{className:"flex-container"},ce.createElement(pe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ce.createElement(E.default,{style:le})),ce.createElement(fe,{onFileChange:Ie}))),ce.createElement(pe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ce.createElement(E.default,{style:{width:264}})),ce.createElement(pe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ce.createElement(Se.Z,null,ce.createElement(pe.default.Item,{name:"width",style:{margin:0}},ce.createElement(ye.Z,{style:{width:264}})),ce.createElement("span",{className:"ml8"},"%"))),ce.createElement(pe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ce.createElement(oe.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"}]})),ce.createElement("aside",null,ce.createElement(pe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ce.createElement(te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ce.createElement(te.ZP,{type:"default",onClick:be},"\u53D6\u6D88"))))};function fe({onFileChange:ge}){return ce.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ce.createElement("input",{type:"file",onChange:ge}))}function me(ge,be){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw it.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Pe=new FormData;Pe.append("editormd-image-file",ge),Pe.append("file_param_name","editormd-image-file"),Pe.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(Ce){be(JSON.parse(Ce.target.responseText),ge)},!1),Te.addEventListener("error",function(Ce){console.error(Ce)},!1),Te.open("POST",`${se.KI}/api/attachments.json`),Te.send(Pe)}},74254:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return E}});var pe=Ae(59301),it=Ae(4676);class E extends pe.Component{constructor(ye){super(ye);const oe=window.document;this.node=oe.createElement("div"),oe.body.appendChild(this.node)}render(){const{children:ye}=this.props;return(0,it.createPortal)(ye,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},53253:function(xt,At,Ae){"use strict";Ae.d(At,{i:function(){return he},Z:function(){return fe}});var pe={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},it=Ae(71418),E=Ae(6848),Se=Ae(93948),ye=Ae(92310),oe=Ae.n(ye),te=Ae(94601),se=Ae(62556),de=Ae(47141),ue=Ae(79005),ce=Ae(20345),ae=Ae(77882),ie=Ae(31081),ne=Ae(75309),a=Ae(71979),y=Ae(47558),x=Ae(42922),b=Ae(66832),z=Ae(96593),ee=Ae(19664),re=Ae(91833),le=Ae(59301);const he=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ue,swimg:ce},{name:"101\u8BA1\u5212",ptimg:ae,swimg:ie},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ne,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ee,swimg:re}];var fe=({className:me,dataSource:ge=[],col:be=4,right:Pe,bottom:Te=23,precision:Ce=0,wrapWidth:Le=1200,trackEventItems:Ie,loading:Me,onRemove:Ue=()=>{},isCurrent:Qe=!0,showAlias:Ge=!1,showProgress:ot=!1})=>{const Ve=Math.floor((Le-(be-1)*Pe)/be),Xe=[{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(Ze=>(window.ENV==="build"&&(Ze.ptimg=`/react/build${Ze.ptimg}`,Ze.swimg=`/react/build${Ze.swimg}`),Ze));return le.createElement(it.Z,{spinning:Me},le.createElement("div",{className:oe()(pe.list,me)},!!(ge!=null&&ge.length)&&(ge==null?void 0:ge.map((Ze,ze)=>{var Re,He,rt,qe,ut,_e;const{name:We,id:Oe,identifier:Ye,featured:Fe,school_name:Ne,image_url:et,excellent:De,is_plan:je}=Ze;return le.createElement("div",{key:Oe,className:Qe&&ot?pe.wrapisCurrent:pe.wrap,style:{width:Ve,marginRight:(1+ze)%be===0?0:Pe+Ce,marginBottom:Te}},le.createElement("a",{className:pe.li,onClick:Ee=>{Ee.preventDefault(),Ee.stopPropagation(),Ie&&(0,te.L9)([Ie]),(0,te.xg)(`/paths/${Ye}`)}},le.createElement("div",{className:pe.img},le.createElement("img",{className:pe.cover,src:`${et}`}),Qe&&(0,de.bg)()&&(Ze==null?void 0:Ze.studying)&&le.createElement("div",{className:`${pe.movebq} user-path-items`,onClick:Ee=>{Ee.stopPropagation(),Ue(Ze)}},le.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),le.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Re=Ze==null?void 0:Ze.subject_tags)==null?void 0:Re.map((Ee,xe)=>{var we,Be;if(xe===0){const nt=(we=Xe.find(ke=>ke.name==Ee))==null?void 0:we.swimg;return le.createElement("img",{className:pe.sign,src:nt,style:{left:"-4px"}})}const Ke=(Be=Xe.find(nt=>nt.name==Ee))==null?void 0:Be.ptimg;return le.createElement("img",{className:pe.sign,src:Ke,style:{left:`${48+52*(xe-1)+2*xe}px`}})}),le.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ze==null?void 0:Ze.excellent)&&le.createElement("div",{className:pe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:pe.name},le.createElement(E.Z,{title:Ge&&(Ze!=null&&Ze.excellent_alias_name)?le.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${We}`,le.createElement("br",null),le.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ze==null?void 0:Ze.excellent_alias_name}`)):We},le.createElement("span",{className:pe.e},Ge&&(Ze==null?void 0:Ze.excellent_alias_name)||We))),Qe&&ot&&((He=Ze==null?void 0:Ze.progress)==null?void 0:He.all_score)!=0&&le.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},le.createElement(Se.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((rt=Ze==null?void 0:Ze.progress)==null?void 0:rt.my_score)/((qe=Ze==null?void 0:Ze.progress)==null?void 0:qe.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(ut=Ze==null?void 0:Ze.progress)==null?void 0:ut.my_score,"/",(_e=Ze==null?void 0:Ze.progress)==null?void 0:_e.all_score),(!Qe||!ot)&&le.createElement("div",{className:pe.tags},le.createElement("div",null,le.createElement(E.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),le.createElement("span",null,Ze.stages_count))),le.createElement(E.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),le.createElement("span",null,Ze.members_count)))))))})),!ge.length&&le.createElement(se.Z,null)))}},15817:function(xt,At,Ae){"use strict";Ae.d(At,{jL:function(){return ye},w9:function(){return vt},dN:function(){return lt},QD:function(){return Ln},cQ:function(){return qe.Z},Oz:function(){return nt},op:function(){return Ct},O5:function(){return Dr},_b:function(){return Ar},t7:function(){return ge},Gi:function(){return dn},YG:function(){return Et},kT:function(){return tn},qp:function(){return x},K3:function(){return ee},vr:function(){return rn},qE:function(){return Kt},Je:function(){return Te},wb:function(){return ze},lB:function(){return rt},cq:function(){return _n},tp:function(){return he},Si:function(){return Jt},k8:function(){return Za},Du:function(){return zr}});var pe=Ae(59301),it={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeS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L7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ye=({dataSource:Ht=[],img:Mt,imgWidth:Wt=346,title:pn,sunTitle:mn,bannerExtraContent:Pn})=>pe.createElement("div",{className:it.banner},pe.createElement("div",{className:it.content},pe.createElement("aside",null,pe.createElement("p",null,pe.createElement("b",null,pn),pe.createElement("span",null,mn)),Ht.length>0&&pe.createElement("div",{className:it.btns},Ht.map(($t,Jn)=>pe.createElement("div",{key:Jn,onClick:$t.click},$t.name,$t.sign?pe.createElement("img",{src:E,width:39}):null))),Pn),Mt&&pe.createElement("img",{style:{marginTop:33,marginRight:38},src:Mt,width:Wt}))),oe={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"},te=Ae(92310),se=Ae.n(te),de=Ae(89392),ue=Object.defineProperty,ce=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ne=(Ht,Mt,Wt)=>Mt in Ht?ue(Ht,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Ht[Mt]=Wt,a=(Ht,Mt)=>{for(var Wt in Mt||(Mt={}))ae.call(Mt,Wt)&&ne(Ht,Wt,Mt[Wt]);if(ce)for(var Wt of ce(Mt))ie.call(Mt,Wt)&&ne(Ht,Wt,Mt[Wt]);return Ht},x=({dataSource:Ht=[],value:Mt,onChange:Wt,onTitleChange:pn,className:mn,title:Pn,titleWidth:$t=41,style:Jn={},fontColor:qn="#6A7283",showCount:Cr,classNameActive:cr,styleItem:Nn={}})=>{const[mr,pr]=(0,pe.useState)(0),[sa,kr]=(0,pe.useState)(!1),Qr=(0,pe.useRef)(null),Sa=(0,pe.useRef)(null);return(0,pe.useEffect)(()=>{var hn;Ht.length!==0&&(((hn=Qr==null?void 0:Qr.current)==null?void 0:hn.clientHeight)>97?pr(1):pr(0)),Ht.length===0&&pr(0),kr(!1)},[Ht]),pe.createElement("div",{className:se()(oe.row,mn),style:Jn},pe.createElement("div",{onClick:(0,de.throttle)(()=>pn==null?void 0:pn(),2e3),style:{width:$t,marginTop:sa?12:4},className:`${oe.title} ${pn?"current":""}`},Pn),pe.createElement("div",{className:sa?`${oe.tagsWrap} ${oe.tagsBorderWrap}`:oe.tagsWrap},pe.createElement("div",{className:oe.bar,ref:Sa,style:mr>0?{height:mr===1?97:"auto",overflow:mr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},pe.createElement("div",{className:oe.tag,ref:Qr},Ht==null?void 0:Ht.map(hn=>pe.createElement("span",{onClick:()=>Wt(hn.id),key:hn.id,style:a(a({color:qn},Nn),(hn==null?void 0:hn.style)||{}),className:Mt===hn.id?se()(cr||oe.active,hn.classNameActive):""},pe.createElement("span",{title:hn.name,className:oe.name},hn.name),!!Cr&&pe.createElement("span",{className:oe.num},hn.count))))),!!mr&&pe.createElement(pe.Fragment,null,mr===1?pe.createElement("div",{onClick:()=>{var hn;pr(2),((hn=Qr==null?void 0:Qr.current)==null?void 0:hn.clientHeight)>245?kr(!0):kr(!1)},className:oe.action},"\u5C55\u5F00",pe.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):pe.createElement("div",{onClick:()=>{Sa.current.scrollTop=0,pr(1),kr(!1)},className:oe.action},"\u6536\u8D77",pe.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},ee=({dataSource:Ht=[],value:Mt,onChange:Wt,onTitleChange:pn,className:mn,title:Pn,titleWidth:$t=41,style:Jn={},fontColor:qn="#6A7283",showCount:Cr,expand:cr=!0})=>{const[Nn,mr]=(0,pe.useState)(0),[pr,sa]=(0,pe.useState)(!1),kr=(0,pe.useRef)(null),Qr=(0,pe.useRef)(null),[Sa,hn]=(0,pe.useState)(cr);return pe.createElement("div",{className:se()(b.row,mn),style:Jn},pe.createElement("div",{className:"flex item-center justify-between"},pe.createElement("div",{onClick:(0,de.throttle)(()=>pn==null?void 0:pn(),2e3),style:{width:$t,marginTop:pr?12:4},className:`${b.title} ${pn?"current":""}`},Pn),pe.createElement("i",{className:`iconfont ${Sa?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Sa?8:10},onClick:()=>hn(!Sa)})),Sa&&pe.createElement("div",{className:pr?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},pe.createElement("div",{className:b.fenge}),pe.createElement("div",{className:b.bar,ref:Qr},pe.createElement("div",{className:b.tag,ref:kr},Ht==null?void 0:Ht.map(ln=>pe.createElement("span",{onClick:()=>Wt(ln.id),key:ln.id,style:{color:qn},className:Mt===ln.id?b.active:""},pe.createElement("span",{title:ln.name,className:b.name},ln.name),!!Cr&&pe.createElement("span",{className:b.num},ln.count)))))))},re={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"},he=({dataSource:Ht=[],value:Mt,onChange:Wt,className:pn,style:mn={}})=>pe.createElement("div",{style:mn,className:se()(re.tabs,pn)},Ht.map(Pn=>pe.createElement("span",{onClick:()=>Wt(Pn.id),className:Mt===Pn.id?re.active:"",key:Pn.id},Pn.name))),ve={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"},fe=Ae(92832),ge=({dataSource:Ht=[],value:Mt="",onChange:Wt,onInputChange:pn=()=>{},className:mn,style:Pn={},placeholder:$t,allowClear:Jn=!1})=>{var qn;const[Cr,cr]=(0,pe.useState)(""),[Nn,mr]=(0,pe.useState)("");(0,pe.useEffect)(()=>{var kr;let Qr=Mt;(kr=JSON.stringify(Mt))!=null&&kr.includes("{")&&(cr(Mt.id),Qr=Mt.value||"");try{mr(decodeURIComponent(Qr||""))}catch(Sa){mr(decodeURIComponent(Qr||""))}},[Mt]);const pr=()=>{Wt(encodeURIComponent(Nn),Cr||null)},sa=kr=>{kr!==Cr&&(cr(kr),Wt(encodeURIComponent(Nn),kr))};return pe.createElement("div",{className:se()(ve.input,mn),style:Pn},!!Ht.length&&pe.createElement("div",{className:ve.dropdown},pe.createElement("div",{className:ve.text},(qn=Ht.find(kr=>kr.id===Cr))==null?void 0:qn.name,pe.createElement("i",{className:"iconfont icon-zhankai4"}),pe.createElement("b",{className:ve.b1}),pe.createElement("b",{className:ve.b2})),pe.createElement("div",{className:ve.menu},Ht.map((kr,Qr)=>pe.createElement("div",{key:Qr,onClick:()=>sa(kr.id)},kr.name)))),pe.createElement(fe.default,{onPressEnter:pr,value:Nn,onChange:kr=>{mr(kr.target.value),pn(encodeURIComponent(kr.target.value),Cr||null)},bordered:!1,placeholder:$t}),pe.createElement("i",{onClick:pr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},be={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"},Te=({value:Ht,onChange:Mt,className:Wt,total:pn,pageSize:mn,style:Pn={}})=>{const $t=Ht<2,Jn=Ht>=Math.ceil(pn/mn);return pn<=mn?pe.createElement(pe.Fragment,null):pe.createElement("div",{className:se()(be.quickPager,Wt),style:Pn},pe.createElement("div",{onClick:()=>{$t||Mt(Ht-1,"prev")},className:$t?be.disabled:""},"\u4E0A\u4E00\u9875"),pe.createElement("div",{onClick:()=>{Jn||Mt(Ht+1,"next")},className:Jn?be.disabled:""},"\u4E0B\u4E00\u9875"))},Ce={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"},Le=Ae(71418),Ie=Ae(6848),Me=Ae(13570),Ue=Ae(85386),Qe=Ae(94601),Ge=Ae(96908),ot=Ae(57177),Ve=Ae(81378),Xe=Ae(62556),ze=({className:Ht,dataSource:Mt=[],col:Wt=4,right:pn,bottom:mn=23,precision:Pn=0,wrapWidth:$t=1200,trackEventItems:Jn,loading:qn})=>{const Cr=Math.floor(($t-(Wt-1)*pn)/Wt);return pe.createElement(Le.Z,{spinning:qn},pe.createElement("div",{className:se()(Ce.list,Ht)},!!Mt.length&&Mt.map((cr,Nn)=>{const{name:mr,id:pr,identifier:sa,power:kr,cover_image_id:Qr,pic:Sa}=cr;return pe.createElement("div",{className:Ce.wrap,key:pr,style:{width:Cr,marginRight:(1+Nn)%Wt===0?0:pn+Pn,marginBottom:mn}},pe.createElement("a",{target:"_blank",href:`/shixuns/${sa}/challenges`,className:Ce.li,onClick:hn=>{hn.preventDefault(),Jn&&(0,Qe.L9)([Jn]),kr&&(0,Qe.xg)(`/shixuns/${sa}/challenges`)}},pe.createElement("div",{className:Ce.img},pe.createElement("img",{className:Ce.cover,src:`${Sa}`}),cr.is_jupyter&&pe.createElement("img",{className:Ce.sign,src:Ge}),cr.is_jupyter_lab&&pe.createElement("img",{className:Ce.sign,src:ot}),cr.is_unity_3d&&pe.createElement("img",{className:Ce.sign,src:Ve})),pe.createElement("div",{className:Ce.name},pe.createElement(Ie.Z,{title:mr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},pe.createElement("span",{className:Ce.e},mr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),pe.createElement("div",{className:Ce.tags},pe.createElement(Ie.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),pe.createElement("span",null,cr.challenges_count))),!!cr.myshixuns_count&&pe.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),pe.createElement("span",null,cr.myshixuns_count))),pe.createElement(Ie.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},pe.createElement("span",null,pe.createElement("span",null,cr.level))),pe.createElement("div",{className:Ce.rate},pe.createElement(Me.Z,{allowHalf:!0,disabled:!0,defaultValue:cr.score_info}),pe.createElement("span",null,"\xA0",cr.score_info?`${cr.score_info}\u5206`:"5\u5206")))),!kr&&pe.createElement("div",{className:Ce.lockWrap},pe.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Mt.length&&pe.createElement(Xe.Z,null)))},Re={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},rt=({className:Ht,dataSource:Mt=[],col:Wt=4,right:pn,bottom:mn=23,precision:Pn=0,wrapWidth:$t=1200,wrapClassName:Jn,trackEventItems:qn,loading:Cr})=>{const cr=Math.floor(($t-(Wt-1)*pn)/Wt);return pe.createElement(Le.Z,{spinning:Cr},pe.createElement("div",{className:se()(Re.list,Ht)},!!Mt.length&&Mt.map((Nn,mr)=>{const{name:pr,id:sa,identifier:kr,power:Qr,cover_image_id:Sa,pic:hn}=Nn;return pe.createElement("div",{className:se()(Re.wrap,Jn),key:sa,style:{width:cr,marginRight:(1+mr)%Wt===0?0:pn+Pn,marginBottom:mn}},pe.createElement("a",{target:"_blank",href:`/shixuns/${kr}/challenges`,className:Re.li,onClick:ln=>{ln.preventDefault(),qn&&(0,Qe.L9)([qn]),Qr&&(0,Qe.xg)(`/shixuns/${kr}/challenges`)}},pe.createElement("img",{src:Ae(47621),className:Re.titleBg}),pe.createElement("div",{className:Re.name},pe.createElement(Ie.Z,{title:pr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},pe.createElement("span",{className:Re.e},pr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),pe.createElement("div",{style:{padding:"14px",paddingBottom:0}},pe.createElement("div",{className:Re.img},pe.createElement("img",{className:Re.cover,src:Sa?`${Ue.Z.API_SERVER}/api/attachments/${Sa}`:`${Ue.Z.IMG_SERVER+hn}`}),Nn.is_jupyter&&pe.createElement("div",{className:Re.bq},"Jupyter"),Nn.is_jupyter_lab&&pe.createElement("div",{className:Re.bq},"JupyterLab"),Nn.is_unity_3d&&pe.createElement("div",{className:Re.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),pe.createElement("div",{className:"mt20 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Re.text},"\u5B66\u4E60\u4EBA\u6570"),pe.createElement("span",{className:Re.value},Nn.myshixuns_count)),pe.createElement("div",null,pe.createElement("span",{className:Re.text},"\u56F0\u96BE\u7B49\u7EA7"),pe.createElement("span",{className:Re.value},Nn.level))),pe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:Re.text},"\u5173\u5361\u6570"),pe.createElement("span",{className:Re.value},Nn.challenges_count)),pe.createElement("div",{className:Re.rate},pe.createElement(Me.Z,{allowHalf:!0,disabled:!0,defaultValue:Nn.score_info}),pe.createElement("span",{className:Re.value,style:{color:"#FF9C00"}},"\xA0",Nn.score_info?`${Nn.score_info}\u5206`:"5\u5206"))))),!Qr&&pe.createElement("div",{className:Re.lockWrap},pe.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Mt.length&&pe.createElement(Xe.Z,null)))},qe=Ae(53253),ut={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},_e=Ae(79005),We=Ae(20345),Oe=Ae(77882),Ye=Ae(31081),Fe=Ae(75309),Ne=Ae(71979),et=Ae(47558),De=Ae(42922),je=Ae(66832),Ee=Ae(96593),xe=Ae(19664),we=Ae(91833);const Be=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:_e,swimg:We},{name:"101\u8BA1\u5212",ptimg:Oe,swimg:Ye},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Fe,swimg:Ne},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:et,swimg:De},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:je,swimg:Ee},{name:"\u519B\u961F\u4E00\u6D41",ptimg:xe,swimg:we}];var nt=({className:Ht,dataSource:Mt=[],col:Wt=4,right:pn,bottom:mn=23,precision:Pn=0,wrapWidth:$t=1200,trackEventItems:Jn,loading:qn,wrapClassName:Cr,imgClassName:cr,isArrow:Nn=!1})=>{const mr=Math.floor(($t-(Wt-1)*pn)/Wt),[pr,sa]=(0,pe.useState)(),[kr,Qr]=(0,pe.useState)(),Sa=ln=>sa(ln),hn=()=>sa(-1);return pe.createElement(Le.Z,{spinning:qn},pe.createElement("div",{className:se()(ut.list,Ht)},!!(Mt!=null&&Mt.length)&&(Mt==null?void 0:Mt.map((ln,Bn)=>{var kn;const{name:Br,id:ra,identifier:fa,featured:ua,school_name:Ba,image_url:Aa,excellent:Na,is_plan:va}=ln;return pe.createElement("div",{key:ra,className:se()(ut.wrap,Cr),style:{width:mr,marginRight:(1+Bn)%Wt===0?0:pn+Pn,marginBottom:mn}},pe.createElement("a",{target:"_blank",href:`/paths/${fa}`,className:ut.li,onClick:yr=>{yr.preventDefault(),Jn&&(0,Qe.L9)([Jn]),(0,Qe.xg)(`/paths/${fa}`)}},pe.createElement("img",{src:Ae(39057),className:ut.titleBg}),pe.createElement("div",{className:ut.name},pe.createElement(Ie.Z,{title:Br},pe.createElement("span",{className:ut.e,style:{color:Nn&&pr===Bn?"#145DFF":"#000000"},onMouseEnter:()=>{Sa(Bn)},onMouseLeave:hn},Br))),pe.createElement("div",{style:{padding:"14px",paddingBottom:0}},pe.createElement("div",{className:se()(ut.img,cr)},pe.createElement("img",{className:ut.cover,src:`${Ue.Z.IMG_SERVER+Aa}`}),(kn=ln==null?void 0:ln.subject_tags)==null?void 0:kn.map((yr,Ir)=>{var aa,Nr;if(Ir===0){const pa=(aa=Be.find(oa=>oa.name==yr))==null?void 0:aa.swimg;return pe.createElement("img",{className:ut.sign,src:pa,style:{left:"-4px"}})}const Wr=(Nr=Be.find(pa=>pa.name==yr))==null?void 0:Nr.ptimg;return pe.createElement("img",{className:ut.sign,src:Wr,style:{left:`${48+52*(Ir-1)+2*Ir}px`}})}),pe.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(ln==null?void 0:ln.excellent)&&pe.createElement("div",{className:ut.bq},"\u5F00\u653E\u8BFE\u7A0B"))),pe.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},pe.createElement("div",null,pe.createElement("span",{className:ut.text},"\u7AE0\u8282\u6570"),pe.createElement("span",{className:ut.value},ln.stages_count)),pe.createElement("div",null,pe.createElement("span",{className:ut.text},"\u5B66\u4E60\u4EBA\u6570"),pe.createElement("span",{className:ut.value},ln.members_count))))))})),!Mt.length&&pe.createElement(Xe.Z,null)))},ke={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"},$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7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OwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=Ae(59301),vt=({className:Ht,dataSource:Mt=[],col:Wt=4,right:pn,bottom:mn=23,precision:Pn=0,wrapWidth:$t=1200,trackEventItems:Jn,loading:qn})=>{const Cr=Math.floor(($t-(Wt-1)*pn)/Wt);return gt.createElement(Le.Z,{spinning:qn},gt.createElement("div",{className:se()(ke.list,Ht)},!!Mt.length&&Mt.map((cr,Nn)=>{const{subject_identifier:mr,id:pr,identifier:sa,power:kr}=cr,Qr=cr.is_public!=0&&cr.is_public;return gt.createElement("div",{className:ke.wrap,key:pr,style:{width:Cr,marginRight:(1+Nn)%Wt===0?0:pn+Pn,marginBottom:mn}},gt.createElement("a",{className:ke.li,onClick:Sa=>{Sa.preventDefault(),Jn&&(0,Qe.L9)([Jn]),(0,Qe.xg)(cr.first_category_url)}},gt.createElement("div",{className:ke.top},gt.createElement(Ie.Z,{title:cr.name},gt.createElement("div",{className:ke.name},cr.name)),gt.createElement("img",{className:ke.img,src:Ue.Z.IMG_SERVER+"/images/"+cr.avatar_url}),gt.createElement("div",{className:ke.text,title:cr.creator},cr.creator),mr&>.createElement("div",{className:ke.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Qr&>.createElement("div",{className:ke.sign},"\u516C\u5F00")),gt.createElement("div",{className:ke.bottom},cr.visits>0&>.createElement(Ie.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,cr.visits))),cr.course_members_count>0&>.createElement(Ie.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),cr.course_members_count)),cr.tasks_count>0&>.createElement(Ie.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),cr.tasks_count)),cr.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!cr.is_accessible&>.createElement("div",{className:ke.lockWrap},gt.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Mt.length&>.createElement(Xe.Z,null)))},st={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},ht="data:image/png;base64,i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QPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",lt=({className:Ht,dataSource:Mt=[],col:Wt=4,right:pn,bottom:mn=23,precision:Pn=0,wrapWidth:$t=1200,wrapClassName:Jn,trackEventItems:qn,loading:Cr})=>{const cr=Math.floor(($t-(Wt-1)*pn)/Wt);return pe.createElement(Le.Z,{spinning:Cr},pe.createElement("div",{className:se()(st.list,Ht)},!!Mt.length&&Mt.map((Nn,mr)=>{const{subject_identifier:pr,id:sa,identifier:kr,power:Qr}=Nn,Sa=Nn.is_public!=0&&Nn.is_public;return pe.createElement("div",{className:se()(`${st.wrap} ${Nn.is_accessible?"":st.warpStyle}`,Jn),key:sa,style:{width:cr,marginRight:(1+mr)%Wt===0?0:pn+Pn,marginBottom:mn}},pe.createElement("a",{className:st.li,onClick:hn=>{hn.preventDefault(),qn&&(0,Qe.L9)([qn]),(0,Qe.xg)(Nn.first_category_url)}},pe.createElement("div",{className:st.creator},pe.createElement("img",{className:st.img,src:Ue.Z.IMG_SERVER+"/images/"+Nn.avatar_url}),pe.createElement("div",{className:st.text,title:Nn.creator},Nn.creator)),pe.createElement("div",{className:st.top},pe.createElement(Ie.Z,{title:Nn.name},pe.createElement("div",{className:st.name},Nn.name)),Sa&&pe.createElement("div",{className:st.sign},"\u516C\u5F00")),pe.createElement("div",{className:st.middle},pe.createElement("div",{className:st.row,style:{marginBottom:6}},pe.createElement("div",null,pe.createElement("span",{className:st.text},"\u8BBF\u95EE\u91CF"),pe.createElement("span",{className:st.value},(Nn==null?void 0:Nn.visits)||0)),pe.createElement("div",null,pe.createElement("span",{className:st.text},"\u6210\u5458"),pe.createElement("span",{className:st.value},(Nn==null?void 0:Nn.course_members_count)||0))),pe.createElement("div",{className:st.row},pe.createElement("div",null,pe.createElement("span",{className:st.text,style:{width:42}},"\u4F5C",pe.createElement("span",{style:{marginLeft:14}},"\u4E1A")),pe.createElement("span",{className:st.value},(Nn==null?void 0:Nn.tasks_count)||0)),pe.createElement("div",null,pe.createElement("span",{className:st.text},"\u72B6\u6001"),Nn.is_end?pe.createElement("span",{className:st.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):pe.createElement("span",{className:st.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),pr&&pe.createElement("div",{className:st.btns},pe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),pe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Nn.is_accessible&&pe.createElement("div",{className:st.lockWrap},pe.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Mt.length&&pe.createElement(Xe.Z,null)))},ft={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"},mt=Ae(92123),Et=({dataSource:Ht=[],value:Mt,onChange:Wt,className:pn,style:mn={},tabBarExtraContent:Pn})=>pe.createElement("div",{className:se()(ft.tabs,pn),style:mn},pe.createElement("div",{className:ft.tabsWrap},Ht.map(($t,Jn)=>pe.createElement("aside",{className:ft.tab,onClick:()=>{Wt($t.id),$t.link&&mt.history.push($t.link)},key:Jn},pe.createElement("div",{className:Mt===$t.id?ft.active:""},$t.name),($t==null?void 0:$t.resetCount)==null&&($t==null?void 0:$t.total)!==void 0&&pe.createElement("span",null,"\uFF08",$t==null?void 0:$t.total,"\uFF09"),($t==null?void 0:$t.resetCount)!==void 0&&($t==null?void 0:$t.total)!==void 0&&pe.createElement(Ie.Z,{title:($t==null?void 0:$t.tip)!=null?$t==null?void 0:$t.tip:""},pe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",pe.createElement("span",{style:{color:"#000"}},$t==null?void 0:$t.resetCount),"/",pe.createElement("span",null,$t==null?void 0:$t.total),"\uFF09"))))),pe.createElement("div",{className:ft.tabBar},Pn)),Lt={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},tn=({dataSource:Ht=[],value:Mt,onChange:Wt,className:pn,style:mn={},tabBarExtraContent:Pn})=>pe.createElement("div",{className:se()(Lt.tabs,pn),style:mn},pe.createElement("div",{className:Lt.tabsWrap},Ht.map(($t,Jn)=>pe.createElement("aside",{className:Lt.tab,onClick:()=>{Wt($t.id),$t.link&&mt.history.push($t.link)},key:Jn},pe.createElement("div",{className:Mt===$t.id?Lt.active:""},$t.name),($t==null?void 0:$t.resetCount)==null&&($t==null?void 0:$t.total)!==void 0&&pe.createElement("span",null,"\uFF08",$t==null?void 0:$t.total,"\uFF09"),($t==null?void 0:$t.resetCount)!==void 0&&($t==null?void 0:$t.total)!==void 0&&pe.createElement(Ie.Z,{title:($t==null?void 0:$t.tip)!=null?$t==null?void 0:$t.tip:""},pe.createElement("span",{style:{color:"#9096A3"}},"\uFF08",pe.createElement("span",{style:{color:"#000"}},$t==null?void 0:$t.resetCount),"/",pe.createElement("span",null,$t==null?void 0:$t.total),"\uFF09"))))),pe.createElement("div",{className:Lt.tabBar},Pn)),dn=({className:Ht,style:Mt={},children:Wt})=>pe.createElement("div",{className:se()(Ht),style:Mt},Wt),on={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"},En=Ae(38854),Rn=Ae(20834);const sn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var _n=({sortValue:Ht,dropValue:Mt,className:Wt,onSort:pn,onDrop:mn,dataSource:Pn=sn})=>{var $t;return pe.createElement("div",{className:se()(on.orderWrap,Wt)},pe.createElement(En.Z,{dropdownRender:()=>pe.createElement(Rn.default,null,Pn.map((Jn,qn)=>pe.createElement(Rn.default.Item,{key:qn,onClick:()=>mn(Jn.id)},Jn.name)))},pe.createElement("span",{className:on.orderTextWrap},($t=Pn.find(Jn=>Mt===Jn.id))==null?void 0:$t.name)),pe.createElement("span",{className:on.orderIconWrap},pe.createElement("span",{className:on.orderAsc},pe.createElement("i",{className:Ht==="asc"?`iconfont icon-sanjiaoxing-up font12 ${on.cursorPointer} ${on.active}`:`iconfont icon-sanjiaoxing-up font12 ${on.cursorPointer}`,onClick:()=>pn(Ht==="asc"?"desc":"asc")})),pe.createElement("span",{className:on.orderDesc},pe.createElement("i",{className:Ht==="desc"?`iconfont icon-sanjiaoxing-down font12 ${on.cursorPointer} ${on.active}`:`iconfont icon-sanjiaoxing-down font12 ${on.cursorPointer}`,onClick:()=>pn(Ht==="asc"?"desc":"asc")}))))},Mn={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Qn=Ae(3113),dr=Ae(21585),ir=Object.defineProperty,Cn=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,fn=(Ht,Mt,Wt)=>Mt in Ht?ir(Ht,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Ht[Mt]=Wt,Or=(Ht,Mt)=>{for(var Wt in Mt||(Mt={}))fr.call(Mt,Wt)&&fn(Ht,Wt,Mt[Wt]);if(Cn)for(var Wt of Cn(Mt))or.call(Mt,Wt)&&fn(Ht,Wt,Mt[Wt]);return Ht},ia=(Ht,Mt)=>{var Wt={};for(var pn in Ht)fr.call(Ht,pn)&&Mt.indexOf(pn)<0&&(Wt[pn]=Ht[pn]);if(Ht!=null&&Cn)for(var pn of Cn(Ht))Mt.indexOf(pn)<0&&or.call(Ht,pn)&&(Wt[pn]=Ht[pn]);return Wt},Tt=(Ht,Mt,Wt)=>new Promise((pn,mn)=>{var Pn=qn=>{try{Jn(Wt.next(qn))}catch(Cr){mn(Cr)}},$t=qn=>{try{Jn(Wt.throw(qn))}catch(Cr){mn(Cr)}},Jn=qn=>qn.done?pn(qn.value):Promise.resolve(qn.value).then(Pn,$t);Jn((Wt=Wt.apply(Ht,Mt)).next())}),Ct=Ht=>{var Mt=Ht,{className:Wt,style:pn,children:mn,loading:Pn=!1,openLoading:$t,onClick:Jn=()=>{},size:qn="middle",shape:Cr="round",theme:cr}=Mt,Nn=ia(Mt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[mr,pr]=(0,pe.useState)(!1),sa=(0,pe.useMemo)(()=>{switch(cr){case dr.Fy.THEMEONE:return Mn.ThemeOne;case dr.Fy.DEFAULT:default:return Mn.btn}},[cr]);return pe.createElement(Qn.ZP,Or({onClick:(0,de.throttle)(kr=>Tt(void 0,null,function*(){$t&&pr(!0);try{yield Jn(kr)}catch(Qr){console.log("error",Qr)}$t&&pr(!1)}),2e3,{leading:!0,trailing:!1}),className:se()(sa,Mn[`${qn}-${Cr}`],Wt),style:pn,size:qn,shape:Cr,loading:mr||Pn},Nn),mn)},nn={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"},Kt=({className:Ht,style:Mt,children:Wt=null,onClick:pn,title:mn})=>pe.createElement("div",{className:se()(nn.head,Ht),style:Mt},pe.createElement("span",{className:"primary-hover",onClick:pn},pe.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),pe.createElement("b",{title:mn},mn),pe.createElement("div",{className:nn.node},Wt)),Hn={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"},Ln=({confirmShow:Ht=!0,confirmTitle:Mt,confirmClick:Wt,cancelShow:pn=!0,cancelTitle:mn,cancelClick:Pn,className:$t,style:Jn,confirmLoading:qn=!1})=>pe.createElement("div",{className:se()(Hn.btns,$t),style:Jn},Ht&&pe.createElement(Qn.ZP,{loading:qn,onClick:Wt,type:"primary",className:Hn.confirm},Mt),pn&&pe.createElement(Qn.ZP,{onClick:Pn,className:Hn.cancel},mn)),gr={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"},rn=({className:Ht,style:Mt={},LeftContent:Wt,children:pn,RightContent:mn})=>pe.createElement("div",{className:se()(gr.fixedBottom,Ht),style:Mt},pe.createElement("div",{className:gr.wrap},pe.createElement("div",{className:gr.left},Wt),pe.createElement("div",{className:gr.center},pn),pe.createElement("div",{className:gr.right},mn))),hr={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"},Ar=({className:Ht,style:Mt={},dataSource:Wt=[]})=>pe.createElement("div",{className:se()(hr.crumbs,Ht),style:Mt},Wt.map((pn,mn)=>mnmt.history.push(pn.path)},pn.name):pe.createElement("span",null,pn.name),pe.createElement("span",null,"\xA0",">","\xA0")):pe.createElement("span",{key:mn,style:{color:"#5F6368"}},pn.name))),vr=Ae(31797),wt=Object.defineProperty,Gt=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,_t=(Ht,Mt,Wt)=>Mt in Ht?wt(Ht,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Ht[Mt]=Wt,Vt=(Ht,Mt)=>{for(var Wt in Mt||(Mt={}))qt.call(Mt,Wt)&&_t(Ht,Wt,Mt[Wt]);if(Zt)for(var Wt of Zt(Mt))en.call(Mt,Wt)&&_t(Ht,Wt,Mt[Wt]);return Ht},Xn=(Ht,Mt)=>Gt(Ht,Rt(Mt)),er=(Ht,Mt)=>{var Wt={};for(var pn in Ht)qt.call(Ht,pn)&&Mt.indexOf(pn)<0&&(Wt[pn]=Ht[pn]);if(Ht!=null&&Zt)for(var pn of Zt(Ht))Mt.indexOf(pn)<0&&en.call(Ht,pn)&&(Wt[pn]=Ht[pn]);return Wt};const{Countdown:kt}=vr.default;var Dr=Ht=>{var Mt=Ht,{onChange:Wt}=Mt,pn=er(Mt,["onChange"]);const[mn,Pn]=(0,pe.useState)(null);(0,pe.useEffect)(()=>{typeof mn=="number"&&mn>=0&&Wt(mn)},[mn]);const $t=Jn=>{const qn=Math.floor(Jn/1e3);Pn(qn)};return pe.createElement(kt,Xn(Vt({},pn),{onChange:$t}))},Xr={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Jt=({DataProps:Ht,className:Mt,style:Wt={}})=>{var pn;return pe.createElement("div",{className:se()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Xr.ClassRoomItem,Mt),style:Wt,onClick:()=>{(0,Qe.xg)(Ht==null?void 0:Ht.first_category_url)}},pe.createElement("div",{className:"flex flex-col item-center"},pe.createElement("img",{src:`${(pn=Ue.Z)==null?void 0:pn.IMG_SERVER}/images/${Ht==null?void 0:Ht.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Ht==null?void 0:Ht.subject_identifier)&&pe.createElement("div",{className:"mt-40px"},pe.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),pe.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),pe.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},pe.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Ht!=null&&Ht.is_public)&&pe.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),pe.createElement("span",{className:se()("text-16px font-medium",Xr.TitleDom)},Ht==null?void 0:Ht.name)),pe.createElement("div",{className:"c-grey-333 font-medium"},Ht==null?void 0:Ht.creator),pe.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Ht==null?void 0:Ht.course_members_count),pe.createElement("div",{className:"c-grey-333 flex item-center justify-between"},pe.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Ht==null?void 0:Ht.tasks_count),Ht!=null&&Ht.is_end?pe.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):pe.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Fn=Object.defineProperty,Wn=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable,Pr=(Ht,Mt,Wt)=>Mt in Ht?Fn(Ht,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Ht[Mt]=Wt,rr=(Ht,Mt)=>{for(var Wt in Mt||(Mt={}))An.call(Mt,Wt)&&Pr(Ht,Wt,Mt[Wt]);if(Wn)for(var Wt of Wn(Mt))xr.call(Mt,Wt)&&Pr(Ht,Wt,Mt[Wt]);return Ht},zr=({DataProps:Ht=[],selectValue:Mt,onChange:Wt,className:pn,style:mn={},extra:Pn,classNameItem:$t,styleItem:Jn={},barHidden:qn})=>{const[Cr,cr]=(0,pe.useState)();return(0,pe.useEffect)(()=>{cr(Array.isArray(Mt)?Mt:[Mt])},[Mt]),pe.createElement("div",{className:se()("flex px-20px py-10px gap-40px",pn),style:rr({borderBottom:"1px solid #D3F0FF"},mn)},Ht==null?void 0:Ht.map(Nn=>pe.createElement("div",{key:Nn==null?void 0:Nn.id,className:se()("flex item-center justify-center current c-grey-333 text-16 relative",$t,Nn==null?void 0:Nn.className),style:rr(rr({color:Cr!=null&&Cr.includes(Nn==null?void 0:Nn.id)?"#1890FF":"",minWidth:88},Jn),(Nn==null?void 0:Nn.style)||{}),onClick:mr=>{Wt==null||Wt({domEvent:mr,item:Nn}),Nn!=null&&Nn.link&&mt.history.push(Nn==null?void 0:Nn.link)}},Nn==null?void 0:Nn.name,!qn&&(Cr==null?void 0:Cr.includes(Nn==null?void 0:Nn.id))&&pe.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),pe.createElement("div",{className:"ml-auto"},Pn))},Ma=Object.defineProperty,ja=Object.defineProperties,na=Object.getOwnPropertyDescriptors,Xa=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,da=(Ht,Mt,Wt)=>Mt in Ht?Ma(Ht,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):Ht[Mt]=Wt,ma=(Ht,Mt)=>{for(var Wt in Mt||(Mt={}))Ha.call(Mt,Wt)&&da(Ht,Wt,Mt[Wt]);if(Xa)for(var Wt of Xa(Mt))eo.call(Mt,Wt)&&da(Ht,Wt,Mt[Wt]);return Ht},qr=(Ht,Mt)=>ja(Ht,na(Mt)),Za=({value:Ht,onChange:Mt,onInputChange:Wt,className:pn,style:mn={},InputProps:Pn})=>{const[$t,Jn]=(0,pe.useState)(Ht);return pe.createElement("div",{className:se()("flex item-center rounded-full px-10px py-2px",pn),style:ma({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},mn)},pe.createElement(fe.default,qr(ma({bordered:!1},Pn),{onChange:qn=>{Jn(qn.target.value),Wt==null||Wt(encodeURIComponent(qn.target.value))},onPressEnter:qn=>{Mt==null||Mt({domEvent:qn,item:{value:$t}})}})),pe.createElement("img",{className:"h-22px current",src:Ae(25365),height:22,onClick:qn=>{Mt==null||Mt({domEvent:qn,item:{value:$t}})}}))}},61346:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return it}});var pe=Ae(59301);function it(E,Se){const ye=(0,pe.useRef)();(0,pe.useEffect)(()=>{ye.current=E}),(0,pe.useEffect)(()=>{function oe(){ye.current()}if(Se!==null){let te=setInterval(oe,Se);return()=>clearInterval(te)}},[Se])}},47348:function(xt,At,Ae){"use strict";Ae.r(At),Ae.d(At,{PracticeFileType:function(){return Ke},default:function(){return ke}});var pe=Ae(59301),it=Ae(92123),E=Ae(61485),Se=Ae(57809),ye=Ae(92832),oe=Ae(36381),te=Ae(78241),se=Ae(43418),de=Ae(8591),ue=Ae(5871),ce=Ae(24905),ae=Ae(5112),ie=Ae(1710),ne=Ae(95237),a=Ae(43604),y=Ae(60324),x=Ae(81327),b=Ae(3113),z=Ae(6848),ee=Ae(54580),re=Ae(16140),le={flex_box_center:"flex_box_center___MjMLk",flex_space_between:"flex_space_between___PcWTa",flex_box_vertical_center:"flex_box_vertical_center___Cq7f3",flex_box_center_end:"flex_box_center_end___sMsFo",flex_box_column:"flex_box_column___n6Hxq",bg:"bg____Ic4Q",radioStyle:"radioStyle___kewjX",formWrap:"formWrap___jcehV",onePart:"onePart___ECsrp",searchInput:"searchInput___UhEpw",twoPart:"twoPart___WVIpx",title:"title___RpX2E",threePart:"threePart___Tzme_",flexRowCenter:"flexRowCenter___M7zUK",fourPart:"fourPart___HgBFj",testJi:"testJi___s6Skh",upBtn:"upBtn___eKx0D",checkboxs:"checkboxs___B4uNe",averageWarp:"averageWarp___yXrlD",averageCustom:"averageCustom___t5o4x",groupWrap:"groupWrap___eT0sR",customInput:"customInput___pywUD",btns:"btns___lJQrt",uploadBtn:"uploadBtn___bb8tt",addBtn:"addBtn___KmPzc",deleteBtn:"deleteBtn___j15T3",uploadTips:"uploadTips___ezbms",uploadTipsIcon:"uploadTipsIcon___ZWRlB",downloadBtn:"downloadBtn____jf42",fileItem:"fileItem___fJ0rs",multiSelect:"multiSelect___Xb8b8",multiple_select:"multiple_select___HUup3"},he=Ae(54001),ve=Ae(64165),fe=Ae(99313),me=Ae(71418),ge={flex_box_center:"flex_box_center___vvciu",flex_space_between:"flex_space_between___WPxvw",flex_box_vertical_center:"flex_box_vertical_center___YY9Br",flex_box_center_end:"flex_box_center_end___FiVhK",flex_box_column:"flex_box_column___FWnfq",wrap:"wrap___AEhcV",content:"content___NDdD8",mainPathWrap:"mainPathWrap___BNeQ2",colorBlue:"colorBlue___UwyKz",empty:"empty___aaM_9"},be=Object.defineProperty,Pe=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Le=($e,gt,ct)=>gt in $e?be($e,gt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):$e[gt]=ct,Ie=($e,gt)=>{for(var ct in gt||(gt={}))Te.call(gt,ct)&&Le($e,ct,gt[ct]);if(Pe)for(var ct of Pe(gt))Ce.call(gt,ct)&&Le($e,ct,gt[ct]);return $e},Me=($e,gt,ct)=>new Promise((vt,st)=>{var ht=ft=>{try{lt(ct.next(ft))}catch(mt){st(mt)}},at=ft=>{try{lt(ct.throw(ft))}catch(mt){st(mt)}},lt=ft=>ft.done?vt(ft.value):Promise.resolve(ft.value).then(ht,at);lt((ct=ct.apply($e,gt)).next())});const Ue=$e=>$e!=null&&$e.length?$e.filter((gt,ct)=>ct!==0).map(gt=>gt.val).join("").substr(1):"",Qe=({shixunsDetail:$e,globalSetting:gt,dispatch:ct,fileType:vt,path:st,onFinish:ht=()=>{}})=>{const at=(0,it.useParams)(),[lt,ft]=(0,pe.useState)(""),[mt,Pt]=(0,pe.useState)("1"),[Et,Lt]=(0,pe.useState)([]),[zt,tn]=(0,pe.useState)(!1),[gn,dn]=(0,pe.useState)([]),En=[Ke.OriginalPicturePath,Ke.ExpectPicturePath,Ke.PicturePath].includes(vt);(0,pe.useEffect)(()=>{$e.actionTabs.key==="EditPracticeSetting-SelectFilePath"&&(ft(st||""),Rn())},[$e.actionTabs.key,st,mt]);const Rn=(Cn="")=>Me(void 0,null,function*(){tn(!0);const fr=yield ct({type:`shixunsDetail/${mt==="1"?"getRepository":"getSecretRepository"}`,payload:{id:at.id,path:Cn}});if(fr!=null&&fr.trees){const or=fr.trees.map(fn=>Ie(Ie({},fn),{name:fn.name,val:fn.name}));dn(or||[])}else dn([]);tn(!1)}),sn=Cn=>{const fr=Ue(Et);let or=`${fr&&`${fr}/`}${Cn}`;mt==="2"&&(or=`secret/${or}`),vt===Ke.Path?!(lt!=null&<.includes(`${or}\uFF1B`))&&ft(`${lt}${or}\uFF1B`):vt===Ke.ExecPath&&ft(or)},$n=Cn=>{if(Cn.type==="tree"){Et.length?Et.push({val:`/${Cn.val}`,path:Cn.val}):Et.push({val:"\u6839\u76EE\u5F55",path:""},{val:`/${Cn.val}`,path:Cn.val}),Lt(Et);const fr=Ue(Et);En&&ft(fr),Rn(fr)}},_n=(Cn,fr)=>{const or=Et.filter((Or,ia)=>ia<=fr);Lt(or);const fn=Ue(or);En&&ft(fn),Rn(fn)},Mn=()=>Me(void 0,null,function*(){ht(lt),Qn()}),Qn=()=>{ft(""),Lt([]),dn([]),Pt("1"),ct({type:"shixunsDetail/setActionTabs",payload:{}})},dr=()=>pe.createElement(ve.Z,{style:{margin:"0 0"},image:ve.Z.PRESENTED_IMAGE_SIMPLE,imageStyle:{height:60},description:pe.createElement("div",null,pe.createElement("p",{style:{color:"#888",marginBottom:0}},"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93\u6682\u65E0\u6587\u4EF6\u3002\u8BF7\u5148\u5F00\u542F\u5E76\u4E0A\u4F20\u4EE3\u7801\u6587"),pe.createElement("span",{style:{color:"#888"}},"\u4EF6\u3001\u6807\u51C6\u56FE\u7247\u7B49\u6587\u4EF6\u5230\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93"))},pe.createElement(b.ZP,{type:"primary",onClick:()=>{Qn(),ct({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"warehouse"}}),it.history.push(`/shixuns/${at.id}/edit?tabId=warehouse`)}},"\u53BB\u4E0A\u4F20")),ir=Ue(Et);return pe.createElement(se.default,{centered:!0,title:"\u6587\u4EF6\u8DEF\u5F84",closable:!1,keyboard:!1,open:$e.actionTabs.key==="EditPracticeSetting-SelectFilePath",onOk:Mn,onCancel:Qn},pe.createElement("div",{className:ge.wrap},pe.createElement(fe.default,{activeKey:mt,onChange:Cn=>{Lt([]),Pt(Cn)}},pe.createElement(fe.default.TabPane,{tab:"\u4EE3\u7801\u4ED3\u5E93",key:"1"}),vt==="exec_path"&&pe.createElement(fe.default.TabPane,{tab:"\u79C1\u5BC6\u4EE3\u7801\u4ED3\u5E93",key:"2"})),pe.createElement(me.Z,{style:{backgroundColor:"#f5f5f5",height:200},spinning:zt},pe.createElement("div",{className:ge.content},pe.createElement("div",null,!!(Et!=null&&Et.length)&&Et.map((Cn,fr)=>pe.createElement("a",{style:{whiteSpace:fr===0?"nowrap":""},key:fr,onClick:()=>_n(Cn,fr)},Cn.val))),gn!=null&&gn.length?gn.map((Cn,fr)=>Cn.type==="tree"?pe.createElement("a",{key:fr,onClick:()=>$n(Cn)},pe.createElement("i",{className:`iconfont icon-wenjianjia ${ge.colorBlue}`}),ir&&`${ir}/`,Cn.name):pe.createElement("a",{key:fr,onClick:()=>sn(`${Cn.name}`)},pe.createElement("i",{className:`iconfont icon-zuoye ${ge.colorBlue}`}),ir&&`${ir}/`,Cn.name)):dr())),pe.createElement("label",{className:"mt5"},"\u5DF2\u9009\u4E2D\u7684\u6587\u4EF6:"),pe.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u65B0\u6587\u4EF6\u5939\u540D/\u5B50\u6587\u4EF6\u5939\u540D\u3002\uFF08\u5982\uFF1Asrc/step1\uFF09",value:lt,onChange:Cn=>ft(Cn.target.value)})))};var Ge=(0,it.connect)(({shixunsDetail:$e,globalSetting:gt})=>({shixunsDetail:$e,globalSetting:gt}))(Qe),ot=Ae(53935),Ve=Ae(89392),Xe=Ae(47470),Ze=Ae(43597),ze=Ae(36619),Re=Ae(66089),He=Ae(15817),rt=Ae(85386),qe=Ae(55659),ut=Ae(45319),_e=Object.defineProperty,We=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,et=($e,gt,ct)=>gt in $e?_e($e,gt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):$e[gt]=ct,De=($e,gt)=>{for(var ct in gt||(gt={}))Fe.call(gt,ct)&&et($e,ct,gt[ct]);if(Ye)for(var ct of Ye(gt))Ne.call(gt,ct)&&et($e,ct,gt[ct]);return $e},je=($e,gt)=>We($e,Oe(gt)),Ee=($e,gt,ct)=>new Promise((vt,st)=>{var ht=ft=>{try{lt(ct.next(ft))}catch(mt){st(mt)}},at=ft=>{try{lt(ct.throw(ft))}catch(mt){st(mt)}},lt=ft=>ft.done?vt(ft.value):Promise.resolve(ft.value).then(ht,at);lt((ct=ct.apply($e,gt)).next())});const{Option:xe}=Se.default,{TextArea:we}=ye.default,{Panel:Be}=oe.default;var Ke=($e=>($e.Path="path",$e.ExecPath="exec_path",$e.OriginalPicturePath="original_picture_path",$e.ExpectPicturePath="expect_picture_path",$e.PicturePath="picture_path",$e))(Ke||{});const nt=({shixunsDetail:$e,dispatch:gt,practiceSetting:ct})=>{var vt,st,ht,at,lt,ft,mt,Pt,Et,Lt,zt,tn,gn,dn,on,En,Rn,sn,$n,_n,Mn,Qn,dr;const ir=(0,it.useDispatch)(),[Cn]=te.default.useForm(),[fr]=te.default.useForm(),[or]=te.default.useForm(),[fn,Or]=(0,pe.useState)({}),[ia,Tt]=(0,pe.useState)({}),[Ft,Ct]=(0,pe.useState)([]),[nn,xn]=(0,pe.useState)({}),[Kt,Hn]=(0,pe.useState)([]),[bn,Ln]=(0,pe.useState)({hidden:0,input_visible:!1,is_invisible:!1,actual_output_visible:!1,last_match_rule:!1}),[gr,Mr]=(0,pe.useState)([!1]),[rn,hr]=(0,pe.useState)(!1),[Zr,Ar]=(0,pe.useState)(),vr=(0,pe.useRef)({formValue:{},testSetList:[],uploadData:[]}),[wt,Gt]=(0,pe.useState)(!0),[Rt,Zt]=(0,pe.useState)(!0),qt=(0,pe.useRef)(null),[en,_t]=(0,pe.useState)(!1),[Vt,Xn]=(0,pe.useState)(!1),[er,kt]=(0,pe.useState)(!1),[Gr,Dr]=(0,pe.useState)(!1),[Xr,la]=(0,pe.useState)(!1),Jt=(0,it.useParams)(),[Fn,Wn]=(0,pe.useState)(!1),[An,xr]=(0,pe.useState)(!1),[Pr,rr]=(0,pe.useState)(!1),[Yr,zr]=(0,pe.useState)(!1),[Ma,ja]=(0,pe.useState)(!1),[na,Xa]=(0,pe.useState)([]),[Ha,eo]=(0,pe.useState)("");let[da,ma]=(0,pe.useState)([{}]);const[qr,Fa]=(0,pe.useState)([]),[Za,Ht]=(0,pe.useState)(null),[Mt,Wt]=(0,pe.useState)([]),[pn,mn]=(0,pe.useState)({}),[Pn,$t]=(0,pe.useState)([]),[Jn,qn]=(0,pe.useState)(null),[Cr,cr]=(0,pe.useState)([]),[Nn,mr]=(0,pe.useState)([]),[pr,sa]=(0,pe.useState)([]),kr=["test_set_rules","go_back_url","next_challenge","position","name","chooses","st","id","path","exec_path","show_type","original_picture_path","expect_picture_path","picture_path","test_set_rules_expression","web_route","test_set_score","test_set_average","exec_time","ignore_space","with_code_file","unity_3d","unity_3d_routes","unity_3d_result","has_web_route","test_sets","is_file","proxy_port","unity3d_show_location"];let Qr=[];(0,pe.useEffect)(()=>{Sa(),hn()},[]),(0,pe.useEffect)(()=>{console.log(Ft);let yt=Ft.every(In=>In.hidden===1);Wn(yt);let Dt=Ft.every(In=>In.is_invisible);xr(Dt);let an=Ft.every(In=>In.last_match_rule);rr(an);let Tn=Ft.every(In=>In.input_visible);zr(Tn);let Un=Ft.every(In=>In.actual_output_visible);ja(Un)},[Ft]),(0,pe.useEffect)(()=>{$e.actionTabs.key=="\u7F16\u8F91\u8BBE\u7F6E\u9879"?ln($e.actionTabs.params):$e.actionTabs.key=="\u7F16\u8F91\u91C7\u96C6\u70B9"&&Bn($e.actionTabs.params)},[$e.actionTabs.key]),(0,pe.useEffect)(()=>(JSON.stringify(vr.current.formValue)!=="{}"&&vr.current.testSetList.length&&Br(),()=>{clearTimeout(qt.current)}),[fn,Kt]);const Sa=()=>Ee(void 0,null,function*(){var yt,Dt;Gt(!0);const an=yield gt({type:"shixunsDetail/getRepository",payload:{id:Jt.id,path:""}});Zt((an==null?void 0:an.trees)===null);const Tn=yield(0,re.ii)({id:Jt.id,challengeId:Jt.challengesId,tab:1});if(Tn){Gt(!1);const Un=((Dt=(yt=Tn.test_sets)==null?void 0:yt[0])==null?void 0:Dt.is_file)||!1,In=je(De({},Tn),{is_file:Un});xn(In),parseInt(Tn==null?void 0:Tn.code_compile_score)>0&&la(!0),fa(In)}}),hn=()=>Ee(void 0,null,function*(){const yt=yield(0,Ze.ZP)("/api/vrs_env_list",{method:"get"});(yt==null?void 0:yt.status)===0&&Xa(yt==null?void 0:yt.data)}),ln=yt=>Ee(void 0,null,function*(){Ht(yt),fr.setFieldsValue(De({},yt))}),Bn=yt=>Ee(void 0,null,function*(){var Dt,an;qn(yt),or.setFieldsValue(je(De({},yt),{vrs_env_id:(Dt=$e==null?void 0:$e.detail)==null?void 0:Dt.vrs_env_id,vrs_subject_id:(an=$e==null?void 0:$e.detail)==null?void 0:an.vrs_subject_id}))}),kn=yt=>{let Dt=yt==null?void 0:yt.length;if(Dt==0)return;const an=Math.floor(100/Dt),Tn=100%Dt,Un=Number(an)+Number(Tn);console.log(Dt,yt),$t(yt.map((In,$r)=>je(De({},In),{score:$r==Dt-1?Un:an})))},Br=()=>{clearTimeout(qt.current),qt.current=setTimeout(ra,500)},ra=()=>{kr.some(Dt=>{const an=(0,Ve.isNumber)(fn[Dt])?String(fn[Dt]):fn[Dt],Tn=(0,Ve.isNumber)(vr.current.formValue[Dt])?String(vr.current.formValue[Dt]):vr.current.formValue[Dt];return!(0,Ve.isEqual)(an,Tn)})||!(0,Ve.isEqual)(vr.current.testSetList,Kt)||!(0,Ve.isEqual)(vr.current.uploadData,Ft)?gt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!0}}):gt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})},fa=yt=>{var Dt;if(yt.proxy_port=(yt==null?void 0:yt.proxy_port)||8080,Cn.setFieldsValue(De({},yt)),Or(De({},yt)),yt!=null&&yt.is_file){const an=yt.test_sets||[];Ct(an);const Tn=[{hidden:0,input:"",output:"",score:100}];vr.current={formValue:De({},yt),testSetList:Tn,uploadData:an},Hn(Tn),Mr(Array(Tn.length).fill(!1))}else{const an=(Dt=yt.test_sets)!=null&&Dt.length?yt.test_sets:[{hidden:0,input:"",output:"",score:100}];vr.current={formValue:De({},yt),testSetList:an,uploadData:[]},Mr(Array(an.length).fill(!1)),Hn(an)}Fa((yt==null?void 0:yt.vrs_settings)||[]),$t((yt==null?void 0:yt.test_sets)||[]),ma((yt==null?void 0:yt.step_settings)||[{}])},ua=yt=>Ee(void 0,null,function*(){if(Rt){se.default.confirm({centered:!0,title:"\u63D0\u793A",content:"\u8BF7\u5148\u4E0A\u4F20\u672C\u5173\u4EFB\u52A1\u7684\u6240\u6709\u4EE3\u7801\u6587\u4EF6\u3001\u6807\u51C6\u56FE\u7247\u7B49\u6240\u6709\u5FC5\u8981\u7684\u6587\u4EF6\u5230\u4EE3\u7801\u4ED3\u5E93",okText:"\u53BB\u4E0A\u4F20",onOk:()=>{gt({type:"practiceSetting/setSideBarTabs",payload:{tabsActive:"warehouse"}}),it.history.push(`/shixuns/${Jt.id}/edit?tabId=warehouse`)},cancelText:"\u53D6\u6D88"});return}gt({type:"shixunsDetail/setActionTabs",payload:{key:"EditPracticeSetting-SelectFilePath"}}),Ar(yt)}),Ba=yt=>{const Dt={[Zr]:yt};Cn.setFieldsValue(Dt),Or(De(De({},fn),Dt))},Aa=yt=>{const Dt=Cn.getFieldsValue();Or(De({},Dt)),"vrs_env_id"in yt&&(Cn.setFieldsValue({vrs_subject_id:null}),Or(je(De({},Dt),{vrs_subject_id:null})),Fa([]),$t([])),"vrs_subject_id"in yt&&(Fa([]),$t([])),"test_set_score"in yt&&yt.test_set_score&&(Cn.setFieldsValue({test_set_average:!0}),fn.is_file?va(Ft):Na(Kt)),"test_set_average"in yt&&yt.test_set_average&&(kn(Pn),fn.is_file?va(Ft):Na(Kt)),"unity_3d"in yt&&(yt.unity_3d||(Cn.setFieldsValue({with_code_file:!0}),Or(je(De({},Dt),{with_code_file:!0}))))},Na=yt=>{let Dt=parseInt(Cn.getFieldValue("code_compile_score")||0);const an=Math.floor((100-Dt)/yt.length),Tn=an+(100-Dt)%yt.length;yt=yt.map((Un,In)=>In===yt.length-1?je(De({},Un),{score:Tn}):je(De({},Un),{score:an})),vr.current.testSetList=(0,Ve.clone)(yt),Hn(yt)},va=yt=>{let Dt=parseInt(Cn.getFieldValue("code_compile_score")||0);const an=Math.floor((100-Dt)/yt.length),Tn=an+(100-Dt)%yt.length;yt=yt.map((Un,In)=>In===yt.length-1?je(De({},Un),{score:Tn}):je(De({},Un),{score:an})),vr.current.uploadData=(0,Ve.clone)(yt),Ct(yt)},yr=()=>{const yt=[...Kt,{hidden:0,input:"",output:"",score:0}];Mr([...gr,!1]),hr(!1),Cn.getFieldValue("test_set_average")?Na(yt):Hn(yt)},Ir=(yt,Dt=!1,an=1)=>Ee(void 0,null,function*(){var Tn,Un,In,$r,Oa,yo,jo;const{vrs_type:Wo,vrs_env_id:Ko,vrs_subject_id:Zo,test_set_average:Io,vrs_settings:Vo,test_set:_o,point_hint:Xo}=yt;console.log(yt),yt.path&&!yt.path.endsWith("\uFF1B")&&(yt.path=yt.path+"\uFF1B"),console.log(pr),console.log(yt),((Tn=$e.detail)==null?void 0:Tn.vrs_type)==1?(yield(0,Ze.ZP)(`/api/shixuns/${Jt==null?void 0:Jt.id}/challenges/${Jt==null?void 0:Jt.challengesId}/update_vrs_setting`,{method:"put",body:je(De({},yt),{vrs_type:1,vrs_env_id:Ko,vrs_subject_id:Zo,test_set:Pn,unity_3d_routes:(In=(Un=na==null?void 0:na.filter(Oo=>{var Do;return Oo.id==((Do=$e==null?void 0:$e.detail)==null?void 0:Do.vrs_env_id)}))==null?void 0:Un[0])==null?void 0:In.url,voice_attachment_id:(yo=(Oa=($r=pr.filter(Oo=>Oo.status==="done"))==null?void 0:$r[0])==null?void 0:Oa.response)==null?void 0:yo.container_id,step_settings:[...da]})})).status==0&&de.ZP.success("\u4FDD\u5B58\u6210\u529F"):(yield(0,re.Rs)(je(De({},Jt),{tab:1,vrs_type:0,challenge:je(De(De({},yt),{test_set_rules_expression:yt.test_set_rules===0?null:yt.test_set_rules_expression}),{shixunfileexpectpicturepath:yt.original_picture_path,shixunfilestandardpicturepath:yt.expect_picture_path}),test_set:Qr,sync_origin_shixun:Dt}))).status>=0&&((jo=$e==null?void 0:$e.detail)!=null&&jo.copy_for_exercise&&(0,Re.m)(gt,$e,Jt.id,an),it.history.replace(`/shixuns/${Jt.id}/edit/${Jt.challengesId}/tab=3`))}),aa=(yt,Dt)=>{const an=[...Ft];an.splice(Dt,1),fn.test_set_average?va(an):Ct(an)},Nr=(yt,Dt)=>{console.log(yt,Dt);const an=Ft.map((Tn,Un)=>Un===Dt?je(De({},Tn),{score:yt.target.value?Number(yt.target.value):0}):Tn);Ct(an)},Wr=(yt,Dt,an)=>{an==="hidden"&&(yt=yt?1:0),console.log(yt,Dt);const Tn=Ft.map((In,$r)=>$r===Dt?je(De({},In),{[an]:yt}):In);Ct(Tn),console.log(Tn);const Un=Tn.every(In=>In[an]===yt);an==="hidden"?Wn(Un&&yt):an==="is_invisible"?xr(Un&&yt):an==="input_visible"?zr(Un&&yt):an==="actual_output_visible"?ja(Un&&yt):rr(Un&&yt)},pa=(yt,Dt)=>{Dt==="hidden"&&(yt=yt?1:0),console.log(yt);const an=Ft.map((Tn,Un)=>je(De({},Tn),{[Dt]:yt}));Ct(an),Dt==="hidden"?Wn(yt):Dt==="is_invisible"?xr(yt):Dt==="input_visible"?zr(yt):Dt==="actual_output_visible"?ja(yt):rr(yt)},oa=yt=>{if(yt!=null&&yt.length){if(Cn.setFieldsValue({is_file:yt==null?void 0:yt[0].is_file}),Or(je(De({},fn),{is_file:yt==null?void 0:yt[0].is_file})),yt!=null&&yt[0].is_file){const Dt=Ft.concat(yt.map(an=>je(De({},an),{hidden:0,is_invisible:!1,last_match_rule:!1})));fn.test_set_average?va(Dt):Ct(Dt)}if(!(yt!=null&&yt[0].is_file)){const Dt=Kt==null?void 0:Kt.filter(an=>an.input||an.output).concat(yt);Mr(Array(Dt.length).fill(!1)),fn.test_set_average?Na(Dt):Hn(Dt)}}},ro=()=>{se.default.confirm({title:"\u5220\u9664\u6D4B\u8BD5\u7528\u4F8B\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u672C\u5173\u5361\u4E2D\u7684\u6D4B\u8BD5\u7528\u4F8B\u5168\u90E8\u5220\u9664\uFF1F",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>{yt()}});const yt=()=>{fn.is_file?va([]):(Na([{hidden:0,input:"",output:"",score:0}]),Mr([!1]))}},ao=()=>{var yt;const Dt=()=>{it.history.push(`/shixuns/${Jt.id}/challenges`),gt({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(yt=ct==null?void 0:ct.sideBar)!=null&&yt.confirmLeave?se.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{Dt()}}):Dt()};console.log(Ft,444);const Eo=yt=>Ee(void 0,null,function*(){Fa(qr.filter(Dt=>!yt.includes(Dt.id)))}),xo=yt=>Ee(void 0,null,function*(){let Dt=Pn.filter(an=>!yt.includes(an.id));$t(Dt),kn(Dt)}),Fo=[{title:"\u5E8F\u53F7",render:(yt,Dt,an)=>an+1,width:60,align:"center"},{title:"\u76EE\u6807",dataIndex:"target",align:"center"},{title:"\u8BBE\u7F6E\u9879\u540D\u79F0",dataIndex:"name",align:"center"},{title:"\u6001\u52BF\u503C",dataIndex:"value",align:"center"},{title:"\u64CD\u4F5C",dataIndex:"course_group_name",align:"right",width:200,render:(yt,Dt)=>pe.createElement(pe.Fragment,null,pe.createElement("span",{onClick:()=>{ir({type:"shixunsDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u8BBE\u7F6E\u9879",params:Dt}})},className:"current c-light-primary mr15"},"\u7F16\u8F91"),pe.createElement("span",{onClick:()=>Eo([Dt==null?void 0:Dt.id]),className:"current",style:{color:"#9096A3"}},"\u5220\u9664"))}],to=[{title:"\u5E8F\u53F7",render:(yt,Dt,an)=>an+1,width:60,align:"center"},{title:"\u91C7\u96C6\u70B9\u540D\u79F0",dataIndex:"vrs_point_name",align:"center"},{title:"\u7B54\u6848\u503C\u7C7B\u578B",dataIndex:"vrs_point_answer_type",align:"center",render:(yt,Dt,an)=>yt==0?"\u56FA\u5B9A\u503C":yt==1?"\u533A\u95F4\u503C":"\u72B6\u6001\u503C"},{title:"\u7B54\u6848",dataIndex:"vrs_point_answer_value",align:"center"},{title:"\u5F97\u5206\u6BD4\u4F8B",dataIndex:"score",align:"left",width:220,render:(yt,Dt,an)=>{var Tn;return pe.createElement(pe.Fragment,null,pe.createElement(ue.Z,{min:0,max:100,value:(Tn=Pn[an])==null?void 0:Tn.score,disabled:fn==null?void 0:fn.test_set_average,onChange:Un=>{Pn[an].score=Un?Number(Un):0,$t([...Pn])}}),pe.createElement("span",{className:"ml5"},"%"))}},fn.point_hint&&{title:"\u5F15\u5BFC\u987A\u5E8F",dataIndex:"vrs_position",align:"center"},fn.point_hint&&{title:"\u5F15\u5BFC\u5185\u5BB9",dataIndex:"vrs_content",ellipsis:!0,align:"center"},{title:"\u64CD\u4F5C",dataIndex:"course_group_name",align:"right",width:200,render:(yt,Dt)=>pe.createElement(pe.Fragment,null,pe.createElement("span",{onClick:()=>{ir({type:"shixunsDetail/setActionTabs",payload:{key:"\u7F16\u8F91\u91C7\u96C6\u70B9",params:Dt}})},className:"current mr15",style:{color:"#3061D0"}},"\u7F16\u8F91"),pe.createElement("span",{onClick:()=>xo([Dt==null?void 0:Dt.id]),className:"current",style:{color:"#9096A3"}},"\u5220\u9664"))}].filter(yt=>!!yt);return pe.createElement(pe.Fragment,null,pe.createElement("section",{key:1,className:le.bg},pe.createElement(te.default,{form:Cn,className:le.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:Aa,onFinish:yt=>{var Dt,an,Tn;let Un=parseInt(Cn.getFieldValue("code_compile_score")||0);if(((Dt=$e.detail)==null?void 0:Dt.vrs_type)==1&&(Pn!=null&&Pn.length)){const In=Pn.reduce(($r,Oa)=>$r+Oa,0);if(yt.test_set_score&&In!==100&&(Pn!=null&&Pn.length)){de.ZP.error("\u6570\u636E\u91C7\u96C6\u70B9\u7684\u5F97\u5206\u6BD4\u4F8B\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}}if(yt.is_file){if(!(Ft!=null&&Ft.length)){de.ZP.error("\u6D4B\u8BD5\u96C6\u4E0D\u80FD\u4E3A\u7A7A");return}const $r=Ft.map(Oa=>Oa.score).reduce((Oa,yo)=>Oa+yo,0)+Un;if(yt.test_set_score&&$r!==100&&(Kt!=null&&Kt.length)){de.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}Qr=Ft}if(!yt.is_file){const $r=Kt.map(Oa=>Oa.score).reduce((Oa,yo)=>Oa+yo,0)+Un;if(yt.test_set_score&&$r!==100&&(Kt!=null&&Kt.length)){de.ZP.error("\u6D4B\u8BD5\u96C6\u7684\u8BC4\u5206\u5360\u6BD4\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E100");return}Qr=Kt.map(Oa=>je(De({},Oa),{is_file:!1}))}yt.test_set_score||(Qr=Qr.map(In=>je(De({},In),{is_target:!1,target_name:""}))),(an=$e==null?void 0:$e.detail)!=null&&an.is_fork_from_creator&&((Tn=$e==null?void 0:$e.detail)!=null&&Tn.copy_for_exercise)&&(nn!=null&&nn.has_relation)?gt({type:"classroomList/setActionTabs",payload:{key:"\u540C\u6B65\u4FEE\u6539",value:yt,type:"taskLevel",fn:(In,$r,Oa)=>{Ir(In,$r,Oa)}}}):Ir(yt)},initialValues:{test_set_rules:0}},pe.createElement(ze.Z,{activeIndex:1}),pe.createElement("div",{className:(vt=$e==null?void 0:$e.detail)!=null&&vt.is_client_unity_3d?"":le.onePart},((st=$e.detail)==null?void 0:st.identity)<3&&((ht=$e.detail)==null?void 0:ht.unity_3d)&&((at=$e.detail)==null?void 0:at.vrs_type)==1&&pe.createElement(pe.Fragment,null,((lt=$e.detail)==null?void 0:lt.vrs_question_type)==1&&pe.createElement(pe.Fragment,null,pe.createElement(te.default.Item,{name:"is_time_limit",valuePropName:"checked"},pe.createElement(ce.default,{style:{color:"#333333"}},"\u5F00\u542F\u4EFB\u52A1\u5B8C\u6210\u65F6\u95F4\u9650\u5236\uFF0C\u672A\u5728\u6307\u5B9A\u65F6\u95F4\u5185\u5B8C\u6210")),fn.is_time_limit&&pe.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:10}},pe.createElement("div",{style:{color:"#000000"}},"\u9650\u5236\u65F6\u957F"),pe.createElement(te.default.Item,{className:"ml20",style:{marginBottom:"0px"},name:"time_limit",rules:[{required:!0,message:"\u4F5C\u4E1A\u603B\u5206\u4E0D\u80FD\u4E3A\u7A7A"}]},pe.createElement(ue.Z,{size:"large",style:{width:120},min:1,precision:0})),pe.createElement("div",{style:{color:"#9096A3",marginLeft:10}},"\u5206\u949F")),pe.createElement(te.default.Item,{name:"vrs_content",label:"\u5F15\u5BFC\u5185\u5BB9:",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5F15\u5BFC\u5185\u5BB9"}]},pe.createElement(qe.Z,{defaultValue:fn.vrs_content||"",watch:!0})),pe.createElement(te.default.Item,{name:"audioFiles"},pe.createElement(ut.Z,{value:pr,onChange:sa,maxSize:5e3,maxCount:1}))),pe.createElement(te.default.Item,{name:"test_set_average",label:"\u91C7\u96C6\u70B9\u5F97\u5206\u89C4\u8303"},pe.createElement(ae.ZP.Group,null,pe.createElement(ae.ZP,{value:!0},"\u5747\u5206\u6BD4\u4F8B"),pe.createElement(ae.ZP,{value:!1},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B"))),pe.createElement("div",{style:{position:"relative"}},pe.createElement(te.default.Item,{name:"test_set",label:"\u8003\u6838\u6570\u636E\u91C7\u96C6\u70B9\u4E0E\u6807\u51C6\u7B54\u6848",rules:[{required:!1,message:"\u8BF7\u6DFB\u52A0\u8003\u6838\u6570\u636E\u91C7\u96C6\u70B9\u4E0E\u6807\u51C6\u7B54\u6848"}]},pe.createElement("div",{className:"flex item-center justify-between"},pe.createElement("div",{className:le.btns},pe.createElement("div",{className:le.uploadBtn,onClick:()=>{ir({type:"shixunsDetail/setActionTabs",payload:{key:"\u4E0A\u4F20\u91C7\u96C6\u70B9"}})}},pe.createElement("span",null,"\u4E0A\u4F20\u91C7\u96C6\u70B9")),pe.createElement("div",{className:le.addBtn,onClick:()=>{ir({type:"shixunsDetail/setActionTabs",payload:{key:"\u6DFB\u52A0\u91C7\u96C6\u70B9"}})}},pe.createElement("span",null,"\u6DFB\u52A0\u91C7\u96C6\u70B9")),(Cr==null?void 0:Cr.length)>0&&pe.createElement("div",{className:le.deleteBtn,onClick:()=>se.default.confirm({title:"\u63D0\u793A",centered:!0,content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E9B\u91C7\u96C6\u70B9\u5417\uFF1F",onOk:()=>xo(Cr)})},pe.createElement("span",null,"\u6279\u91CF\u5220\u9664"))),pe.createElement(He.t7,{className:le.searchInput,style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u91C7\u96C6\u70B9\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Ha,onChange:yt=>{var Dt;return eo((Dt=decodeURIComponent(yt))==null?void 0:Dt.trim())}})),pe.createElement(ie.default,{style:{padding:"15px 0"},pagination:!1,columns:to,dataSource:Pn==null?void 0:Pn.filter(yt=>{var Dt,an;return!Ha||((Dt=yt==null?void 0:yt.vrs_point_name)==null?void 0:Dt.toLowerCase().includes(Ha.toLowerCase()))||((an=yt==null?void 0:yt.vrs_point_name)==null?void 0:an.includes(Ha))}),rowKey:yt=>yt==null?void 0:yt.id,rowSelection:{selectedRowKeys:Cr,onChange:yt=>{cr(yt)}}})),((ft=$e.detail)==null?void 0:ft.vrs_question_type)==0&&pe.createElement(te.default.Item,{name:"point_hint",valuePropName:"checked",style:{position:"absolute",top:10,right:0}},pe.createElement(ce.default,null,"\u5BF9\u5B66\u5458\u5F00\u542F\u91C7\u96C6\u70B9\u64CD\u4F5C\u5F15\u5BFC"))),((mt=$e.detail)==null?void 0:mt.vrs_question_type)==1&&pe.createElement("div",{className:"mb100"},pe.createElement(te.default.Item,{name:"open_step_settings",valuePropName:"checked"},pe.createElement(ce.default,{style:{color:"#333333"}},"\u6307\u5B9A\u4E0B\u4E00\u6B65\u4EFB\u52A1",pe.createElement("span",{style:{color:"#9096A3",fontSize:14}},"\uFF08\u672A\u5F00\u542F\u65F6\uFF0C\u5B66\u5458\u5B8C\u6210\u5F53\u524D\u4EFB\u52A1\u540E\u5C06\u6309\u9ED8\u8BA4\u6392\u5E8F\u8FDB\u884C\u4E0B\u4E00\u6B65\u4EFB\u52A1\u3002\u5F00\u542F\u4E4B\u540E\uFF0C\u5C06\u6839\u636E\u5F53\u524D\u4EFB\u52A1\u7684\u4E0D\u540C\u5B8C\u6210\u60C5\u51B5\u8FDB\u5165\u6307\u5B9A\u7684\u4E0B\u4E00\u6B65\u4EFB\u52A1\uFF09"))),fn.open_step_settings&&pe.createElement(ne.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px",marginBottom:50}},da&&(da==null?void 0:da.map(function(yt,Dt){var an,Tn,Un;return pe.createElement(a.Z,{span:24,key:Dt},pe.createElement(ne.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Dt==(da==null?void 0:da.length)-1?"0px":"10px"}},pe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u89C4\u5219",Dt+1,"\uFF1A"),pe.createElement("div",{className:"mr10"},"\u82E5\u91C7\u96C6\u70B9"),pe.createElement(Se.default,{mode:"multiple",className:le.multiple_select,style:{width:"450px"},value:yt.check_points,placeholder:"\u8BF7\u9009\u62E9\u91C7\u96C6\u70B9",onChange:In=>{da[Dt].check_points=In,ma(da.slice())}},(an=na==null?void 0:na.filter(In=>{var $r;return In.id==(($r=$e==null?void 0:$e.detail)==null?void 0:$r.vrs_env_id)})[0])==null?void 0:an.vrs_points.map(In=>pe.createElement(xe,{value:In.name},In.name))),pe.createElement("div",{className:"ml10"},"\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u8FDB\u5165"),pe.createElement("div",{className:"ml20"},pe.createElement(Se.default,{style:{width:"250px",height:40},size:"large",value:yt.challenge_id,placeholder:"\u8BF7\u9009\u62E9\u4EFB\u52A1",onChange:In=>{da[Dt].challenge_id=In,ma(da.slice())}},(Un=(Tn=$e==null?void 0:$e.challenges)==null?void 0:Tn.challenge_list)==null?void 0:Un.map((In,$r)=>pe.createElement(xe,{value:In.challenge_id},`\u4EFB\u52A1${$r+1}`)))),pe.createElement("div",{style:{display:"flex",width:"50px"}},pe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{ma(da.concat({}))}}),Dt!=0&&pe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{da=da.filter((In,$r)=>Dt!==$r),ma(da.slice()),setTimeout(()=>ma(da.slice()),10)}}))))}))))),!((Pt=$e.detail)!=null&&Pt.unity_3d)&&((Et=$e.detail)==null?void 0:Et.identity)<3&&((Lt=$e.detail)==null?void 0:Lt.vrs_type)!=1&&pe.createElement(te.default.Item,{name:"unity_3d_routes",label:"\u8DEF\u5F84:",rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},pe.createElement(ye.default,{bordered:!1,disabled:((zt=$e.detail)==null?void 0:zt.shixun_status)===2,placeholder:"\u8BF7\u8F93\u5165\u7B2C\u4E09\u65B9\u5E73\u53F0\u7684\u94FE\u63A5\u5730\u5740\u3002\u4F8B\uFF1Ahttps://..."})),((tn=$e.detail)==null?void 0:tn.unity_3d)&&((gn=$e.detail)==null?void 0:gn.identity)<3&&((dn=$e.detail)==null?void 0:dn.vrs_type)!=1&&pe.createElement(pe.Fragment,null,pe.createElement(te.default.Item,{name:"with_code_file",label:"\u662F\u5426\u9700\u8981\u4EE3\u7801\u8BC4\u6D4B:"},pe.createElement(ae.ZP.Group,null,pe.createElement(ae.ZP,{value:!0},"\u662F"),pe.createElement(ae.ZP,{value:!1},"\u5426"))),fn.with_code_file?pe.createElement(te.default.Item,{name:"unity_3d_result",label:"\u8BC4\u6D4B\u7ED3\u679C\u662F\u5426\u7531 Unity3D \u51B3\u5B9A:"},pe.createElement(ae.ZP.Group,null,pe.createElement(ae.ZP,{value:!0},"\u662F"),pe.createElement(ae.ZP,{value:!1},"\u5426"))):null,fn.with_code_file?pe.createElement(te.default.Item,{name:"unity3d_show_location",label:"Unity3D\u5185\u5BB9\u5C55\u793A\u4F4D\u7F6E:"},pe.createElement(ae.ZP.Group,null,pe.createElement(ae.ZP,{value:0},"\u5DE6\u4FA7\uFF08\u4EFB\u52A1\u8981\u6C42\u4E0A\u65B9\uFF09"),pe.createElement(ae.ZP,{value:1},"\u53F3\u4FA7\uFF08\u53EF\u901A\u8FC7\u5B9E\u9A8C\u73AF\u5883\u5207\u6362\uFF09"))):null)),pe.createElement("div",{className:le.twoPart},fn.with_code_file&&((on=$e.detail)==null?void 0:on.vrs_type)!=1&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:le.title},"\u8BC4\u6D4B\u6587\u4EF6"),pe.createElement(te.default.Item,{name:"exec_time",label:pe.createElement("div",null,"\u8BC4\u6D4B\u65F6\u957F\u9650\u5236 ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u7A0B\u5E8F\u7F16\u8BD1\u3001\u6267\u884C\u6240\u5141\u8BB8\u7684\u6700\u5927\u65F6\u957F\uFF0C\u5355\u4F4D\uFF1A\u79D2\uFF09")),rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},pe.createElement(ye.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F",className:le.width300})),pe.createElement(te.default.Item,{label:pe.createElement("div",null,"\u8BC4\u6D4B\u7ED3\u679C\u5C55\u793A\u65B9\u5F0F ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B66\u5458\u8BC4\u6D4B\u672C\u5173\u4EFB\u52A1\u65F6\uFF0C\u67E5\u770B\u6548\u679C\u9875\u4E0A\u9700\u8981\u5C55\u73B0\u7684\u6587\u4EF6\u7C7B\u578B\uFF09"))},pe.createElement(te.default.Item,{name:"show_type",noStyle:!0,rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},pe.createElement(Se.default,{bordered:!1,size:"large",style:{width:600},getPopupContainer:yt=>yt.parentNode},pe.createElement(xe,{value:-1},"\u6D4B\u8BD5\u96C6\u5BF9\u6BD4"),pe.createElement(xe,{value:1},"\u56FE\u7247"),pe.createElement(xe,{value:2},"apk/exe"),pe.createElement(xe,{value:3},"txt"),pe.createElement(xe,{value:4},"html"),pe.createElement(xe,{value:5},"mp3"),pe.createElement(xe,{value:6},"mp4"),pe.createElement(xe,{value:7},"LaTeX"),pe.createElement(xe,{value:8},"office"),pe.createElement(xe,{value:9},"Verilog"))),pe.createElement(y.Z,{overlayClassName:le.popover,placement:"bottomLeft",content:pe.createElement("p",{className:"font12"},"\u56FE\u7247\uFF1A\u5904\u7406\u6216\u8F93\u51FA\u56FE\u7247\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",pe.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E\u56FE\u7247\u8DEF\u5F84\u548C\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\uFF0C\u5C55\u793A\u4EE3\u7801\u5BF9\u5E94\u7684\u56FE\u7247\u6548\u679C",pe.createElement("br",null),pe.createElement("br",null),"apk/exe\uFF1A\u5199\u53EF\u6267\u884C\u6587\u4EF6\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",pe.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\uFF0C\u5C55\u793A\u4E8C\u7EF4\u7801\u4EE5\u4F9B\u626B\u7801\u4E0B\u8F7D",pe.createElement("br",null),pe.createElement("br",null),"txt\uFF1A\u8F93\u51FAtxt\u6587\u6863\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",pe.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\u8BBE\u7F6E\uFF0C\u5C55\u793Atxt\u6587\u4EF6\u5185\u5BB9",pe.createElement("br",null),pe.createElement("br",null),"html\uFF1Aweb\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",pe.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7Web\u8DEF\u7531\u8BBE\u7F6E\uFF0C\u5C55\u793Ahtml\u6548\u679C\u9884\u89C8\u9875",pe.createElement("br",null),pe.createElement("br",null),"mp3/mp4\uFF1Amp3/mp4\u6587\u4EF6\u7C7B\u578B\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",pe.createElement("br",null),"\u53EF\u4EE5\u901A\u8FC7\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u8DEF\u5F84\u8BBE\u7F6E\uFF0C\u5C55\u793Amp3/mp4\u6587\u4EF6\u5185\u5BB9",pe.createElement("br",null),pe.createElement("br",null),"LaTeX\uFF1ALaTeX\u5B9E\u9A8C\u62A5\u544A\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u62E9\u6B64\u9879",pe.createElement("br",null),"\u5B66\u5458\u53EF\u4EE5\u4F7F\u7528LaTeX\u7CFB\u7EDF\u64B0\u5199\u5B9E\u9A8C\u62A5\u544A\uFF0C\u6700\u7EC8\u4EE5PDF\u683C\u5F0F\u5C55\u793A",pe.createElement("br",null),pe.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A\u9009\u62E9\u4E86LaTeX\u7684\u5173\u5361\uFF0C\u9700\u8981\u6559\u5E08\u624B\u52A8\u5BF9\u8BE5\u5173\u5361\u8FDB\u884C\u5224\u5206"),pe.createElement("br",null),pe.createElement("br",null),"Office\uFF1AMicrosoftOffice\u76F8\u5173\u6587\u4EF6\u7684\u4EFB\u52A1\uFF0C\u8BF7\u9009\u586B\u6B64\u9879",pe.createElement("br",null),"\u6CE8\u610F\uFF1A\u5B66\u751F\u4E0A\u4F20\u7684office\u6587\u4EF6\u76EE\u5F55\u662F\u5728/data/bigfiles\u76EE\u5F55\u4E0B\uFF0C\u5982\u679C\u8981\u505A\u8BC4\u6D4B\uFF0C\u8BF7\u8BFB\u53D6\u6B64\u76EE\u5F55\u7684\u6587\u4EF6",pe.createElement("br",null)),trigger:"click"},pe.createElement(E.Z,{className:"ml5 font24 c-light-black"}))),pe.createElement(te.default.Item,{name:"path",label:pe.createElement("div",null,"\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6 ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u6587\u4EF6\u5C06\u76F4\u63A5\u663E\u793A\u7ED9\u5B66\u751F\uFF0C\u9700\u8981\u5B66\u751F\u5728\u5176\u4E2D\u586B\u5199\u4EE3\u7801\uFF09")),rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},pe.createElement(ye.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u4EE3\u7801\u6587\u4EF6\uFF0C\u53EF\u540C\u65F6\u9009\u62E9\u591A\u4E2A\u6587\u4EF6",onClick:()=>ua("path")})),pe.createElement(te.default.Item,{name:"exec_path",label:pe.createElement("div",null,"\u8BC4\u6D4B\u6267\u884C\u6587\u4EF6 ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u70B9\u51FB\u8BC4\u6D4B\u6309\u94AE\u65F6\u8C03\u7528\u7684\u6587\u4EF6\uFF0C\u7528\u4E8E\u68C0\u6D4B\u5B66\u5458\u7ED3\u679C\u662F\u5426\u6B63\u786E\uFF0C\u53EF\u4EE5\u4E0E\u201C\u5B66\u5458\u4EFB\u52A1\u6587\u4EF6\u201D\u4E00\u81F4\uFF09")),rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},pe.createElement(ye.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u4EE3\u7801\u6587\u4EF6",onClick:()=>ua("exec_path")})),fn.show_type===4&&(fn.web_route||(nn==null?void 0:nn.has_web_route))&&pe.createElement(pe.Fragment,null,pe.createElement(te.default.Item,{name:"proxy_port",label:pe.createElement("div",null,"\u7AEF\u53E3\u53F7 ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BF7\u6CE8\u610F\u5C06\u670D\u52A1\u5668\u7A0B\u5E8F\u7684\u7AEF\u53E3\u53F7\u6620\u5C04\u5230\u4EE5\u4E0B\u7AEF\u53E3\uFF0C\u9ED8\u8BA48080\uFF09")),rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7AEF\u53E3\u53F7"},{validator:(yt,Dt)=>/^([0-9]|[1-9]\d|[1-9]\d{2}|[1-9]\d{3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$/.test(Dt)||!Dt?Promise.resolve():Promise.reject(new Error("\u7AEF\u53E3\u8F93\u5165\u8303\u56F4(0-65535)"))}]},pe.createElement(ye.default,{bordered:!1,placeholder:"\u8BF7\u8F93\u51650-65535\u7684\u503C"})),pe.createElement(te.default.Item,{name:"web_route",label:pe.createElement("div",null,"Web\u8DEF\u7531 ",pe.createElement("span",{className:"font12 c-light-black"}," \uFF08\u7F51\u7AD9\u7C7B\u578B\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u586B\u5199Web\u8DEF\u7531\u5730\u5740\uFF09"))},pe.createElement(ye.default,{bordered:!1,placeholder:"\u7F51\u7AD9\u7C7B\u578B\u5B9E\u8BAD\uFF0C\u8BF7\u586B\u5199Web\u8DEF\u7531\u5730\u5740\u3002\u4F8B\uFF1Ajava/mypage"}))),(fn.show_type===1||fn.show_type===5||fn.show_type===6)&&pe.createElement(te.default.Item,{name:"original_picture_path",label:pe.createElement("div",null,"\u6E90\u6587\u4EF6\u76EE\u5F55 ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u76EE\u5F55\u7528\u4E8E\u5B58\u653E\u9700\u8981\u5904\u7406\u7684\u56FE\u7247/MP3/MP4\u7B49\u6587\u4EF6\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5355\u72EC\u7684\u6587\u4EF6\u5939\uFF09"))},pe.createElement(ye.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\uFF0C\u4F8B\uFF1Asrc/step1/sourcefiles",onClick:()=>ua("original_picture_path")})),fn.show_type!==-1&&pe.createElement(te.default.Item,{name:"picture_path",label:pe.createElement("div",null,"\u5B66\u5458\u7B54\u6848\u6587\u4EF6\u76EE\u5F55 ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u76EE\u5F55\u7528\u4E8E\u5B58\u653E\u5B66\u5458\u4EE3\u7801\u6267\u884C\u540E\u751F\u6210\u7684\u6587\u4EF6\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5355\u72EC\u7684\u6587\u4EF6\u5939\uFF09"))},pe.createElement(ye.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\uFF0C\u4F8B\uFF1Asrc/step1/outputfiles",onClick:()=>ua("picture_path")})),(fn.show_type===1||fn.show_type===5||fn.show_type===6)&&pe.createElement(te.default.Item,{name:"expect_picture_path",label:pe.createElement("div",null,"\u6807\u51C6\u7B54\u6848\u6587\u4EF6\u76EE\u5F55 ",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u8BE5\u76EE\u5F55\u7528\u4E8E\u5B58\u653E\u6700\u7EC8\u4F5C\u4E3A\u53C2\u8003\u7684\u6587\u4EF6\uFF0C\u5728\u8BC4\u6D4B\u901A\u8FC7\u540E\u4F1A\u5C55\u793A\u7ED9\u5B66\u5458\u67E5\u770B\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u5355\u72EC\u7684\u6587\u4EF6\u5939\uFF09"))},pe.createElement(ye.default,{bordered:!1,placeholder:"\u70B9\u51FB\u9009\u62E9\u6587\u4EF6\u76EE\u5F55\uFF0C\u4F8B\uFF1Asrc/step1/expectedfiles",onClick:()=>ua("expect_picture_path")})))),pe.createElement("div",{className:le.threePart},fn.with_code_file&&((En=$e.detail)==null?void 0:En.vrs_type)!=1&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:le.title},"\u8BC4\u6D4B\u89C4\u5219"),pe.createElement("div",{className:le.flexRowCenter},pe.createElement(te.default.Item,{className:le.formCustom,name:"test_set_rules",label:"\u901A\u5173\u5224\u5B9A:"},pe.createElement(ae.ZP.Group,{className:"ml25"},pe.createElement(ae.ZP,{className:le.radioStyle,value:0},"\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u5BF9\u6BD4"),pe.createElement(ae.ZP,{className:le.radioStyle,value:1},"\u5B9E\u9645\u8F93\u51FA\u6EE1\u8DB3\u89C4\u5219"))),fn.test_set_rules===1&&pe.createElement(pe.Fragment,null,pe.createElement(te.default.Item,{name:"test_set_rules_expression",style:{marginTop:50,position:"relative",top:40},rules:[{required:!0,message:"\u5FC5\u586B\u9879\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"}]},pe.createElement(ye.default,{style:{width:400,marginLeft:-40},bordered:!1,placeholder:"\u9002\u7528\u4E8E\u8F93\u51FA\u7ED3\u679C\u52A8\u6001\u53D8\u5316\u7684\u7A0B\u5E8F"})),pe.createElement(y.Z,{overlayClassName:le.popover,placement:"bottomLeft",content:pe.createElement("p",{className:"font12"},"\u4F7F\u7528\u793A\u4F8B1\uFF1A\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u7684\u76F8\u5BF9\u8BEF\u5DEE\u57280.01\u4EE5\u5185\uFF0C\u53EF\u4F7F\u7528\u4EE5\u4E0B\u8868\u8FBE\u5F0F\uFF1A",pe.createElement("br",null),"(actual-expect)/expect <= 0.01",pe.createElement("br",null),"\u4F7F\u7528\u793A\u4F8B2\uFF1A\u5B9E\u9645\u8F93\u51FA\u7ED3\u679C\u5305\u542B\u67D0\u6BB5\u5B57\u7B26\u4E32hello\uFF0C\u53EF\u4F7F\u7528\u4EE5\u4E0B\u8868\u8FBE\u5F0F\uFF1A",pe.createElement("br",null),'string.contains(actual, "hello")',pe.createElement("br",null),pe.createElement("br",null),"\u82E5\u9700\u8981\u5BF9\u8F93\u51FA\u7ED3\u679C\u4E2D\u6BCF\u4E2A\u5143\u7D20\u8FDB\u884C\u64CD\u4F5C\uFF0C\u53EF\u4F7F\u7528list\u96C6\u5408",pe.createElement("br",null),"\u793A\u4F8B\u53C2\u8003\uFF1A\u5047\u8BBE\u7A0B\u5E8F\u5B9E\u9645\u8F93\u51FA\u4E3A\uFF1A100 1000 10000\uFF1B\u9884\u671F\u8F93\u51FA\u4E3A\uFF1A100.01 1000.02 10000.05",pe.createElement("br",null),"\u8BC4\u6D4B\u8981\u6C42\uFF1A\u5B9E\u9645\u8F93\u51FA\u5217\u8868\u4E2D\u5143\u7D20\u4E0E\u9884\u671F\u8F93\u51FA\u5217\u8868\u4E2D\u5BF9\u5E94\u5143\u7D20\u76F8\u5BF9\u8BEF\u5DEE\u57280.01 \u4E4B\u5185\uFF0C\u53EF\u4F7F\u4EE5\u4E0B\u8868\u8FBE\u5F0F\uFF1A",pe.createElement("br",null),"list.forEach( 'math.abs( (actualElem-expectElem)/expectElem ) <= 0.01 ' )",pe.createElement("br",null),pe.createElement("br",null),pe.createElement("a",{href:"https://www.educoder.net/forums/4346",target:"_blank",style:{background:"#0152d9",color:"#fff"}},"\u70B9\u51FB\u67E5\u770B\u8BE6\u60C5\u8BF4\u660E"),pe.createElement("br",null)),trigger:"click"},pe.createElement(E.Z,{style:{padding:"114px 0 0 9px"},className:"font24 c-light-black"})))),pe.createElement(te.default.Item,{className:le.formCustom,name:"ignore_space",label:"\u7A7A\u683C\u5904\u7406:"},pe.createElement(ae.ZP.Group,{className:"ml25"},pe.createElement(ae.ZP,{className:le.radioStyle,value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),pe.createElement(ae.ZP,{className:le.radioStyle,value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),pe.createElement(ae.ZP,{className:le.radioStyle,value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C",pe.createElement("span",{className:"font12 c-light-black"},"(\u8BC4\u6D4B\u8FC7\u7A0B\u4E2D\u81EA\u52A8\u53BB\u6389\u6240\u6709\u7A7A\u683C\u8FDB\u884C\u5BF9\u6BD4)")))))),pe.createElement("div",{className:le.fourPart},fn.with_code_file&&((Rn=$e.detail)==null?void 0:Rn.vrs_type)!=1&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:le.title},"\u6D4B\u8BD5\u96C6"),pe.createElement(te.default.Item,{className:le.testJi,name:"test_set_score",label:"\u5F97\u5206\u89C4\u8303:"},pe.createElement(ae.ZP.Group,{className:"ml25"},pe.createElement(ae.ZP,{value:!1,className:le.radioStyle},"\u901A\u8FC7\u5168\u90E8\u6D4B\u8BD5\u96C6",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u6240\u6709\u6D4B\u8BD5\u96C6\u90FD\u6B63\u786E\u65F6\uFF0C\u624D\u80FD\u83B7\u5F97\u91D1\u5E01\uFF09")),pe.createElement(ae.ZP,{value:!0,className:le.radioStyle},"\u901A\u8FC7\u90E8\u5206\u6D4B\u8BD5\u96C6",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u90E8\u5206\u6D4B\u8BD5\u96C6\u6B63\u786E\u65F6\uFF0C\u6309\u914D\u7F6E\u7684\u6BD4\u4F8B\u83B7\u5F97\u91D1\u5E01\uFF09")))),fn.test_set_score&&pe.createElement("div",{className:le.averageWarp},pe.createElement(te.default.Item,{className:le.averageCustom,name:"test_set_average",label:""},pe.createElement(ae.ZP.Group,null,pe.createElement(ae.ZP,{style:{margin:"0 40px 0 20px"},value:!0},"\u5747\u5206\u6BD4\u4F8B"),pe.createElement(ae.ZP,{value:!1},"\u81EA\u5B9A\u4E49\u6BD4\u4F8B")))),fn.test_set_score&&pe.createElement("div",null,pe.createElement("div",{style:{display:"flex",height:"30px",marginBottom:"10px",paddingLeft:"93px"}},pe.createElement(ce.default,{checked:Xr,style:{display:"flex",alignItems:"center"},className:le.checkboxs,onChange:yt=>{la(yt.target.checked),Cn.setFieldsValue({code_compile_score:0}),fn.test_set_average&&(fn.is_file?va(Ft):Na(Kt))}},"\u542F\u7528\u7F16\u8BD1\u901A\u8FC7\u5373\u53EF\u5F97\u5206"),Xr&&pe.createElement("span",{style:{display:"flex"}},pe.createElement(te.default.Item,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F16\u8BD1\u5F97\u5206"}],name:"code_compile_score"},pe.createElement(ue.Z,{onChange:()=>{fn.test_set_average&&(fn.is_file?va(Ft):Na(Kt))},parser:yt=>isNaN(parseInt(yt))?"":parseInt(yt),min:0,max:100,style:{width:"85px",margin:"5px 0px",fontSize:"14px"}}))," ",pe.createElement("span",{style:{display:"flex",alignItems:"center",marginLeft:"5px",marginTop:10}},"%",pe.createElement("div",{style:{color:"#999",fontSize:"12px"}},"\uFF08\u8BF7\u6CE8\u610F\u8BE5\u5B9E\u8BAD\u9898\u662F\u5426\u6709\u7F16\u8BD1\u8FC7\u7A0B\uFF0C\u82E5\u6CA1\u6709\u5219\u65E0\u6CD5\u83B7\u5F97\u7F16\u8BD1\u5F97\u5206\uFF09"))))),pe.createElement(te.default.Item,{className:le.testJi,name:"is_file",label:"\u7528\u4F8B\u7C7B\u578B:"},pe.createElement(ae.ZP.Group,{className:"ml25"},pe.createElement(x.Z,{direction:"horizontal"},pe.createElement(ae.ZP,{value:!1,className:le.radioStyle},"\u6587\u672C"),pe.createElement(ae.ZP,{value:!0,className:le.radioStyle},"\u6587\u4EF6")))),pe.createElement("div",{style:{marginTop:"20px"},className:le.upBtn},!fn.is_file&&pe.createElement(b.ZP,{ghost:!0,disabled:gr.every(yt=>!yt),type:"primary",className:"mb20",style:{right:"345px"},onClick:()=>Xn(!0)},"\u6279\u91CF\u8BBE\u7F6E"),pe.createElement(b.ZP,{ghost:!0,type:"primary",className:"mb20",style:{right:"174px"},onClick:()=>ro()},"\u4E00\u952E\u5220\u9664\u6D4B\u8BD5\u7528\u4F8B"),pe.createElement(b.ZP,{ghost:!0,type:"primary",className:"mb20",style:{right:"4px"},onClick:()=>_t(!0)},"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"),fn.is_file&&pe.createElement(ot.Y2,{showEvaluatingSetting:!0,onEvaluatingChange:Wr,checkAll1:Fn,checkAll2:An,checkAll3:Pr,checkAll4:Yr,checkAll5:Ma,onSelectAll:pa,disabled:fn==null?void 0:fn.test_set_average,inputChange:Nr,showScore:fn==null?void 0:fn.test_set_score,data:Ft,onRemove:aa})),!fn.is_file&&pe.createElement(ce.default,{checked:gr.every(yt=>!!yt),onChange:yt=>{const Dt=gr.map(()=>yt.target.checked);Mr(Dt),hr(yt.target.checked)}},"\u5168\u9009"),!fn.is_file&&Kt.map((yt,Dt)=>pe.createElement("div",{className:le.groupWrap,key:Dt},pe.createElement("div",{className:"font16"},pe.createElement(ce.default,{checked:gr[Dt],onChange:an=>{console.log(gr);const Tn=[...gr];Tn[Dt]=an.target.checked;const Un=Tn.every(In=>In);Mr(Tn),hr(Un)}}),pe.createElement("span",{className:"mr10 ml5"},"\u7EC4",Dt+1," : "),fn.test_set_score&&pe.createElement("span",{style:{marginRight:100}},pe.createElement(ue.Z,{style:{width:85},value:yt.score,precision:0,min:0,max:100,onBlur:an=>{if(Number(an)<0||Number(an)>100){de.ZP.info("\u6D4B\u8BD5\u7528\u4F8B\u7684\u6743\u91CD\u6BD4\u4F8B\u503C\u9650\u5236\u4E3A 0-100");const Tn=Kt.map((In,$r)=>$r===Dt?je(De({},In),{score:100}):In),Un={test_set_average:!1};Or(De(De({},fn),Un)),Cn.setFieldsValue(Un),Hn(Tn)}},onChange:an=>{const Tn=Kt.map((In,$r)=>$r===Dt?je(De({},In),{score:an?Number(an):0}):In),Un={test_set_average:!1};Or(De(De({},fn),Un)),Cn.setFieldsValue(Un),Hn(Tn)}}),pe.createElement("span",{className:"ml10 mr10"},"%")),fn.test_set_score&&pe.createElement(ce.default,{className:"font14 ml5",checked:yt.is_target,onChange:an=>{const Tn=Kt.map((Un,In)=>In===Dt?je(De({},Un),{is_target:an.target.checked}):Un);Hn(Tn)}},"\u6307\u6807\u6D4B\u8BD5\u96C6",pe.createElement(z.Z,{title:"\u5982\u9700\u8981\u8F93\u51FA\u6307\u6807\uFF0C\u53EF\u4EE5\u52FE\u9009\u6307\u6807\u6D4B\u6D4B\u8BD5\u96C6\uFF0C\u5E76\u5BF9\u6307\u6807\u8FDB\u884C\u547D\u540D\u3002\u6559\u5E08\u53EF\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u5B9E\u8BAD\u62A5\u544A\u9875\u9762\u67E5\u770B\u5B66\u751F\u7684\u6307\u6807\u662F\u5426\u5408\u683C\u3002\u6307\u6807\u5F97\u5206\u8BA1\u5165\u6700\u7EC8\u6210\u7EE9"},pe.createElement(E.Z,{className:"ml5 font12 c-light-black"}))," "),yt.is_target&&fn.test_set_score&&pe.createElement(ye.default,{value:yt.target_name,maxLength:30,style:{width:"50%"},onChange:an=>{const Tn=Kt.map((Un,In)=>In===Dt?je(De({},Un),{target_name:an.target.value}):Un);Hn(Tn)}}),pe.createElement("span",{className:"tr flex1",style:{float:"right"}},Dt!==0&&pe.createElement(z.Z,{placement:"bottom",title:"\u5220\u9664"},pe.createElement("span",{className:"font16 c-red current",onClick:()=>{const an=Kt.filter((Un,In)=>In!==Dt),Tn=gr.filter((Un,In)=>In!==Dt);Mr(Tn),Na(an)}},"\u5220\xA0\u9664")))),pe.createElement(we,{bordered:!1,className:"mt10",rows:5,placeholder:"\u8F93\u5165",value:yt.input,onChange:an=>{const Tn=Kt.map((Un,In)=>In===Dt?je(De({},Un),{input:an.target.value}):Un);Hn(Tn)}}),pe.createElement(we,{bordered:!1,className:"mt10",rows:5,placeholder:"\u9884\u671F\u8F93\u51FA",value:yt.output,onChange:an=>{const Tn=Kt.map((Un,In)=>In===Dt?je(De({},Un),{output:an.target.value}):Un);Hn(Tn)}}),pe.createElement("div",{className:"mt10"},pe.createElement("span",{className:"font14 mr15"},"\u53EF\u89C1\u6027: ",pe.createElement(z.Z,{title:pe.createElement("div",null,pe.createElement("span",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),pe.createElement("br",null),pe.createElement("span",null,"\u9690\u85CF\u8F93\u5165\uFF1A\u52FE\u9009\u540E\u6D4B\u8BD5\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),pe.createElement("br",null),pe.createElement("span",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),pe.createElement("br",null),pe.createElement("span",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),pe.createElement("br",null))},pe.createElement(E.Z,{className:"ml5 font12 c-light-black"}))),pe.createElement(ce.default,{checked:yt.hidden===1,onChange:an=>{const Tn=Kt.map((Un,In)=>In===Dt?je(De({},Un),{hidden:an.target.checked?1:0,input_visible:an.target.checked,is_invisible:an.target.checked,actual_output_visible:an.target.checked}):Un);Hn(Tn)}},pe.createElement("span",{className:"font14"},"\u5168\u90E8\u9690\u85CF")),pe.createElement(ce.default,{checked:yt.hidden===1?!0:yt.input_visible,onChange:an=>{const Tn=Kt.map((Un,In)=>{if(In===Dt){const $r=an.target.checked&&yt.is_invisible&&yt.actual_output_visible?1:0;return je(De({},Un),{input_visible:an.target.checked,hidden:$r})}return Un});Hn(Tn)}},pe.createElement("span",{className:"font14"},"\u9690\u85CF\u8F93\u5165")),pe.createElement(ce.default,{checked:yt.hidden===1?!0:yt.is_invisible,onChange:an=>{const Tn=Kt.map((Un,In)=>{if(In===Dt){const $r=an.target.checked&&yt.actual_output_visible&&yt.input_visible?1:0;return je(De({},Un),{is_invisible:an.target.checked,hidden:$r})}return Un});Hn(Tn)}},pe.createElement("span",{className:"font14"},"\u9690\u85CF\u9884\u671F\u8F93\u51FA")),pe.createElement(ce.default,{checked:yt.hidden===1?!0:yt.actual_output_visible,onChange:an=>{const Tn=Kt.map((Un,In)=>{if(In===Dt){const $r=an.target.checked&&yt.is_invisible&&yt.input_visible?1:0;return je(De({},Un),{actual_output_visible:an.target.checked,hidden:$r})}return Un});Hn(Tn)}},pe.createElement("span",{className:"font14"},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA"))),pe.createElement("div",null,pe.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),pe.createElement(ce.default,{checked:yt.last_match_rule,onChange:an=>{const Tn=Kt.map((Un,In)=>In===Dt?je(De({},Un),{last_match_rule:an.target.checked}):Un);Hn(Tn)}},pe.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))),!fn.is_file&&pe.createElement("div",null,pe.createElement(b.ZP,{type:"primary",ghost:!0,className:"mt10",onClick:yr},"\u65B0\u589E\u6D4B\u8BD5\u96C6"),pe.createElement("span",{className:" ml20 mt10 font12 c-light-black"},"\u6E29\u99A8\u63D0\u793A\uFF1A\u516C\u5F00\u6D4B\u8BD5\u96C6\u548C\u9690\u85CF\u6D4B\u8BD5\u96C6\u7ED3\u5408\u4F7F\u7528\uFF0C\u53EF\u4EE5\u964D\u4F4E\u4F5C\u5F0A\u7684\u673A\u7387\uFF1B\u9690\u85CF\u6D4B\u8BD5\u96C6\uFF0C\u5728\u201C\u63D0\u4EA4\u8BC4\u6D4B\u201D\u65F6\u4E5F\u5C06\u88AB\u7CFB\u7EDF\u81EA\u52A8\u68C0\u6D4B"))))),pe.createElement(Ge,{fileType:Zr,path:fn==null?void 0:fn[Zr],onFinish:yt=>Ba(yt)})),pe.createElement(he.t,{key:2,onOk:()=>Cn.submit(),className:"customFixedButton",onCancel:ao}),pe.createElement(Xe.Z,{loading:wt}),pe.createElement(ot.ZP,{rootIdentifier:(sn=$e==null?void 0:$e.detail)==null?void 0:sn.root_identifier,visible:en,onClose:()=>_t(!1),onOK:oa,multiple:!0,defaultMultipleValue:fn==null?void 0:fn.is_file}),pe.createElement(se.default,{open:Vt,onOk:()=>{const yt=Kt.map((Dt,an)=>gr[an]?(console.log(De({},Dt)),console.log(De({},bn)),console.log(De(De({},Dt),bn)),De(De({},Dt),bn)):Dt);Hn(yt),Ln({hidden:0,input_visible:!1,is_invisible:!1,actual_output_visible:!1,last_match_rule:!1}),Xn(!1)},centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onCancel:()=>{Ln({hidden:0,input_visible:!1,is_invisible:!1,actual_output_visible:!1,last_match_rule:!1}),Xn(!1)},width:586,title:"\u6279\u91CF\u8BBE\u7F6E"},pe.createElement("div",null,pe.createElement("span",{className:"font14 mr15"},"\u53EF\u89C1\u6027: ",pe.createElement(z.Z,{title:pe.createElement("div",null,pe.createElement("span",null,'\u5168\u90E8\u9690\u85CF\uFF1A\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'),pe.createElement("br",null),pe.createElement("span",null,"\u9690\u85CF\u8F93\u5165\uFF1A\u52FE\u9009\u540E\u6D4B\u8BD5\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),pe.createElement("br",null),pe.createElement("span",null,"\u9690\u85CF\u9884\u671F\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),pe.createElement("br",null),pe.createElement("span",null,"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA\uFF1A\u52FE\u9009\u540E\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"),pe.createElement("br",null))},pe.createElement(E.Z,{className:"ml5 font12 c-light-black"}))),pe.createElement(ce.default,{checked:bn.hidden===1,onChange:yt=>{Ln(je(De({},bn),{hidden:yt.target.checked?1:0,input_visible:yt.target.checked,is_invisible:yt.target.checked,actual_output_visible:yt.target.checked}))}},pe.createElement("span",{className:"font14 mr10"},"\u5168\u90E8\u9690\u85CF")),pe.createElement(ce.default,{checked:bn.input_visible,onChange:yt=>{const Dt=yt.target.checked&&bn.is_invisible&&bn.actual_output_visible?1:0;Ln(je(De({},bn),{hidden:Dt,input_visible:yt.target.checked}))}},pe.createElement("span",{className:"font14 mr10"},"\u9690\u85CF\u8F93\u5165")),pe.createElement(ce.default,{checked:bn.is_invisible,onChange:yt=>{const Dt=yt.target.checked&&bn.input_visible&&bn.actual_output_visible?1:0;Ln(je(De({},bn),{hidden:Dt,is_invisible:yt.target.checked}))}},pe.createElement("span",{className:"font14 mr10"},"\u9690\u85CF\u9884\u671F\u8F93\u51FA")),pe.createElement(ce.default,{checked:bn.actual_output_visible,onChange:yt=>{const Dt=yt.target.checked&&bn.input_visible&&bn.is_invisible?1:0;Ln(je(De({},bn),{hidden:Dt,actual_output_visible:yt.target.checked}))}},pe.createElement("span",{className:"font14"},"\u9690\u85CF\u5B9E\u9645\u8F93\u51FA")),pe.createElement("div",{className:"mt10"},pe.createElement("span",{className:"font14 mr20"},"\u7279\u6B8A\u5224\u5B9A:"),pe.createElement(ce.default,{checked:bn.last_match_rule,onChange:yt=>{Ln(je(De({},bn),{last_match_rule:yt.target.checked}))}},pe.createElement("span",{className:"font14"},"\u672B\u5C3E\u5339\u914D",pe.createElement("span",{className:"font12 c-light-black"},"\uFF08\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173\uFF09")))))),pe.createElement(se.default,{zIndex:1001,width:600,centered:!0,title:$e.actionTabs.key,open:["\u7F16\u8F91\u8BBE\u7F6E\u9879","\u6DFB\u52A0\u8BBE\u7F6E\u9879"].includes($e.actionTabs.key),onCancel:()=>{ir({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:()=>fr.submit(),afterClose:()=>{fr.resetFields(),Ht(null)}},pe.createElement(te.default,{form:fr,className:"mt10",labelCol:{span:5},wrapperCol:{span:20},onFinish:yt=>{if($e.actionTabs.key=="\u7F16\u8F91\u8BBE\u7F6E\u9879"){let Dt=qr.findIndex(an=>an.id==$e.actionTabs.params.id);qr[Dt]=De(De({},qr[Dt]),yt),Fa([...qr])}else Fa([...qr,je(De({},yt),{id:new Date().getTime()})]);gt({type:"shixunsDetail/setActionTabs",payload:{}})},colon:!1,size:"large",labelAlign:"right"},pe.createElement(te.default.Item,{label:"\u76EE\u6807",name:"target",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u76EE\u6807\u540D\u79F0"}]},pe.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u76EE\u6807\u540D\u79F0",maxLength:20})),pe.createElement(te.default.Item,{label:"\u8BBE\u7F6E\u9879\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BBE\u7F6E\u9879\u540D\u79F0"}]},pe.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u8BBE\u7F6E\u9879\u540D\u79F0\uFF0C\u6700\u5927\u652F\u630120\u4E2A\u5B57\u7B26",maxLength:20})),pe.createElement(te.default.Item,{label:"\u6001\u52BF\u503C",name:"value",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6001\u52BF\u503C"}]},pe.createElement(ye.default,{placeholder:"\u8BF7\u8F93\u5165\u6001\u52BF\u503C\uFF0C\u6700\u5927\u652F\u630120\u4E2A\u5B57\u7B26",maxLength:20})))),pe.createElement(se.default,{zIndex:1001,width:600,centered:!0,title:$e.actionTabs.key,open:["\u7F16\u8F91\u91C7\u96C6\u70B9","\u6DFB\u52A0\u91C7\u96C6\u70B9"].includes($e.actionTabs.key),onCancel:()=>{ir({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:()=>or.submit(),afterClose:()=>{or.resetFields(),Ht(null)}},pe.createElement(te.default,{form:or,className:"mt10",labelCol:{span:5},wrapperCol:{span:20},onFinish:yt=>{if($e.actionTabs.key=="\u7F16\u8F91\u91C7\u96C6\u70B9"){let Dt=Pn.findIndex(an=>an.id==$e.actionTabs.params.id);Pn[Dt]=De(De({},Pn[Dt]),yt),$t([...Pn])}else{let Dt=yt.vrs_point_name.map(Tn=>je(De({},yt),{vrs_point_name:Tn,id:Tn})),an=Dt.map(Tn=>je(De({},Tn),{score:0}));console.log(yt.vrs_point_name,Dt),fn.test_set_average?kn([...Pn,...Dt]):$t([...Pn,ppointArr1])}gt({type:"shixunsDetail/setActionTabs",payload:{}})},onValuesChange:(yt,Dt)=>{yt.vrs_point_answer_type&&or.setFieldsValue({vrs_point_answer_value:""}),Tt(De({},Dt))},initialValues:{vrs_env_id:($n=$e==null?void 0:$e.detail)==null?void 0:$n.vrs_env_id,vrs_subject_id:(_n=$e==null?void 0:$e.detail)==null?void 0:_n.vrs_subject_id},colon:!1,size:"large",labelAlign:"right"},pe.createElement(te.default.Item,{name:"vrs_env_id",label:"\u5173\u8054\u4EFF\u771F\u73AF\u5883",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883"}]},pe.createElement(Se.default,{placeholder:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:yt=>yt.parentNode},na==null?void 0:na.map(yt=>pe.createElement(xe,{value:yt.id},`${yt.name}\uFF08${yt.url}\uFF09`)))),pe.createElement(te.default.Item,{name:"vrs_subject_id",label:"\u5173\u8054\u79D1\u76EE",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE"}]},pe.createElement(Se.default,{placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:yt=>yt.parentNode},(Mn=na==null?void 0:na.filter(yt=>{var Dt;return yt.id==((Dt=$e==null?void 0:$e.detail)==null?void 0:Dt.vrs_env_id)})[0])==null?void 0:Mn.vrs_subjects.map(yt=>pe.createElement(xe,{value:yt.id},yt.name)))),pe.createElement(te.default.Item,{label:"\u91C7\u96C6\u70B9",name:"vrs_point_name",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u91C7\u96C6\u70B9"}]},pe.createElement(Se.default,{placeholder:"\u8BF7\u9009\u62E9\u91C7\u96C6\u70B9",mode:$e.actionTabs.key=="\u7F16\u8F91\u91C7\u96C6\u70B9"?void 0:"multiple",size:"large",style:{width:"100%",height:40},className:le.multiSelect},(Qn=na==null?void 0:na.filter(yt=>{var Dt;return yt.id==((Dt=$e==null?void 0:$e.detail)==null?void 0:Dt.vrs_env_id)})[0])==null?void 0:Qn.vrs_points.map(yt=>pe.createElement(xe,{value:yt.name},yt.name)))),pe.createElement(te.default.Item,{label:"\u7B54\u6848\u503C\u7C7B\u578B",name:"vrs_point_answer_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7B54\u6848\u503C\u7C7B\u578B"}]},pe.createElement(Se.default,{placeholder:"\u8BF7\u9009\u62E9\u7B54\u6848\u503C\u7C7B\u578B"},pe.createElement(Se.default.Option,{value:0},"\u56FA\u5B9A\u503C"),pe.createElement(Se.default.Option,{value:1},"\u533A\u95F4\u503C"),pe.createElement(Se.default.Option,{value:2},"\u72B6\u6001\u503C"))),pe.createElement(te.default.Item,{shouldUpdate:(yt,Dt)=>yt.vrs_point_answer_type!==Dt.vrs_point_answer_type,noStyle:!0},({getFieldValue:yt})=>{const Dt=yt("vrs_point_answer_type");return pe.createElement(te.default.Item,{label:"\u7B54\u6848",name:"vrs_point_answer_value",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B54\u6848"},{validator:(an,Tn)=>{if(Dt===1&&Tn){if(!/^\d+-\d+$/.test(Tn))return Promise.reject(new Error('\u533A\u95F4\u503C\u683C\u5F0F\u5E94\u4E3A"\u6570\u5B57-\u6570\u5B57"\uFF0C\u5982\uFF1A1-5'));const[In,$r]=Tn.split("-").map(Number);if(In>=$r)return Promise.reject(new Error("\u533A\u95F4\u503C\u5DE6\u8FB9\u6570\u5B57\u5FC5\u987B\u5C0F\u4E8E\u53F3\u8FB9\u6570\u5B57"))}return Promise.resolve()}}]},pe.createElement(ye.default,{placeholder:Dt===1?"\u8BF7\u8F93\u5165\u533A\u95F4\u503C\uFF0C\u683C\u5F0F\u5982\uFF1A1-5":"\u8BF7\u8F93\u5165\u7B54\u6848\uFF0C\u6700\u5927\u652F\u630120\u4E2A\u5B57\u7B26",maxLength:20}))}),fn.point_hint&&pe.createElement(pe.Fragment,null,pe.createElement(te.default.Item,{name:"vrs_position",label:"\u5F15\u5BFC\u987A\u5E8F"},pe.createElement(ue.Z,{placeholder:"\u8BF7\u8F93\u5165\u5F15\u5BFC\u987A\u5E8F",min:0,precision:0,controls:!1,style:{width:"100%"}})),pe.createElement(te.default.Item,{name:"vrs_content",label:"\u5F15\u5BFC\u5185\u5BB9"},pe.createElement(ye.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u5F15\u5BFC\u5185\u5BB9",style:{height:100}}))))),pe.createElement(se.default,{zIndex:1001,width:800,centered:!0,title:"\u4E0A\u4F20\u91C7\u96C6\u70B9",open:$e.actionTabs.key=="\u4E0A\u4F20\u91C7\u96C6\u70B9",onCancel:()=>{ir({type:"shixunsDetail/setActionTabs",payload:{}})},onOk:()=>{Cn.submit()}},pe.createElement(te.default,{form:Cn,className:"mt10",layout:"vertical",onFinish:yt=>{if((Nn==null?void 0:Nn.length)<=0){de.ZP.info("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}}},pe.createElement(te.default.Item,{name:"vrs_env_id",label:"\u5173\u8054\u4EFF\u771F\u73AF\u5883",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883"}]},pe.createElement(Se.default,{placeholder:"\u8BF7\u9009\u62E9\u4EFF\u771F\u73AF\u5883",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:yt=>yt.parentNode},na==null?void 0:na.map(yt=>pe.createElement(xe,{value:yt.id},`${yt.name}\uFF08${yt.url}\uFF09`)))),pe.createElement(te.default.Item,{name:"vrs_subject_id",label:"\u5173\u8054\u79D1\u76EE",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE"}]},pe.createElement(Se.default,{placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u79D1\u76EE",size:"large",style:{width:"100%"},disabled:!0,getPopupContainer:yt=>yt.parentNode},(dr=na==null?void 0:na.filter(yt=>{var Dt;return yt.id==((Dt=$e==null?void 0:$e.detail)==null?void 0:Dt.vrs_env_id)})[0])==null?void 0:dr.vrs_subjects.map(yt=>pe.createElement(xe,{value:yt.id},yt.name)))),pe.createElement("div",{className:"mb30"},pe.createElement("span",{className:le.uploadTips},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),pe.createElement("a",{className:`${le.downloadBtn} ml30`,href:rt.Z.API_SERVER+"/api/item_banks/down_template",download:!0},pe.createElement("i",{className:"iconfont icon-xiazai4 mr5 font14"}),"\u4E0B\u8F7D\u6A21\u7248")),pe.createElement("div",{className:"flex item-center"},pe.createElement(ee.default,{onRemove:()=>{mr([])},beforeUpload:yt=>{if(console.log(yt),(yt==null?void 0:yt.size)>1024*1024*50)return de.ZP.info("\u6587\u4EF6\u8D85\u8FC750M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;let Dt=[];return Dt.push(yt),mr([...Dt]),!1},fileList:Nn,accept:".xls,.xlsx",showUploadList:!1},pe.createElement("div",{className:le.uploadBtn},pe.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}}),"\u7ACB\u5373\u4E0A\u4F20")),Nn.map((yt,Dt)=>pe.createElement("div",{key:yt.uid,className:le.fileItem},pe.createElement("span",{className:"file-name"},yt.name),pe.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:14,cursor:"pointer"},onClick:()=>mr(Nn.filter(an=>an.uid!==yt.uid))})))))))};var ke=(0,it.connect)(({shixunsDetail:$e,newCourse:gt,globalSetting:ct,practiceSetting:vt})=>({shixunsDetail:$e,newCourse:gt,globalSetting:ct,practiceSetting:vt}))(nt)},45319:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ve}});var pe=Ae(59301),it=Ae(8591),E=Ae(54580),Se=Ae(3113),ye=Ae(85386),oe=Object.defineProperty,te=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ue=(fe,me,ge)=>me in fe?oe(fe,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):fe[me]=ge,ce=(fe,me)=>{for(var ge in me||(me={}))se.call(me,ge)&&ue(fe,ge,me[ge]);if(te)for(var ge of te(me))de.call(me,ge)&&ue(fe,ge,me[ge]);return fe};const ae=fe=>React.createElement("svg",ce({id:"yinpin_svg__\\u56FE\\u5C42_1",xmlns:"http://www.w3.org/2000/svg",x:0,y:0,viewBox:"0 0 16 14",style:{enableBackground:"new 0 0 16 14"},xmlSpace:"preserve"},fe),React.createElement("style",null,".yinpin_svg__st0{fill:#3061d0}"),React.createElement("title",null,"\u97F3\u9891"),React.createElement("g",{id:"yinpin_svg__\\u9875\\u9762-1"},React.createElement("g",{id:"yinpin_svg___x31_2-\\u9898\\u76EE-\\u672A\\u5F00\\u542F\\u65F6\\u95F4\\u9650\\u5236",transform:"translate(-270 -904)"},React.createElement("g",{id:"yinpin_svg__\\u7F16\\u7EC4-2\\u5907\\u4EFD-2",transform:"translate(120 892)"},React.createElement("g",{id:"yinpin_svg__\\u7F16\\u7EC4-6",transform:"translate(130 3)"},React.createElement("g",{id:"yinpin_svg__\\u97F3\\u9891",transform:"translate(20 9)"},React.createElement("path",{id:"yinpin_svg__\\u8DEF\\u5F84",className:"yinpin_svg__st0",d:"M14.8 7.6H14V5.7C14 2.6 11.3 0 8 0S2 2.6 2 5.7v1.9h-.8C.5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YXRoIGlkPSLot6/lvoQiIGNsYXNzPSJzdDAiIGQ9Ik0xNC44IDcuNkgxNFY1LjdDMTQgMi42IDExLjMgMCA4IDBTMiAyLjYgMiA1Ljd2MS45aC0uOEMuNSA3LjYgMCA4LjEgMCA4Ljh2NGMwIC43LjUgMS4yIDEuMiAxLjJIMmMuNyAwIDEuMi0uNSAxLjItMS4yVjUuN2MwLTIuNSAyLjItNC41IDQuOC00LjVzNC44IDIgNC44IDQuNXY3LjFjMCAuNy41IDEuMiAxLjIgMS4yaC44Yy43IDAgMS4yLS41IDEuMi0xLjJ2LTRjMC0uNy0uNS0xLjItMS4yLTEuMnoiLz48cGF0aCBpZD0i6Lev5b6EXzFfIiBjbGFzcz0ic3QwIiBkPSJNOC44IDExLjJjLS4zIDAtLjUtLjEtLjYtLjRsLS44LTIuMS0uMy42YzAgLjItLjMuMy0uNS4zSDQuOGMtLjMgMC0uNi0uMy0uNi0uNnMuMy0uNi42LS42aDEuNGwuNi0xLjZjLjEtLjIuMy0uNC42LS40LjIgMCAuNS4xLjYuNGwxIDIuNC4yLS40Yy4xLS4yLjMtLjMuNS0uM2gxLjZjLjMgMCAuNi4zLjYuNnMtLjMuNi0uNi42SDEwTDkuNCAxMWMtLjEuMS0uMy4zLS42LjJ6Ii8+PC9nPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4=",ne=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ee=(fe,me,ge)=>me in fe?ne(fe,me,{enumerable:!0,configurable:!0,writable:!0,value:ge}):fe[me]=ge,re=(fe,me)=>{for(var ge in me||(me={}))b.call(me,ge)&&ee(fe,ge,me[ge]);if(x)for(var ge of x(me))z.call(me,ge)&&ee(fe,ge,me[ge]);return fe},le=(fe,me)=>a(fe,y(me)),ve=({value:fe=[],onChange:me,maxSize:ge=50,maxCount:be=10,isEdit:Pe=!1})=>{const Te=Ue=>{if(Ue===0)return"0B";const Qe=1024,Ge=["B","KB","MB","GB"],ot=Math.floor(Math.log(Ue)/Math.log(Qe));return`${parseFloat((Ue/Math.pow(Qe,ot)).toFixed(1))}${Ge[ot]}`},Ce=Ue=>{const Qe=[".mp3",".flac",".wav"],Ge=Ue.toLowerCase().substring(Ue.lastIndexOf("."));return Qe.includes(Ge)},Le=Ue=>Ce(Ue.name)?Ue.size/1024/1024=be?(it.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${be}\u4E2A\u97F3\u9891\u6587\u4EF6`),!1):!0:(it.ZP.error(`\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7${ge}MB`),!1):(it.ZP.error("\u4EC5\u652F\u6301MP3\u3001FLAC\u3001WAV\u683C\u5F0F\u7684\u97F3\u9891\u6587\u4EF6"),!1),Ie=Ue=>{const{file:Qe}=Ue;if(Qe.status==="uploading"){const Ge=fe.findIndex(Ve=>Ve.uid===Qe.uid);let ot;if(Ge>=0)ot=[...fe],ot[Ge]=le(re({},ot[Ge]),{status:"uploading",percent:Qe.percent||0});else{const Ve={uid:Qe.uid,name:Qe.name,size:Qe.size,file:Qe.originFileObj,status:"uploading",percent:Qe.percent||0};ot=[...fe,Ve]}me==null||me(ot);return}if(Qe.status==="done"){const Ge=fe.map(ot=>ot.uid===Qe.uid?le(re({},ot),{status:"done",percent:100,response:Qe.response}):ot);me==null||me(Ge),it.ZP.success(`${Qe.name} \u4E0A\u4F20\u6210\u529F`)}if(Qe.status==="error"){const Ge=fe.map(ot=>ot.uid===Qe.uid?le(re({},ot),{status:"error",percent:0}):ot);me==null||me(Ge),it.ZP.error(`${Qe.name} \u4E0A\u4F20\u5931\u8D25`)}},Me=Ue=>{const Qe=fe.filter(Ge=>Ge.uid!==Ue);me==null||me(Qe)};return console.log("value",fe),pe.createElement("div",{className:"audio-upload-container",style:{display:"flex",alignItems:"flex-start",gap:"16px"}},pe.createElement(E.default,{action:`${ye.Z.API_SERVER}/api/attachments.json`,beforeUpload:Le,onChange:Ie,accept:".mp3,.flac,.wav",showUploadList:!1,multiple:!1,withCredentials:!0,name:"file",maxCount:be},pe.createElement(Se.ZP,{type:"primary",style:{height:"38px",padding:"4px 27px"}},"\u4E0A\u4F20\u97F3\u9891")),pe.createElement("div",{className:"audio-file-list"},fe==null?void 0:fe.map((Ue,Qe)=>{var Ge,ot;const Ve=Ue.status==="uploading";return pe.createElement("div",{key:Ue.uid,className:"audio-file-item",style:{marginBottom:8}},pe.createElement("div",{className:"audio-file-info",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},pe.createElement("div",{style:{display:"flex",alignItems:"center",flex:1}},pe.createElement("img",{src:ie,style:{width:16,height:14,marginRight:4}}),pe.createElement("div",{style:{flex:1}},pe.createElement("div",{style:{display:"flex",alignItems:"center",marginBottom:Ve?4:0}},pe.createElement("span",{className:"file-name",style:{marginRight:8}},((Ge=Ue==null?void 0:Ue.response)==null?void 0:Ge.filename)||(Ue==null?void 0:Ue.name)),pe.createElement("span",{className:"file-size"},Te(((ot=Ue==null?void 0:Ue.response)==null?void 0:ot.size)||Ue.size))),Ve&&Ue.percent!==void 0&&pe.createElement("div",{style:{width:"100%"}},pe.createElement("div",{style:{height:2,backgroundColor:"#f0f0f0",borderRadius:1,overflow:"hidden"}},pe.createElement("div",{style:{height:"100%",backgroundColor:"#1890ff",width:`${Ue.percent}%`,transition:"width 0.3s ease"}}))))),pe.createElement("div",{style:{marginLeft:8}},pe.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#CCCCCC",fontSize:16,cursor:"pointer"},onClick:()=>Me(Ue.uid)}))))})))}},36619:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ye}});var pe=Ae(59301),it=Ae(43418),E=Ae(92123);const Se=({activeIndex:oe,isEdit:te=!0,dispatch:se,practiceSetting:de,shixunsDetail:ue})=>{var ce;const ae=(0,E.useParams)(),{id:ie,challengesId:ne}=ae,a=(ce=ue==null?void 0:ue.detail)==null?void 0:ce.is_client_unity_3d,y=(0,pe.useMemo)(()=>{var b;return[{name:a?((b=ue==null?void 0:ue.detail)==null?void 0:b.vrs_question_type)==1?"\u4EFB\u52A1\u8BBE\u7F6E":"\u9898\u76EE\u8BBE\u7F6E":"\u672C\u5173\u4EFB\u52A1",url:`/shixuns/${ie}/edit/${ne}/editcheckpoint`},{name:a?"\u4EFF\u771F\u73AF\u5883\u8BBE\u7F6E":"\u8BC4\u6D4B\u8BBE\u7F6E",url:`/shixuns/${ie}/edit/${ne}/tab=2`},{name:"\u53C2\u8003\u7B54\u6848",url:`/shixuns/${ie}/edit/${ne}/tab=3`},{name:"\u5173\u5361\u6392\u884C\u699C",url:`/shixuns/${ie}/edit/${ne}/tab=4`}]},[ie,ne]),x=b=>{var z;const ee=()=>{E.history.push(b),se({type:"practiceSetting/setSideBarTabs",payload:{confirmLeave:!1}})};(z=de==null?void 0:de.sideBar)!=null&&z.confirmLeave?it.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{ee()}}):ee()};return pe.createElement("ul",{className:"challenge-nav"},te?y.map((b,z)=>oe===z?pe.createElement("li",{key:b.url}," ",pe.createElement("a",{className:"active"},b.name)," "):pe.createElement("li",{key:b.url}," ",pe.createElement("a",{onClick:()=>x(b.url)},b.name)," ")):pe.createElement("li",{key:y[0].url}," ",pe.createElement("a",{className:"active"},y[0].name)," "))};var ye=(0,E.connect)(({globalSetting:oe,practiceSetting:te,shixunsDetail:se})=>({globalSetting:oe,practiceSetting:te,shixunsDetail:se}))(Se)},47470:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ye}});var pe=Ae(59301),it=Ae(71418),E={loading:"loading___lueiN"},ye=({loading:oe})=>oe?pe.createElement("div",{className:E.loading},pe.createElement(it.Z,null)):pe.createElement(pe.Fragment,null)},53935:function(xt,At,Ae){"use strict";Ae.d(At,{Y2:function(){return Ie},ZP:function(){return Me}});var pe=Ae(59301),it=Ae(54580),E=Ae(8591),Se=Ae(43418),ye=Ae(95237),oe=Ae(5112),te=Ae(3113),se=Ae(24905),de=Ae(6848),ue=Ae(92832),ce={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJ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roLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ie=Ae(47257),ne=Ae.n(ie),a=Ae(43597),y=Ae(1012),x=Ae(94601),b=Ae(25561),z=Ae(59301),ee=Object.defineProperty,re=Object.defineProperties,le=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,me=(Ue,Qe,Ge)=>Qe in Ue?ee(Ue,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):Ue[Qe]=Ge,ge=(Ue,Qe)=>{for(var Ge in Qe||(Qe={}))ve.call(Qe,Ge)&&me(Ue,Ge,Qe[Ge]);if(he)for(var Ge of he(Qe))fe.call(Qe,Ge)&&me(Ue,Ge,Qe[Ge]);return Ue},be=(Ue,Qe)=>re(Ue,le(Qe)),Pe=(Ue,Qe,Ge)=>new Promise((ot,Ve)=>{var Xe=Re=>{try{ze(Ge.next(Re))}catch(He){Ve(He)}},Ze=Re=>{try{ze(Ge.throw(Re))}catch(He){Ve(He)}},ze=Re=>Re.done?ot(Re.value):Promise.resolve(Re.value).then(Xe,Ze);ze((Ge=Ge.apply(Ue,Qe)).next())});const{Dragger:Te}=it.default,Ce=Ue=>{const Qe=He=>He&&He.substring(0,He.lastIndexOf("."));for(var Ge=[...Ue],ot=0,Ve=[],Xe=0;Xe{if(He.forEach(rt=>{let qe=rt.name.split(/\.(?=[^\.]+$)/);rt.name=`${qe[0]}.${qe[1].toLowerCase()}`}),He[0].name.includes(".in"))return He.length===2?He:[He[0],{}];if(He[0].name.includes(".out"))return He.length===2?He.reverse():[{},He[0]]})},Le=({onClose:Ue,onOK:Qe,visible:Ge,wrapClassName:ot,rootIdentifier:Ve,multiple:Xe=!1,defaultMultipleValue:Ze=!0})=>{const[ze,Re]=(0,pe.useState)([]),[He,rt]=(0,pe.useState)({}),[qe,ut]=(0,pe.useState)(!1),[_e,We]=(0,pe.useState)(!0),[Oe,Ye]=(0,pe.useState)(null),Fe=(0,pe.useRef)([]),Ne=(0,pe.useRef)(0),et=()=>{Ue()};(0,pe.useEffect)(()=>{De()},[]),(0,pe.useEffect)(()=>{Ge&&(Fe.current=[],Ne.current=0,Re([]),We(Ze))},[Ge]);const De=()=>Pe(void 0,null,function*(){try{Ye(!0)}catch(ke){}}),je=ke=>ke&&ke.substring(0,ke.lastIndexOf(".")),Ee=ke=>{var $e,gt;const ct=je(($e=ke[0])==null?void 0:$e.name)||je((gt=ke[1])==null?void 0:gt.name),vt=ze.filter(st=>je(st.name)!==ct);Fe.current=[...vt],Re([...vt])},xe=ke=>{if(!_e){const ht=new FormData;ht.append("file",ke.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ht},!0).then(lt=>{if(lt.status===0){Ne.current=Ne.current+1;const ft=Fe.current.map(mt=>{var Pt;if(mt.name===ke.name){const Et=ge({},mt);return(Pt=ke==null?void 0:ke.name)!=null&&Pt.includes(".in")?Et.input=lt==null?void 0:lt.content:Et.output=lt==null?void 0:lt.content,Et}return mt});if(Fe.current=[...ft],Re([...ft]),Ne.current>0&&Ne.current===ze.length){ut(!1);let mt=Ce(ft);mt=mt.filter(Pt=>{var Et,Lt;return!!((Et=Pt[0])!=null&&Et.name&&((Lt=Pt[1])!=null&&Lt.name))}),mt=mt.map(Pt=>be(ge(ge({},Pt[0]),Pt[1]),{is_file:!1})),Qe(mt),Ue()}}else ut(!1),Ue()});return}if(Oe){const ht=new FormData;ht.append("file",ke.file),Ve===null?ht.append("identifier","testsets"):ht.append("identifier",Ve),(0,a.ZP)("/api/attachments.json",{method:"post",body:ht},!0).then(lt=>{if(lt.filename){Ne.current=Ne.current+1;const ft=Fe.current.map(mt=>{var Pt;if(mt.name===(lt==null?void 0:lt.filename)){const Et=be(ge({},mt),{is_oss:!Oe});return(Pt=lt==null?void 0:lt.filename)!=null&&Pt.includes(".in")?(Et.in_object_key=lt==null?void 0:lt.object,Et.in_object_size=lt==null?void 0:lt.size,Et.input=lt==null?void 0:lt.filename,Et.in_file=ke):(Et.out_object_key=lt==null?void 0:lt.object,Et.out_object_size=lt==null?void 0:lt.size,Et.output=lt==null?void 0:lt.filename,Et.out_file=ke),Et}return mt});if(Fe.current=[...ft],Re([...ft]),Ne.current>0&&Ne.current===ze.length){ut(!1);let mt=Ce(ft);mt=mt.filter(Pt=>{var Et,Lt;return!!((Et=Pt[0])!=null&&Et.name&&((Lt=Pt[1])!=null&&Lt.name))}),mt=mt.map(Pt=>be(ge(ge({},Pt[0]),Pt[1]),{is_file:!0})),Qe(mt),Ue()}}else ut(!1),Ue()});return}const $e=new(ne())({endpoint:He.end_point,region:He.region,accessKeyId:He.access_key_id,accessKeySecret:He.access_key_secret,bucket:He.bucket,stsToken:He.security_token}),gt=ke.name,ct={container_type:"TestSet",file_name:gt},vt=(0,y.Z)();let st=`testsets/${Ve}/${vt}${gt.indexOf(".")>-1?"."+gt.split(".").pop():""}`;Ve===null&&(st=`testsets/${vt}${gt.indexOf(".")>-1?"."+gt.split(".").pop():""}`),$e.multipartUpload(st,new Blob([ke.file],{type:ke.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:gt+""},url:He==null?void 0:He.callback_url,host:He==null?void 0:He.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(ct)}}).then(function(ht){if(ht.data.status===0){Ne.current=Ne.current+1;const at=Fe.current.map(lt=>{var ft,mt,Pt,Et,Lt,zt,tn,gn,dn,on,En,Rn,sn,$n,_n,Mn,Qn;if(lt.name===((mt=(ft=ht.data)==null?void 0:ft.data)==null?void 0:mt.file_name)){const dr=be(ge({},lt),{is_oss:!Oe});return(Lt=(Et=(Pt=ht.data)==null?void 0:Pt.data)==null?void 0:Et.file_name)!=null&&Lt.includes(".in")?(dr.in_object_key=(tn=(zt=ht.data)==null?void 0:zt.data)==null?void 0:tn.object,dr.in_object_size=(dn=(gn=ht.data)==null?void 0:gn.data)==null?void 0:dn.size,dr.input=(En=(on=ht.data)==null?void 0:on.data)==null?void 0:En.file_name,dr.in_file=ke):(dr.out_object_key=(sn=(Rn=ht.data)==null?void 0:Rn.data)==null?void 0:sn.object,dr.out_object_size=(_n=($n=ht.data)==null?void 0:$n.data)==null?void 0:_n.size,dr.output=(Qn=(Mn=ht.data)==null?void 0:Mn.data)==null?void 0:Qn.file_name,dr.out_file=ke),dr}return lt});if(Fe.current=[...at],Re([...at]),Ne.current>0&&Ne.current===ze.length){ut(!1);let lt=Ce(at);lt=lt.filter(ft=>{var mt,Pt;return!!((mt=ft[0])!=null&&mt.name&&((Pt=ft[1])!=null&&Pt.name))}),lt=lt.map(ft=>be(ge(ge({},ft[0]),ft[1]),{is_file:!0})),Qe(lt),Ue()}}})},we=ke=>new Promise(($e,gt)=>{let ct=0,vt=[];for(let st=0;st{ct++,ct===ke.length&&(vt.length?(E.ZP.warning(`${vt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),gt()):$e(ke))}).catch(ht=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ht),ct++,vt.push(ke[st].name),ct===ke.length&&(vt.length?(E.ZP.warning(`${vt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),gt()):$e(ke))})}),Be=()=>Pe(void 0,null,function*(){if(ze.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield we(ze),ut(!0),Ce(ze).some($e=>{var gt,ct;return!((gt=$e[0])!=null&>.name&&((ct=$e[1])!=null&&ct.name))})){Se.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Pe(void 0,null,function*(){ze.map($e=>Pe(void 0,null,function*(){xe($e)}))}),onCancel:()=>{ut(!1)}});return}ze.map($e=>Pe(void 0,null,function*(){xe($e)}))}),Ke={name:"file",fileList:ze,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:ke=>{if(ze!=null&&ze.some(gt=>gt.name===ke.name))return E.ZP.info(`${ke.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(ke.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(ke.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const $e={name:ke.name,uid:ke.uid,file:ke,percent:0};return ze.push($e),Fe.current=[...ze],Re([...ze]),!1}},nt=Ce(ze);return console.log(ze,nt,"fileList"),z.createElement(Se.default,{open:Ge,wrapClassName:ot,onOk:Be,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:qe},onCancel:et,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ce.wrap},ze.length?z.createElement("div",null,z.createElement(ye.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Xe?"visible":"hidden"}},z.createElement("span",{className:ce.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(oe.ZP.Group,{className:`ml20 ${ce.testCaseRadio}`,optionType:"button",value:_e,onChange:ke=>We(ke.target.value)},z.createElement(oe.ZP,{value:!1},"\u6587\u672C"),z.createElement(oe.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(it.default,ge({},Ke),z.createElement(te.ZP,{type:"primary",className:ce.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Ie,{data:nt,onRemove:Ee})):z.createElement("div",{className:`${ce.noData} mb30`},z.createElement(it.default.Dragger,be(ge({},Ke),{className:ce.dragger}),z.createElement("img",{src:ae,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ce.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ce.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},Ie=({data:Ue=[],onRemove:Qe,width:Ge="auto",showScore:ot=!1,disabled:Ve=!1,inputChange:Xe,onEvaluatingChange:Ze,onSelectAll:ze,checkAll1:Re,checkAll2:He,checkAll3:rt,checkAll4:qe,checkAll5:ut,showEvaluatingSetting:_e=!1,className:We="",isProgramHomework:Oe=!1})=>{const Ye={value:"",filename:"",dataUrl:""},[Fe,Ne]=(0,pe.useState)(ge({},Ye)),et=Ee=>{let xe=document.createElement("a");document.body.appendChild(xe);let we=URL.createObjectURL(Ee.file);xe.href=we,xe.download=Ee.name,xe.click(),URL.revokeObjectURL(we),document.body.removeChild(xe)},De=(Ee,xe)=>{(0,x.LR)(Ee,xe)},je=(Ee,xe)=>{Se.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Qe(Ee,xe)},onCancel:()=>{}})};return Ue.length?z.createElement("div",{className:We,style:{width:Ge}},z.createElement("div",{className:`${Oe?ce.headProgram:ce.head}`},_e&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:Re,onChange:Ee=>{ze(Ee.target.checked,"hidden")}}),z.createElement(de.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Oe?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:ot?Oe?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:ot?Oe?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),ot&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:qe,onChange:Ee=>{ze(Ee.target.checked,"input_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:He,onChange:Ee=>{ze(Ee.target.checked,"is_invisible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:ut,onChange:Ee=>{ze(Ee.target.checked,"actual_output_visible")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),_e&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:rt,onChange:Ee=>{ze(Ee.target.checked,"last_match_rule")}}),z.createElement(de.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ce.operation,style:Oe?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ce.listWrapper,style:{boxShadow:Oe?"0px 2px 4px 0px #EAEEF4":"unset"}},Ue.map((Ee,xe)=>{var we,Be,Ke,nt;return z.createElement("div",{key:xe,className:ce.list,style:Oe?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},_e&&z.createElement("div",{style:{width:"15%"}},z.createElement(se.default,{checked:!!Ee.hidden,onChange:ke=>{Ze(ke.target.checked,xe,"hidden")}})),z.createElement("div",{style:{width:Oe?"25%":"15%",paddingLeft:Oe?"5px":"0px",paddingRight:Oe?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",xe+1),z.createElement("div",{className:ce.info,style:{width:ot?Oe?"20%":"15%":"25%"}},z.createElement("span",{title:Ee.input||((we=Ee[0])==null?void 0:we.name),onClick:()=>Pe(void 0,null,function*(){let ke;Ee.input?Ee.input_file_url?ke=Ee.input_file_url:ke=Ee.in_file:ke=Ee[0];let $e;typeof ke=="string"?($e=yield fetch(ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ne({value:yield $e.text(),filename:"",dataUrl:ke})):($e=yield(0,x.db)(ke.file),Ne({value:$e.text,filename:ke.name,dataUrl:$e.link}))})},Ee.input||((Be=Ee[0])==null?void 0:Be.name))),z.createElement("div",{className:ce.info,style:{width:ot?Oe?"20%":"15%":"25%"}},z.createElement("span",{title:Ee.output||((Ke=Ee[1])==null?void 0:Ke.name),onClick:()=>Pe(void 0,null,function*(){let ke;Ee.input?Ee.output_file_url?ke=Ee.output_file_url:ke=Ee.out_file:ke=Ee[1];let $e;typeof ke=="string"?($e=yield fetch(ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Ne({value:yield $e.text(),filename:"",dataUrl:ke})):($e=yield(0,x.db)(ke.file),Ne({value:$e.text,filename:ke.name,dataUrl:$e.link}))})},Ee.output||((nt=Ee[1])==null?void 0:nt.name))),ot&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{size:"large",addonAfter:Oe?"%":null,disabled:Ve,style:{width:"80%"},onChange:ke=>Xe(ke,xe),value:Ee.score}),!Oe&&z.createElement("span",null,"\xA0%")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.input_visible||!1,onChange:ke=>{Ze(ke.target.checked,xe,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.is_invisible||!1,onChange:ke=>{Ze(ke.target.checked,xe,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.actual_output_visible||!1,onChange:ke=>{Ze(ke.target.checked,xe,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),_e&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:Ee.last_match_rule||!1,onChange:ke=>{Ze(ke.target.checked,xe,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>je(Ee,xe),style:Oe?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ce.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Fe.dataUrl,filename:Fe.filename,type:Fe.dataUrl.length?"txt":"",onClose:()=>Ne(ge({},Ye)),monacoEditor:{value:Fe.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Me=Le},66089:function(xt,At,Ae){"use strict";Ae.d(At,{S:function(){return oe},m:function(){return te}});var pe=Ae(94601),it=Ae(8591),E=Ae(43418),Se=Ae(59301),ye=(se,de,ue)=>new Promise((ce,ae)=>{var ie=y=>{try{a(ue.next(y))}catch(x){ae(x)}},ne=y=>{try{a(ue.throw(y))}catch(x){ae(x)}},a=y=>y.done?ce(y.value):Promise.resolve(y.value).then(ie,ne);a((ue=ue.apply(se,de)).next())});const oe=se=>{let de=document.createElement("textarea");return de.value=se,de.value},te=(se,de,ue,ce,ae)=>ye(void 0,null,function*(){var ie,ne;const a=yield se({type:"shixunsDetail/saveCopyForExercise",payload:{id:ue,save_type:ce}});ce===1?((a==null?void 0:a.status)==0&&it.ZP.success("\u4FDD\u5B58\u6210\u529F"),(ie=a==null?void 0:a.data)!=null&&ie.exists_same_shixun_name?se({type:"classroomList/setActionTabs",payload:{key:"\u91CD\u540D\u4FEE\u6539",name:(ne=a==null?void 0:a.data)==null?void 0:ne.shixun_name}}):se({type:"classroomList/setActionTabs",payload:{}})):(se({type:"classroomList/setActionTabs",payload:{}}),(a==null?void 0:a.status)===0&&E.default.info({title:"\u63D0\u793A",width:460,icon:null,centered:!0,content:Se.createElement("div",null,Se.createElement("div",null,"\u5B9E\u8BAD\u540C\u6B65\u4FEE\u6539\u5B8C\u6210\uFF0C\u8BF7\u9A8C\u8BC1\u5B9E\u8BAD\u662F\u5426\u53EF\u4EE5\u6B63\u5E38\u4F7F\u7528\u3002")),okText:"\u524D\u5F80\u539F\u5B9E\u8BAD",onOk:()=>{var y,x;(0,pe.xg)(`/shixuns/${(x=(y=de==null?void 0:de.detail)==null?void 0:y.fork_from)==null?void 0:x.fork_identifier}/challenges`)}}))})},47257:function(xt){(function(At){(function(Ae){if(1)xt.exports=Ae();else var pe})(function(){var Ae,pe,it;return function(){function E(Se,ye,oe){function te(ue,ce){if(!ye[ue]){if(!Se[ue]){var ae=void 0;if(!ce&&ae)return require(ue,!0);if(se)return se(ue,!0);var ie=new Error("Cannot find module '"+ue+"'");throw ie.code="MODULE_NOT_FOUND",ie}var ne=ye[ue]={exports:{}};Se[ue][0].call(ne.exports,function(a){var y=Se[ue][1][a];return te(y||a)},ne,ne.exports,E,Se,ye,oe)}return ye[ue].exports}for(var se=void 0,de=0;de `.concat(b,` -`),z&&(ce+="".concat(z,` -`)),ce+=` -`,re.content=ce,re.mime="xml",re.successStatuses=[200],ge.next=9,this.request(re);case 9:return me=ge.sent,ge.abrupt("return",{res:me.res});case 11:case"end":return ge.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketLogging=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re,ce;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"logging",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,ce=re.data.LoggingEnabled,ve.abrupt("return",{enable:!!ce,prefix:ce&&ce.TargetPrefix||null,res:re.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketLogging=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"logging",z),ee.successStatuses=[204,200],me.next=4,this.request(ee);case 4:return re=me.sent,me.abrupt("return",{res:re.res});case 6:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketCORS=function(){var a=(0,se.default)(te.default.mark(function x(b,z,ee){var re,ce,me,ve,ge,pe,fe,ye,Se,Oe;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:for(z=z||[],de(z.length,"rules is required"),z.forEach(function(De){de(De.allowedOrigin,"allowedOrigin is required"),de(De.allowedMethod,"allowedMethod is required")}),re=this._bucketRequestParams("PUT",b,"cors",ee),ce=` -`,me=function(ke){ce+="".concat(ke,"")},ve=function(ke){ce+="".concat(ke,"")},ge=function(ke){ce+="".concat(ke,"")},pe=function(ke){ce+="".concat(ke,"")},fe=0,ye=z.length;fe",ne(Se.allowedOrigin).forEach(me),ne(Se.allowedMethod).forEach(ve),ne(Se.allowedHeader).forEach(ge),ne(Se.exposeHeader).forEach(pe),Se.maxAgeSeconds&&(ce+="".concat(Se.maxAgeSeconds,"")),ce+="";return ce+="",re.content=ce,re.mime="xml",re.successStatuses=[200],Le.next=16,this.request(re);case 16:return Oe=Le.sent,Le.abrupt("return",{res:Oe.res});case 18:case"end":return Le.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketCORS=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re,ce,me;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=this._bucketRequestParams("GET",b,"cors",z),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=5,this.request(ee);case 5:return re=ge.sent,ce=[],re.data&&re.data.CORSRule&&(me=re.data.CORSRule,ie(me)||(me=[me]),me.forEach(function(pe){var fe={};Object.keys(pe).forEach(function(ye){fe[ye.slice(0,1).toLowerCase()+ye.slice(1,ye.length)]=pe[ye]}),ce.push(fe)})),ge.abrupt("return",{rules:ce,res:re.res});case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketCORS=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"cors",z),ee.successStatuses=[204],me.next=4,this.request(ee);case 4:return re=me.sent,me.abrupt("return",{res:re.res});case 6:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketReferer=function(){var a=(0,se.default)(te.default.mark(function x(b,z,ee,re){var ce,me,ve,ge;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(ce=this._bucketRequestParams("PUT",b,"referer",re),me=` +`),z&&(le+="".concat(z,` +`)),le+=` +`,re.content=le,re.mime="xml",re.successStatuses=[200],fe.next=9,this.request(re);case 9:return he=fe.sent,fe.abrupt("return",{res:he.res});case 11:case"end":return fe.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketLogging=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re,le;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"logging",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,le=re.data.LoggingEnabled,ve.abrupt("return",{enable:!!le,prefix:le&&le.TargetPrefix||null,res:re.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketLogging=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"logging",z),ee.successStatuses=[204,200],he.next=4,this.request(ee);case 4:return re=he.sent,he.abrupt("return",{res:re.res});case 6:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketCORS=function(){var a=(0,se.default)(te.default.mark(function x(b,z,ee){var re,le,he,ve,fe,me,ge,be,Pe,Te;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:for(z=z||[],de(z.length,"rules is required"),z.forEach(function(Ie){de(Ie.allowedOrigin,"allowedOrigin is required"),de(Ie.allowedMethod,"allowedMethod is required")}),re=this._bucketRequestParams("PUT",b,"cors",ee),le=` +`,he=function(Me){le+="".concat(Me,"")},ve=function(Me){le+="".concat(Me,"")},fe=function(Me){le+="".concat(Me,"")},me=function(Me){le+="".concat(Me,"")},ge=0,be=z.length;ge",ne(Pe.allowedOrigin).forEach(he),ne(Pe.allowedMethod).forEach(ve),ne(Pe.allowedHeader).forEach(fe),ne(Pe.exposeHeader).forEach(me),Pe.maxAgeSeconds&&(le+="".concat(Pe.maxAgeSeconds,"")),le+="";return le+="",re.content=le,re.mime="xml",re.successStatuses=[200],Le.next=16,this.request(re);case 16:return Te=Le.sent,Le.abrupt("return",{res:Te.res});case 18:case"end":return Le.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),ae.getBucketCORS=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re,le,he;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=this._bucketRequestParams("GET",b,"cors",z),ee.successStatuses=[200],ee.xmlResponse=!0,fe.next=5,this.request(ee);case 5:return re=fe.sent,le=[],re.data&&re.data.CORSRule&&(he=re.data.CORSRule,ie(he)||(he=[he]),he.forEach(function(me){var ge={};Object.keys(me).forEach(function(be){ge[be.slice(0,1).toLowerCase()+be.slice(1,be.length)]=me[be]}),le.push(ge)})),fe.abrupt("return",{rules:le,res:re.res});case 9:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketCORS=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ee=this._bucketRequestParams("DELETE",b,"cors",z),ee.successStatuses=[204],he.next=4,this.request(ee);case 4:return re=he.sent,he.abrupt("return",{res:re.res});case 6:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.putBucketReferer=function(){var a=(0,se.default)(te.default.mark(function x(b,z,ee,re){var le,he,ve,fe;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(le=this._bucketRequestParams("PUT",b,"referer",re),he=` -`,me+=" ".concat(z?"true":"false",` -`),ee&&ee.length>0){for(me+=` -`,ve=0;ve".concat(ee[ve],` -`);me+=` -`}else me+=` -`;return me+="",ce.content=me,ce.mime="xml",ce.successStatuses=[200],fe.next=10,this.request(ce);case 10:return ge=fe.sent,fe.abrupt("return",{res:ge.res});case 12:case"end":return fe.stop()}},x,this)}));function y(x,b,z,ee){return a.apply(this,arguments)}return y}(),ae.getBucketReferer=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re,ce;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"referer",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,ce=re.data.RefererList.Referer||null,ce&&(ie(ce)||(ce=[ce])),ve.abrupt("return",{allowEmpty:re.data.AllowEmptyReferer==="true",referers:ce,res:re.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketReferer=function(){var a=(0,se.default)(te.default.mark(function x(b,z){return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,this.putBucketReferer(b,!0,null,z);case 2:return re.abrupt("return",re.sent);case 3:case"end":return re.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,Pe,be){(function(oe,te){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/regenerator")),le=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ue=E("debug")("ali-oss"),ae=E("xml2js"),ie=E("agentkeepalive"),ne=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),ee=E("../common/signUtils"),re=E("../common/client/initOptions"),ce=E("../common/utils/createRequest"),me=ce.createRequest,ve=E("../common/utils/encoder"),ge=ve.encoder,pe=E("../common/client/getReqUrl"),fe=pe.getReqUrl,ye=E("../common/utils/setSTSToken"),Se=ye.setSTSToken,Oe=E("../common/utils/retry"),Ce=Oe.retry,Le=E("../common/utils/isFunction"),De=Le.isFunction,ke=new ie;function Ue(){var Ve=a.name,Me=a.version;Ve&&Ve.toLowerCase&&Ve.toLowerCase()==="ie"&&Me.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function et(){return location&&location.protocol==="https:"}function Ge(Ve,Me){if(Ue(),!(this instanceof Ge))return new Ge(Ve,Me);Ve&&Ve.inited?this.options=Ve:this.options=Ge.initOptions(Ve),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||ke),this.ctx=Me,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}Pe.exports=Ge,Ge.initOptions=function(Me){Me.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Re=Object.assign({secure:et(),useFetch:!1},Me);return re(Re)};var it=Ge.prototype;it.debug=ue,ne(it,E("./object")),ne(it,E("./bucket")),ne(it,E("../common/bucket/getBucketWebsite")),ne(it,E("../common/bucket/putBucketWebsite")),ne(it,E("../common/bucket/deleteBucketWebsite")),ne(it,E("../common/bucket/getBucketLifecycle")),ne(it,E("../common/bucket/putBucketLifecycle")),ne(it,E("../common/bucket/deleteBucketLifecycle")),ne(it,E("../common/bucket/putBucketVersioning")),ne(it,E("../common/bucket/getBucketVersioning")),ne(it,E("../common/bucket/getBucketInventory")),ne(it,E("../common/bucket/deleteBucketInventory")),ne(it,E("../common/bucket/listBucketInventory")),ne(it,E("../common/bucket/putBucketInventory")),ne(it,E("../common/bucket/abortBucketWorm")),ne(it,E("../common/bucket/completeBucketWorm")),ne(it,E("../common/bucket/extendBucketWorm")),ne(it,E("../common/bucket/getBucketWorm")),ne(it,E("../common/bucket/initiateBucketWorm")),ne(it,E("./managed-upload")),ne(it,E("../common/multipart-copy")),ne(it,E("../common/multipart")),ne(it,E("../common/parallel")),it.signature=function(Me){return this.debug("authorization stringToSign: %s",Me,"info"),ee.computeSignature(this.options.accessKeySecret,Me,this.options.headerEncoding)},it._getReqUrl=fe,it.authorization=function(Me,Re,ze,rt){var $e=ee.buildCanonicalString(Me.toUpperCase(),Re,{headers:rt,parameters:ze});return ee.authorization(this.options.accessKeyId,this.options.accessKeySecret,$e,this.options.headerEncoding)},it.request=function(){var Ve=(0,le.default)(de.default.mark(function Me(Re){var ze=this;return de.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if(!this.options.retryMax){$e.next=6;break}return $e.next=3,Ce(Qe.bind(this),this.options.retryMax,{errorHandler:function(_e){var We=function(Je){if(Re.stream)return!1;var Fe=[-1,-2].includes(Je.status),Ie=ze.options.requestErrorRetryHandle||function(){return!0};return Fe&&Ie(Je)};return!!We(_e)}})(Re);case 3:return $e.abrupt("return",$e.sent);case 6:return $e.abrupt("return",Qe.call(this,Re));case 7:case"end":return $e.stop()}},Me,this)}));return function(Me){return Ve.apply(this,arguments)}}();function Qe(Ve){return Ye.apply(this,arguments)}function Ye(){return Ye=(0,le.default)(de.default.mark(function Ve(Me){var Re,ze,rt,$e,ut,_e;return de.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(!(this.options.stsToken&&De(this.options.refreshSTSToken))){Te.next=3;break}return Te.next=3,Se.call(this);case 3:return Re=me.call(this,Me),this.options.useFetch||(Re.params.mode="disable-fetch"),$e=!!Me.stream,Te.prev=6,Te.next=9,this.urllib.request(Re.url,Re.params);case 9:ze=Te.sent,this.debug("response %s %s, got %s, headers: %j",Me.method,Re.url,ze.status,ze.headers,"info"),Te.next=16;break;case 13:Te.prev=13,Te.t0=Te.catch(6),rt=Te.t0;case 16:if(!(ze&&Me.successStatuses&&Me.successStatuses.indexOf(ze.status)===-1)){Te.next=28;break}return Te.next=19,this.requestError(ze);case 19:if(ut=Te.sent,!(ut.code==="RequestTimeTooSkewed"&&!$e)){Te.next=25;break}return this.options.amendTimeSkewed=+new Date(ut.serverTime)-new Date,Te.next=24,this.request(Me);case 24:return Te.abrupt("return",Te.sent);case 25:ut.params=Me,Te.next=32;break;case 28:if(!rt){Te.next=32;break}return Te.next=31,this.requestError(rt);case 31:ut=Te.sent;case 32:if(!ut){Te.next=34;break}throw ut;case 34:if(!Me.xmlResponse){Te.next=39;break}return Te.next=37,this.parseXML(ze.data);case 37:_e=Te.sent,ze.data=_e;case 39:return Te.abrupt("return",ze);case 40:case"end":return Te.stop()}},Ve,this,[[6,13]])})),Ye.apply(this,arguments)}it._getResource=function(Me){var Re="/";return Me.bucket&&(Re+="".concat(Me.bucket,"/")),Me.object&&(Re+=ge(Me.object,this.options.headerEncoding)),Re},it._escape=function(Me){return y.encodeURIComponent(Me).replace(/%2F/g,"/")},it._getUserAgent=function(){var Me=te&&te.browser?"js":"nodejs",Re="aliyun-sdk-".concat(Me,"/").concat(b.version),ze=a.description;return!ze&&te&&(ze="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat(Re," ").concat(ze))},it._checkUserAgent=function(Me){var Re=Me.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Re},it.checkBrowserAndVersion=function(Me,Re){return z.name===Me&&z.version.split(".")[0]===Re},it.parseXML=function(Me){return new Promise(function(Re,ze){oe.isBuffer(Me)&&(Me=Me.toString()),ae.parseString(Me,{explicitRoot:!1,explicitArray:!1},function(rt,$e){rt?ze(rt):Re($e)})})},it.requestError=function(){var Ve=(0,le.default)(de.default.mark(function Re(ze){var rt,$e,ut,_e;return de.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(rt=null,!(!ze.data||!ze.data.length)){Te.next=5;break}ze.status===-1||ze.status===-2?(rt=new Error(ze.message),rt.name=ze.name,rt.status=ze.status,rt.code=ze.name):(ze.status===404?(rt=new Error("Object not exists"),rt.name="NoSuchKeyError",rt.status=404,rt.code="NoSuchKey"):ze.status===412?(rt=new Error("Pre condition failed"),rt.name="PreconditionFailedError",rt.status=412,rt.code="PreconditionFailed"):(rt=new Error("Unknow error, status: ".concat(ze.status)),rt.name="UnknownError",rt.status=ze.status),rt.requestId=ze.headers["x-oss-request-id"],rt.host=""),Te.next=32;break;case 5:return $e=String(ze.data),this.debug("request response error data: %s",$e,"error"),Te.prev=7,Te.next=10,this.parseXML($e);case 10:if(Te.t0=Te.sent,Te.t0){Te.next=13;break}Te.t0={};case 13:ut=Te.t0,Te.next=23;break;case 16:return Te.prev=16,Te.t1=Te.catch(7),this.debug($e,"error"),Te.t1.message+=` -raw xml: `.concat($e),Te.t1.status=ze.status,Te.t1.requestId=ze.headers["x-oss-request-id"],Te.abrupt("return",Te.t1);case 23:_e=ut.Message||"unknow request error, status: ".concat(ze.status),ut.Condition&&(_e+=" (condition: ".concat(ut.Condition,")")),rt=new Error(_e),rt.name=ut.Code?"".concat(ut.Code,"Error"):"UnknownError",rt.status=ze.status,rt.code=ut.Code,rt.requestId=ut.RequestId,rt.hostId=ut.HostId,rt.serverTime=ut.ServerTime;case 32:return this.debug("generate error %j",rt,"error"),Te.abrupt("return",rt);case 34:case"end":return Te.stop()}},Re,this,[[7,16]])}));function Me(Re){return Ve.apply(this,arguments)}return Me}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,Pe,be){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),se=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var de=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("util"),ue=E("path"),ae=E("mime"),ie=E("copy-to"),ne=E("../common/utils/isBlob"),a=ne.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,ee=be;ee.multipartUpload=function(){var ge=(0,de.default)(se.default.mark(function fe(ye,Se){var Oe,Ce,Le,De,ke,Ue,et,Ge,it,Qe=arguments;return se.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(Oe=Qe.length>2&&Qe[2]!==void 0?Qe[2]:{},this.resetCancelFlag(),Oe.disabledMD5=Oe.disabledMD5===void 0?!0:!!Oe.disabledMD5,!(Oe.checkpoint&&Oe.checkpoint.uploadId)){Ve.next=8;break}return Se&&x(Se)&&(Oe.checkpoint.file=Se),Ve.next=7,this._resumeMultipart(Oe.checkpoint,Oe);case 7:return Ve.abrupt("return",Ve.sent);case 8:return Ce=102400,Oe.mime||(x(Se)?Oe.mime=ae.getType(ue.extname(Se.name)):a(Se)?Oe.mime=Se.type:z(Se)?Oe.mime="":Oe.mime=ae.getType(ue.extname(Se))),Oe.headers=Oe.headers||{},this._convertMetaToHeaders(Oe.meta,Oe.headers),Ve.next=14,this._getFileSize(Se);case 14:if(Le=Ve.sent,!(Le0&&ie(Ue).to(Ge),it=this._divideParts(Le,De),Qe=it.length,Ye=!1,Ve=function(Fe,Ie){return new Promise(function(){var Xe=(0,de.default)(se.default.mark(function He(je,Ee){var xe,we,Be,Ze,Ke;return se.default.wrap(function(at){for(;;)switch(at.prev=at.next){case 0:if(at.prev=0,Fe.isCancel()){at.next=29;break}return xe=it[Ie-1],at.next=5,Fe._createBuffer(Ce,xe.start,xe.end);case 5:return we=at.sent,Be={content:we,size:xe.end-xe.start},at.prev=7,at.next=10,Fe._uploadPart(et,ke,Ie,Be,Se);case 10:Ze=at.sent,at.next=18;break;case 13:if(at.prev=13,at.t0=at.catch(7),at.t0.status!==404){at.next=17;break}throw Fe._makeAbortEvent();case 17:throw at.t0;case 18:if(!(!Fe.isCancel()&&!Ye)){at.next=26;break}if(ye.doneParts.push({number:Ie,etag:Ze.res.headers.etag}),!Se.progress){at.next=23;break}return at.next=23,Se.progress(Ue.length/(Qe+1),ye,Ze.res);case 23:je({number:Ie,etag:Ze.res.headers.etag}),at.next=27;break;case 26:je();case 27:at.next=30;break;case 29:je();case 30:at.next=41;break;case 32:at.prev=32,at.t1=at.catch(0),Ke=new Error,Ke.name=at.t1.name,Ke.message=at.t1.message,Ke.stack=at.t1.stack,Ke.partNum=Ie,ie(at.t1).to(Ke),Ee(Ke);case 41:case"end":return at.stop()}},He,null,[[0,32],[7,13]])}));return function(He,je){return Xe.apply(this,arguments)}}())},Me=Array.from(new Array(Qe),function(Je,Fe){return Fe+1}),Re=Ge.map(function(Je){return Je.number}),ze=Me.filter(function(Je){return Re.indexOf(Je)<0}),rt=5,$e=Se.parallel||rt,Te.next=17,this._parallel(ze,$e,function(Je){return new Promise(function(Fe,Ie){Ve(Oe,Je).then(function(Xe){Xe&&Ge.push(Xe),Fe()}).catch(function(Xe){Ie(Xe)})})});case 17:if(ut=Te.sent,Ye=!0,_e=ut.find(function(Je){return Je.name==="abort"}),!_e){Te.next=22;break}throw _e;case 22:if(!this.isCancel()){Te.next=25;break}throw Ve=null,this._makeCancelEvent();case 25:if(!(ut&&ut.length>0)){Te.next=28;break}throw ut[0].message="Failed to upload some parts with error: ".concat(ut[0].toString()," part_num: ").concat(ut[0].partNum),ut[0];case 28:return Te.next=30,this.completeMultipartUpload(et,ke,Ge,Se);case 30:return Te.abrupt("return",Te.sent);case 31:case"end":return Te.stop()}},fe,this)}));function pe(fe,ye){return ge.apply(this,arguments)}return pe}(),ee._getFileSize=function(){var ge=(0,de.default)(se.default.mark(function fe(ye){return se.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!z(ye)){Oe.next=4;break}return Oe.abrupt("return",ye.length);case 4:if(!(a(ye)||x(ye))){Oe.next=6;break}return Oe.abrupt("return",ye.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Oe.stop()}},fe)}));function pe(fe){return ge.apply(this,arguments)}return pe}();var re=E("stream"),ce=re.Readable;function me(ge,pe){if(!(this instanceof me))return new me(ge,pe);ce.call(this,pe),this.file=ge,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}le.inherits(me,ce),me.prototype.readFileAndPush=function(pe){if(this.fileBuffer)for(var fe=!0;fe&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:Se,this.start=Se,fe=this.push(this.fileBuffer.slice(ye,Se))}},me.prototype._read=function(pe){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var fe=16*1024;pe=pe||fe;var ye=this;this.reader.onload=function(Oe){ye.fileBuffer=oe.from(new Uint8Array(Oe.target.result)),ye.file=null,ye.readFileAndPush(pe)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(pe)};function ve(ge){return ge.arrayBuffer?ge.arrayBuffer():new Promise(function(pe,fe){var ye=new FileReader;ye.onload=function(Se){pe(Se.target.result)},ye.onerror=function(Se){fe(Se)},ye.readAsArrayBuffer(ge)})}ee._createBuffer=function(){var ge=(0,de.default)(se.default.mark(function fe(ye,Se,Oe){var Ce,Le;return se.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:if(!(a(ye)||x(ye))){ke.next=8;break}return Ce=ye.slice(Se,Oe),ke.next=4,ve(Ce);case 4:return Le=ke.sent,ke.abrupt("return",oe.from(Le));case 8:if(!z(ye)){ke.next=12;break}return ke.abrupt("return",ye.subarray(Se,Oe));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return ke.stop()}},fe)}));function pe(fe,ye,Se){return ge.apply(this,arguments)}return pe}(),ee._getPartSize=function(pe,fe){var ye=1e4,Se=1*1024*1024;fe||(fe=Se);var Oe=Math.ceil(pe/ye);return fe1&&Ue[1]!==void 0?Ue[1]:{},Se=fe["continuation-token"]||fe.continuationToken,Se&&(ye.subres=Object.assign({"continuation-token":Se},ye.subres)),Oe=this._objectRequestParams("GET","",ye),Oe.query=Object.assign({"list-type":2},fe),delete Oe.query["continuation-token"],delete Oe.query.continuationToken,Oe.xmlResponse=!0,Oe.successStatuses=[200],Ge.next=11,this.request(Oe);case 11:return Ce=Ge.sent,Le=Ce.data.Contents||[],De=this,Le&&(Array.isArray(Le)||(Le=[Le]),Le=Le.map(function(it){var Qe=null;return it.Owner&&(Qe={id:it.Owner.ID,displayName:it.Owner.DisplayName}),{name:it.Key,url:De._objectUrl(it.Key),lastModified:it.LastModified,etag:it.ETag,type:it.Type,size:Number(it.Size),storageClass:it.StorageClass,owner:Qe}})),ke=Ce.data.CommonPrefixes||null,ke&&(Array.isArray(ke)||(ke=[ke]),ke=ke.map(function(it){return it.Prefix})),Ge.abrupt("return",{res:Ce.res,objects:Le,prefixes:ke,isTruncated:Ce.data.IsTruncated==="true",keyCount:+Ce.data.KeyCount,continuationToken:Ce.data.ContinuationToken||null,nextContinuationToken:Ce.data.NextContinuationToken||null});case 18:case"end":return Ge.stop()}},pe,this)}));function ge(pe){return ve.apply(this,arguments)}return ge}(),me.restore=function(){var ve=(0,se.default)(te.default.mark(function pe(fe){var ye,Se,Oe,Ce,Le=arguments;return te.default.wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ye=Le.length>1&&Le[1]!==void 0?Le[1]:{type:"Archive"},ye=ye||{},ye.subres=Object.assign({restore:""},ye.subres),ye.versionId&&(ye.subres.versionId=ye.versionId),Se=this._objectRequestParams("POST",fe,ye),ye.type==="ColdArchive"&&(Oe={RestoreRequest:{Days:ye.Days?ye.Days:2,JobParameters:{Tier:ye.JobParameters?ye.JobParameters:"Standard"}}},Se.content=ce(Oe,{headers:!0}),Se.mime="xml"),Se.successStatuses=[202],ke.next=9,this.request(Se);case 9:return Ce=ke.sent,ke.abrupt("return",{res:Ce.res});case 11:case"end":return ke.stop()}},pe,this)}));function ge(pe){return ve.apply(this,arguments)}return ge}(),me._objectUrl=function(ge){return this._getReqUrl({bucket:this.options.bucket,object:ge})},me._objectRequestParams=function(ge,pe,fe){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");fe=fe||{},pe=this._objectName(pe);var ye={object:pe,bucket:this.options.bucket,method:ge,subres:fe&&fe.subres,timeout:fe&&fe.timeout,ctx:fe&&fe.ctx};return fe.headers&&(ye.headers={},le(fe.headers).to(ye.headers)),ye},me._objectName=function(ge){return ge.replace(/^\/+/,"")},me._convertMetaToHeaders=function(ge,pe){ge&&Object.keys(ge).forEach(function(fe){pe["x-oss-meta-".concat(fe)]=ge[fe]})},me._deleteFileSafe=function(ge){var pe=this;return new Promise(function(fe){de.exists(ge,function(ye){ye?de.unlink(ge,function(Se){Se&&pe.debug("unlink %j error: %s",ge,Se,"error"),fe()}):fe()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,Pe,be){"use strict";be.version="6.18.1"},{}],7:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.abortBucketWorm=void 0;var de=E("../utils/checkBucketName");function le(ae,ie){return ue.apply(this,arguments)}function ue(){return ue=(0,se.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return de.checkBucketName(ie),a=this._bucketRequestParams("DELETE",ie,"worm",ne),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},ae,this)})),ue.apply(this,arguments)}be.abortBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.completeBucketWorm=void 0;var de=E("../utils/checkBucketName");function le(ae,ie,ne){return ue.apply(this,arguments)}function ue(){return ue=(0,se.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ie),y=this._bucketRequestParams("POST",ie,{wormId:ne},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},ae,this)})),ue.apply(this,arguments)}be.completeBucketWorm=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.deleteBucketInventory=void 0;var de=E("../utils/checkBucketName");function le(ae,ie){return ue.apply(this,arguments)}function ue(){return ue=(0,se.default)(te.default.mark(function ae(ie,ne){var a,y,x,b,z=arguments;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ne},a.subres),de.checkBucketName(ie),x=this._bucketRequestParams("DELETE",ie,y,a),x.successStatuses=[204],re.next=7,this.request(x);case 7:return b=re.sent,re.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return re.stop()}},ae,this)})),ue.apply(this,arguments)}be.deleteBucketInventory=le},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=be;ue.deleteBucketLifecycle=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=be;ue.deleteBucketWebsite=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.extendBucketWorm=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function ue(ie,ne,a,y){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a,y,x){var b,z,ee;return te.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return de.checkBucketName(ne),b=this._bucketRequestParams("POST",ne,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=le.obj2xml(z,{headers:!0}),b.successStatuses=[200],ce.next=8,this.request(b);case 8:return ee=ce.sent,ce.abrupt("return",{res:ee.res,status:ee.status});case 10:case"end":return ce.stop()}},ie,this)})),ae.apply(this,arguments)}be.extendBucketWorm=ue},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.getBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function ue(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee=arguments;return te.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return y=ee.length>2&&ee[2]!==void 0?ee[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,y),b.successStatuses=[200],b.xmlResponse=!0,ce.next=8,this.request(b);case 8:return z=ce.sent,ce.abrupt("return",{status:z.status,res:z.res,inventory:le.formatInventoryConfig(z.data)});case 10:case"end":return ce.stop()}},ie,this)})),ae.apply(this,arguments)}be.getBucketInventory=ue},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=E("../utils/isArray"),ae=ue.isArray,ie=E("../utils/formatObjKey"),ne=ie.formatObjKey,a=be;a.getBucketLifecycle=function(){var y=(0,se.default)(te.default.mark(function b(z,ee){var re,ce,me;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return le(z),re=this._bucketRequestParams("GET",z,"lifecycle",ee),re.successStatuses=[200],re.xmlResponse=!0,ge.next=6,this.request(re);case 6:return ce=ge.sent,me=ce.data.Rule||null,me&&(ae(me)||(me=[me]),me=me.map(function(pe){return pe.ID&&(pe.id=pe.ID,delete pe.ID),pe.Tag&&!ae(pe.Tag)&&(pe.Tag=[pe.Tag]),ne(pe,"firstLowerCase")})),ge.abrupt("return",{rules:me,res:ce.res});case 10:case"end":return ge.stop()}},b,this)}));function x(b,z){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=be;ue.getBucketVersioning=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],re.next=6,this.request(x);case 6:return b=re.sent,z=b.data.Status,re.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return re.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=E("../utils/isObject"),ae=ue.isObject,ie=be;ie.getBucketWebsite=function(){var ne=(0,se.default)(te.default.mark(function y(x,b){var z,ee,re;return te.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return le(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,me.next=6,this.request(z);case 6:return ee=me.sent,re=[],ee.data.RoutingRules&&ee.data.RoutingRules.RoutingRule&&(ae(ee.data.RoutingRules.RoutingRule)?re=[ee.data.RoutingRules.RoutingRule]:re=ee.data.RoutingRules.RoutingRule),me.abrupt("return",{index:ee.data.IndexDocument&&ee.data.IndexDocument.Suffix||"",supportSubDir:ee.data.IndexDocument&&ee.data.IndexDocument.SupportSubDir||"false",type:ee.data.IndexDocument&&ee.data.IndexDocument.Type,routingRules:re,error:ee.data.ErrorDocument&&ee.data.ErrorDocument.Key||null,res:ee.res});case 10:case"end":return me.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.getBucketWorm=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/dataFix");function ue(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ne),y=this._bucketRequestParams("GET",ne,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,le.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},ie,this)})),ae.apply(this,arguments)}be.getBucketWorm=ue},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.initiateBucketWorm=void 0;var de=E("../utils/obj2xml"),le=E("../utils/checkBucketName");function ue(ie,ne,a){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return le.checkBucketName(ne),x=this._bucketRequestParams("POST",ne,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=de.obj2xml(b,{headers:!0}),x.successStatuses=[200],re.next=8,this.request(x);case 8:return z=re.sent,re.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return re.stop()}},ie,this)})),ae.apply(this,arguments)}be.initiateBucketWorm=ue},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.listBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/formatInventoryConfig");function ue(ie){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne){var a,y,x,b,z,ee,re,ce,me=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return a=me.length>1&&me[1]!==void 0?me[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,a),b.successStatuses=[200],b.xmlResponse=!0,ge.next=9,this.request(b);case 9:return z=ge.sent,ee=z.data,re=z.res,ce=z.status,ge.abrupt("return",{isTruncated:ee.IsTruncated==="true",nextContinuationToken:ee.NextContinuationToken,inventoryList:le.formatInventoryConfig(ee.InventoryConfiguration,!0),status:ce,res:re});case 12:case"end":return ge.stop()}},ie,this)})),ae.apply(this,arguments)}be.listBucketInventory=ue},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.putBucketInventory=void 0;var de=E("../utils/checkBucketName"),le=E("../utils/obj2xml");function ue(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee,re,ce,me,ve,ge,pe,fe=arguments;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return y=fe.length>2&&fe[2]!==void 0?fe[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),de.checkBucketName(ne),b=a.OSSBucketDestination,z=a.optionalFields,ee=a.includedObjectVersions,re="acs:oss:::",ce="acs:ram::".concat(b.accountId,":role/"),me={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(ce).concat(b.rolename),Bucket:"".concat(re).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:ee,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ve=le.obj2xml(me,{headers:!0,firstUpperCase:!0}),ge=this._bucketRequestParams("PUT",ne,x,y),ge.successStatuses=[200],ge.mime="xml",ge.content=ve,Se.next=14,this.request(ge);case 14:return pe=Se.sent,Se.abrupt("return",{status:pe.status,res:pe.res});case 16:case"end":return Se.stop()}},ie,this)})),ae.apply(this,arguments)}be.putBucketInventory=ue},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=E("../utils/isArray"),ae=ue.isArray,ie=E("../utils/deepCopy"),ne=ie.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),ee=z.checkObjectTag,re=E("../utils/getStrBytesCount"),ce=re.getStrBytesCount,me=be;me.putBucketLifecycle=function(){var ye=(0,se.default)(te.default.mark(function Oe(Ce,Le,De){var ke,Ue,et,Ge,it;return te.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(le(Ce),ae(Le)){Ye.next=3;break}throw new Error("rules must be Array");case 3:return ke=this._bucketRequestParams("PUT",Ce,"lifecycle",De),Ue=[],et={LifecycleConfiguration:{Rule:Ue}},Le.forEach(function(Ve){ve(Ve),fe(Ve),Ve.id&&(Ve.ID=Ve.id,delete Ve.id),Ue.push(Ve)}),Ge=b(et,{headers:!0,firstUpperCase:!0}),ke.content=Ge,ke.mime="xml",ke.successStatuses=[200],Ye.next=13,this.request(ke);case 13:return it=Ye.sent,Ye.abrupt("return",{res:it.res});case 15:case"end":return Ye.stop()}},Oe,this)}));function Se(Oe,Ce,Le){return ye.apply(this,arguments)}return Se}();function ve(ye){ye.days&&(ye.expiration={days:ye.days}),ye.date&&(ye.expiration={createdBeforeDate:ye.date})}function ge(ye,Se){var Oe=ye.days,Ce=ye.createdBeforeDate;if(!Oe&&!Ce)throw new Error("".concat(Se," must includes days or createdBeforeDate"));if(Oe&&!/^[1-9][0-9]*$/.test(Oe))throw new Error("days must be a positive integer");if(Ce&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ce))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function pe(ye){if(!ae(ye)&&!y(ye))throw new Error("tag must be Object or Array");ye=y(ye)?[ye]:ye;var Se={},Oe=ne(ye);Oe.forEach(function(Ce){Se[Ce.key]=Ce.value}),ee(Se)}function fe(ye){if(ye.id&&ce(ye.id)>255)throw new Error("ID is composed of 255 bytes at most");if(ye.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(ye.status))throw new Error("Status must be Enabled or Disabled");if(ye.transition){if(!["IA","Archive"].includes(ye.transition.storageClass))throw new Error("StorageClass must be IA or Archive");ge(ye.transition,"Transition")}if(ye.expiration){if(!ye.expiration.expiredObjectDeleteMarker)ge(ye.expiration,"Expiration");else if(ye.expiration.days||ye.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(ye.abortMultipartUpload&&ge(ye.abortMultipartUpload,"AbortMultipartUpload"),!ye.expiration&&!ye.abortMultipartUpload&&!ye.transition&&!ye.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(ye.tag){if(ye.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");pe(ye.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=E("../utils/obj2xml"),ae=ue.obj2xml,ie=be;ie.putBucketVersioning=function(){var ne=(0,se.default)(te.default.mark(function y(x,b){var z,ee,re,ce,me=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:if(z=me.length>2&&me[2]!==void 0?me[2]:{},le(x),["Enabled","Suspended"].includes(b)){ge.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ee=this._bucketRequestParams("PUT",x,"versioning",z),re={VersioningConfiguration:{Status:b}},ee.mime="xml",ee.content=ae(re,{headers:!0}),ge.next=10,this.request(ee);case 10:return ce=ge.sent,ge.abrupt("return",{res:ce.res,status:ce.status});case 12:case"end":return ge.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=E("../utils/obj2xml"),ae=ue.obj2xml,ie=E("../utils/isArray"),ne=ie.isArray,a=be;a.putBucketWebsite=function(){var y=(0,se.default)(te.default.mark(function b(z){var ee,re,ce,me,ve,ge,pe,fe=arguments;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:if(ee=fe.length>1&&fe[1]!==void 0?fe[1]:{},re=fe.length>2?fe[2]:void 0,le(z),ce=this._bucketRequestParams("PUT",z,"website",re),me={Suffix:ee.index||"index.html"},ve={IndexDocument:me},ge={WebsiteConfiguration:ve},ee.supportSubDir&&(me.SupportSubDir=ee.supportSubDir),ee.type&&(me.Type=ee.type),ee.error&&(ve.ErrorDocument={Key:ee.error}),ee.routingRules===void 0){Se.next=14;break}if(ne(ee.routingRules)){Se.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:ee.routingRules};case 14:return ge=ae(ge),ce.content=ge,ce.mime="xml",ce.successStatuses=[200],Se.next=20,this.request(ce);case 20:return pe=Se.sent,Se.abrupt("return",{res:pe.res});case 22:case"end":return Se.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,Pe,be){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),be.encodeCallback=function(se,de){if(se.headers=se.headers||{},!Object.prototype.hasOwnProperty.call(se.headers,"x-oss-callback")&&de.callback){var le={callbackUrl:encodeURI(de.callback.url),callbackBody:de.callback.body};de.callback.host&&(le.callbackHost=de.callback.host),de.callback.contentType&&(le.callbackBodyType=de.callback.contentType);var ue=oe.from(JSON.stringify(le)).toString("base64");if(se.headers["x-oss-callback"]=ue,de.callback.customValue){var ae={};Object.keys(de.callback.customValue).forEach(function(ie){ae["x:".concat(ie)]=de.callback.customValue[ie].toString()}),se.headers["x-oss-callback-var"]=oe.from(JSON.stringify(ae)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,Pe,be){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var oe=function(ne){return ne&&ne.__esModule?ne:{default:ne}};Object.defineProperty(be,"__esModule",{value:!0}),be.getReqUrl=void 0;var te=oe(E("copy-to")),se=oe(E("url")),de=oe(E("merge-descriptors")),le=oe(E("is-type-of")),ue=E("../utils/isIP"),ae=E("../utils/checkConfigValid");function ie(ne){var a={},y=this.options.cname;ae.checkConfigValid(this.options.endpoint,"endpoint"),te.default(this.options.endpoint,!1).to(a),ne.bucket&&!y&&!ue.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ne.bucket,".").concat(a.host));var x="/";ne.bucket&&this.options.sldEnable&&(x+="".concat(ne.bucket,"/")),ne.object&&(x+=this._escape(ne.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ne.query&&de.default(b,ne.query),ne.subres){var z={};le.default.string(ne.subres)?z[ne.subres]="":le.default.array(ne.subres)?ne.subres.forEach(function(ee){z[ee]=""}):z=ne.subres,de.default(b,z)}return a.query=b,se.default.format(a)}be.getReqUrl=ie},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,Pe,be){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var oe=E("humanize-ms"),te=E("url"),se=E("../utils/checkBucketName"),de=se.checkBucketName,le=E("../utils/setRegion"),ue=le.setRegion,ae=E("../utils/checkConfigValid"),ie=ae.checkConfigValid;function ne(a,y){ie(a,"endpoint");var x=te.parse(a);if(x.protocol||(x=te.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}Pe.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&de(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=oe(y.timeout)),y.endpoint)y.endpoint=ne(y.endpoint,y.secure);else if(y.region)y.endpoint=ue(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,Pe,be){"use strict";var oe=E("merge-descriptors"),te=be;oe(te,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),le=de.checkBucketName,ue=E("querystring"),ae=E("js-base64"),ie=ae.Base64.encode,ne=be;ne.processObjectSave=function(){var y=(0,se.default)(te.default.mark(function b(z,ee,re,ce){var me,ve,ge,pe;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return a(z,"sourceObject"),a(ee,"targetObject"),a(re,"process"),ee=this._objectName(ee),ce&&le(ce),me=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=ce?",b_".concat(ie(ce)):"",ee=ie(ee),ge={"x-oss-process":"".concat(re,"|sys/saveas,o_").concat(ee).concat(ve)},me.content=ue.stringify(ge),ye.next=12,this.request(me);case 12:return pe=ye.sent,ye.abrupt("return",{res:pe.res,status:pe.res.status});case 14:case"end":return ye.stop()}},b,this)}));function x(b,z,ee,re){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("debug")("ali-oss:multipart-copy"),le=E("copy-to"),ue=be;ue.uploadPartCopy=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y,x,b,z){var ee,re,ce,me,ve,ge=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ee=ge.length>5&&ge[5]!==void 0?ge[5]:{},ee.headers=ee.headers||{},re=ee.versionId||ee.subres&&ee.subres.versionId||null,re?ce="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(re):ce="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),ee.headers["x-oss-copy-source"]=ce,b&&(ee.headers["x-oss-copy-source-range"]="bytes=".concat(b)),ee.subres={partNumber:x,uploadId:y},me=this._objectRequestParams("PUT",a,ee),me.mime=ee.mime,me.successStatuses=[200],fe.next=12,this.request(me);case 12:return ve=fe.sent,fe.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return fe.stop()}},ne,this)}));function ie(ne,a,y,x,b){return ae.apply(this,arguments)}return ie}(),ue.multipartUploadCopy=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b,z,ee,re,ce,me,ve,ge,pe,fe,ye,Se=arguments;return te.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return x=Se.length>2&&Se[2]!==void 0?Se[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,ee={versionId:z},Ce.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,ee);case 6:if(re=Ce.sent,ce=re.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||ce,!(x.checkpoint&&x.checkpoint.uploadId)){Ce.next=14;break}return Ce.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ce.abrupt("return",Ce.sent);case 14:if(me=102400,ve=y.endOffset-y.startOffset,!(ve0)){Ye.next=40;break}throw it=et[0],it.message="Failed to copy some parts with error: ".concat(it.toString()," part_num: ").concat(it.partNum),it;case 40:return Ye.next=42,this.completeMultipartUpload(ge,me,ve,x);case 42:return Ye.abrupt("return",Ye.sent);case 43:case"end":return Ye.stop()}},ne,this)}));function ie(ne,a,y){return ae.apply(this,arguments)}return ie}(),ue._divideMultipartCopyParts=function(ie,ne,a){for(var y=Math.ceil(ie/ne),x=[],b=0;b +`,he+=" ".concat(z?"true":"false",` +`),ee&&ee.length>0){for(he+=` +`,ve=0;ve".concat(ee[ve],` +`);he+=` +`}else he+=` +`;return he+="",le.content=he,le.mime="xml",le.successStatuses=[200],ge.next=10,this.request(le);case 10:return fe=ge.sent,ge.abrupt("return",{res:fe.res});case 12:case"end":return ge.stop()}},x,this)}));function y(x,b,z,ee){return a.apply(this,arguments)}return y}(),ae.getBucketReferer=function(){var a=(0,se.default)(te.default.mark(function x(b,z){var ee,re,le;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return ee=this._bucketRequestParams("GET",b,"referer",z),ee.successStatuses=[200],ee.xmlResponse=!0,ve.next=5,this.request(ee);case 5:return re=ve.sent,le=re.data.RefererList.Referer||null,le&&(ie(le)||(le=[le])),ve.abrupt("return",{allowEmpty:re.data.AllowEmptyReferer==="true",referers:le,res:re.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae.deleteBucketReferer=function(){var a=(0,se.default)(te.default.mark(function x(b,z){return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return re.next=2,this.putBucketReferer(b,!0,null,z);case 2:return re.abrupt("return",re.sent);case 3:case"end":return re.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),ae._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,Se,ye){(function(oe,te){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/regenerator")),ue=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ce=E("debug")("ali-oss"),ae=E("xml2js"),ie=E("agentkeepalive"),ne=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),ee=E("../common/signUtils"),re=E("../common/client/initOptions"),le=E("../common/utils/createRequest"),he=le.createRequest,ve=E("../common/utils/encoder"),fe=ve.encoder,me=E("../common/client/getReqUrl"),ge=me.getReqUrl,be=E("../common/utils/setSTSToken"),Pe=be.setSTSToken,Te=E("../common/utils/retry"),Ce=Te.retry,Le=E("../common/utils/isFunction"),Ie=Le.isFunction,Me=new ie;function Ue(){var Ze=a.name,ze=a.version;Ze&&Ze.toLowerCase&&Ze.toLowerCase()==="ie"&&ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Qe(){return location&&location.protocol==="https:"}function Ge(Ze,ze){if(Ue(),!(this instanceof Ge))return new Ge(Ze,ze);Ze&&Ze.inited?this.options=Ze:this.options=Ge.initOptions(Ze),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Me),this.ctx=ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}Se.exports=Ge,Ge.initOptions=function(ze){ze.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Re=Object.assign({secure:Qe(),useFetch:!1},ze);return re(Re)};var ot=Ge.prototype;ot.debug=ce,ne(ot,E("./object")),ne(ot,E("./bucket")),ne(ot,E("../common/bucket/getBucketWebsite")),ne(ot,E("../common/bucket/putBucketWebsite")),ne(ot,E("../common/bucket/deleteBucketWebsite")),ne(ot,E("../common/bucket/getBucketLifecycle")),ne(ot,E("../common/bucket/putBucketLifecycle")),ne(ot,E("../common/bucket/deleteBucketLifecycle")),ne(ot,E("../common/bucket/putBucketVersioning")),ne(ot,E("../common/bucket/getBucketVersioning")),ne(ot,E("../common/bucket/getBucketInventory")),ne(ot,E("../common/bucket/deleteBucketInventory")),ne(ot,E("../common/bucket/listBucketInventory")),ne(ot,E("../common/bucket/putBucketInventory")),ne(ot,E("../common/bucket/abortBucketWorm")),ne(ot,E("../common/bucket/completeBucketWorm")),ne(ot,E("../common/bucket/extendBucketWorm")),ne(ot,E("../common/bucket/getBucketWorm")),ne(ot,E("../common/bucket/initiateBucketWorm")),ne(ot,E("./managed-upload")),ne(ot,E("../common/multipart-copy")),ne(ot,E("../common/multipart")),ne(ot,E("../common/parallel")),ot.signature=function(ze){return this.debug("authorization stringToSign: %s",ze,"info"),ee.computeSignature(this.options.accessKeySecret,ze,this.options.headerEncoding)},ot._getReqUrl=ge,ot.authorization=function(ze,Re,He,rt){var qe=ee.buildCanonicalString(ze.toUpperCase(),Re,{headers:rt,parameters:He});return ee.authorization(this.options.accessKeyId,this.options.accessKeySecret,qe,this.options.headerEncoding)},ot.request=function(){var Ze=(0,ue.default)(de.default.mark(function ze(Re){var He=this;return de.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!this.options.retryMax){qe.next=6;break}return qe.next=3,Ce(Ve.bind(this),this.options.retryMax,{errorHandler:function(_e){var We=function(Ye){if(Re.stream)return!1;var Fe=[-1,-2].includes(Ye.status),Ne=He.options.requestErrorRetryHandle||function(){return!0};return Fe&&Ne(Ye)};return!!We(_e)}})(Re);case 3:return qe.abrupt("return",qe.sent);case 6:return qe.abrupt("return",Ve.call(this,Re));case 7:case"end":return qe.stop()}},ze,this)}));return function(ze){return Ze.apply(this,arguments)}}();function Ve(Ze){return Xe.apply(this,arguments)}function Xe(){return Xe=(0,ue.default)(de.default.mark(function Ze(ze){var Re,He,rt,qe,ut,_e;return de.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(!(this.options.stsToken&&Ie(this.options.refreshSTSToken))){Oe.next=3;break}return Oe.next=3,Pe.call(this);case 3:return Re=he.call(this,ze),this.options.useFetch||(Re.params.mode="disable-fetch"),qe=!!ze.stream,Oe.prev=6,Oe.next=9,this.urllib.request(Re.url,Re.params);case 9:He=Oe.sent,this.debug("response %s %s, got %s, headers: %j",ze.method,Re.url,He.status,He.headers,"info"),Oe.next=16;break;case 13:Oe.prev=13,Oe.t0=Oe.catch(6),rt=Oe.t0;case 16:if(!(He&&ze.successStatuses&&ze.successStatuses.indexOf(He.status)===-1)){Oe.next=28;break}return Oe.next=19,this.requestError(He);case 19:if(ut=Oe.sent,!(ut.code==="RequestTimeTooSkewed"&&!qe)){Oe.next=25;break}return this.options.amendTimeSkewed=+new Date(ut.serverTime)-new Date,Oe.next=24,this.request(ze);case 24:return Oe.abrupt("return",Oe.sent);case 25:ut.params=ze,Oe.next=32;break;case 28:if(!rt){Oe.next=32;break}return Oe.next=31,this.requestError(rt);case 31:ut=Oe.sent;case 32:if(!ut){Oe.next=34;break}throw ut;case 34:if(!ze.xmlResponse){Oe.next=39;break}return Oe.next=37,this.parseXML(He.data);case 37:_e=Oe.sent,He.data=_e;case 39:return Oe.abrupt("return",He);case 40:case"end":return Oe.stop()}},Ze,this,[[6,13]])})),Xe.apply(this,arguments)}ot._getResource=function(ze){var Re="/";return ze.bucket&&(Re+="".concat(ze.bucket,"/")),ze.object&&(Re+=fe(ze.object,this.options.headerEncoding)),Re},ot._escape=function(ze){return y.encodeURIComponent(ze).replace(/%2F/g,"/")},ot._getUserAgent=function(){var ze=te&&te.browser?"js":"nodejs",Re="aliyun-sdk-".concat(ze,"/").concat(b.version),He=a.description;return!He&&te&&(He="Node.js ".concat(te.version.slice(1)," on ").concat(te.platform," ").concat(te.arch)),this._checkUserAgent("".concat(Re," ").concat(He))},ot._checkUserAgent=function(ze){var Re=ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Re},ot.checkBrowserAndVersion=function(ze,Re){return z.name===ze&&z.version.split(".")[0]===Re},ot.parseXML=function(ze){return new Promise(function(Re,He){oe.isBuffer(ze)&&(ze=ze.toString()),ae.parseString(ze,{explicitRoot:!1,explicitArray:!1},function(rt,qe){rt?He(rt):Re(qe)})})},ot.requestError=function(){var Ze=(0,ue.default)(de.default.mark(function Re(He){var rt,qe,ut,_e;return de.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:if(rt=null,!(!He.data||!He.data.length)){Oe.next=5;break}He.status===-1||He.status===-2?(rt=new Error(He.message),rt.name=He.name,rt.status=He.status,rt.code=He.name):(He.status===404?(rt=new Error("Object not exists"),rt.name="NoSuchKeyError",rt.status=404,rt.code="NoSuchKey"):He.status===412?(rt=new Error("Pre condition failed"),rt.name="PreconditionFailedError",rt.status=412,rt.code="PreconditionFailed"):(rt=new Error("Unknow error, status: ".concat(He.status)),rt.name="UnknownError",rt.status=He.status),rt.requestId=He.headers["x-oss-request-id"],rt.host=""),Oe.next=32;break;case 5:return qe=String(He.data),this.debug("request response error data: %s",qe,"error"),Oe.prev=7,Oe.next=10,this.parseXML(qe);case 10:if(Oe.t0=Oe.sent,Oe.t0){Oe.next=13;break}Oe.t0={};case 13:ut=Oe.t0,Oe.next=23;break;case 16:return Oe.prev=16,Oe.t1=Oe.catch(7),this.debug(qe,"error"),Oe.t1.message+=` +raw xml: `.concat(qe),Oe.t1.status=He.status,Oe.t1.requestId=He.headers["x-oss-request-id"],Oe.abrupt("return",Oe.t1);case 23:_e=ut.Message||"unknow request error, status: ".concat(He.status),ut.Condition&&(_e+=" (condition: ".concat(ut.Condition,")")),rt=new Error(_e),rt.name=ut.Code?"".concat(ut.Code,"Error"):"UnknownError",rt.status=He.status,rt.code=ut.Code,rt.requestId=ut.RequestId,rt.hostId=ut.HostId,rt.serverTime=ut.ServerTime;case 32:return this.debug("generate error %j",rt,"error"),Oe.abrupt("return",rt);case 34:case"end":return Oe.stop()}},Re,this,[[7,16]])}));function ze(Re){return Ze.apply(this,arguments)}return ze}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,Se,ye){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),se=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var de=te(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("util"),ce=E("path"),ae=E("mime"),ie=E("copy-to"),ne=E("../common/utils/isBlob"),a=ne.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,ee=ye;ee.multipartUpload=function(){var fe=(0,de.default)(se.default.mark(function ge(be,Pe){var Te,Ce,Le,Ie,Me,Ue,Qe,Ge,ot,Ve=arguments;return se.default.wrap(function(Ze){for(;;)switch(Ze.prev=Ze.next){case 0:if(Te=Ve.length>2&&Ve[2]!==void 0?Ve[2]:{},this.resetCancelFlag(),Te.disabledMD5=Te.disabledMD5===void 0?!0:!!Te.disabledMD5,!(Te.checkpoint&&Te.checkpoint.uploadId)){Ze.next=8;break}return Pe&&x(Pe)&&(Te.checkpoint.file=Pe),Ze.next=7,this._resumeMultipart(Te.checkpoint,Te);case 7:return Ze.abrupt("return",Ze.sent);case 8:return Ce=102400,Te.mime||(x(Pe)?Te.mime=ae.getType(ce.extname(Pe.name)):a(Pe)?Te.mime=Pe.type:z(Pe)?Te.mime="":Te.mime=ae.getType(ce.extname(Pe))),Te.headers=Te.headers||{},this._convertMetaToHeaders(Te.meta,Te.headers),Ze.next=14,this._getFileSize(Pe);case 14:if(Le=Ze.sent,!(Le0&&ie(Ue).to(Ge),ot=this._divideParts(Le,Ie),Ve=ot.length,Xe=!1,Ze=function(Fe,Ne){return new Promise(function(){var et=(0,de.default)(se.default.mark(function De(je,Ee){var xe,we,Be,Ke,nt;return se.default.wrap(function($e){for(;;)switch($e.prev=$e.next){case 0:if($e.prev=0,Fe.isCancel()){$e.next=29;break}return xe=ot[Ne-1],$e.next=5,Fe._createBuffer(Ce,xe.start,xe.end);case 5:return we=$e.sent,Be={content:we,size:xe.end-xe.start},$e.prev=7,$e.next=10,Fe._uploadPart(Qe,Me,Ne,Be,Pe);case 10:Ke=$e.sent,$e.next=18;break;case 13:if($e.prev=13,$e.t0=$e.catch(7),$e.t0.status!==404){$e.next=17;break}throw Fe._makeAbortEvent();case 17:throw $e.t0;case 18:if(!(!Fe.isCancel()&&!Xe)){$e.next=26;break}if(be.doneParts.push({number:Ne,etag:Ke.res.headers.etag}),!Pe.progress){$e.next=23;break}return $e.next=23,Pe.progress(Ue.length/(Ve+1),be,Ke.res);case 23:je({number:Ne,etag:Ke.res.headers.etag}),$e.next=27;break;case 26:je();case 27:$e.next=30;break;case 29:je();case 30:$e.next=41;break;case 32:$e.prev=32,$e.t1=$e.catch(0),nt=new Error,nt.name=$e.t1.name,nt.message=$e.t1.message,nt.stack=$e.t1.stack,nt.partNum=Ne,ie($e.t1).to(nt),Ee(nt);case 41:case"end":return $e.stop()}},De,null,[[0,32],[7,13]])}));return function(De,je){return et.apply(this,arguments)}}())},ze=Array.from(new Array(Ve),function(Ye,Fe){return Fe+1}),Re=Ge.map(function(Ye){return Ye.number}),He=ze.filter(function(Ye){return Re.indexOf(Ye)<0}),rt=5,qe=Pe.parallel||rt,Oe.next=17,this._parallel(He,qe,function(Ye){return new Promise(function(Fe,Ne){Ze(Te,Ye).then(function(et){et&&Ge.push(et),Fe()}).catch(function(et){Ne(et)})})});case 17:if(ut=Oe.sent,Xe=!0,_e=ut.find(function(Ye){return Ye.name==="abort"}),!_e){Oe.next=22;break}throw _e;case 22:if(!this.isCancel()){Oe.next=25;break}throw Ze=null,this._makeCancelEvent();case 25:if(!(ut&&ut.length>0)){Oe.next=28;break}throw ut[0].message="Failed to upload some parts with error: ".concat(ut[0].toString()," part_num: ").concat(ut[0].partNum),ut[0];case 28:return Oe.next=30,this.completeMultipartUpload(Qe,Me,Ge,Pe);case 30:return Oe.abrupt("return",Oe.sent);case 31:case"end":return Oe.stop()}},ge,this)}));function me(ge,be){return fe.apply(this,arguments)}return me}(),ee._getFileSize=function(){var fe=(0,de.default)(se.default.mark(function ge(be){return se.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(!z(be)){Te.next=4;break}return Te.abrupt("return",be.length);case 4:if(!(a(be)||x(be))){Te.next=6;break}return Te.abrupt("return",be.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Te.stop()}},ge)}));function me(ge){return fe.apply(this,arguments)}return me}();var re=E("stream"),le=re.Readable;function he(fe,me){if(!(this instanceof he))return new he(fe,me);le.call(this,me),this.file=fe,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ue.inherits(he,le),he.prototype.readFileAndPush=function(me){if(this.fileBuffer)for(var ge=!0;ge&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:Pe,this.start=Pe,ge=this.push(this.fileBuffer.slice(be,Pe))}},he.prototype._read=function(me){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var ge=16*1024;me=me||ge;var be=this;this.reader.onload=function(Te){be.fileBuffer=oe.from(new Uint8Array(Te.target.result)),be.file=null,be.readFileAndPush(me)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(me)};function ve(fe){return fe.arrayBuffer?fe.arrayBuffer():new Promise(function(me,ge){var be=new FileReader;be.onload=function(Pe){me(Pe.target.result)},be.onerror=function(Pe){ge(Pe)},be.readAsArrayBuffer(fe)})}ee._createBuffer=function(){var fe=(0,de.default)(se.default.mark(function ge(be,Pe,Te){var Ce,Le;return se.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(a(be)||x(be))){Me.next=8;break}return Ce=be.slice(Pe,Te),Me.next=4,ve(Ce);case 4:return Le=Me.sent,Me.abrupt("return",oe.from(Le));case 8:if(!z(be)){Me.next=12;break}return Me.abrupt("return",be.subarray(Pe,Te));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Me.stop()}},ge)}));function me(ge,be,Pe){return fe.apply(this,arguments)}return me}(),ee._getPartSize=function(me,ge){var be=1e4,Pe=1*1024*1024;ge||(ge=Pe);var Te=Math.ceil(me/be);return ge1&&Ue[1]!==void 0?Ue[1]:{},Pe=ge["continuation-token"]||ge.continuationToken,Pe&&(be.subres=Object.assign({"continuation-token":Pe},be.subres)),Te=this._objectRequestParams("GET","",be),Te.query=Object.assign({"list-type":2},ge),delete Te.query["continuation-token"],delete Te.query.continuationToken,Te.xmlResponse=!0,Te.successStatuses=[200],Ge.next=11,this.request(Te);case 11:return Ce=Ge.sent,Le=Ce.data.Contents||[],Ie=this,Le&&(Array.isArray(Le)||(Le=[Le]),Le=Le.map(function(ot){var Ve=null;return ot.Owner&&(Ve={id:ot.Owner.ID,displayName:ot.Owner.DisplayName}),{name:ot.Key,url:Ie._objectUrl(ot.Key),lastModified:ot.LastModified,etag:ot.ETag,type:ot.Type,size:Number(ot.Size),storageClass:ot.StorageClass,owner:Ve}})),Me=Ce.data.CommonPrefixes||null,Me&&(Array.isArray(Me)||(Me=[Me]),Me=Me.map(function(ot){return ot.Prefix})),Ge.abrupt("return",{res:Ce.res,objects:Le,prefixes:Me,isTruncated:Ce.data.IsTruncated==="true",keyCount:+Ce.data.KeyCount,continuationToken:Ce.data.ContinuationToken||null,nextContinuationToken:Ce.data.NextContinuationToken||null});case 18:case"end":return Ge.stop()}},me,this)}));function fe(me){return ve.apply(this,arguments)}return fe}(),he.restore=function(){var ve=(0,se.default)(te.default.mark(function me(ge){var be,Pe,Te,Ce,Le=arguments;return te.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return be=Le.length>1&&Le[1]!==void 0?Le[1]:{type:"Archive"},be=be||{},be.subres=Object.assign({restore:""},be.subres),be.versionId&&(be.subres.versionId=be.versionId),Pe=this._objectRequestParams("POST",ge,be),be.type==="ColdArchive"&&(Te={RestoreRequest:{Days:be.Days?be.Days:2,JobParameters:{Tier:be.JobParameters?be.JobParameters:"Standard"}}},Pe.content=le(Te,{headers:!0}),Pe.mime="xml"),Pe.successStatuses=[202],Me.next=9,this.request(Pe);case 9:return Ce=Me.sent,Me.abrupt("return",{res:Ce.res});case 11:case"end":return Me.stop()}},me,this)}));function fe(me){return ve.apply(this,arguments)}return fe}(),he._objectUrl=function(fe){return this._getReqUrl({bucket:this.options.bucket,object:fe})},he._objectRequestParams=function(fe,me,ge){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ge=ge||{},me=this._objectName(me);var be={object:me,bucket:this.options.bucket,method:fe,subres:ge&&ge.subres,timeout:ge&&ge.timeout,ctx:ge&&ge.ctx};return ge.headers&&(be.headers={},ue(ge.headers).to(be.headers)),be},he._objectName=function(fe){return fe.replace(/^\/+/,"")},he._convertMetaToHeaders=function(fe,me){fe&&Object.keys(fe).forEach(function(ge){me["x-oss-meta-".concat(ge)]=fe[ge]})},he._deleteFileSafe=function(fe){var me=this;return new Promise(function(ge){de.exists(fe,function(be){be?de.unlink(fe,function(Pe){Pe&&me.debug("unlink %j error: %s",fe,Pe,"error"),ge()}):ge()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,Se,ye){"use strict";ye.version="6.18.1"},{}],7:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.abortBucketWorm=void 0;var de=E("../utils/checkBucketName");function ue(ae,ie){return ce.apply(this,arguments)}function ce(){return ce=(0,se.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return de.checkBucketName(ie),a=this._bucketRequestParams("DELETE",ie,"worm",ne),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},ae,this)})),ce.apply(this,arguments)}ye.abortBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.completeBucketWorm=void 0;var de=E("../utils/checkBucketName");function ue(ae,ie,ne){return ce.apply(this,arguments)}function ce(){return ce=(0,se.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ie),y=this._bucketRequestParams("POST",ie,{wormId:ne},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},ae,this)})),ce.apply(this,arguments)}ye.completeBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.deleteBucketInventory=void 0;var de=E("../utils/checkBucketName");function ue(ae,ie){return ce.apply(this,arguments)}function ce(){return ce=(0,se.default)(te.default.mark(function ae(ie,ne){var a,y,x,b,z=arguments;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ne},a.subres),de.checkBucketName(ie),x=this._bucketRequestParams("DELETE",ie,y,a),x.successStatuses=[204],re.next=7,this.request(x);case 7:return b=re.sent,re.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return re.stop()}},ae,this)})),ce.apply(this,arguments)}ye.deleteBucketInventory=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=ye;ce.deleteBucketLifecycle=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=ye;ce.deleteBucketWebsite=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],ee.next=5,this.request(x);case 5:return b=ee.sent,ee.abrupt("return",{res:b.res});case 7:case"end":return ee.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.extendBucketWorm=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ce(ie,ne,a,y){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a,y,x){var b,z,ee;return te.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return de.checkBucketName(ne),b=this._bucketRequestParams("POST",ne,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ue.obj2xml(z,{headers:!0}),b.successStatuses=[200],le.next=8,this.request(b);case 8:return ee=le.sent,le.abrupt("return",{res:ee.res,status:ee.status});case 10:case"end":return le.stop()}},ie,this)})),ae.apply(this,arguments)}ye.extendBucketWorm=ce},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.getBucketInventory=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ce(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee=arguments;return te.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return y=ee.length>2&&ee[2]!==void 0?ee[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,y),b.successStatuses=[200],b.xmlResponse=!0,le.next=8,this.request(b);case 8:return z=le.sent,le.abrupt("return",{status:z.status,res:z.res,inventory:ue.formatInventoryConfig(z.data)});case 10:case"end":return le.stop()}},ie,this)})),ae.apply(this,arguments)}ye.getBucketInventory=ce},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=E("../utils/isArray"),ae=ce.isArray,ie=E("../utils/formatObjKey"),ne=ie.formatObjKey,a=ye;a.getBucketLifecycle=function(){var y=(0,se.default)(te.default.mark(function b(z,ee){var re,le,he;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ue(z),re=this._bucketRequestParams("GET",z,"lifecycle",ee),re.successStatuses=[200],re.xmlResponse=!0,fe.next=6,this.request(re);case 6:return le=fe.sent,he=le.data.Rule||null,he&&(ae(he)||(he=[he]),he=he.map(function(me){return me.ID&&(me.id=me.ID,delete me.ID),me.Tag&&!ae(me.Tag)&&(me.Tag=[me.Tag]),ne(me,"firstLowerCase")})),fe.abrupt("return",{rules:he,res:le.res});case 10:case"end":return fe.stop()}},b,this)}));function x(b,z){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=ye;ce.getBucketVersioning=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return ue(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],re.next=6,this.request(x);case 6:return b=re.sent,z=b.data.Status,re.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return re.stop()}},ne,this)}));function ie(ne,a){return ae.apply(this,arguments)}return ie}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=E("../utils/isObject"),ae=ce.isObject,ie=ye;ie.getBucketWebsite=function(){var ne=(0,se.default)(te.default.mark(function y(x,b){var z,ee,re;return te.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ue(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,he.next=6,this.request(z);case 6:return ee=he.sent,re=[],ee.data.RoutingRules&&ee.data.RoutingRules.RoutingRule&&(ae(ee.data.RoutingRules.RoutingRule)?re=[ee.data.RoutingRules.RoutingRule]:re=ee.data.RoutingRules.RoutingRule),he.abrupt("return",{index:ee.data.IndexDocument&&ee.data.IndexDocument.Suffix||"",supportSubDir:ee.data.IndexDocument&&ee.data.IndexDocument.SupportSubDir||"false",type:ee.data.IndexDocument&&ee.data.IndexDocument.Type,routingRules:re,error:ee.data.ErrorDocument&&ee.data.ErrorDocument.Key||null,res:ee.res});case 10:case"end":return he.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.getBucketWorm=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/dataFix");function ce(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return de.checkBucketName(ne),y=this._bucketRequestParams("GET",ne,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,ue.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},ie,this)})),ae.apply(this,arguments)}ye.getBucketWorm=ce},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.initiateBucketWorm=void 0;var de=E("../utils/obj2xml"),ue=E("../utils/checkBucketName");function ce(ie,ne,a){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a,y){var x,b,z;return te.default.wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return ue.checkBucketName(ne),x=this._bucketRequestParams("POST",ne,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=de.obj2xml(b,{headers:!0}),x.successStatuses=[200],re.next=8,this.request(x);case 8:return z=re.sent,re.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return re.stop()}},ie,this)})),ae.apply(this,arguments)}ye.initiateBucketWorm=ce},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.listBucketInventory=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ce(ie){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne){var a,y,x,b,z,ee,re,le,he=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return a=he.length>1&&he[1]!==void 0?he[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),de.checkBucketName(ne),b=this._bucketRequestParams("GET",ne,x,a),b.successStatuses=[200],b.xmlResponse=!0,fe.next=9,this.request(b);case 9:return z=fe.sent,ee=z.data,re=z.res,le=z.status,fe.abrupt("return",{isTruncated:ee.IsTruncated==="true",nextContinuationToken:ee.NextContinuationToken,inventoryList:ue.formatInventoryConfig(ee.InventoryConfiguration,!0),status:le,res:re});case 12:case"end":return fe.stop()}},ie,this)})),ae.apply(this,arguments)}ye.listBucketInventory=ce},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.putBucketInventory=void 0;var de=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ce(ie,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(te.default.mark(function ie(ne,a){var y,x,b,z,ee,re,le,he,ve,fe,me,ge=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return y=ge.length>2&&ge[2]!==void 0?ge[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),de.checkBucketName(ne),b=a.OSSBucketDestination,z=a.optionalFields,ee=a.includedObjectVersions,re="acs:oss:::",le="acs:ram::".concat(b.accountId,":role/"),he={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(le).concat(b.rolename),Bucket:"".concat(re).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:ee,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ve=ue.obj2xml(he,{headers:!0,firstUpperCase:!0}),fe=this._bucketRequestParams("PUT",ne,x,y),fe.successStatuses=[200],fe.mime="xml",fe.content=ve,Pe.next=14,this.request(fe);case 14:return me=Pe.sent,Pe.abrupt("return",{status:me.status,res:me.res});case 16:case"end":return Pe.stop()}},ie,this)})),ae.apply(this,arguments)}ye.putBucketInventory=ce},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=E("../utils/isArray"),ae=ce.isArray,ie=E("../utils/deepCopy"),ne=ie.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),ee=z.checkObjectTag,re=E("../utils/getStrBytesCount"),le=re.getStrBytesCount,he=ye;he.putBucketLifecycle=function(){var be=(0,se.default)(te.default.mark(function Te(Ce,Le,Ie){var Me,Ue,Qe,Ge,ot;return te.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(ue(Ce),ae(Le)){Xe.next=3;break}throw new Error("rules must be Array");case 3:return Me=this._bucketRequestParams("PUT",Ce,"lifecycle",Ie),Ue=[],Qe={LifecycleConfiguration:{Rule:Ue}},Le.forEach(function(Ze){ve(Ze),ge(Ze),Ze.id&&(Ze.ID=Ze.id,delete Ze.id),Ue.push(Ze)}),Ge=b(Qe,{headers:!0,firstUpperCase:!0}),Me.content=Ge,Me.mime="xml",Me.successStatuses=[200],Xe.next=13,this.request(Me);case 13:return ot=Xe.sent,Xe.abrupt("return",{res:ot.res});case 15:case"end":return Xe.stop()}},Te,this)}));function Pe(Te,Ce,Le){return be.apply(this,arguments)}return Pe}();function ve(be){be.days&&(be.expiration={days:be.days}),be.date&&(be.expiration={createdBeforeDate:be.date})}function fe(be,Pe){var Te=be.days,Ce=be.createdBeforeDate;if(!Te&&!Ce)throw new Error("".concat(Pe," must includes days or createdBeforeDate"));if(Te&&!/^[1-9][0-9]*$/.test(Te))throw new Error("days must be a positive integer");if(Ce&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ce))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function me(be){if(!ae(be)&&!y(be))throw new Error("tag must be Object or Array");be=y(be)?[be]:be;var Pe={},Te=ne(be);Te.forEach(function(Ce){Pe[Ce.key]=Ce.value}),ee(Pe)}function ge(be){if(be.id&&le(be.id)>255)throw new Error("ID is composed of 255 bytes at most");if(be.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(be.status))throw new Error("Status must be Enabled or Disabled");if(be.transition){if(!["IA","Archive"].includes(be.transition.storageClass))throw new Error("StorageClass must be IA or Archive");fe(be.transition,"Transition")}if(be.expiration){if(!be.expiration.expiredObjectDeleteMarker)fe(be.expiration,"Expiration");else if(be.expiration.days||be.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(be.abortMultipartUpload&&fe(be.abortMultipartUpload,"AbortMultipartUpload"),!be.expiration&&!be.abortMultipartUpload&&!be.transition&&!be.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(be.tag){if(be.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");me(be.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=E("../utils/obj2xml"),ae=ce.obj2xml,ie=ye;ie.putBucketVersioning=function(){var ne=(0,se.default)(te.default.mark(function y(x,b){var z,ee,re,le,he=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:if(z=he.length>2&&he[2]!==void 0?he[2]:{},ue(x),["Enabled","Suspended"].includes(b)){fe.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return ee=this._bucketRequestParams("PUT",x,"versioning",z),re={VersioningConfiguration:{Status:b}},ee.mime="xml",ee.content=ae(re,{headers:!0}),fe.next=10,this.request(ee);case 10:return le=fe.sent,fe.abrupt("return",{res:le.res,status:le.status});case 12:case"end":return fe.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=E("../utils/obj2xml"),ae=ce.obj2xml,ie=E("../utils/isArray"),ne=ie.isArray,a=ye;a.putBucketWebsite=function(){var y=(0,se.default)(te.default.mark(function b(z){var ee,re,le,he,ve,fe,me,ge=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(ee=ge.length>1&&ge[1]!==void 0?ge[1]:{},re=ge.length>2?ge[2]:void 0,ue(z),le=this._bucketRequestParams("PUT",z,"website",re),he={Suffix:ee.index||"index.html"},ve={IndexDocument:he},fe={WebsiteConfiguration:ve},ee.supportSubDir&&(he.SupportSubDir=ee.supportSubDir),ee.type&&(he.Type=ee.type),ee.error&&(ve.ErrorDocument={Key:ee.error}),ee.routingRules===void 0){Pe.next=14;break}if(ne(ee.routingRules)){Pe.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:ee.routingRules};case 14:return fe=ae(fe),le.content=fe,le.mime="xml",le.successStatuses=[200],Pe.next=20,this.request(le);case 20:return me=Pe.sent,Pe.abrupt("return",{res:me.res});case 22:case"end":return Pe.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,Se,ye){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),ye.encodeCallback=function(se,de){if(se.headers=se.headers||{},!Object.prototype.hasOwnProperty.call(se.headers,"x-oss-callback")&&de.callback){var ue={callbackUrl:encodeURI(de.callback.url),callbackBody:de.callback.body};de.callback.host&&(ue.callbackHost=de.callback.host),de.callback.contentType&&(ue.callbackBodyType=de.callback.contentType);var ce=oe.from(JSON.stringify(ue)).toString("base64");if(se.headers["x-oss-callback"]=ce,de.callback.customValue){var ae={};Object.keys(de.callback.customValue).forEach(function(ie){ae["x:".concat(ie)]=de.callback.customValue[ie].toString()}),se.headers["x-oss-callback-var"]=oe.from(JSON.stringify(ae)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,Se,ye){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var oe=function(ne){return ne&&ne.__esModule?ne:{default:ne}};Object.defineProperty(ye,"__esModule",{value:!0}),ye.getReqUrl=void 0;var te=oe(E("copy-to")),se=oe(E("url")),de=oe(E("merge-descriptors")),ue=oe(E("is-type-of")),ce=E("../utils/isIP"),ae=E("../utils/checkConfigValid");function ie(ne){var a={},y=this.options.cname;ae.checkConfigValid(this.options.endpoint,"endpoint"),te.default(this.options.endpoint,!1).to(a),ne.bucket&&!y&&!ce.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ne.bucket,".").concat(a.host));var x="/";ne.bucket&&this.options.sldEnable&&(x+="".concat(ne.bucket,"/")),ne.object&&(x+=this._escape(ne.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ne.query&&de.default(b,ne.query),ne.subres){var z={};ue.default.string(ne.subres)?z[ne.subres]="":ue.default.array(ne.subres)?ne.subres.forEach(function(ee){z[ee]=""}):z=ne.subres,de.default(b,z)}return a.query=b,se.default.format(a)}ye.getReqUrl=ie},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,Se,ye){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var oe=E("humanize-ms"),te=E("url"),se=E("../utils/checkBucketName"),de=se.checkBucketName,ue=E("../utils/setRegion"),ce=ue.setRegion,ae=E("../utils/checkConfigValid"),ie=ae.checkConfigValid;function ne(a,y){ie(a,"endpoint");var x=te.parse(a);if(x.protocol||(x=te.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}Se.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&de(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=oe(y.timeout)),y.endpoint)y.endpoint=ne(y.endpoint,y.secure);else if(y.region)y.endpoint=ce(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,Se,ye){"use strict";var oe=E("merge-descriptors"),te=ye;oe(te,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkBucketName"),ue=de.checkBucketName,ce=E("querystring"),ae=E("js-base64"),ie=ae.Base64.encode,ne=ye;ne.processObjectSave=function(){var y=(0,se.default)(te.default.mark(function b(z,ee,re,le){var he,ve,fe,me;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return a(z,"sourceObject"),a(ee,"targetObject"),a(re,"process"),ee=this._objectName(ee),le&&ue(le),he=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=le?",b_".concat(ie(le)):"",ee=ie(ee),fe={"x-oss-process":"".concat(re,"|sys/saveas,o_").concat(ee).concat(ve)},he.content=ce.stringify(fe),be.next=12,this.request(he);case 12:return me=be.sent,be.abrupt("return",{res:me.res,status:me.res.status});case 14:case"end":return be.stop()}},b,this)}));function x(b,z,ee,re){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("debug")("ali-oss:multipart-copy"),ue=E("copy-to"),ce=ye;ce.uploadPartCopy=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y,x,b,z){var ee,re,le,he,ve,fe=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ee=fe.length>5&&fe[5]!==void 0?fe[5]:{},ee.headers=ee.headers||{},re=ee.versionId||ee.subres&&ee.subres.versionId||null,re?le="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(re):le="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),ee.headers["x-oss-copy-source"]=le,b&&(ee.headers["x-oss-copy-source-range"]="bytes=".concat(b)),ee.subres={partNumber:x,uploadId:y},he=this._objectRequestParams("PUT",a,ee),he.mime=ee.mime,he.successStatuses=[200],ge.next=12,this.request(he);case 12:return ve=ge.sent,ge.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return ge.stop()}},ne,this)}));function ie(ne,a,y,x,b){return ae.apply(this,arguments)}return ie}(),ce.multipartUploadCopy=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y){var x,b,z,ee,re,le,he,ve,fe,me,ge,be,Pe=arguments;return te.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return x=Pe.length>2&&Pe[2]!==void 0?Pe[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,ee={versionId:z},Ce.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,ee);case 6:if(re=Ce.sent,le=re.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||le,!(x.checkpoint&&x.checkpoint.uploadId)){Ce.next=14;break}return Ce.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ce.abrupt("return",Ce.sent);case 14:if(he=102400,ve=y.endOffset-y.startOffset,!(ve0)){Xe.next=40;break}throw ot=Qe[0],ot.message="Failed to copy some parts with error: ".concat(ot.toString()," part_num: ").concat(ot.partNum),ot;case 40:return Xe.next=42,this.completeMultipartUpload(fe,he,ve,x);case 42:return Xe.abrupt("return",Xe.sent);case 43:case"end":return Xe.stop()}},ne,this)}));function ie(ne,a,y){return ae.apply(this,arguments)}return ie}(),ce._divideMultipartCopyParts=function(ie,ne,a){for(var y=Math.ceil(ie/ne),x=[],b=0;b -`,ye=0;ye -`,fe+="".concat(Se.number,` -`),fe+="".concat(Se.etag,` -`),fe+=` -`;return fe+="",ge=ge||{},Oe={},Oe=ie(ge,function(et){if(a(et))return null}),Oe.subres={uploadId:me},Oe.headers=x(Oe.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ce=this._objectRequestParams("POST",ce,Oe),ue.encodeCallback(Ce,Oe),Ce.mime="xml",Ce.content=fe,Ce.headers&&Ce.headers["x-oss-callback"]||(Ce.xmlResponse=!0),Ce.successStatuses=[200],Ue.next=17,this.request(Ce);case 17:if(Le=Ue.sent,!ge.progress){Ue.next=21;break}return Ue.next=21,ge.progress(1,null,Le.res);case 21:return De={res:Le.res,bucket:Ce.bucket,name:ce,etag:Le.res.headers.etag},Ce.headers&&Ce.headers["x-oss-callback"]&&(De.data=JSON.parse(Le.data.toString())),Ue.abrupt("return",De);case 24:case"end":return Ue.stop()}},re,this)}));function ee(re,ce,me,ve){return z.apply(this,arguments)}return ee}(),b._uploadPart=function(){var z=(0,de.default)(se.default.mark(function re(ce,me,ve,ge,pe){var fe,ye,Se,Oe;return se.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return pe=pe||{},fe={},le(pe).to(fe),fe.headers=fe.headers||{},fe.headers["Content-Length"]=ge.size,fe.headers=x(fe.headers,["x-oss-server-side-encryption"]),fe.subres={partNumber:ve,uploadId:me},ye=this._objectRequestParams("PUT",ce,fe),ye.mime=fe.mime,Se=oe&&oe.browser,Se?ye.content=ge.content:ye.stream=ge.stream,ye.successStatuses=[200],ye.disabledMD5=pe.disabledMD5,Le.next=15,this.request(ye);case 15:if(Oe=Le.sent,Oe.res.headers.etag){Le.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS - https://help.aliyun.com/document_detail/32069.html`);case 18:return ge.stream&&(ge.stream=null,ye.stream=null),Le.abrupt("return",{name:ce,etag:Oe.res.headers.etag,res:Oe.res});case 20:case"end":return Le.stop()}},re,this)}));function ee(re,ce,me,ve,ge){return z.apply(this,arguments)}return ee}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("url"),le=E("utility"),ue=E("copy-to"),ae=E("../../common/signUtils"),ie=E("../utils/isIP"),ne=ie.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=be;z.asyncSignatureUrl=function(){var ee=(0,se.default)(te.default.mark(function ce(me,ve){var ge,pe,fe,ye,Se;return te.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(!ne(this.options.endpoint.hostname)){Ce.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},me=this._objectName(me),ve.method=ve.method||"GET",ge=le.timestamp()+(ve.expires||1800),pe={bucket:this.options.bucket,object:me},fe=this._getResource(pe),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ce.next=11;break}return Ce.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),ye=ae._signatureForURL(this.options.accessKeySecret,ve,fe,ge),Se=de.parse(this._getReqUrl(pe)),Se.query={OSSAccessKeyId:this.options.accessKeyId,Expires:ge,Signature:ye.Signature},ue(ye.subResource).to(Se.query),Ce.abrupt("return",Se.format());case 17:case"end":return Ce.stop()}},ce,this)}));function re(ce,me){return ee.apply(this,arguments)}return re}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var se=oe(E("@babel/runtime/helpers/typeof")),de=oe(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),ue=le.checkBucketName,ae=be,ie=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ae.copy=function(){var ne=(0,de.default)(te.default.mark(function y(x,b,z,ee){var re,ce,me;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return(0,se.default)(z)==="object"&&(ee=z),ee=ee||{},ee.headers=ee.headers||{},Object.keys(ee.headers).forEach(function(pe){ee.headers["x-oss-copy-source-".concat(pe.toLowerCase())]=ee.headers[pe]}),(ee.meta||Object.keys(ee.headers).find(function(pe){return ie.includes(pe.toLowerCase())}))&&(ee.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ee.meta,ee.headers),b=this._getSourceName(b,z),ee.versionId&&(b="".concat(b,"?versionId=").concat(ee.versionId)),ee.headers["x-oss-copy-source"]=b,re=this._objectRequestParams("PUT",x,ee),re.xmlResponse=!0,re.successStatuses=[200,304],ge.next=14,this.request(re);case 14:return ce=ge.sent,me=ce.data,me&&(me={etag:me.ETag,lastModified:me.LastModified}),ge.abrupt("return",{data:me,res:ce.res});case 18:case"end":return ge.stop()}},y,this)}));function a(y,x,b,z){return ne.apply(this,arguments)}return a}(),ae._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ue(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be;de.delete=function(){var le=(0,se.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},ae,this)}));function ue(ae){return le.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("utility"),le=E("../utils/obj2xml"),ue=le.obj2xml,ae=be;ae.deleteMulti=function(){var ie=(0,se.default)(te.default.mark(function a(y){var x,b,z,ee,re,ce,me,ve,ge,pe,fe,ye,Se,Oe=arguments;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(x=Oe.length>1&&Oe[1]!==void 0?Oe[1]:{},b=[],!(!y||!y.length)){Le.next=4;break}throw new Error("names is required");case 4:for(z=0;z1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({tagging:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},ae,this)}));function ue(ae){return le.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,Pe,be){"use strict";E("core-js/modules/es.array.concat.js");var oe=E("url"),te=E("../utils/isIP"),se=te.isIP,de=be;de.generateObjectUrl=function(ue,ae){if(se(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(ae)ae[ae.length-1]!=="/"&&(ae+="/");else{ae=this.options.endpoint.format();var ie=oe.parse(ae),ne=this.options.bucket;ie.hostname="".concat(ne,".").concat(ie.hostname),ie.host="".concat(ne,".").concat(ie.host),ae=ie.format()}return ae+this._escape(this._objectName(ue))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,Pe,be){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),se=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var de=te(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),ue=E("is-type-of"),ae=be;ae.get=function(){var ie=(0,de.default)(se.default.mark(function a(y,x){var b,z,ee,re,ce,me,ve,ge,pe=arguments;return se.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return b=pe.length>2&&pe[2]!==void 0?pe[2]:{},z=null,ee=!1,ue.writableStream(x)?z=x:ue.string(x)?(z=le.createWriteStream(x),ee=!0):b=x,b=b||{},re=oe&&oe.browser,ce=b.responseCacheControl===null?"":"no-cache",me=re&&ce?{"response-cache-control":ce}:{},b.subres=Object.assign(me,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),ye.prev=11,ge=this._objectRequestParams("GET",y,b),ge.writeStream=z,ge.successStatuses=[200,206,304],ye.next=17,this.request(ge);case 17:ve=ye.sent,ee&&z.destroy(),ye.next=28;break;case 21:if(ye.prev=21,ye.t0=ye.catch(11),!ee){ye.next=27;break}return z.destroy(),ye.next=27,this._deleteFileSafe(x);case 27:throw ye.t0;case 28:return ye.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return ye.stop()}},a,this,[[11,21]])}));function ne(a,y){return ie.apply(this,arguments)}return ne}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be;de.getACL=function(){var le=(0,se.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({acl:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return z.stop()}},ae,this)}));function ue(ae){return le.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be,le=E("../utils/isObject"),ue=le.isObject,ae=E("../utils/isArray"),ie=ae.isArray;de.getBucketVersions=ne,de.listObjectVersions=ne;function ne(){return a.apply(this,arguments)}function a(){return a=(0,se.default)(te.default.mark(function b(){var z,ee,re,ce,me,ve,ge,pe,fe=arguments;return te.default.wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:if(z=fe.length>0&&fe[0]!==void 0?fe[0]:{},ee=fe.length>1&&fe[1]!==void 0?fe[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){Se.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ee.subres=Object.assign({versions:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectRequestParams("GET","",ee),re.xmlResponse=!0,re.successStatuses=[200],re.query=x(z),Se.next=12,this.request(re);case 12:return ce=Se.sent,me=ce.data.Version||[],ve=ce.data.DeleteMarker||[],ge=this,me&&(Array.isArray(me)||(me=[me]),me=me.map(function(Oe){return{name:Oe.Key,url:ge._objectUrl(Oe.Key),lastModified:Oe.LastModified,isLatest:Oe.IsLatest==="true",versionId:Oe.VersionId,etag:Oe.ETag,type:Oe.Type,size:Number(Oe.Size),storageClass:Oe.StorageClass,owner:{id:Oe.Owner.ID,displayName:Oe.Owner.DisplayName}}})),ve&&(ie(ve)||(ve=[ve]),ve=ve.map(function(Oe){return{name:Oe.Key,lastModified:Oe.LastModified,versionId:Oe.VersionId,owner:{id:Oe.Owner.ID,displayName:Oe.Owner.DisplayName}}})),pe=ce.data.CommonPrefixes||null,pe&&(ie(pe)||(pe=[pe]),pe=pe.map(function(Oe){return Oe.Prefix})),Se.abrupt("return",{res:ce.res,objects:me,deleteMarker:ve,prefixes:pe,nextMarker:ce.data.NextKeyMarker||null,NextVersionIdMarker:ce.data.NextVersionIdMarker||null,nextKeyMarker:ce.data.NextKeyMarker||null,nextVersionIdMarker:ce.data.NextVersionIdMarker||null,isTruncated:ce.data.IsTruncated==="true"});case 21:case"end":return Se.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z={};return ue(b)&&Object.keys(b).forEach(function(ee){z[y(ee)]=b[ee]}),z}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be;de.getObjectMeta=function(){var le=(0,se.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ne=ne||{},ie=this._objectName(ie),ne.subres=Object.assign({objectMeta:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("HEAD",ie,ne),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},ae,this)}));function ue(ae,ie){return le.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be,le=E("../utils/isObject"),ue=le.isObject;de.getObjectTagging=function(){var ae=(0,se.default)(te.default.mark(function ne(a){var y,x,b,z,ee,re,ce=arguments;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=ce.length>1&&ce[1]!==void 0?ce[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,ee=z.TagSet.Tag,ee=ee&&ue(ee)?[ee]:ee||[],re={},ee.forEach(function(ge){re[ge.Key]=ge.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:re});case 17:case"end":return ve.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,Pe,be){"use strict";var oe=E("../utils/isIP"),te=oe.isIP,se=be;se.getObjectUrl=function(le,ue){if(te(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ue?ue[ue.length-1]!=="/"&&(ue+="/"):ue=this.options.endpoint.format(),ue+this._escape(this._objectName(le))}},{"../utils/isIP":69}],43:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be;de.getSymlink=function(){var le=(0,se.default)(te.default.mark(function ae(ie){var ne,a,y,x,b=arguments;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ne=b.length>1&&b[1]!==void 0?b[1]:{},ne.subres=Object.assign({symlink:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],ee.next=8,this.request(a);case 8:return y=ee.sent,x=y.res.headers["x-oss-symlink-target"],ee.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return ee.stop()}},ae,this)}));function ue(ae){return le.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkEnv"),le=de.checkEnv,ue=be;ue.head=function(){var ae=(0,se.default)(te.default.mark(function ne(a){var y,x,b,z,ee=arguments;return te.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return y=ee.length>1&&ee[1]!==void 0?ee[1]:{},le("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],ce.next=8,this.request(x);case 8:return b=ce.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(me){me.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[me.substring(11)]=b.headers[me])}),ce.abrupt("return",z);case 12:case"end":return ce.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be;de.putACL=function(){var le=(0,se.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=ne,ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},ae,this)}));function ue(ae,ie,ne){return le.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/obj2xml"),le=de.obj2xml,ue=E("../utils/checkObjectTag"),ae=ue.checkObjectTag,ie=be;ie.putObjectTagging=function(){var ne=(0,se.default)(te.default.mark(function y(x,b){var z,ee,re,ce,me=arguments;return te.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=me.length>2&&me[2]!==void 0?me[2]:{},ae(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),ee=this._objectRequestParams("PUT",x,z),ee.successStatuses=[200],b=Object.keys(b).map(function(pe){return{Key:pe,Value:b[pe]}}),re={Tagging:{TagSet:{Tag:b}}},ee.mime="xml",ee.content=le(re),ge.next=13,this.request(ee);case 13:return ce=ge.sent,ge.abrupt("return",{res:ce.res,status:ce.status});case 15:case"end":return ge.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=be;de.putSymlink=function(){var le=(0,se.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ne=this._escape(this._objectName(ne)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ne,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},ae,this)}));function ue(ae,ie,ne){return le.apply(this,arguments)}return ue}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,Pe,be){"use strict";var oe=E("url"),te=E("utility"),se=E("copy-to"),de=E("../../common/signUtils"),le=E("../utils/isIP"),ue=le.isIP,ae=be;ae.signatureUrl=function(ne,a){if(ue(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ne=this._objectName(ne),a.method=a.method||"GET";var y=te.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ne},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=de._signatureForURL(this.options.accessKeySecret,a,b,y),ee=oe.parse(this._getReqUrl(x));return ee.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},se(z.subResource).to(ee.query),ee.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("./utils/isArray"),le=de.isArray,ue=be;ue._parallelNode=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y,x,b){var z,ee,re,ce,me,ve,ge,pe;return te.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:z=this,ee=[],re=[],ce=a.length/y,me=a.length%y,ve=me===0?ce:(a.length-me)/y+1,ge=1,pe=0;case 8:if(!(pe0){ce=!0,me<=0&&x(b);return}me+=1,pe(ye.value,z(ge))}ve=!1}fe()})},ue.cancel=function(ie){this.options.cancelFlag=!0,le(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ne){if(ne.destroyed===!1){var a={name:"cancel",message:"cancel"};ne.destroy(a)}}),this.multipartUploadStreams=[],ie&&this.abortMultipartUpload(ie.name,ie.uploadId,ie.options)},ue.isCancel=function(){return this.options.cancelFlag},ue.resetCancelFlag=function(){this.options.cancelFlag=!1},ue._stop=function(){this.options.cancelFlag=!0},ue._makeCancelEvent=function(){var ie={status:0,name:"cancel"};return ie},ue._makeAbortEvent=function(){var ie={status:0,name:"abort",message:"upload task has been abort"};return ie}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,Pe,be){(function(oe){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var te=E("./../../shims/crypto/crypto.js"),se=E("is-type-of"),de=E("./utils/lowercaseKeyHeader"),le=de.lowercaseKeyHeader;be.buildCanonicalizedResource=function(ae,ie){var ne="".concat(ae),a="?";if(se.string(ie)&&ie.trim()!=="")ne+=a+ie;else if(se.array(ie))ie.sort(),ne+=a+ie.join("&");else if(ie){var y=function(z,ee){return z[0]>ee[0]?1:z[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=te.createHmac("sha1",ae);return a.update(oe.from(ie,ne)).digest("base64")},be.authorization=function(ae,ie,ne,a){return"OSS ".concat(ae,":").concat(this.computeSignature(ie,ne,a))},be._signatureForURL=function(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=ie.subResource,z=b===void 0?{}:b;if(ie.process){var ee="x-oss-process";z[ee]=ie.process}if(ie.trafficLimit){var re="x-oss-traffic-limit";z[re]=ie.trafficLimit}if(ie.response&&Object.keys(ie.response).forEach(function(ge){var pe="response-".concat(ge.toLowerCase());z[pe]=ie.response[ge]}),Object.keys(ie).forEach(function(ge){var pe=ge.toLowerCase(),fe=ie[ge];pe.indexOf("x-oss-")===0?x[pe]=fe:(pe.indexOf("content-md5")===0||pe.indexOf("content-type")===0)&&(x[ge]=fe)}),Object.prototype.hasOwnProperty.call(ie,"security-token")&&(z["security-token"]=ie["security-token"]),Object.prototype.hasOwnProperty.call(ie,"callback")){var ce={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};if(ie.callback.host&&(ce.callbackHost=ie.callback.host),ie.callback.contentType&&(ce.callbackBodyType=ie.callback.contentType),z.callback=oe.from(JSON.stringify(ce)).toString("base64"),ie.callback.customValue){var me={};Object.keys(ie.callback.customValue).forEach(function(ge){me["x:".concat(ge)]=ie.callback.customValue[ge]}),z["callback-var"]=oe.from(JSON.stringify(me)).toString("base64")}}var ve=this.buildCanonicalString(ie.method,ne,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(ae,ve,y),subResource:z}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,Pe,be){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.checkBucketName=void 0,be.checkBucketName=function(oe){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=te?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!se.test(oe))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,Pe,be){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.checkConfigValid=void 0;var oe={endpoint:te,region:/^[a-zA-Z0-9\-_]+$/};function te(se){return typeof se=="string"?/^[a-zA-Z0-9._:/-]+$/.test(se):se.host?/^[a-zA-Z0-9._:/-]+$/.test(se.host):!1}be.checkConfigValid=function(se,de){if(oe[de]){var le=!0;if(oe[de]instanceof Function?le=oe[de](se):le=oe[de].test(se),!le)throw new Error("The ".concat(de," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,Pe,be){(function(oe){(function(){"use strict";Object.defineProperty(be,"__esModule",{value:!0}),be.checkEnv=void 0;function te(se){oe.browser&&console.warn(se)}be.checkEnv=te}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,Pe,be){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.checkObjectTag=void 0;var oe=E("./checkValid"),te=oe.checkValid,se=E("./isObject"),de=se.isObject,le=[{validator:function(ne){if(typeof ne!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],ue={key:[].concat(le,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(le,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function ae(ie){if(!de(ie))throw new Error("tag must be Object");var ne=Object.entries(ie);if(ne.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ne.forEach(function(y){y.forEach(function(x,b){te(x,ue[a[b]])})})}be.checkObjectTag=ae},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,Pe,be){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.checkValid=void 0;function oe(te,se){se.forEach(function(de){if(de.validator)de.validator(te);else if(de.pattern&&!de.pattern.test(te))throw new Error(de.msg)})}be.checkValid=oe},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,Pe,be){(function(oe){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.createRequest=void 0;var te=E("./../../../shims/crypto/crypto.js"),se=E("debug")("ali-oss"),de=E("mime"),le=E("dateformat"),ue=E("copy-to"),ae=E("path"),ie=E("./encoder"),ne=ie.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),ee=z.getReqUrl,re=E("./isDingTalk"),ce=re.isDingTalk;function me(pe,fe){return pe[fe]||pe[fe.toLowerCase()]}function ve(pe,fe){delete pe[fe],delete pe[fe.toLowerCase()]}function ge(pe){var fe=new Date;this.options.amendTimeSkewed&&(fe=+new Date+this.options.amendTimeSkewed);var ye={"x-oss-date":le(fe,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(ye["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(ye["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(ye,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(ye["x-oss-security-token"]=this.options.stsToken),ue(pe.headers).to(ye),me(ye,"Content-Type")||(pe.mime&&pe.mime.indexOf("/")>0?ye["Content-Type"]=pe.mime:ce()?ye["Content-Type"]="application/octet-stream":ye["Content-Type"]=de.getType(pe.mime||ae.extname(pe.object||""))),me(ye,"Content-Type")||ve(ye,"Content-Type"),pe.content&&(pe.disabledMD5||(!pe.headers||!pe.headers["Content-MD5"]?ye["Content-MD5"]=te.createHash("md5").update(oe.from(pe.content,"utf8")).digest("base64"):ye["Content-MD5"]=pe.headers["Content-MD5"]),ye["Content-Length"]||(ye["Content-Length"]=pe.content.length));var Se=Object.prototype.hasOwnProperty;for(var Oe in ye)ye[Oe]&&Se.call(ye,Oe)&&(ye[Oe]=ne(String(ye[Oe]),this.options.headerEncoding));var Ce=this._getResource(pe);if(ye.authorization=this.authorization(pe.method,Ce,pe.subres,ye,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Le=this.options,De=Le.region,ke=Le.internal,Ue=Le.secure,et=b(De,ke,Ue);ye.host="".concat(pe.bucket,".").concat(et.host)}var Ge=ee.bind(this)(pe);se("request %s %s, with headers %j, !!stream: %s",pe.method,Ge,ye,!!pe.stream);var it=pe.timeout||this.options.timeout,Qe={method:pe.method,content:pe.content,stream:pe.stream,headers:ye,timeout:it,writeStream:pe.writeStream,customResponse:pe.customResponse,ctx:pe.ctx||this.ctx};return this.agent&&(Qe.agent=this.agent),this.httpsAgent&&(Qe.httpsAgent=this.httpsAgent),Qe.enableProxy=!!this.options.enableProxy,Qe.proxy=this.options.proxy?this.options.proxy:null,{url:Ge,params:Qe}}be.createRequest=ge}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,Pe,be){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.dataFix=void 0;var oe=E("./isObject"),te=["true","TRUE","1",1],se=["false","FALSE","0",0];function de(ae,ie,ne){if(oe.isObject(ae)){var a=ie.remove,y=a===void 0?[]:a,x=ie.rename,b=x===void 0?{}:x,z=ie.camel,ee=z===void 0?[]:z,re=ie.bool,ce=re===void 0?[]:re,me=ie.lowerFirst,ve=me===void 0?!1:me;return y.forEach(function(ge){return delete ae[ge]}),Object.entries(b).forEach(function(ge){ae[ge[0]]&&(ae[ge[1]]||(ae[ge[1]]=ae[ge[0]],delete ae[ge[0]]))}),ee.forEach(function(ge){if(ae[ge]){var pe=ge.replace(/^(.)/,function(fe){return fe.toLowerCase()}).replace(/-(\w)/g,function(fe,ye){return ye.toUpperCase()});ae[pe]||(ae[pe]=ae[ge])}}),ce.forEach(function(ge){ae[ge]=le(ae[ge])}),typeof ne=="function"&&ne(ae),ue(ae,ve),de}}be.dataFix=de;function le(ae){return ae?te.includes(ae)?!0:se.includes(ae)?!1:ae:!1}function ue(ae,ie){ie&&Object.keys(ae).forEach(function(ne){var a=ne.replace(/^\w/,function(y){return y.toLowerCase()});typeof ae[a]=="undefined"&&(ae[a]=ae[ne],delete ae[ne])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(be,"__esModule",{value:!0}),be.deepCopyWith=be.deepCopy=void 0;var se=E("./isBuffer");be.deepCopy=function(de){if(de===null||(0,te.default)(de)!=="object")return de;if(se.isBuffer(de))return de.slice();var le=Array.isArray(de)?[]:{};return Object.keys(de).forEach(function(ue){le[ue]=be.deepCopy(de[ue])}),le},be.deepCopyWith=function(de,le){function ue(ae,ie,ne){var a=le(ae,ie,ne);if(a!==void 0)return a;if(ae===null||(0,te.default)(ae)!=="object")return ae;if(se.isBuffer(ae))return ae.slice();var y=Array.isArray(ae)?[]:{};return Object.keys(ae).forEach(function(x){y[x]=ue(ae[x],x,ae)}),y}return le?ue(de,"",null):be.deepCopy(de)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,Pe,be){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.encoder=void 0;function te(se){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return de==="utf-8"?se:oe.from(se).toString("latin1")}be.encoder=te}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,Pe,be){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(be,"__esModule",{value:!0}),be.formatInventoryConfig=void 0;var oe=E("../utils/dataFix"),te=E("../utils/isObject"),se=E("../utils/isArray"),de=E("../utils/formatObjKey");function le(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ie&&te.isObject(ae)&&(ae=[ae]),se.isArray(ae)?ae=ae.map(ue):ae=ue(ae),ae}be.formatInventoryConfig=le;function ue(ae){return oe.dataFix(ae,{bool:["IsEnabled"]},function(ie){var ne,a;ie.prefix=ie.Filter.Prefix,delete ie.Filter,ie.OSSBucketDestination=ie.Destination.OSSBucketDestination,ie.OSSBucketDestination.rolename=ie.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ie.OSSBucketDestination.RoleArn,ie.OSSBucketDestination.bucket=ie.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ie.OSSBucketDestination.Bucket,delete ie.Destination,ie.frequency=ie.Schedule.Frequency,delete ie.Schedule.Frequency,!((ne=ie==null?void 0:ie.OptionalFields)===null||ne===void 0)&&ne.Field&&!se.isArray((a=ie.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ie.OptionalFields.Field=[ie.OptionalFields.Field])}),ae=de.formatObjKey(ae,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),ae}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(be,"__esModule",{value:!0}),be.formatObjKey=void 0;function se(le,ue,ae){if(le===null||(0,te.default)(le)!=="object")return le;var ie;if(Array.isArray(le)){ie=[];for(var ne=0;ne -`),le&&le.firstUpperCase&&(de=oe.formatObjKey(de,"firstUpperCase")),te(de)==="object"?Object.keys(de).forEach(function(ae){te(de[ae])!=="undefined"&&te(de[ae])!=="null"&&(te(de[ae])==="string"||te(de[ae])==="number"?ue+="<".concat(ae,">").concat(de[ae],""):te(de[ae])==="object"?ue+="<".concat(ae,">").concat(se(de[ae]),""):te(de[ae])==="array"?ue+=de[ae].map(function(ie){return"<".concat(ae,">").concat(se(ie),"")}).join(""):ue+="<".concat(ae,">").concat(de[ae].toString(),""))}):ue+=de.toString(),ue}be.obj2xml=se},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,Pe,be){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function oe(le,ue){var ae=typeof Symbol!="undefined"&&le[Symbol.iterator]||le["@@iterator"];if(!ae){if(Array.isArray(le)||(ae=te(le))||ue&&le&&typeof le.length=="number"){ae&&(le=ae);var ie=0,ne=function(){};return{s:ne,n:function(){return ie>=le.length?{done:!0}:{done:!1,value:le[ie++]}},e:function(z){throw z},f:ne}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){ae=ae.call(le)},n:function(){var z=ae.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&ae.return!=null&&ae.return()}finally{if(y)throw x}}}}function te(le,ue){if(le){if(typeof le=="string")return se(le,ue);var ae=Object.prototype.toString.call(le).slice(8,-1);if(ae==="Object"&&le.constructor&&(ae=le.constructor.name),ae==="Map"||ae==="Set")return Array.from(le);if(ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return se(le,ue)}}function se(le,ue){(ue==null||ue>le.length)&&(ue=le.length);for(var ae=0,ie=new Array(ue);ae2&&arguments[2]!==void 0?arguments[2]:{},le=0,ue=de.retryDelay,ae=ue===void 0?500:ue,ie=de.errorHandler,ne=ie===void 0?function(){return!0}:ie,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z1&&arguments[1]!==void 0?arguments[1]:!1,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;se.checkConfigValid(le,"region");var ie=ae?"https://":"http://",ne=ue?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return le.substr(0,a.length)===a&&(ne=".aliyuncs.com"),te.default.parse(ie+le+ne)}be.setRegion=de},{"./checkConfigValid":52,url:472}],76:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(be,"__esModule",{value:!0}),be.checkCredentials=be.setSTSToken=void 0;var de=E("./formatObjKey");function le(){return ue.apply(this,arguments)}function ue(){return ue=(0,se.default)(te.default.mark(function ie(){var ne,a;return te.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ne=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ne-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ne,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=de.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),ae(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=ne;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ie,this)})),ue.apply(this,arguments)}be.setSTSToken=le;function ae(ie){var ne=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ie);ne.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}be.checkCredentials=ae},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,Pe,be){function oe(se,de,le,ue,ae,ie,ne){try{var a=se[ie](ne),y=a.value}catch(x){le(x);return}a.done?de(y):Promise.resolve(y).then(ue,ae)}function te(se){return function(){var de=this,le=arguments;return new Promise(function(ue,ae){var ie=se.apply(de,le);function ne(y){oe(ie,ue,ae,ne,a,"next",y)}function a(y){oe(ie,ue,ae,ne,a,"throw",y)}ne(void 0)})}}Pe.exports=te,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports},{}],78:[function(E,Pe,be){function oe(te){return te&&te.__esModule?te:{default:te}}Pe.exports=oe,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports},{}],79:[function(E,Pe,be){function oe(te){"@babel/helpers - typeof";return Pe.exports=oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports,oe(te)}Pe.exports=oe,Pe.exports.__esModule=!0,Pe.exports.default=Pe.exports},{}],80:[function(E,Pe,be){Pe.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,Pe,be){Pe.exports=oe,Pe.exports.HttpsAgent=oe;function oe(){}},{}],82:[function(E,Pe,be){(function(oe){(function(){"use strict";var te=E("object-assign");function se(De,ke){if(De===ke)return 0;for(var Ue=De.length,et=ke.length,Ge=0,it=Math.min(Ue,et);Ge=0){var Ye=Ge.indexOf(` -`,Qe+1);Ge=Ge.substring(Ye+1)}this.stack=Ge}}},le.inherits(y.AssertionError,Error);function z(De,ke){return typeof De=="string"?De.length=0;Me--)if(Qe[Me]!==Ye[Me])return!1;for(Me=Qe.length-1;Me>=0;Me--)if(Ve=Qe[Me],!ve(De[Ve],ke[Ve],Ue,et))return!1;return!0}y.notDeepEqual=function(ke,Ue,et){ve(ke,Ue,!1)&&ce(ke,Ue,et,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=fe;function fe(De,ke,Ue){ve(De,ke,!0)&&ce(De,ke,Ue,"notDeepStrictEqual",fe)}y.strictEqual=function(ke,Ue,et){ke!==Ue&&ce(ke,Ue,et,"===",y.strictEqual)},y.notStrictEqual=function(ke,Ue,et){ke===Ue&&ce(ke,Ue,et,"!==",y.notStrictEqual)};function ye(De,ke){if(!De||!ke)return!1;if(Object.prototype.toString.call(ke)=="[object RegExp]")return ke.test(De);try{if(De instanceof ke)return!0}catch(Ue){}return Error.isPrototypeOf(ke)?!1:ke.call({},De)===!0}function Se(De){var ke;try{De()}catch(Ue){ke=Ue}return ke}function Oe(De,ke,Ue,et){var Ge;if(typeof ke!="function")throw new TypeError('"block" argument must be a function');typeof Ue=="string"&&(et=Ue,Ue=null),Ge=Se(ke),et=(Ue&&Ue.name?" ("+Ue.name+").":".")+(et?" "+et:"."),De&&!Ge&&ce(Ge,Ue,"Missing expected exception"+et);var it=typeof et=="string",Qe=!De&&le.isError(Ge),Ye=!De&&Ge&&!Ue;if((Qe&&it&&ye(Ge,Ue)||Ye)&&ce(Ge,Ue,"Got unwanted exception"+et),De&&Ge&&Ue&&!ye(Ge,Ue)||!De&&Ge)throw Ge}y.throws=function(De,ke,Ue){Oe(!0,De,ke,Ue)},y.doesNotThrow=function(De,ke,Ue){Oe(!1,De,ke,Ue)},y.ifError=function(De){if(De)throw De};function Ce(De,ke){De||ce(De,!0,ke,"==",Ce)}y.strict=te(Ce,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Le=Object.keys||function(De){var ke=[];for(var Ue in De)ue.call(De,Ue)&&ke.push(Ue);return ke}}).call(this)}).call(this,typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,Pe,be){typeof Object.create=="function"?Pe.exports=function(te,se){te.super_=se,te.prototype=Object.create(se.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}})}:Pe.exports=function(te,se){te.super_=se;var de=function(){};de.prototype=se.prototype,te.prototype=new de,te.prototype.constructor=te}},{}],84:[function(E,Pe,be){Pe.exports=function(te){return te&&typeof te=="object"&&typeof te.copy=="function"&&typeof te.fill=="function"&&typeof te.readUInt8=="function"}},{}],85:[function(E,Pe,be){(function(oe,te){(function(){var se=/%[sdj%]/g;be.format=function(Ye){if(!pe(Ye)){for(var Ve=[],Me=0;Me=ze)return ut;switch(ut){case"%s":return String(Re[Me++]);case"%d":return Number(Re[Me++]);case"%j":try{return JSON.stringify(Re[Me++])}catch(_e){return"[Circular]"}default:return ut}}),$e=Re[Me];Me=3&&(Me.depth=arguments[2]),arguments.length>=4&&(Me.colors=arguments[3]),ce(Ve)?Me.showHidden=Ve:Ve&&be._extend(Me,Ve),ye(Me.showHidden)&&(Me.showHidden=!1),ye(Me.depth)&&(Me.depth=2),ye(Me.colors)&&(Me.colors=!1),ye(Me.customInspect)&&(Me.customInspect=!0),Me.colors&&(Me.stylize=ae),a(Me,Ye,Me.depth)}be.inspect=ue,ue.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ue.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ae(Ye,Ve){var Me=ue.styles[Ve];return Me?"\x1B["+ue.colors[Me][0]+"m"+Ye+"\x1B["+ue.colors[Me][1]+"m":Ye}function ie(Ye,Ve){return Ye}function ne(Ye){var Ve={};return Ye.forEach(function(Me,Re){Ve[Me]=!0}),Ve}function a(Ye,Ve,Me){if(Ye.customInspect&&Ve&&De(Ve.inspect)&&Ve.inspect!==be.inspect&&!(Ve.constructor&&Ve.constructor.prototype===Ve)){var Re=Ve.inspect(Me,Ye);return pe(Re)||(Re=a(Ye,Re,Me)),Re}var ze=y(Ye,Ve);if(ze)return ze;var rt=Object.keys(Ve),$e=ne(rt);if(Ye.showHidden&&(rt=Object.getOwnPropertyNames(Ve)),Le(Ve)&&(rt.indexOf("message")>=0||rt.indexOf("description")>=0))return x(Ve);if(rt.length===0){if(De(Ve)){var ut=Ve.name?": "+Ve.name:"";return Ye.stylize("[Function"+ut+"]","special")}if(Se(Ve))return Ye.stylize(RegExp.prototype.toString.call(Ve),"regexp");if(Ce(Ve))return Ye.stylize(Date.prototype.toString.call(Ve),"date");if(Le(Ve))return x(Ve)}var _e="",We=!1,Te=["{","}"];if(re(Ve)&&(We=!0,Te=["[","]"]),De(Ve)){var Je=Ve.name?": "+Ve.name:"";_e=" [Function"+Je+"]"}if(Se(Ve)&&(_e=" "+RegExp.prototype.toString.call(Ve)),Ce(Ve)&&(_e=" "+Date.prototype.toUTCString.call(Ve)),Le(Ve)&&(_e=" "+x(Ve)),rt.length===0&&(!We||Ve.length==0))return Te[0]+_e+Te[1];if(Me<0)return Se(Ve)?Ye.stylize(RegExp.prototype.toString.call(Ve),"regexp"):Ye.stylize("[Object]","special");Ye.seen.push(Ve);var Fe;return We?Fe=b(Ye,Ve,Me,$e,rt):Fe=rt.map(function(Ie){return z(Ye,Ve,Me,$e,Ie,We)}),Ye.seen.pop(),ee(Fe,_e,Te)}function y(Ye,Ve){if(ye(Ve))return Ye.stylize("undefined","undefined");if(pe(Ve)){var Me="'"+JSON.stringify(Ve).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ye.stylize(Me,"string")}if(ge(Ve))return Ye.stylize(""+Ve,"number");if(ce(Ve))return Ye.stylize(""+Ve,"boolean");if(me(Ve))return Ye.stylize("null","null")}function x(Ye){return"["+Error.prototype.toString.call(Ye)+"]"}function b(Ye,Ve,Me,Re,ze){for(var rt=[],$e=0,ut=Ve.length;$e +`,ge+="".concat(Pe.number,` +`),ge+="".concat(Pe.etag,` +`),ge+=` +`;return ge+="",fe=fe||{},Te={},Te=ie(fe,function(Qe){if(a(Qe))return null}),Te.subres={uploadId:he},Te.headers=x(Te.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ce=this._objectRequestParams("POST",le,Te),ce.encodeCallback(Ce,Te),Ce.mime="xml",Ce.content=ge,Ce.headers&&Ce.headers["x-oss-callback"]||(Ce.xmlResponse=!0),Ce.successStatuses=[200],Ue.next=17,this.request(Ce);case 17:if(Le=Ue.sent,!fe.progress){Ue.next=21;break}return Ue.next=21,fe.progress(1,null,Le.res);case 21:return Ie={res:Le.res,bucket:Ce.bucket,name:le,etag:Le.res.headers.etag},Ce.headers&&Ce.headers["x-oss-callback"]&&(Ie.data=JSON.parse(Le.data.toString())),Ue.abrupt("return",Ie);case 24:case"end":return Ue.stop()}},re,this)}));function ee(re,le,he,ve){return z.apply(this,arguments)}return ee}(),b._uploadPart=function(){var z=(0,de.default)(se.default.mark(function re(le,he,ve,fe,me){var ge,be,Pe,Te;return se.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return me=me||{},ge={},ue(me).to(ge),ge.headers=ge.headers||{},ge.headers["Content-Length"]=fe.size,ge.headers=x(ge.headers,["x-oss-server-side-encryption"]),ge.subres={partNumber:ve,uploadId:he},be=this._objectRequestParams("PUT",le,ge),be.mime=ge.mime,Pe=oe&&oe.browser,Pe?be.content=fe.content:be.stream=fe.stream,be.successStatuses=[200],be.disabledMD5=me.disabledMD5,Le.next=15,this.request(be);case 15:if(Te=Le.sent,Te.res.headers.etag){Le.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS + https://help.aliyun.com/document_detail/32069.html`);case 18:return fe.stream&&(fe.stream=null,be.stream=null),Le.abrupt("return",{name:le,etag:Te.res.headers.etag,res:Te.res});case 20:case"end":return Le.stop()}},re,this)}));function ee(re,le,he,ve,fe){return z.apply(this,arguments)}return ee}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator")),se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("url"),ue=E("utility"),ce=E("copy-to"),ae=E("../../common/signUtils"),ie=E("../utils/isIP"),ne=ie.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=ye;z.asyncSignatureUrl=function(){var ee=(0,se.default)(te.default.mark(function le(he,ve){var fe,me,ge,be,Pe;return te.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(!ne(this.options.endpoint.hostname)){Ce.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},he=this._objectName(he),ve.method=ve.method||"GET",fe=ue.timestamp()+(ve.expires||1800),me={bucket:this.options.bucket,object:he},ge=this._getResource(me),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ce.next=11;break}return Ce.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),be=ae._signatureForURL(this.options.accessKeySecret,ve,ge,fe),Pe=de.parse(this._getReqUrl(me)),Pe.query={OSSAccessKeyId:this.options.accessKeyId,Expires:fe,Signature:be.Signature},ce(be.subResource).to(Pe.query),Ce.abrupt("return",Pe.format());case 17:case"end":return Ce.stop()}},le,this)}));function re(le,he){return ee.apply(this,arguments)}return re}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var se=oe(E("@babel/runtime/helpers/typeof")),de=oe(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("../utils/checkBucketName"),ce=ue.checkBucketName,ae=ye,ie=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];ae.copy=function(){var ne=(0,de.default)(te.default.mark(function y(x,b,z,ee){var re,le,he;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return(0,se.default)(z)==="object"&&(ee=z),ee=ee||{},ee.headers=ee.headers||{},Object.keys(ee.headers).forEach(function(me){ee.headers["x-oss-copy-source-".concat(me.toLowerCase())]=ee.headers[me]}),(ee.meta||Object.keys(ee.headers).find(function(me){return ie.includes(me.toLowerCase())}))&&(ee.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(ee.meta,ee.headers),b=this._getSourceName(b,z),ee.versionId&&(b="".concat(b,"?versionId=").concat(ee.versionId)),ee.headers["x-oss-copy-source"]=b,re=this._objectRequestParams("PUT",x,ee),re.xmlResponse=!0,re.successStatuses=[200,304],fe.next=14,this.request(re);case 14:return le=fe.sent,he=le.data,he&&(he={etag:he.ETag,lastModified:he.LastModified}),fe.abrupt("return",{data:he,res:le.res});case 18:case"end":return fe.stop()}},y,this)}));function a(y,x,b,z){return ne.apply(this,arguments)}return a}(),ae._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ce(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye;de.delete=function(){var ue=(0,se.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},ae,this)}));function ce(ae){return ue.apply(this,arguments)}return ce}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("utility"),ue=E("../utils/obj2xml"),ce=ue.obj2xml,ae=ye;ae.deleteMulti=function(){var ie=(0,se.default)(te.default.mark(function a(y){var x,b,z,ee,re,le,he,ve,fe,me,ge,be,Pe,Te=arguments;return te.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(x=Te.length>1&&Te[1]!==void 0?Te[1]:{},b=[],!(!y||!y.length)){Le.next=4;break}throw new Error("names is required");case 4:for(z=0;z1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({tagging:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("DELETE",ie,ne),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},ae,this)}));function ce(ae){return ue.apply(this,arguments)}return ce}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,Se,ye){"use strict";E("core-js/modules/es.array.concat.js");var oe=E("url"),te=E("../utils/isIP"),se=te.isIP,de=ye;de.generateObjectUrl=function(ce,ae){if(se(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(ae)ae[ae.length-1]!=="/"&&(ae+="/");else{ae=this.options.endpoint.format();var ie=oe.parse(ae),ne=this.options.bucket;ie.hostname="".concat(ne,".").concat(ie.hostname),ie.host="".concat(ne,".").concat(ie.host),ae=ie.format()}return ae+this._escape(this._objectName(ce))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,Se,ye){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),se=te(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var de=te(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("fs"),ce=E("is-type-of"),ae=ye;ae.get=function(){var ie=(0,de.default)(se.default.mark(function a(y,x){var b,z,ee,re,le,he,ve,fe,me=arguments;return se.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:return b=me.length>2&&me[2]!==void 0?me[2]:{},z=null,ee=!1,ce.writableStream(x)?z=x:ce.string(x)?(z=ue.createWriteStream(x),ee=!0):b=x,b=b||{},re=oe&&oe.browser,le=b.responseCacheControl===null?"":"no-cache",he=re&&le?{"response-cache-control":le}:{},b.subres=Object.assign(he,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),be.prev=11,fe=this._objectRequestParams("GET",y,b),fe.writeStream=z,fe.successStatuses=[200,206,304],be.next=17,this.request(fe);case 17:ve=be.sent,ee&&z.destroy(),be.next=28;break;case 21:if(be.prev=21,be.t0=be.catch(11),!ee){be.next=27;break}return z.destroy(),be.next=27,this._deleteFileSafe(x);case 27:throw be.t0;case 28:return be.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return be.stop()}},a,this,[[11,21]])}));function ne(a,y){return ie.apply(this,arguments)}return ne}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye;de.getACL=function(){var ue=(0,se.default)(te.default.mark(function ae(ie){var ne,a,y,x=arguments;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ne=x.length>1&&x[1]!==void 0?x[1]:{},ne.subres=Object.assign({acl:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return z.stop()}},ae,this)}));function ce(ae){return ue.apply(this,arguments)}return ce}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye,ue=E("../utils/isObject"),ce=ue.isObject,ae=E("../utils/isArray"),ie=ae.isArray;de.getBucketVersions=ne,de.listObjectVersions=ne;function ne(){return a.apply(this,arguments)}function a(){return a=(0,se.default)(te.default.mark(function b(){var z,ee,re,le,he,ve,fe,me,ge=arguments;return te.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:if(z=ge.length>0&&ge[0]!==void 0?ge[0]:{},ee=ge.length>1&&ge[1]!==void 0?ge[1]:{},!(z.versionIdMarker&&z.keyMarker===void 0)){Pe.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return ee.subres=Object.assign({versions:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),re=this._objectRequestParams("GET","",ee),re.xmlResponse=!0,re.successStatuses=[200],re.query=x(z),Pe.next=12,this.request(re);case 12:return le=Pe.sent,he=le.data.Version||[],ve=le.data.DeleteMarker||[],fe=this,he&&(Array.isArray(he)||(he=[he]),he=he.map(function(Te){return{name:Te.Key,url:fe._objectUrl(Te.Key),lastModified:Te.LastModified,isLatest:Te.IsLatest==="true",versionId:Te.VersionId,etag:Te.ETag,type:Te.Type,size:Number(Te.Size),storageClass:Te.StorageClass,owner:{id:Te.Owner.ID,displayName:Te.Owner.DisplayName}}})),ve&&(ie(ve)||(ve=[ve]),ve=ve.map(function(Te){return{name:Te.Key,lastModified:Te.LastModified,versionId:Te.VersionId,owner:{id:Te.Owner.ID,displayName:Te.Owner.DisplayName}}})),me=le.data.CommonPrefixes||null,me&&(ie(me)||(me=[me]),me=me.map(function(Te){return Te.Prefix})),Pe.abrupt("return",{res:le.res,objects:he,deleteMarker:ve,prefixes:me,nextMarker:le.data.NextKeyMarker||null,NextVersionIdMarker:le.data.NextVersionIdMarker||null,nextKeyMarker:le.data.NextKeyMarker||null,nextVersionIdMarker:le.data.NextVersionIdMarker||null,isTruncated:le.data.IsTruncated==="true"});case 21:case"end":return Pe.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},z={};return ce(b)&&Object.keys(b).forEach(function(ee){z[y(ee)]=b[ee]}),z}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye;de.getObjectMeta=function(){var ue=(0,se.default)(te.default.mark(function ae(ie,ne){var a,y;return te.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ne=ne||{},ie=this._objectName(ie),ne.subres=Object.assign({objectMeta:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),a=this._objectRequestParams("HEAD",ie,ne),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},ae,this)}));function ce(ae,ie){return ue.apply(this,arguments)}return ce}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye,ue=E("../utils/isObject"),ce=ue.isObject;de.getObjectTagging=function(){var ae=(0,se.default)(te.default.mark(function ne(a){var y,x,b,z,ee,re,le=arguments;return te.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=le.length>1&&le[1]!==void 0?le[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,ee=z.TagSet.Tag,ee=ee&&ce(ee)?[ee]:ee||[],re={},ee.forEach(function(fe){re[fe.Key]=fe.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:re});case 17:case"end":return ve.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,Se,ye){"use strict";var oe=E("../utils/isIP"),te=oe.isIP,se=ye;se.getObjectUrl=function(ue,ce){if(te(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ce?ce[ce.length-1]!=="/"&&(ce+="/"):ce=this.options.endpoint.format(),ce+this._escape(this._objectName(ue))}},{"../utils/isIP":69}],43:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye;de.getSymlink=function(){var ue=(0,se.default)(te.default.mark(function ae(ie){var ne,a,y,x,b=arguments;return te.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ne=b.length>1&&b[1]!==void 0?b[1]:{},ne.subres=Object.assign({symlink:""},ne.subres),ne.versionId&&(ne.subres.versionId=ne.versionId),ie=this._objectName(ie),a=this._objectRequestParams("GET",ie,ne),a.successStatuses=[200],ee.next=8,this.request(a);case 8:return y=ee.sent,x=y.res.headers["x-oss-symlink-target"],ee.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return ee.stop()}},ae,this)}));function ce(ae){return ue.apply(this,arguments)}return ce}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/checkEnv"),ue=de.checkEnv,ce=ye;ce.head=function(){var ae=(0,se.default)(te.default.mark(function ne(a){var y,x,b,z,ee=arguments;return te.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return y=ee.length>1&&ee[1]!==void 0?ee[1]:{},ue("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],le.next=8,this.request(x);case 8:return b=le.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(he){he.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[he.substring(11)]=b.headers[he])}),le.abrupt("return",z);case 12:case"end":return le.stop()}},ne,this)}));function ie(ne){return ae.apply(this,arguments)}return ie}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye;de.putACL=function(){var ue=(0,se.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=ne,ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},ae,this)}));function ce(ae,ie,ne){return ue.apply(this,arguments)}return ce}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("../utils/obj2xml"),ue=de.obj2xml,ce=E("../utils/checkObjectTag"),ae=ce.checkObjectTag,ie=ye;ie.putObjectTagging=function(){var ne=(0,se.default)(te.default.mark(function y(x,b){var z,ee,re,le,he=arguments;return te.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return z=he.length>2&&he[2]!==void 0?he[2]:{},ae(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),ee=this._objectRequestParams("PUT",x,z),ee.successStatuses=[200],b=Object.keys(b).map(function(me){return{Key:me,Value:b[me]}}),re={Tagging:{TagSet:{Tag:b}}},ee.mime="xml",ee.content=ue(re),fe.next=13,this.request(ee);case 13:return le=fe.sent,fe.abrupt("return",{res:le.res,status:le.status});case 15:case"end":return fe.stop()}},y,this)}));function a(y,x){return ne.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=ye;de.putSymlink=function(){var ue=(0,se.default)(te.default.mark(function ae(ie,ne,a){var y,x;return te.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ne=this._escape(this._objectName(ne)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ne,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ie=this._objectName(ie),y=this._objectRequestParams("PUT",ie,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},ae,this)}));function ce(ae,ie,ne){return ue.apply(this,arguments)}return ce}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,Se,ye){"use strict";var oe=E("url"),te=E("utility"),se=E("copy-to"),de=E("../../common/signUtils"),ue=E("../utils/isIP"),ce=ue.isIP,ae=ye;ae.signatureUrl=function(ne,a){if(ce(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ne=this._objectName(ne),a.method=a.method||"GET";var y=te.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ne},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=de._signatureForURL(this.options.accessKeySecret,a,b,y),ee=oe.parse(this._getReqUrl(x));return ee.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},se(z.subResource).to(ee.query),ee.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator")),de=E("./utils/isArray"),ue=de.isArray,ce=ye;ce._parallelNode=function(){var ae=(0,se.default)(te.default.mark(function ne(a,y,x,b){var z,ee,re,le,he,ve,fe,me;return te.default.wrap(function(be){for(;;)switch(be.prev=be.next){case 0:z=this,ee=[],re=[],le=a.length/y,he=a.length%y,ve=he===0?le:(a.length-he)/y+1,fe=1,me=0;case 8:if(!(me0){le=!0,he<=0&&x(b);return}he+=1,me(be.value,z(fe))}ve=!1}ge()})},ce.cancel=function(ie){this.options.cancelFlag=!0,ue(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ne){if(ne.destroyed===!1){var a={name:"cancel",message:"cancel"};ne.destroy(a)}}),this.multipartUploadStreams=[],ie&&this.abortMultipartUpload(ie.name,ie.uploadId,ie.options)},ce.isCancel=function(){return this.options.cancelFlag},ce.resetCancelFlag=function(){this.options.cancelFlag=!1},ce._stop=function(){this.options.cancelFlag=!0},ce._makeCancelEvent=function(){var ie={status:0,name:"cancel"};return ie},ce._makeAbortEvent=function(){var ie={status:0,name:"abort",message:"upload task has been abort"};return ie}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,Se,ye){(function(oe){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var te=E("./../../shims/crypto/crypto.js"),se=E("is-type-of"),de=E("./utils/lowercaseKeyHeader"),ue=de.lowercaseKeyHeader;ye.buildCanonicalizedResource=function(ae,ie){var ne="".concat(ae),a="?";if(se.string(ie)&&ie.trim()!=="")ne+=a+ie;else if(se.array(ie))ie.sort(),ne+=a+ie.join("&");else if(ie){var y=function(z,ee){return z[0]>ee[0]?1:z[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=te.createHmac("sha1",ae);return a.update(oe.from(ie,ne)).digest("base64")},ye.authorization=function(ae,ie,ne,a){return"OSS ".concat(ae,":").concat(this.computeSignature(ie,ne,a))},ye._signatureForURL=function(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=ie.subResource,z=b===void 0?{}:b;if(ie.process){var ee="x-oss-process";z[ee]=ie.process}if(ie.trafficLimit){var re="x-oss-traffic-limit";z[re]=ie.trafficLimit}if(ie.response&&Object.keys(ie.response).forEach(function(fe){var me="response-".concat(fe.toLowerCase());z[me]=ie.response[fe]}),Object.keys(ie).forEach(function(fe){var me=fe.toLowerCase(),ge=ie[fe];me.indexOf("x-oss-")===0?x[me]=ge:(me.indexOf("content-md5")===0||me.indexOf("content-type")===0)&&(x[fe]=ge)}),Object.prototype.hasOwnProperty.call(ie,"security-token")&&(z["security-token"]=ie["security-token"]),Object.prototype.hasOwnProperty.call(ie,"callback")){var le={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};if(ie.callback.host&&(le.callbackHost=ie.callback.host),ie.callback.contentType&&(le.callbackBodyType=ie.callback.contentType),z.callback=oe.from(JSON.stringify(le)).toString("base64"),ie.callback.customValue){var he={};Object.keys(ie.callback.customValue).forEach(function(fe){he["x:".concat(fe)]=ie.callback.customValue[fe]}),z["callback-var"]=oe.from(JSON.stringify(he)).toString("base64")}}var ve=this.buildCanonicalString(ie.method,ne,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(ae,ve,y),subResource:z}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,Se,ye){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.checkBucketName=void 0,ye.checkBucketName=function(oe){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=te?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!se.test(oe))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,Se,ye){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.checkConfigValid=void 0;var oe={endpoint:te,region:/^[a-zA-Z0-9\-_]+$/};function te(se){return typeof se=="string"?/^[a-zA-Z0-9._:/-]+$/.test(se):se.host?/^[a-zA-Z0-9._:/-]+$/.test(se.host):!1}ye.checkConfigValid=function(se,de){if(oe[de]){var ue=!0;if(oe[de]instanceof Function?ue=oe[de](se):ue=oe[de].test(se),!ue)throw new Error("The ".concat(de," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,Se,ye){(function(oe){(function(){"use strict";Object.defineProperty(ye,"__esModule",{value:!0}),ye.checkEnv=void 0;function te(se){oe.browser&&console.warn(se)}ye.checkEnv=te}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,Se,ye){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.checkObjectTag=void 0;var oe=E("./checkValid"),te=oe.checkValid,se=E("./isObject"),de=se.isObject,ue=[{validator:function(ne){if(typeof ne!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],ce={key:[].concat(ue,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ue,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function ae(ie){if(!de(ie))throw new Error("tag must be Object");var ne=Object.entries(ie);if(ne.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ne.forEach(function(y){y.forEach(function(x,b){te(x,ce[a[b]])})})}ye.checkObjectTag=ae},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,Se,ye){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.checkValid=void 0;function oe(te,se){se.forEach(function(de){if(de.validator)de.validator(te);else if(de.pattern&&!de.pattern.test(te))throw new Error(de.msg)})}ye.checkValid=oe},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,Se,ye){(function(oe){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.createRequest=void 0;var te=E("./../../../shims/crypto/crypto.js"),se=E("debug")("ali-oss"),de=E("mime"),ue=E("dateformat"),ce=E("copy-to"),ae=E("path"),ie=E("./encoder"),ne=ie.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),ee=z.getReqUrl,re=E("./isDingTalk"),le=re.isDingTalk;function he(me,ge){return me[ge]||me[ge.toLowerCase()]}function ve(me,ge){delete me[ge],delete me[ge.toLowerCase()]}function fe(me){var ge=new Date;this.options.amendTimeSkewed&&(ge=+new Date+this.options.amendTimeSkewed);var be={"x-oss-date":ue(ge,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(be["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(be["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(be,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(be["x-oss-security-token"]=this.options.stsToken),ce(me.headers).to(be),he(be,"Content-Type")||(me.mime&&me.mime.indexOf("/")>0?be["Content-Type"]=me.mime:le()?be["Content-Type"]="application/octet-stream":be["Content-Type"]=de.getType(me.mime||ae.extname(me.object||""))),he(be,"Content-Type")||ve(be,"Content-Type"),me.content&&(me.disabledMD5||(!me.headers||!me.headers["Content-MD5"]?be["Content-MD5"]=te.createHash("md5").update(oe.from(me.content,"utf8")).digest("base64"):be["Content-MD5"]=me.headers["Content-MD5"]),be["Content-Length"]||(be["Content-Length"]=me.content.length));var Pe=Object.prototype.hasOwnProperty;for(var Te in be)be[Te]&&Pe.call(be,Te)&&(be[Te]=ne(String(be[Te]),this.options.headerEncoding));var Ce=this._getResource(me);if(be.authorization=this.authorization(me.method,Ce,me.subres,be,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Le=this.options,Ie=Le.region,Me=Le.internal,Ue=Le.secure,Qe=b(Ie,Me,Ue);be.host="".concat(me.bucket,".").concat(Qe.host)}var Ge=ee.bind(this)(me);se("request %s %s, with headers %j, !!stream: %s",me.method,Ge,be,!!me.stream);var ot=me.timeout||this.options.timeout,Ve={method:me.method,content:me.content,stream:me.stream,headers:be,timeout:ot,writeStream:me.writeStream,customResponse:me.customResponse,ctx:me.ctx||this.ctx};return this.agent&&(Ve.agent=this.agent),this.httpsAgent&&(Ve.httpsAgent=this.httpsAgent),Ve.enableProxy=!!this.options.enableProxy,Ve.proxy=this.options.proxy?this.options.proxy:null,{url:Ge,params:Ve}}ye.createRequest=fe}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,Se,ye){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.dataFix=void 0;var oe=E("./isObject"),te=["true","TRUE","1",1],se=["false","FALSE","0",0];function de(ae,ie,ne){if(oe.isObject(ae)){var a=ie.remove,y=a===void 0?[]:a,x=ie.rename,b=x===void 0?{}:x,z=ie.camel,ee=z===void 0?[]:z,re=ie.bool,le=re===void 0?[]:re,he=ie.lowerFirst,ve=he===void 0?!1:he;return y.forEach(function(fe){return delete ae[fe]}),Object.entries(b).forEach(function(fe){ae[fe[0]]&&(ae[fe[1]]||(ae[fe[1]]=ae[fe[0]],delete ae[fe[0]]))}),ee.forEach(function(fe){if(ae[fe]){var me=fe.replace(/^(.)/,function(ge){return ge.toLowerCase()}).replace(/-(\w)/g,function(ge,be){return be.toUpperCase()});ae[me]||(ae[me]=ae[fe])}}),le.forEach(function(fe){ae[fe]=ue(ae[fe])}),typeof ne=="function"&&ne(ae),ce(ae,ve),de}}ye.dataFix=de;function ue(ae){return ae?te.includes(ae)?!0:se.includes(ae)?!1:ae:!1}function ce(ae,ie){ie&&Object.keys(ae).forEach(function(ne){var a=ne.replace(/^\w/,function(y){return y.toLowerCase()});typeof ae[a]=="undefined"&&(ae[a]=ae[ne],delete ae[ne])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.deepCopyWith=ye.deepCopy=void 0;var se=E("./isBuffer");ye.deepCopy=function(de){if(de===null||(0,te.default)(de)!=="object")return de;if(se.isBuffer(de))return de.slice();var ue=Array.isArray(de)?[]:{};return Object.keys(de).forEach(function(ce){ue[ce]=ye.deepCopy(de[ce])}),ue},ye.deepCopyWith=function(de,ue){function ce(ae,ie,ne){var a=ue(ae,ie,ne);if(a!==void 0)return a;if(ae===null||(0,te.default)(ae)!=="object")return ae;if(se.isBuffer(ae))return ae.slice();var y=Array.isArray(ae)?[]:{};return Object.keys(ae).forEach(function(x){y[x]=ce(ae[x],x,ae)}),y}return ue?ce(de,"",null):ye.deepCopy(de)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,Se,ye){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.encoder=void 0;function te(se){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return de==="utf-8"?se:oe.from(se).toString("latin1")}ye.encoder=te}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,Se,ye){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(ye,"__esModule",{value:!0}),ye.formatInventoryConfig=void 0;var oe=E("../utils/dataFix"),te=E("../utils/isObject"),se=E("../utils/isArray"),de=E("../utils/formatObjKey");function ue(ae){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ie&&te.isObject(ae)&&(ae=[ae]),se.isArray(ae)?ae=ae.map(ce):ae=ce(ae),ae}ye.formatInventoryConfig=ue;function ce(ae){return oe.dataFix(ae,{bool:["IsEnabled"]},function(ie){var ne,a;ie.prefix=ie.Filter.Prefix,delete ie.Filter,ie.OSSBucketDestination=ie.Destination.OSSBucketDestination,ie.OSSBucketDestination.rolename=ie.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ie.OSSBucketDestination.RoleArn,ie.OSSBucketDestination.bucket=ie.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ie.OSSBucketDestination.Bucket,delete ie.Destination,ie.frequency=ie.Schedule.Frequency,delete ie.Schedule.Frequency,!((ne=ie==null?void 0:ie.OptionalFields)===null||ne===void 0)&&ne.Field&&!se.isArray((a=ie.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ie.OptionalFields.Field=[ie.OptionalFields.Field])}),ae=de.formatObjKey(ae,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),ae}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var te=oe(E("@babel/runtime/helpers/typeof"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.formatObjKey=void 0;function se(ue,ce,ae){if(ue===null||(0,te.default)(ue)!=="object")return ue;var ie;if(Array.isArray(ue)){ie=[];for(var ne=0;ne +`),ue&&ue.firstUpperCase&&(de=oe.formatObjKey(de,"firstUpperCase")),te(de)==="object"?Object.keys(de).forEach(function(ae){te(de[ae])!=="undefined"&&te(de[ae])!=="null"&&(te(de[ae])==="string"||te(de[ae])==="number"?ce+="<".concat(ae,">").concat(de[ae],""):te(de[ae])==="object"?ce+="<".concat(ae,">").concat(se(de[ae]),""):te(de[ae])==="array"?ce+=de[ae].map(function(ie){return"<".concat(ae,">").concat(se(ie),"")}).join(""):ce+="<".concat(ae,">").concat(de[ae].toString(),""))}):ce+=de.toString(),ce}ye.obj2xml=se},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,Se,ye){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function oe(ue,ce){var ae=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!ae){if(Array.isArray(ue)||(ae=te(ue))||ce&&ue&&typeof ue.length=="number"){ae&&(ue=ae);var ie=0,ne=function(){};return{s:ne,n:function(){return ie>=ue.length?{done:!0}:{done:!1,value:ue[ie++]}},e:function(z){throw z},f:ne}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){ae=ae.call(ue)},n:function(){var z=ae.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&ae.return!=null&&ae.return()}finally{if(y)throw x}}}}function te(ue,ce){if(ue){if(typeof ue=="string")return se(ue,ce);var ae=Object.prototype.toString.call(ue).slice(8,-1);if(ae==="Object"&&ue.constructor&&(ae=ue.constructor.name),ae==="Map"||ae==="Set")return Array.from(ue);if(ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return se(ue,ce)}}function se(ue,ce){(ce==null||ce>ue.length)&&(ce=ue.length);for(var ae=0,ie=new Array(ce);ae2&&arguments[2]!==void 0?arguments[2]:{},ue=0,ce=de.retryDelay,ae=ce===void 0?500:ce,ie=de.errorHandler,ne=ie===void 0?function(){return!0}:ie,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z1&&arguments[1]!==void 0?arguments[1]:!1,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;se.checkConfigValid(ue,"region");var ie=ae?"https://":"http://",ne=ce?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ue.substr(0,a.length)===a&&(ne=".aliyuncs.com"),te.default.parse(ie+ue+ne)}ye.setRegion=de},{"./checkConfigValid":52,url:472}],76:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var se=oe(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(ye,"__esModule",{value:!0}),ye.checkCredentials=ye.setSTSToken=void 0;var de=E("./formatObjKey");function ue(){return ce.apply(this,arguments)}function ce(){return ce=(0,se.default)(te.default.mark(function ie(){var ne,a;return te.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ne=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ne-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ne,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=de.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),ae(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=ne;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ie,this)})),ce.apply(this,arguments)}ye.setSTSToken=ue;function ae(ie){var ne=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ie);ne.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}ye.checkCredentials=ae},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,Se,ye){function oe(se,de,ue,ce,ae,ie,ne){try{var a=se[ie](ne),y=a.value}catch(x){ue(x);return}a.done?de(y):Promise.resolve(y).then(ce,ae)}function te(se){return function(){var de=this,ue=arguments;return new Promise(function(ce,ae){var ie=se.apply(de,ue);function ne(y){oe(ie,ce,ae,ne,a,"next",y)}function a(y){oe(ie,ce,ae,ne,a,"throw",y)}ne(void 0)})}}Se.exports=te,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],78:[function(E,Se,ye){function oe(te){return te&&te.__esModule?te:{default:te}}Se.exports=oe,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],79:[function(E,Se,ye){function oe(te){"@babel/helpers - typeof";return Se.exports=oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},Se.exports.__esModule=!0,Se.exports.default=Se.exports,oe(te)}Se.exports=oe,Se.exports.__esModule=!0,Se.exports.default=Se.exports},{}],80:[function(E,Se,ye){Se.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,Se,ye){Se.exports=oe,Se.exports.HttpsAgent=oe;function oe(){}},{}],82:[function(E,Se,ye){(function(oe){(function(){"use strict";var te=E("object-assign");function se(Ie,Me){if(Ie===Me)return 0;for(var Ue=Ie.length,Qe=Me.length,Ge=0,ot=Math.min(Ue,Qe);Ge=0){var Xe=Ge.indexOf(` +`,Ve+1);Ge=Ge.substring(Xe+1)}this.stack=Ge}}},ue.inherits(y.AssertionError,Error);function z(Ie,Me){return typeof Ie=="string"?Ie.length=0;ze--)if(Ve[ze]!==Xe[ze])return!1;for(ze=Ve.length-1;ze>=0;ze--)if(Ze=Ve[ze],!ve(Ie[Ze],Me[Ze],Ue,Qe))return!1;return!0}y.notDeepEqual=function(Me,Ue,Qe){ve(Me,Ue,!1)&&le(Me,Ue,Qe,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ge;function ge(Ie,Me,Ue){ve(Ie,Me,!0)&&le(Ie,Me,Ue,"notDeepStrictEqual",ge)}y.strictEqual=function(Me,Ue,Qe){Me!==Ue&&le(Me,Ue,Qe,"===",y.strictEqual)},y.notStrictEqual=function(Me,Ue,Qe){Me===Ue&&le(Me,Ue,Qe,"!==",y.notStrictEqual)};function be(Ie,Me){if(!Ie||!Me)return!1;if(Object.prototype.toString.call(Me)=="[object RegExp]")return Me.test(Ie);try{if(Ie instanceof Me)return!0}catch(Ue){}return Error.isPrototypeOf(Me)?!1:Me.call({},Ie)===!0}function Pe(Ie){var Me;try{Ie()}catch(Ue){Me=Ue}return Me}function Te(Ie,Me,Ue,Qe){var Ge;if(typeof Me!="function")throw new TypeError('"block" argument must be a function');typeof Ue=="string"&&(Qe=Ue,Ue=null),Ge=Pe(Me),Qe=(Ue&&Ue.name?" ("+Ue.name+").":".")+(Qe?" "+Qe:"."),Ie&&!Ge&&le(Ge,Ue,"Missing expected exception"+Qe);var ot=typeof Qe=="string",Ve=!Ie&&ue.isError(Ge),Xe=!Ie&&Ge&&!Ue;if((Ve&&ot&&be(Ge,Ue)||Xe)&&le(Ge,Ue,"Got unwanted exception"+Qe),Ie&&Ge&&Ue&&!be(Ge,Ue)||!Ie&&Ge)throw Ge}y.throws=function(Ie,Me,Ue){Te(!0,Ie,Me,Ue)},y.doesNotThrow=function(Ie,Me,Ue){Te(!1,Ie,Me,Ue)},y.ifError=function(Ie){if(Ie)throw Ie};function Ce(Ie,Me){Ie||le(Ie,!0,Me,"==",Ce)}y.strict=te(Ce,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Le=Object.keys||function(Ie){var Me=[];for(var Ue in Ie)ce.call(Ie,Ue)&&Me.push(Ue);return Me}}).call(this)}).call(this,typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,Se,ye){typeof Object.create=="function"?Se.exports=function(te,se){te.super_=se,te.prototype=Object.create(se.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}})}:Se.exports=function(te,se){te.super_=se;var de=function(){};de.prototype=se.prototype,te.prototype=new de,te.prototype.constructor=te}},{}],84:[function(E,Se,ye){Se.exports=function(te){return te&&typeof te=="object"&&typeof te.copy=="function"&&typeof te.fill=="function"&&typeof te.readUInt8=="function"}},{}],85:[function(E,Se,ye){(function(oe,te){(function(){var se=/%[sdj%]/g;ye.format=function(Xe){if(!me(Xe)){for(var Ze=[],ze=0;ze=He)return ut;switch(ut){case"%s":return String(Re[ze++]);case"%d":return Number(Re[ze++]);case"%j":try{return JSON.stringify(Re[ze++])}catch(_e){return"[Circular]"}default:return ut}}),qe=Re[ze];ze=3&&(ze.depth=arguments[2]),arguments.length>=4&&(ze.colors=arguments[3]),le(Ze)?ze.showHidden=Ze:Ze&&ye._extend(ze,Ze),be(ze.showHidden)&&(ze.showHidden=!1),be(ze.depth)&&(ze.depth=2),be(ze.colors)&&(ze.colors=!1),be(ze.customInspect)&&(ze.customInspect=!0),ze.colors&&(ze.stylize=ae),a(ze,Xe,ze.depth)}ye.inspect=ce,ce.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ce.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ae(Xe,Ze){var ze=ce.styles[Ze];return ze?"\x1B["+ce.colors[ze][0]+"m"+Xe+"\x1B["+ce.colors[ze][1]+"m":Xe}function ie(Xe,Ze){return Xe}function ne(Xe){var Ze={};return Xe.forEach(function(ze,Re){Ze[ze]=!0}),Ze}function a(Xe,Ze,ze){if(Xe.customInspect&&Ze&&Ie(Ze.inspect)&&Ze.inspect!==ye.inspect&&!(Ze.constructor&&Ze.constructor.prototype===Ze)){var Re=Ze.inspect(ze,Xe);return me(Re)||(Re=a(Xe,Re,ze)),Re}var He=y(Xe,Ze);if(He)return He;var rt=Object.keys(Ze),qe=ne(rt);if(Xe.showHidden&&(rt=Object.getOwnPropertyNames(Ze)),Le(Ze)&&(rt.indexOf("message")>=0||rt.indexOf("description")>=0))return x(Ze);if(rt.length===0){if(Ie(Ze)){var ut=Ze.name?": "+Ze.name:"";return Xe.stylize("[Function"+ut+"]","special")}if(Pe(Ze))return Xe.stylize(RegExp.prototype.toString.call(Ze),"regexp");if(Ce(Ze))return Xe.stylize(Date.prototype.toString.call(Ze),"date");if(Le(Ze))return x(Ze)}var _e="",We=!1,Oe=["{","}"];if(re(Ze)&&(We=!0,Oe=["[","]"]),Ie(Ze)){var Ye=Ze.name?": "+Ze.name:"";_e=" [Function"+Ye+"]"}if(Pe(Ze)&&(_e=" "+RegExp.prototype.toString.call(Ze)),Ce(Ze)&&(_e=" "+Date.prototype.toUTCString.call(Ze)),Le(Ze)&&(_e=" "+x(Ze)),rt.length===0&&(!We||Ze.length==0))return Oe[0]+_e+Oe[1];if(ze<0)return Pe(Ze)?Xe.stylize(RegExp.prototype.toString.call(Ze),"regexp"):Xe.stylize("[Object]","special");Xe.seen.push(Ze);var Fe;return We?Fe=b(Xe,Ze,ze,qe,rt):Fe=rt.map(function(Ne){return z(Xe,Ze,ze,qe,Ne,We)}),Xe.seen.pop(),ee(Fe,_e,Oe)}function y(Xe,Ze){if(be(Ze))return Xe.stylize("undefined","undefined");if(me(Ze)){var ze="'"+JSON.stringify(Ze).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Xe.stylize(ze,"string")}if(fe(Ze))return Xe.stylize(""+Ze,"number");if(le(Ze))return Xe.stylize(""+Ze,"boolean");if(he(Ze))return Xe.stylize("null","null")}function x(Xe){return"["+Error.prototype.toString.call(Xe)+"]"}function b(Xe,Ze,ze,Re,He){for(var rt=[],qe=0,ut=Ze.length;qe-1&&(rt?ut=ut.split(` `).map(function(We){return" "+We}).join(` `).substr(2):ut=` `+ut.split(` `).map(function(We){return" "+We}).join(` -`))):ut=Ye.stylize("[Circular]","special")),ye($e)){if(rt&&ze.match(/^\d+$/))return ut;$e=JSON.stringify(""+ze),$e.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?($e=$e.substr(1,$e.length-2),$e=Ye.stylize($e,"name")):($e=$e.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),$e=Ye.stylize($e,"string"))}return $e+": "+ut}function ee(Ye,Ve,Me){var Re=0,ze=Ye.reduce(function(rt,$e){return Re++,$e.indexOf(` -`)>=0&&Re++,rt+$e.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ze>60?Me[0]+(Ve===""?"":Ve+` - `)+" "+Ye.join(`, - `)+" "+Me[1]:Me[0]+Ve+" "+Ye.join(", ")+" "+Me[1]}function re(Ye){return Array.isArray(Ye)}be.isArray=re;function ce(Ye){return typeof Ye=="boolean"}be.isBoolean=ce;function me(Ye){return Ye===null}be.isNull=me;function ve(Ye){return Ye==null}be.isNullOrUndefined=ve;function ge(Ye){return typeof Ye=="number"}be.isNumber=ge;function pe(Ye){return typeof Ye=="string"}be.isString=pe;function fe(Ye){return typeof Ye=="symbol"}be.isSymbol=fe;function ye(Ye){return Ye===void 0}be.isUndefined=ye;function Se(Ye){return Oe(Ye)&&Ue(Ye)==="[object RegExp]"}be.isRegExp=Se;function Oe(Ye){return typeof Ye=="object"&&Ye!==null}be.isObject=Oe;function Ce(Ye){return Oe(Ye)&&Ue(Ye)==="[object Date]"}be.isDate=Ce;function Le(Ye){return Oe(Ye)&&(Ue(Ye)==="[object Error]"||Ye instanceof Error)}be.isError=Le;function De(Ye){return typeof Ye=="function"}be.isFunction=De;function ke(Ye){return Ye===null||typeof Ye=="boolean"||typeof Ye=="number"||typeof Ye=="string"||typeof Ye=="symbol"||typeof Ye=="undefined"}be.isPrimitive=ke,be.isBuffer=E("./support/isBuffer");function Ue(Ye){return Object.prototype.toString.call(Ye)}function et(Ye){return Ye<10?"0"+Ye.toString(10):Ye.toString(10)}var Ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function it(){var Ye=new Date,Ve=[et(Ye.getHours()),et(Ye.getMinutes()),et(Ye.getSeconds())].join(":");return[Ye.getDate(),Ge[Ye.getMonth()],Ve].join(" ")}be.log=function(){console.log("%s - %s",it(),be.format.apply(be,arguments))},be.inherits=E("inherits"),be._extend=function(Ye,Ve){if(!Ve||!Oe(Ve))return Ye;for(var Me=Object.keys(Ve),Re=Me.length;Re--;)Ye[Me[Re]]=Ve[Me[Re]];return Ye};function Qe(Ye,Ve){return Object.prototype.hasOwnProperty.call(Ye,Ve)}}).call(this)}).call(this,E("_process"),typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,Pe,be){(function(oe){(function(){"use strict";var te=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],se=typeof globalThis=="undefined"?oe:globalThis;Pe.exports=function(){for(var le=[],ue=0;ue0)throw new Error("Invalid string. Length must be a multiple of 4");var re=z.indexOf("=");re===-1&&(re=ee);var ce=re===ee?0:4-re%4;return[re,ce]}function ie(z){var ee=ae(z),re=ee[0],ce=ee[1];return(re+ce)*3/4-ce}function ne(z,ee,re){return(ee+re)*3/4-re}function a(z){var ee,re=ae(z),ce=re[0],me=re[1],ve=new se(ne(z,ce,me)),ge=0,pe=me>0?ce-4:ce,fe;for(fe=0;fe>16&255,ve[ge++]=ee>>8&255,ve[ge++]=ee&255;return me===2&&(ee=te[z.charCodeAt(fe)]<<2|te[z.charCodeAt(fe+1)]>>4,ve[ge++]=ee&255),me===1&&(ee=te[z.charCodeAt(fe)]<<10|te[z.charCodeAt(fe+1)]<<4|te[z.charCodeAt(fe+2)]>>2,ve[ge++]=ee>>8&255,ve[ge++]=ee&255),ve}function y(z){return oe[z>>18&63]+oe[z>>12&63]+oe[z>>6&63]+oe[z&63]}function x(z,ee,re){for(var ce,me=[],ve=ee;vepe?pe:ge+ve));return ce===1?(ee=z[re-1],me.push(oe[ee>>2]+oe[ee<<4&63]+"==")):ce===2&&(ee=(z[re-2]<<8)+z[re-1],me.push(oe[ee>>10]+oe[ee>>4&63]+oe[ee<<2&63]+"=")),me.join("")}},{}],88:[function(E,Pe,be){(function(oe,te,se){typeof Pe!="undefined"&&Pe.exports?Pe.exports=se():typeof Ae=="function"&&Ae.amd?Ae(te,se):oe[te]=se()})(this,"bowser",function(){var oe=!0;function te(ne){function a(Ve){var Me=ne.match(Ve);return Me&&Me.length>1&&Me[1]||""}function y(Ve){var Me=ne.match(Ve);return Me&&Me.length>1&&Me[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ne),z=!b&&/android/i.test(ne),ee=/nexus\s*[0-6]\s*/i.test(ne),re=!ee&&/nexus\s*[0-9]+/i.test(ne),ce=/CrOS/.test(ne),me=/silk/i.test(ne),ve=/sailfish/i.test(ne),ge=/tizen/i.test(ne),pe=/(web|hpw)(o|0)s/i.test(ne),fe=/windows phone/i.test(ne),ye=/SamsungBrowser/i.test(ne),Se=!fe&&/windows/i.test(ne),Oe=!x&&!me&&/macintosh/i.test(ne),Ce=!z&&!ve&&!ge&&!pe&&/linux/i.test(ne),Le=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),De=a(/version\/(\d+(\.\d+)?)/i),ke=/tablet/i.test(ne)&&!/tablet pc/i.test(ne),Ue=!ke&&/[^-]mobi/i.test(ne),et=/xbox/i.test(ne),Ge;/opera/i.test(ne)?Ge={name:"Opera",opera:oe,version:De||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ne)?Ge={name:"Opera",opera:oe,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||De}:/SamsungBrowser/i.test(ne)?Ge={name:"Samsung Internet for Android",samsungBrowser:oe,version:De||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ne)?Ge={name:"NAVER Whale browser",whale:oe,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ne)?Ge={name:"MZ Browser",mzbrowser:oe,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ne)?Ge={name:"Opera Coast",coast:oe,version:De||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ne)?Ge={name:"Focus",focus:oe,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ne)?Ge={name:"Yandex Browser",yandexbrowser:oe,version:De||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ne)?Ge={name:"UC Browser",ucbrowser:oe,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ne)?Ge={name:"Maxthon",maxthon:oe,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ne)?Ge={name:"Epiphany",epiphany:oe,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ne)?Ge={name:"Puffin",puffin:oe,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ne)?Ge={name:"Sleipnir",sleipnir:oe,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ne)?Ge={name:"K-Meleon",kMeleon:oe,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:fe?(Ge={name:"Windows Phone",osname:"Windows Phone",windowsphone:oe},Le?(Ge.msedge=oe,Ge.version=Le):(Ge.msie=oe,Ge.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ne)?Ge={name:"Internet Explorer",msie:oe,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ce?Ge={name:"Chrome",osname:"Chrome OS",chromeos:oe,chromeBook:oe,chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ne)?Ge={name:"Microsoft Edge",msedge:oe,version:Le}:/vivaldi/i.test(ne)?Ge={name:"Vivaldi",vivaldi:oe,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||De}:ve?Ge={name:"Sailfish",osname:"Sailfish OS",sailfish:oe,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ne)?Ge={name:"SeaMonkey",seamonkey:oe,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ne)?(Ge={name:"Firefox",firefox:oe,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ne)&&(Ge.firefoxos=oe,Ge.osname="Firefox OS")):me?Ge={name:"Amazon Silk",silk:oe,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ne)?Ge={name:"PhantomJS",phantom:oe,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ne)?Ge={name:"SlimerJS",slimer:oe,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ne)||/rim\stablet/i.test(ne)?Ge={name:"BlackBerry",osname:"BlackBerry OS",blackberry:oe,version:De||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:pe?(Ge={name:"WebOS",osname:"WebOS",webos:oe,version:De||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ne)&&(Ge.touchpad=oe)):/bada/i.test(ne)?Ge={name:"Bada",osname:"Bada",bada:oe,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:ge?Ge={name:"Tizen",osname:"Tizen",tizen:oe,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||De}:/qupzilla/i.test(ne)?Ge={name:"QupZilla",qupzilla:oe,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||De}:/chromium/i.test(ne)?Ge={name:"Chromium",chromium:oe,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||De}:/chrome|crios|crmo/i.test(ne)?Ge={name:"Chrome",chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Ge={name:"Android",version:De}:/safari|applewebkit/i.test(ne)?(Ge={name:"Safari",safari:oe},De&&(Ge.version=De)):x?(Ge={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},De&&(Ge.version=De)):/googlebot/i.test(ne)?Ge={name:"Googlebot",googlebot:oe,version:a(/googlebot\/(\d+(\.\d+))/i)||De}:Ge={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Ge.msedge&&/(apple)?webkit/i.test(ne)?(/(apple)?webkit\/537\.36/i.test(ne)?(Ge.name=Ge.name||"Blink",Ge.blink=oe):(Ge.name=Ge.name||"Webkit",Ge.webkit=oe),!Ge.version&&De&&(Ge.version=De)):!Ge.opera&&/gecko\//i.test(ne)&&(Ge.name=Ge.name||"Gecko",Ge.gecko=oe,Ge.version=Ge.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Ge.windowsphone&&(z||Ge.silk)?(Ge.android=oe,Ge.osname="Android"):!Ge.windowsphone&&x?(Ge[x]=oe,Ge.ios=oe,Ge.osname="iOS"):Oe?(Ge.mac=oe,Ge.osname="macOS"):et?(Ge.xbox=oe,Ge.osname="Xbox"):Se?(Ge.windows=oe,Ge.osname="Windows"):Ce&&(Ge.linux=oe,Ge.osname="Linux");function it(Ve){switch(Ve){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var Qe="";Ge.windows?Qe=it(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Ge.windowsphone?Qe=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Ge.mac?(Qe=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Qe=Qe.replace(/[_\s]/g,".")):x?(Qe=a(/os (\d+([_\s]\d+)*) like mac os x/i),Qe=Qe.replace(/[_\s]/g,".")):z?Qe=a(/android[ \/-](\d+(\.\d+)*)/i):Ge.webos?Qe=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Ge.blackberry?Qe=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Ge.bada?Qe=a(/bada\/(\d+(\.\d+)*)/i):Ge.tizen&&(Qe=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Qe&&(Ge.osversion=Qe);var Ye=!Ge.windows&&Qe.split(".")[0];return ke||re||x=="ipad"||z&&(Ye==3||Ye>=4&&!Ue)||Ge.silk?Ge.tablet=oe:(Ue||x=="iphone"||x=="ipod"||z||ee||Ge.blackberry||Ge.webos||Ge.bada)&&(Ge.mobile=oe),Ge.msedge||Ge.msie&&Ge.version>=10||Ge.yandexbrowser&&Ge.version>=15||Ge.vivaldi&&Ge.version>=1||Ge.chrome&&Ge.version>=20||Ge.samsungBrowser&&Ge.version>=4||Ge.whale&&ue([Ge.version,"1.0"])===1||Ge.mzbrowser&&ue([Ge.version,"6.0"])===1||Ge.focus&&ue([Ge.version,"1.0"])===1||Ge.firefox&&Ge.version>=20||Ge.safari&&Ge.version>=6||Ge.opera&&Ge.version>=10||Ge.ios&&Ge.osversion&&Ge.osversion.split(".")[0]>=6||Ge.blackberry&&Ge.version>=10.1||Ge.chromium&&Ge.version>=20?Ge.a=oe:Ge.msie&&Ge.version<10||Ge.chrome&&Ge.version<20||Ge.firefox&&Ge.version<20||Ge.safari&&Ge.version<6||Ge.opera&&Ge.version<10||Ge.ios&&Ge.osversion&&Ge.osversion.split(".")[0]<6||Ge.chromium&&Ge.version<20?Ge.c=oe:Ge.x=oe,Ge}var se=te(typeof navigator!="undefined"&&navigator.userAgent||"");se.test=function(ne){for(var a=0;a=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function ae(ne,a,y){var x=se;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=te(y));var b=""+x.version;for(var z in ne)if(ne.hasOwnProperty(z)&&x[z]){if(typeof ne[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ne));return ue([b,ne[z]])<0}return a}function ie(ne,a,y){return!ae(ne,a,y)}return se.isUnsupportedBrowser=ae,se.compareVersions=ue,se.check=ie,se._detect=te,se.detect=te,se})},{}],89:[function(E,Pe,be){},{}],90:[function(E,Pe,be){(function(oe){(function(){"use strict";var te=E("base64-js"),se=E("ieee754");be.Buffer=ae,be.SlowBuffer=ce,be.INSPECT_MAX_BYTES=50;var de=2147483647;be.kMaxLength=de,ae.TYPED_ARRAY_SUPPORT=le(),!ae.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function le(){try{var Ee=new Uint8Array(1);return Ee.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ee.foo()===42}catch(xe){return!1}}Object.defineProperty(ae.prototype,"parent",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.buffer}}),Object.defineProperty(ae.prototype,"offset",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.byteOffset}});function ue(Ee){if(Ee>de)throw new RangeError('The value "'+Ee+'" is invalid for option "size"');var xe=new Uint8Array(Ee);return xe.__proto__=ae.prototype,xe}function ae(Ee,xe,we){if(typeof Ee=="number"){if(typeof xe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Ee)}return ie(Ee,xe,we)}typeof Symbol!="undefined"&&Symbol.species!=null&&ae[Symbol.species]===ae&&Object.defineProperty(ae,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),ae.poolSize=8192;function ie(Ee,xe,we){if(typeof Ee=="string")return x(Ee,xe);if(ArrayBuffer.isView(Ee))return b(Ee);if(Ee==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee);if(He(Ee,ArrayBuffer)||Ee&&He(Ee.buffer,ArrayBuffer))return z(Ee,xe,we);if(typeof Ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Be=Ee.valueOf&&Ee.valueOf();if(Be!=null&&Be!==Ee)return ae.from(Be,xe,we);var Ze=ee(Ee);if(Ze)return Ze;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]=="function")return ae.from(Ee[Symbol.toPrimitive]("string"),xe,we);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee)}ae.from=function(Ee,xe,we){return ie(Ee,xe,we)},ae.prototype.__proto__=Uint8Array.prototype,ae.__proto__=Uint8Array;function ne(Ee){if(typeof Ee!="number")throw new TypeError('"size" argument must be of type number');if(Ee<0)throw new RangeError('The value "'+Ee+'" is invalid for option "size"')}function a(Ee,xe,we){return ne(Ee),Ee<=0?ue(Ee):xe!==void 0?typeof we=="string"?ue(Ee).fill(xe,we):ue(Ee).fill(xe):ue(Ee)}ae.alloc=function(Ee,xe,we){return a(Ee,xe,we)};function y(Ee){return ne(Ee),ue(Ee<0?0:re(Ee)|0)}ae.allocUnsafe=function(Ee){return y(Ee)},ae.allocUnsafeSlow=function(Ee){return y(Ee)};function x(Ee,xe){if((typeof xe!="string"||xe==="")&&(xe="utf8"),!ae.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);var we=me(Ee,xe)|0,Be=ue(we),Ze=Be.write(Ee,xe);return Ze!==we&&(Be=Be.slice(0,Ze)),Be}function b(Ee){for(var xe=Ee.length<0?0:re(Ee.length)|0,we=ue(xe),Be=0;Be=de)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de.toString(16)+" bytes");return Ee|0}function ce(Ee){return+Ee!=Ee&&(Ee=0),ae.alloc(+Ee)}ae.isBuffer=function(xe){return xe!=null&&xe._isBuffer===!0&&xe!==ae.prototype},ae.compare=function(xe,we){if(He(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),He(we,Uint8Array)&&(we=ae.from(we,we.offset,we.byteLength)),!ae.isBuffer(xe)||!ae.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(xe===we)return 0;for(var Be=xe.length,Ze=we.length,Ke=0,Ne=Math.min(Be,Ze);Ke2&&arguments[2]===!0;if(!Be&&we===0)return 0;for(var Ze=!1;;)switch(xe){case"ascii":case"latin1":case"binary":return we;case"utf8":case"utf-8":return Te(Ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we*2;case"hex":return we>>>1;case"base64":return Ie(Ee).length;default:if(Ze)return Be?-1:Te(Ee).length;xe=(""+xe).toLowerCase(),Ze=!0}}ae.byteLength=me;function ve(Ee,xe,we){var Be=!1;if((xe===void 0||xe<0)&&(xe=0),xe>this.length||((we===void 0||we>this.length)&&(we=this.length),we<=0)||(we>>>=0,xe>>>=0,we<=xe))return"";for(Ee||(Ee="utf8");;)switch(Ee){case"hex":return Ye(this,xe,we);case"utf8":case"utf-8":return Ue(this,xe,we);case"ascii":return it(this,xe,we);case"latin1":case"binary":return Qe(this,xe,we);case"base64":return ke(this,xe,we);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ve(this,xe,we);default:if(Be)throw new TypeError("Unknown encoding: "+Ee);Ee=(Ee+"").toLowerCase(),Be=!0}}ae.prototype._isBuffer=!0;function ge(Ee,xe,we){var Be=Ee[xe];Ee[xe]=Ee[we],Ee[we]=Be}ae.prototype.swap16=function(){var xe=this.length;if(xe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(xe+=" ... "),""},ae.prototype.compare=function(xe,we,Be,Ze,Ke){if(He(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),!ae.isBuffer(xe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof xe);if(we===void 0&&(we=0),Be===void 0&&(Be=xe?xe.length:0),Ze===void 0&&(Ze=0),Ke===void 0&&(Ke=this.length),we<0||Be>xe.length||Ze<0||Ke>this.length)throw new RangeError("out of range index");if(Ze>=Ke&&we>=Be)return 0;if(Ze>=Ke)return-1;if(we>=Be)return 1;if(we>>>=0,Be>>>=0,Ze>>>=0,Ke>>>=0,this===xe)return 0;for(var Ne=Ke-Ze,at=Be-we,ht=Math.min(Ne,at),ft=this.slice(Ze,Ke),yt=xe.slice(we,Be),st=0;st2147483647?we=2147483647:we<-2147483648&&(we=-2147483648),we=+we,je(we)&&(we=Ze?0:Ee.length-1),we<0&&(we=Ee.length+we),we>=Ee.length){if(Ze)return-1;we=Ee.length-1}else if(we<0)if(Ze)we=0;else return-1;if(typeof xe=="string"&&(xe=ae.from(xe,Be)),ae.isBuffer(xe))return xe.length===0?-1:fe(Ee,xe,we,Be,Ze);if(typeof xe=="number")return xe=xe&255,typeof Uint8Array.prototype.indexOf=="function"?Ze?Uint8Array.prototype.indexOf.call(Ee,xe,we):Uint8Array.prototype.lastIndexOf.call(Ee,xe,we):fe(Ee,[xe],we,Be,Ze);throw new TypeError("val must be string, number or Buffer")}function fe(Ee,xe,we,Be,Ze){var Ke=1,Ne=Ee.length,at=xe.length;if(Be!==void 0&&(Be=String(Be).toLowerCase(),Be==="ucs2"||Be==="ucs-2"||Be==="utf16le"||Be==="utf-16le")){if(Ee.length<2||xe.length<2)return-1;Ke=2,Ne/=2,at/=2,we/=2}function ht(nt,lt){return Ke===1?nt[lt]:nt.readUInt16BE(lt*Ke)}var ft;if(Ze){var yt=-1;for(ft=we;ftNe&&(we=Ne-at),ft=we;ft>=0;ft--){for(var st=!0,pt=0;ptZe&&(Be=Ze)):Be=Ze;var Ke=xe.length;Be>Ke/2&&(Be=Ke/2);for(var Ne=0;Ne>>0,isFinite(Be)?(Be=Be>>>0,Ze===void 0&&(Ze="utf8")):(Ze=Be,Be=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Ke=this.length-we;if((Be===void 0||Be>Ke)&&(Be=Ke),xe.length>0&&(Be<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ze||(Ze="utf8");for(var Ne=!1;;)switch(Ze){case"hex":return ye(this,xe,we,Be);case"utf8":case"utf-8":return Se(this,xe,we,Be);case"ascii":return Oe(this,xe,we,Be);case"latin1":case"binary":return Ce(this,xe,we,Be);case"base64":return Le(this,xe,we,Be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return De(this,xe,we,Be);default:if(Ne)throw new TypeError("Unknown encoding: "+Ze);Ze=(""+Ze).toLowerCase(),Ne=!0}},ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ke(Ee,xe,we){return xe===0&&we===Ee.length?te.fromByteArray(Ee):te.fromByteArray(Ee.slice(xe,we))}function Ue(Ee,xe,we){we=Math.min(Ee.length,we);for(var Be=[],Ze=xe;Ze239?4:Ke>223?3:Ke>191?2:1;if(Ze+at<=we){var ht,ft,yt,st;switch(at){case 1:Ke<128&&(Ne=Ke);break;case 2:ht=Ee[Ze+1],(ht&192)===128&&(st=(Ke&31)<<6|ht&63,st>127&&(Ne=st));break;case 3:ht=Ee[Ze+1],ft=Ee[Ze+2],(ht&192)===128&&(ft&192)===128&&(st=(Ke&15)<<12|(ht&63)<<6|ft&63,st>2047&&(st<55296||st>57343)&&(Ne=st));break;case 4:ht=Ee[Ze+1],ft=Ee[Ze+2],yt=Ee[Ze+3],(ht&192)===128&&(ft&192)===128&&(yt&192)===128&&(st=(Ke&15)<<18|(ht&63)<<12|(ft&63)<<6|yt&63,st>65535&&st<1114112&&(Ne=st))}}Ne===null?(Ne=65533,at=1):Ne>65535&&(Ne-=65536,Be.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),Be.push(Ne),Ze+=at}return Ge(Be)}var et=4096;function Ge(Ee){var xe=Ee.length;if(xe<=et)return String.fromCharCode.apply(String,Ee);for(var we="",Be=0;BeBe)&&(we=Be);for(var Ze="",Ke=xe;KeBe&&(xe=Be),we<0?(we+=Be,we<0&&(we=0)):we>Be&&(we=Be),wewe)throw new RangeError("Trying to access beyond buffer length")}ae.prototype.readUIntLE=function(xe,we,Be){xe=xe>>>0,we=we>>>0,Be||Me(xe,we,this.length);for(var Ze=this[xe],Ke=1,Ne=0;++Ne>>0,we=we>>>0,Be||Me(xe,we,this.length);for(var Ze=this[xe+--we],Ke=1;we>0&&(Ke*=256);)Ze+=this[xe+--we]*Ke;return Ze},ae.prototype.readUInt8=function(xe,we){return xe=xe>>>0,we||Me(xe,1,this.length),this[xe]},ae.prototype.readUInt16LE=function(xe,we){return xe=xe>>>0,we||Me(xe,2,this.length),this[xe]|this[xe+1]<<8},ae.prototype.readUInt16BE=function(xe,we){return xe=xe>>>0,we||Me(xe,2,this.length),this[xe]<<8|this[xe+1]},ae.prototype.readUInt32LE=function(xe,we){return xe=xe>>>0,we||Me(xe,4,this.length),(this[xe]|this[xe+1]<<8|this[xe+2]<<16)+this[xe+3]*16777216},ae.prototype.readUInt32BE=function(xe,we){return xe=xe>>>0,we||Me(xe,4,this.length),this[xe]*16777216+(this[xe+1]<<16|this[xe+2]<<8|this[xe+3])},ae.prototype.readIntLE=function(xe,we,Be){xe=xe>>>0,we=we>>>0,Be||Me(xe,we,this.length);for(var Ze=this[xe],Ke=1,Ne=0;++Ne=Ke&&(Ze-=Math.pow(2,8*we)),Ze},ae.prototype.readIntBE=function(xe,we,Be){xe=xe>>>0,we=we>>>0,Be||Me(xe,we,this.length);for(var Ze=we,Ke=1,Ne=this[xe+--Ze];Ze>0&&(Ke*=256);)Ne+=this[xe+--Ze]*Ke;return Ke*=128,Ne>=Ke&&(Ne-=Math.pow(2,8*we)),Ne},ae.prototype.readInt8=function(xe,we){return xe=xe>>>0,we||Me(xe,1,this.length),this[xe]&128?(255-this[xe]+1)*-1:this[xe]},ae.prototype.readInt16LE=function(xe,we){xe=xe>>>0,we||Me(xe,2,this.length);var Be=this[xe]|this[xe+1]<<8;return Be&32768?Be|4294901760:Be},ae.prototype.readInt16BE=function(xe,we){xe=xe>>>0,we||Me(xe,2,this.length);var Be=this[xe+1]|this[xe]<<8;return Be&32768?Be|4294901760:Be},ae.prototype.readInt32LE=function(xe,we){return xe=xe>>>0,we||Me(xe,4,this.length),this[xe]|this[xe+1]<<8|this[xe+2]<<16|this[xe+3]<<24},ae.prototype.readInt32BE=function(xe,we){return xe=xe>>>0,we||Me(xe,4,this.length),this[xe]<<24|this[xe+1]<<16|this[xe+2]<<8|this[xe+3]},ae.prototype.readFloatLE=function(xe,we){return xe=xe>>>0,we||Me(xe,4,this.length),se.read(this,xe,!0,23,4)},ae.prototype.readFloatBE=function(xe,we){return xe=xe>>>0,we||Me(xe,4,this.length),se.read(this,xe,!1,23,4)},ae.prototype.readDoubleLE=function(xe,we){return xe=xe>>>0,we||Me(xe,8,this.length),se.read(this,xe,!0,52,8)},ae.prototype.readDoubleBE=function(xe,we){return xe=xe>>>0,we||Me(xe,8,this.length),se.read(this,xe,!1,52,8)};function Re(Ee,xe,we,Be,Ze,Ke){if(!ae.isBuffer(Ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(xe>Ze||xeEe.length)throw new RangeError("Index out of range")}ae.prototype.writeUIntLE=function(xe,we,Be,Ze){if(xe=+xe,we=we>>>0,Be=Be>>>0,!Ze){var Ke=Math.pow(2,8*Be)-1;Re(this,xe,we,Be,Ke,0)}var Ne=1,at=0;for(this[we]=xe&255;++at>>0,Be=Be>>>0,!Ze){var Ke=Math.pow(2,8*Be)-1;Re(this,xe,we,Be,Ke,0)}var Ne=Be-1,at=1;for(this[we+Ne]=xe&255;--Ne>=0&&(at*=256);)this[we+Ne]=xe/at&255;return we+Be},ae.prototype.writeUInt8=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,1,255,0),this[we]=xe&255,we+1},ae.prototype.writeUInt16LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,65535,0),this[we]=xe&255,this[we+1]=xe>>>8,we+2},ae.prototype.writeUInt16BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,65535,0),this[we]=xe>>>8,this[we+1]=xe&255,we+2},ae.prototype.writeUInt32LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,4294967295,0),this[we+3]=xe>>>24,this[we+2]=xe>>>16,this[we+1]=xe>>>8,this[we]=xe&255,we+4},ae.prototype.writeUInt32BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,4294967295,0),this[we]=xe>>>24,this[we+1]=xe>>>16,this[we+2]=xe>>>8,this[we+3]=xe&255,we+4},ae.prototype.writeIntLE=function(xe,we,Be,Ze){if(xe=+xe,we=we>>>0,!Ze){var Ke=Math.pow(2,8*Be-1);Re(this,xe,we,Be,Ke-1,-Ke)}var Ne=0,at=1,ht=0;for(this[we]=xe&255;++Ne>0)-ht&255;return we+Be},ae.prototype.writeIntBE=function(xe,we,Be,Ze){if(xe=+xe,we=we>>>0,!Ze){var Ke=Math.pow(2,8*Be-1);Re(this,xe,we,Be,Ke-1,-Ke)}var Ne=Be-1,at=1,ht=0;for(this[we+Ne]=xe&255;--Ne>=0&&(at*=256);)xe<0&&ht===0&&this[we+Ne+1]!==0&&(ht=1),this[we+Ne]=(xe/at>>0)-ht&255;return we+Be},ae.prototype.writeInt8=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,1,127,-128),xe<0&&(xe=255+xe+1),this[we]=xe&255,we+1},ae.prototype.writeInt16LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,32767,-32768),this[we]=xe&255,this[we+1]=xe>>>8,we+2},ae.prototype.writeInt16BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,32767,-32768),this[we]=xe>>>8,this[we+1]=xe&255,we+2},ae.prototype.writeInt32LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,2147483647,-2147483648),this[we]=xe&255,this[we+1]=xe>>>8,this[we+2]=xe>>>16,this[we+3]=xe>>>24,we+4},ae.prototype.writeInt32BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,2147483647,-2147483648),xe<0&&(xe=4294967295+xe+1),this[we]=xe>>>24,this[we+1]=xe>>>16,this[we+2]=xe>>>8,this[we+3]=xe&255,we+4};function ze(Ee,xe,we,Be,Ze,Ke){if(we+Be>Ee.length)throw new RangeError("Index out of range");if(we<0)throw new RangeError("Index out of range")}function rt(Ee,xe,we,Be,Ze){return xe=+xe,we=we>>>0,Ze||ze(Ee,xe,we,4,34028234663852886e22,-34028234663852886e22),se.write(Ee,xe,we,Be,23,4),we+4}ae.prototype.writeFloatLE=function(xe,we,Be){return rt(this,xe,we,!0,Be)},ae.prototype.writeFloatBE=function(xe,we,Be){return rt(this,xe,we,!1,Be)};function $e(Ee,xe,we,Be,Ze){return xe=+xe,we=we>>>0,Ze||ze(Ee,xe,we,8,17976931348623157e292,-17976931348623157e292),se.write(Ee,xe,we,Be,52,8),we+8}ae.prototype.writeDoubleLE=function(xe,we,Be){return $e(this,xe,we,!0,Be)},ae.prototype.writeDoubleBE=function(xe,we,Be){return $e(this,xe,we,!1,Be)},ae.prototype.copy=function(xe,we,Be,Ze){if(!ae.isBuffer(xe))throw new TypeError("argument should be a Buffer");if(Be||(Be=0),!Ze&&Ze!==0&&(Ze=this.length),we>=xe.length&&(we=xe.length),we||(we=0),Ze>0&&Ze=this.length)throw new RangeError("Index out of range");if(Ze<0)throw new RangeError("sourceEnd out of bounds");Ze>this.length&&(Ze=this.length),xe.length-we=0;--Ne)xe[Ne+we]=this[Ne+Be];else Uint8Array.prototype.set.call(xe,this.subarray(Be,Ze),we);return Ke},ae.prototype.fill=function(xe,we,Be,Ze){if(typeof xe=="string"){if(typeof we=="string"?(Ze=we,we=0,Be=this.length):typeof Be=="string"&&(Ze=Be,Be=this.length),Ze!==void 0&&typeof Ze!="string")throw new TypeError("encoding must be a string");if(typeof Ze=="string"&&!ae.isEncoding(Ze))throw new TypeError("Unknown encoding: "+Ze);if(xe.length===1){var Ke=xe.charCodeAt(0);(Ze==="utf8"&&Ke<128||Ze==="latin1")&&(xe=Ke)}}else typeof xe=="number"&&(xe=xe&255);if(we<0||this.length>>0,Be=Be===void 0?this.length:Be>>>0,xe||(xe=0);var Ne;if(typeof xe=="number")for(Ne=we;Ne55295&&we<57344){if(!Ze){if(we>56319){(xe-=3)>-1&&Ke.push(239,191,189);continue}else if(Ne+1===Be){(xe-=3)>-1&&Ke.push(239,191,189);continue}Ze=we;continue}if(we<56320){(xe-=3)>-1&&Ke.push(239,191,189),Ze=we;continue}we=(Ze-55296<<10|we-56320)+65536}else Ze&&(xe-=3)>-1&&Ke.push(239,191,189);if(Ze=null,we<128){if((xe-=1)<0)break;Ke.push(we)}else if(we<2048){if((xe-=2)<0)break;Ke.push(we>>6|192,we&63|128)}else if(we<65536){if((xe-=3)<0)break;Ke.push(we>>12|224,we>>6&63|128,we&63|128)}else if(we<1114112){if((xe-=4)<0)break;Ke.push(we>>18|240,we>>12&63|128,we>>6&63|128,we&63|128)}else throw new Error("Invalid code point")}return Ke}function Je(Ee){for(var xe=[],we=0;we>8,Ze=we%256,Ke.push(Ze),Ke.push(Be);return Ke}function Ie(Ee){return te.toByteArray(_e(Ee))}function Xe(Ee,xe,we,Be){for(var Ze=0;Ze=xe.length||Ze>=Ee.length);++Ze)xe[Ze+we]=Ee[Ze];return Ze}function He(Ee,xe){return Ee instanceof xe||Ee!=null&&Ee.constructor!=null&&Ee.constructor.name!=null&&Ee.constructor.name===xe.name}function je(Ee){return Ee!==Ee}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,Pe,be){Pe.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,Pe,be){"use strict";var oe=E("get-intrinsic"),te=E("./"),se=te(oe("String.prototype.indexOf"));Pe.exports=function(le,ue){var ae=oe(le,!!ue);return typeof ae=="function"&&se(le,".prototype.")>-1?te(ae):ae}},{"./":93,"get-intrinsic":348}],93:[function(E,Pe,be){"use strict";var oe=E("function-bind"),te=E("get-intrinsic"),se=te("%Function.prototype.apply%"),de=te("%Function.prototype.call%"),le=te("%Reflect.apply%",!0)||oe.call(de,se),ue=te("%Object.getOwnPropertyDescriptor%",!0),ae=te("%Object.defineProperty%",!0),ie=te("%Math.max%");if(ae)try{ae({},"a",{value:1})}catch(a){ae=null}Pe.exports=function(y){var x=le(oe,de,arguments);if(ue&&ae){var b=ue(x,"length");b.configurable&&ae(x,"length",{value:1+ie(0,y.length-(arguments.length-1))})}return x};var ne=function(){return le(oe,se,arguments)};ae?ae(Pe.exports,"apply",{value:ne}):Pe.exports.apply=ne},{"function-bind":347,"get-intrinsic":348}],94:[function(E,Pe,be){"use strict";var oe=Array.prototype.slice;Pe.exports=te;function te(de,le){if(!(this instanceof te))return new te(de,le);this.src=de,this._withAccess=le}te.prototype.withAccess=function(de){return this._withAccess=de!==!1,this},te.prototype.pick=function(de){return Array.isArray(de)||(de=oe.call(arguments)),de.length&&(this.keys=de),this},te.prototype.to=function(de){if(de=de||{},!this.src)return de;var le=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ue=0;ue>8&255]},Te=function(Ne){return[Ne&255,Ne>>8&255,Ne>>16&255,Ne>>24&255]},Je=function(Ne){return Ne[3]<<24|Ne[2]<<16|Ne[1]<<8|Ne[0]},Fe=function(Ne){return $e(Ne,23,4)},Ie=function(Ne){return $e(Ne,52,8)},Xe=function(Ne,at){ce(Ne[De],at,{get:function(){return Se(this)[at]}})},He=function(Ne,at,ht,ft){var yt=x(ht),st=Se(Ne);if(yt+at>st.byteLength)throw Re(Ue);var pt=Se(st.buffer).bytes,nt=yt+st.byteOffset,lt=ve(pt,nt,nt+at);return ft?lt:rt(lt)},je=function(Ne,at,ht,ft,yt,st){var pt=x(ht),nt=Se(Ne);if(pt+at>nt.byteLength)throw Re(Ue);for(var lt=Se(nt.buffer).bytes,dt=pt+nt.byteOffset,gt=ft(+yt),Pt=0;Ptyt)throw Re("Wrong offset");if(ft=ft===void 0?yt-st:y(ft),st+ft>yt)throw Re(ke);Oe(this,{buffer:at,byteLength:ft,byteOffset:st}),se||(this.buffer=at,this.byteLength=ft,this.byteOffset=st)},Ye=Qe[De],se&&(Xe(Ge,"byteLength"),Xe(Qe,"buffer"),Xe(Qe,"byteLength"),Xe(Qe,"byteOffset")),ae(Ye,{getInt8:function(at){return He(this,1,at)[0]<<24>>24},getUint8:function(at){return He(this,1,at)[0]},getInt16:function(at){var ht=He(this,2,at,arguments.length>1?arguments[1]:void 0);return(ht[1]<<8|ht[0])<<16>>16},getUint16:function(at){var ht=He(this,2,at,arguments.length>1?arguments[1]:void 0);return ht[1]<<8|ht[0]},getInt32:function(at){return Je(He(this,4,at,arguments.length>1?arguments[1]:void 0))},getUint32:function(at){return Je(He(this,4,at,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(at){return ut(He(this,4,at,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(at){return ut(He(this,8,at,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(at,ht){je(this,1,at,_e,ht)},setUint8:function(at,ht){je(this,1,at,_e,ht)},setInt16:function(at,ht){je(this,2,at,We,ht,arguments.length>2?arguments[2]:void 0)},setUint16:function(at,ht){je(this,2,at,We,ht,arguments.length>2?arguments[2]:void 0)},setInt32:function(at,ht){je(this,4,at,Te,ht,arguments.length>2?arguments[2]:void 0)},setUint32:function(at,ht){je(this,4,at,Te,ht,arguments.length>2?arguments[2]:void 0)},setFloat32:function(at,ht){je(this,4,at,Fe,ht,arguments.length>2?arguments[2]:void 0)},setFloat64:function(at,ht){je(this,8,at,Ie,ht,arguments.length>2?arguments[2]:void 0)}});else{var Ee=fe&&et.name!==Ce;if(!ie(function(){et(1)})||!ie(function(){new et(-1)})||ie(function(){return new et,new et(1.5),new et(NaN),Ee&&!ye})){Ge=function(at){return ne(this,it),new et(x(at))},Ge[De]=it;for(var xe=re(et),we=0,Be;xe.length>we;)(Be=xe[we++])in Ge||ue(Ge,Be,et[Be]);it.constructor=Ge}else Ee&&ye&&ue(et,"name",Ce);ee&&z(Ye)!==Ve&&ee(Ye,Ve);var Ze=new Qe(new Ge(2)),Ke=te(Ye.setInt8);Ze.setInt8(0,2147483648),Ze.setInt8(1,2147483649),(Ze.getInt8(0)||!Ze.getInt8(1))&&ae(Ye,{setInt8:function(at,ht){Ke(this,at,ht<<24>>24)},setUint8:function(at,ht){Ke(this,at,ht<<24>>24)}},{unsafe:!0})}ge(Ge,Ce),ge(Qe,Le),Pe.exports={ArrayBuffer:Ge,DataView:Qe}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,Pe,be){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=Math.min;Pe.exports=[].copyWithin||function(ue,ae){var ie=oe(this),ne=se(ie),a=te(ue,ne),y=te(ae,ne),x=arguments.length>2?arguments[2]:void 0,b=de((x===void 0?ne:te(x,ne))-y,ne-a),z=1;for(y0;)y in ie?ie[a]=ie[y]:delete ie[a],a+=z,y+=z;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,Pe,be){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like");Pe.exports=function(le){for(var ue=oe(this),ae=se(ue),ie=arguments.length,ne=te(ie>1?arguments[1]:void 0,ae),a=ie>2?arguments[2]:void 0,y=a===void 0?ae:te(a,ae);y>ne;)ue[ne++]=le;return ue}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,Pe,be){"use strict";var oe=E("../internals/array-iteration").forEach,te=E("../internals/array-method-is-strict"),se=te("forEach");Pe.exports=se?[].forEach:function(le){return oe(this,le,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,Pe,be){var oe=E("../internals/length-of-array-like");Pe.exports=function(te,se){for(var de=0,le=oe(se),ue=new te(le);le>de;)ue[de]=se[de++];return ue}},{"../internals/length-of-array-like":188}],109:[function(E,Pe,be){"use strict";var oe=E("../internals/global"),te=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/to-object"),le=E("../internals/call-with-safe-iteration-closing"),ue=E("../internals/is-array-iterator-method"),ae=E("../internals/is-constructor"),ie=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=oe.Array;Pe.exports=function(z){var ee=de(z),re=ae(this),ce=arguments.length,me=ce>1?arguments[1]:void 0,ve=me!==void 0;ve&&(me=te(me,ce>2?arguments[2]:void 0));var ge=y(ee),pe=0,fe,ye,Se,Oe,Ce,Le;if(ge&&!(this==x&&ue(ge)))for(Oe=a(ee,ge),Ce=Oe.next,ye=re?new this:[];!(Se=se(Ce,Oe)).done;pe++)Le=ve?le(Oe,me,[Se.value,pe],!0):Se.value,ne(ye,pe,Le);else for(fe=ie(ee),ye=re?new this(fe):x(fe);fe>pe;pe++)Le=ve?me(ee[pe],pe):ee[pe],ne(ye,pe,Le);return ye.length=pe,ye}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,Pe,be){var oe=E("../internals/to-indexed-object"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=function(le){return function(ue,ae,ie){var ne=oe(ue),a=se(ne),y=te(ie,a),x;if(le&&ae!=ae){for(;a>y;)if(x=ne[y++],x!=x)return!0}else for(;a>y;y++)if((le||y in ne)&&ne[y]===ae)return le||y||0;return!le&&-1}};Pe.exports={includes:de(!0),indexOf:de(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,Pe,be){var oe=E("../internals/function-bind-context"),te=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-object"),le=E("../internals/length-of-array-like"),ue=E("../internals/array-species-create"),ae=te([].push),ie=function(ne){var a=ne==1,y=ne==2,x=ne==3,b=ne==4,z=ne==6,ee=ne==7,re=ne==5||z;return function(ce,me,ve,ge){for(var pe=de(ce),fe=se(pe),ye=oe(me,ve),Se=le(fe),Oe=0,Ce=ge||ue,Le=a?Ce(ce,Se):y||ee?Ce(ce,0):void 0,De,ke;Se>Oe;Oe++)if((re||Oe in fe)&&(De=fe[Oe],ke=ye(De,Oe,pe),ne))if(a)Le[Oe]=ke;else if(ke)switch(ne){case 3:return!0;case 5:return De;case 6:return Oe;case 2:ae(Le,De)}else switch(ne){case 4:return!1;case 7:ae(Le,De)}return z?-1:x||b?b:Le}};Pe.exports={forEach:ie(0),map:ie(1),filter:ie(2),some:ie(3),every:ie(4),find:ie(5),findIndex:ie(6),filterReject:ie(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,Pe,be){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/to-indexed-object"),se=E("../internals/to-integer-or-infinity"),de=E("../internals/length-of-array-like"),le=E("../internals/array-method-is-strict"),ue=Math.min,ae=[].lastIndexOf,ie=!!ae&&1/[1].lastIndexOf(1,-0)<0,ne=le("lastIndexOf"),a=ie||!ne;Pe.exports=a?function(x){if(ie)return oe(ae,this,arguments)||0;var b=te(this),z=de(b),ee=z-1;for(arguments.length>1&&(ee=ue(ee,se(arguments[1]))),ee<0&&(ee=z+ee);ee>=0;ee--)if(ee in b&&b[ee]===x)return ee||0;return-1}:ae},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,Pe,be){var oe=E("../internals/fails"),te=E("../internals/well-known-symbol"),se=E("../internals/engine-v8-version"),de=te("species");Pe.exports=function(le){return se>=51||!oe(function(){var ue=[],ae=ue.constructor={};return ae[de]=function(){return{foo:1}},ue[le](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,Pe,be){"use strict";var oe=E("../internals/fails");Pe.exports=function(te,se){var de=[][te];return!!de&&oe(function(){de.call(null,se||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/a-callable"),se=E("../internals/to-object"),de=E("../internals/indexed-object"),le=E("../internals/length-of-array-like"),ue=oe.TypeError,ae=function(ie){return function(ne,a,y,x){te(a);var b=se(ne),z=de(b),ee=le(b),re=ie?ee-1:0,ce=ie?-1:1;if(y<2)for(;;){if(re in z){x=z[re],re+=ce;break}if(re+=ce,ie?re<0:ee<=re)throw ue("Reduce of empty array with no initial value")}for(;ie?re>=0:ee>re;re+=ce)re in z&&(x=a(x,z[re],re,b));return x}};Pe.exports={left:ae(!1),right:ae(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=E("../internals/create-property"),le=oe.Array,ue=Math.max;Pe.exports=function(ae,ie,ne){for(var a=se(ae),y=te(ie,a),x=te(ne===void 0?a:ne,a),b=le(ue(x-y,0)),z=0;y0;)ue[y]=ue[--y];y!==ne++&&(ue[y]=a)}return ue},le=function(ue,ae,ie,ne){for(var a=ae.length,y=ie.length,x=0,b=0;x0&&ae[0]<4?1:+(ae[0]+ae[1])),!ie&&te&&(ae=te.match(/Edge\/(\d+)/),(!ae||ae[1]>=74)&&(ae=te.match(/Chrome\/(\d+)/),ae&&(ie=+ae[1]))),Pe.exports=ie},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,Pe,be){var oe=E("../internals/engine-user-agent"),te=oe.match(/AppleWebKit\/(\d+)\./);Pe.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],148:[function(E,Pe,be){Pe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/object-get-own-property-descriptor").f,se=E("../internals/create-non-enumerable-property"),de=E("../internals/redefine"),le=E("../internals/set-global"),ue=E("../internals/copy-constructor-properties"),ae=E("../internals/is-forced");Pe.exports=function(ie,ne){var a=ie.target,y=ie.global,x=ie.stat,b,z,ee,re,ce,me;if(y?z=oe:x?z=oe[a]||le(a,{}):z=(oe[a]||{}).prototype,z)for(ee in ne){if(ce=ne[ee],ie.noTargetGet?(me=te(z,ee),re=me&&me.value):re=z[ee],b=ae(y?ee:a+(x?".":"#")+ee,ie.forced),!b&&re!==void 0){if(typeof ce==typeof re)continue;ue(ce,re)}(ie.sham||re&&re.sham)&&se(ce,"sham",!0),de(z,ee,ce,ie)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,Pe,be){Pe.exports=function(oe){try{return!!oe()}catch(te){return!0}}},{}],151:[function(E,Pe,be){"use strict";E("../modules/es.regexp.exec");var oe=E("../internals/function-uncurry-this"),te=E("../internals/redefine"),se=E("../internals/regexp-exec"),de=E("../internals/fails"),le=E("../internals/well-known-symbol"),ue=E("../internals/create-non-enumerable-property"),ae=le("species"),ie=RegExp.prototype;Pe.exports=function(ne,a,y,x){var b=le(ne),z=!de(function(){var me={};return me[b]=function(){return 7},""[ne](me)!=7}),ee=z&&!de(function(){var me=!1,ve=/a/;return ne==="split"&&(ve={},ve.constructor={},ve.constructor[ae]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return me=!0,null},ve[b](""),!me});if(!z||!ee||y){var re=oe(/./[b]),ce=a(b,""[ne],function(me,ve,ge,pe,fe){var ye=oe(me),Se=ve.exec;return Se===se||Se===ie.exec?z&&!fe?{done:!0,value:re(ve,ge,pe)}:{done:!0,value:ye(ge,ve,pe)}:{done:!1}});te(String.prototype,ne,ce[0]),te(ie,b,ce[1])}x&&ue(ie[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,Pe,be){var oe=E("../internals/function-bind-native"),te=Function.prototype,se=te.apply,de=te.call;Pe.exports=typeof Reflect=="object"&&Reflect.apply||(oe?de.bind(se):function(){return de.apply(se,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/a-callable"),se=E("../internals/function-bind-native"),de=oe(oe.bind);Pe.exports=function(le,ue){return te(le),ue===void 0?le:se?de(le,ue):function(){return le.apply(ue,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,Pe,be){var oe=E("../internals/fails");Pe.exports=!oe(function(){var te=function(){}.bind();return typeof te!="function"||te.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,Pe,be){var oe=E("../internals/function-bind-native"),te=Function.prototype.call;Pe.exports=oe?te.bind(te):function(){return te.apply(te,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,Pe,be){var oe=E("../internals/descriptors"),te=E("../internals/has-own-property"),se=Function.prototype,de=oe&&Object.getOwnPropertyDescriptor,le=te(se,"name"),ue=le&&function(){}.name==="something",ae=le&&(!oe||oe&&de(se,"name").configurable);Pe.exports={EXISTS:le,PROPER:ue,CONFIGURABLE:ae}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,Pe,be){var oe=E("../internals/function-bind-native"),te=Function.prototype,se=te.bind,de=te.call,le=oe&&se.bind(de,de);Pe.exports=oe?function(ue){return ue&&le(ue)}:function(ue){return ue&&function(){return de.apply(ue,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/is-callable"),se=function(de){return te(de)?de:void 0};Pe.exports=function(de,le){return arguments.length<2?se(oe[de]):oe[de]&&oe[de][le]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,Pe,be){var oe=E("../internals/classof"),te=E("../internals/get-method"),se=E("../internals/iterators"),de=E("../internals/well-known-symbol"),le=de("iterator");Pe.exports=function(ue){if(ue!=null)return te(ue,le)||te(ue,"@@iterator")||se[oe(ue)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/an-object"),le=E("../internals/try-to-string"),ue=E("../internals/get-iterator-method"),ae=oe.TypeError;Pe.exports=function(ie,ne){var a=arguments.length<2?ue(ie):ne;if(se(a))return de(te(a,ie));throw ae(le(ie)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,Pe,be){var oe=E("../internals/a-callable");Pe.exports=function(te,se){var de=te[se];return de==null?void 0:oe(de)}},{"../internals/a-callable":95}],162:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),se=Math.floor,de=oe("".charAt),le=oe("".replace),ue=oe("".slice),ae=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ie=/\$([$&'`]|\d{1,2})/g;Pe.exports=function(ne,a,y,x,b,z){var ee=y+ne.length,re=x.length,ce=ie;return b!==void 0&&(b=te(b),ce=ae),le(z,ce,function(me,ve){var ge;switch(de(ve,0)){case"$":return"$";case"&":return ne;case"`":return ue(a,0,y);case"'":return ue(a,ee);case"<":ge=b[ue(ve,1,-1)];break;default:var pe=+ve;if(pe===0)return me;if(pe>re){var fe=se(pe/10);return fe===0?me:fe<=re?x[fe-1]===void 0?de(ve,1):x[fe-1]+de(ve,1):me}ge=x[pe-1]}return ge===void 0?"":ge})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,Pe,be){(function(oe){(function(){var te=function(se){return se&&se.Math==Math&&se};Pe.exports=te(typeof globalThis=="object"&&globalThis)||te(typeof window=="object"&&window)||te(typeof self=="object"&&self)||te(typeof oe=="object"&&oe)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),se=oe({}.hasOwnProperty);Pe.exports=Object.hasOwn||function(le,ue){return se(te(le),ue)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,Pe,be){Pe.exports={}},{}],166:[function(E,Pe,be){var oe=E("../internals/global");Pe.exports=function(te,se){var de=oe.console;de&&de.error&&(arguments.length==1?de.error(te):de.error(te,se))}},{"../internals/global":163}],167:[function(E,Pe,be){var oe=E("../internals/get-built-in");Pe.exports=oe("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,Pe,be){var oe=E("../internals/descriptors"),te=E("../internals/fails"),se=E("../internals/document-create-element");Pe.exports=!oe&&!te(function(){return Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,Pe,be){var oe=E("../internals/global"),te=oe.Array,se=Math.abs,de=Math.pow,le=Math.floor,ue=Math.log,ae=Math.LN2,ie=function(a,y,x){var b=te(x),z=x*8-y-1,ee=(1<>1,ce=y===23?de(2,-24)-de(2,-77):0,me=a<0||a===0&&1/a<0?1:0,ve=0,ge,pe,fe;for(a=se(a),a!=a||a===1/0?(pe=a!=a?1:0,ge=ee):(ge=le(ue(a)/ae),fe=de(2,-ge),a*fe<1&&(ge--,fe*=2),ge+re>=1?a+=ce/fe:a+=ce*de(2,1-re),a*fe>=2&&(ge++,fe/=2),ge+re>=ee?(pe=0,ge=ee):ge+re>=1?(pe=(a*fe-1)*de(2,y),ge=ge+re):(pe=a*de(2,re-1)*de(2,y),ge=0));y>=8;)b[ve++]=pe&255,pe/=256,y-=8;for(ge=ge<0;)b[ve++]=ge&255,ge/=256,z-=8;return b[--ve]|=me*128,b},ne=function(a,y){var x=a.length,b=x*8-y-1,z=(1<>1,re=b-7,ce=x-1,me=a[ce--],ve=me&127,ge;for(me>>=7;re>0;)ve=ve*256+a[ce--],re-=8;for(ge=ve&(1<<-re)-1,ve>>=-re,re+=y;re>0;)ge=ge*256+a[ce--],re-=8;if(ve===0)ve=1-ee;else{if(ve===z)return ge?NaN:me?-1/0:1/0;ge=ge+de(2,y),ve=ve-ee}return(me?-1:1)*ge*de(2,ve-y)};Pe.exports={pack:ie,unpack:ne}},{"../internals/global":163}],170:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/classof-raw"),le=oe.Object,ue=te("".split);Pe.exports=se(function(){return!le("z").propertyIsEnumerable(0)})?function(ae){return de(ae)=="String"?ue(ae,""):le(ae)}:le},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,Pe,be){var oe=E("../internals/is-callable"),te=E("../internals/is-object"),se=E("../internals/object-set-prototype-of");Pe.exports=function(de,le,ue){var ae,ie;return se&&oe(ae=le.constructor)&&ae!==ue&&te(ie=ae.prototype)&&ie!==ue.prototype&&se(de,ie),de}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/is-callable"),se=E("../internals/shared-store"),de=oe(Function.toString);te(se.inspectSource)||(se.inspectSource=function(le){return de(le)}),Pe.exports=se.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,Pe,be){var oe=E("../internals/native-weak-map"),te=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-object"),le=E("../internals/create-non-enumerable-property"),ue=E("../internals/has-own-property"),ae=E("../internals/shared-store"),ie=E("../internals/shared-key"),ne=E("../internals/hidden-keys"),a="Object already initialized",y=te.TypeError,x=te.WeakMap,b,z,ee,re=function(ye){return ee(ye)?z(ye):b(ye,{})},ce=function(ye){return function(Se){var Oe;if(!de(Se)||(Oe=z(Se)).type!==ye)throw y("Incompatible receiver, "+ye+" required");return Oe}};if(oe||ae.state){var me=ae.state||(ae.state=new x),ve=se(me.get),ge=se(me.has),pe=se(me.set);b=function(ye,Se){if(ge(me,ye))throw new y(a);return Se.facade=ye,pe(me,ye,Se),Se},z=function(ye){return ve(me,ye)||{}},ee=function(ye){return ge(me,ye)}}else{var fe=ie("state");ne[fe]=!0,b=function(ye,Se){if(ue(ye,fe))throw new y(a);return Se.facade=ye,le(ye,fe,Se),Se},z=function(ye){return ue(ye,fe)?ye[fe]:{}},ee=function(ye){return ue(ye,fe)}}Pe.exports={set:b,get:z,has:ee,enforce:re,getterFor:ce}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,Pe,be){var oe=E("../internals/well-known-symbol"),te=E("../internals/iterators"),se=oe("iterator"),de=Array.prototype;Pe.exports=function(le){return le!==void 0&&(te.Array===le||de[se]===le)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,Pe,be){var oe=E("../internals/classof-raw");Pe.exports=Array.isArray||function(se){return oe(se)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,Pe,be){Pe.exports=function(oe){return typeof oe=="function"}},{}],177:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/fails"),se=E("../internals/is-callable"),de=E("../internals/classof"),le=E("../internals/get-built-in"),ue=E("../internals/inspect-source"),ae=function(){},ie=[],ne=le("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=oe(a.exec),x=!a.exec(ae),b=function(re){if(!se(re))return!1;try{return ne(ae,ie,re),!0}catch(ce){return!1}},z=function(re){if(!se(re))return!1;switch(de(re)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ue(re))}catch(ce){return!0}};z.sham=!0,Pe.exports=!ne||te(function(){var ee;return b(b.call)||!b(Object)||!b(function(){ee=!0})||ee})?z:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,Pe,be){var oe=E("../internals/fails"),te=E("../internals/is-callable"),se=/#|\.prototype\./,de=function(ne,a){var y=ue[le(ne)];return y==ie?!0:y==ae?!1:te(a)?oe(a):!!a},le=de.normalize=function(ne){return String(ne).replace(se,".").toLowerCase()},ue=de.data={},ae=de.NATIVE="N",ie=de.POLYFILL="P";Pe.exports=de},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,Pe,be){var oe=E("../internals/is-object"),te=Math.floor;Pe.exports=Number.isInteger||function(de){return!oe(de)&&isFinite(de)&&te(de)===de}},{"../internals/is-object":180}],180:[function(E,Pe,be){var oe=E("../internals/is-callable");Pe.exports=function(te){return typeof te=="object"?te!==null:oe(te)}},{"../internals/is-callable":176}],181:[function(E,Pe,be){Pe.exports=!1},{}],182:[function(E,Pe,be){var oe=E("../internals/is-object"),te=E("../internals/classof-raw"),se=E("../internals/well-known-symbol"),de=se("match");Pe.exports=function(le){var ue;return oe(le)&&((ue=le[de])!==void 0?!!ue:te(le)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/get-built-in"),se=E("../internals/is-callable"),de=E("../internals/object-is-prototype-of"),le=E("../internals/use-symbol-as-uid"),ue=oe.Object;Pe.exports=le?function(ae){return typeof ae=="symbol"}:function(ae){var ie=te("Symbol");return se(ie)&&de(ie.prototype,ue(ae))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/an-object"),le=E("../internals/try-to-string"),ue=E("../internals/is-array-iterator-method"),ae=E("../internals/length-of-array-like"),ie=E("../internals/object-is-prototype-of"),ne=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=oe.TypeError,b=function(ee,re){this.stopped=ee,this.result=re},z=b.prototype;Pe.exports=function(ee,re,ce){var me=ce&&ce.that,ve=!!(ce&&ce.AS_ENTRIES),ge=!!(ce&&ce.IS_ITERATOR),pe=!!(ce&&ce.INTERRUPTED),fe=te(re,me),ye,Se,Oe,Ce,Le,De,ke,Ue=function(Ge){return ye&&y(ye,"normal",Ge),new b(!0,Ge)},et=function(Ge){return ve?(de(Ge),pe?fe(Ge[0],Ge[1],Ue):fe(Ge[0],Ge[1])):pe?fe(Ge,Ue):fe(Ge)};if(ge)ye=ee;else{if(Se=a(ee),!Se)throw x(le(ee)+" is not iterable");if(ue(Se)){for(Oe=0,Ce=ae(ee);Ce>Oe;Oe++)if(Le=et(ee[Oe]),Le&&ie(z,Le))return Le;return new b(!1)}ye=ne(ee,Se)}for(De=ye.next;!(ke=se(De,ye)).done;){try{Le=et(ke.value)}catch(Ge){y(ye,"throw",Ge)}if(typeof Le=="object"&&Le&&ie(z,Le))return Le}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,Pe,be){var oe=E("../internals/function-call"),te=E("../internals/an-object"),se=E("../internals/get-method");Pe.exports=function(de,le,ue){var ae,ie;te(de);try{if(ae=se(de,"return"),!ae){if(le==="throw")throw ue;return ue}ae=oe(ae,de)}catch(ne){ie=!0,ae=ne}if(le==="throw")throw ue;if(ie)throw ae;return te(ae),ue}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,Pe,be){"use strict";var oe=E("../internals/fails"),te=E("../internals/is-callable"),se=E("../internals/object-create"),de=E("../internals/object-get-prototype-of"),le=E("../internals/redefine"),ue=E("../internals/well-known-symbol"),ae=E("../internals/is-pure"),ie=ue("iterator"),ne=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=de(de(x)),y!==Object.prototype&&(a=y)):ne=!0);var b=a==null||oe(function(){var z={};return a[ie].call(z)!==z});b?a={}:ae&&(a=se(a)),te(a[ie])||le(a,ie,function(){return this}),Pe.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ne}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,Pe,be){arguments[4][165][0].apply(be,arguments)},{dup:165}],188:[function(E,Pe,be){var oe=E("../internals/to-length");Pe.exports=function(te){return oe(te.length)}},{"../internals/to-length":249}],189:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),se=E("../internals/object-get-own-property-descriptor").f,de=E("../internals/task").set,le=E("../internals/engine-is-ios"),ue=E("../internals/engine-is-ios-pebble"),ae=E("../internals/engine-is-webos-webkit"),ie=E("../internals/engine-is-node"),ne=oe.MutationObserver||oe.WebKitMutationObserver,a=oe.document,y=oe.process,x=oe.Promise,b=se(oe,"queueMicrotask"),z=b&&b.value,ee,re,ce,me,ve,ge,pe,fe;z||(ee=function(){var ye,Se;for(ie&&(ye=y.domain)&&ye.exit();re;){Se=re.fn,re=re.next;try{Se()}catch(Oe){throw re?me():ce=void 0,Oe}}ce=void 0,ye&&ye.enter()},!le&&!ie&&!ae&&ne&&a?(ve=!0,ge=a.createTextNode(""),new ne(ee).observe(ge,{characterData:!0}),me=function(){ge.data=ve=!ve}):!ue&&x&&x.resolve?(pe=x.resolve(void 0),pe.constructor=x,fe=te(pe.then,pe),me=function(){fe(ee)}):ie?me=function(){y.nextTick(ee)}:(de=te(de,oe),me=function(){de(ee)})),Pe.exports=z||function(ye){var Se={fn:ye,next:void 0};ce&&(ce.next=Se),re||(re=Se,me()),ce=Se}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,Pe,be){var oe=E("../internals/native-symbol");Pe.exports=oe&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,Pe,be){var oe=E("../internals/engine-v8-version"),te=E("../internals/fails");Pe.exports=!!Object.getOwnPropertySymbols&&!te(function(){var se=Symbol();return!String(se)||!(Object(se)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/is-callable"),se=E("../internals/inspect-source"),de=oe.WeakMap;Pe.exports=te(de)&&/native code/.test(se(de))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,Pe,be){"use strict";var oe=E("../internals/a-callable"),te=function(se){var de,le;this.promise=new se(function(ue,ae){if(de!==void 0||le!==void 0)throw TypeError("Bad Promise constructor");de=ue,le=ae}),this.resolve=oe(de),this.reject=oe(le)};Pe.exports.f=function(se){return new te(se)}},{"../internals/a-callable":95}],194:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/is-regexp"),se=oe.TypeError;Pe.exports=function(de){if(te(de))throw se("The method doesn't accept regular expressions");return de}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,Pe,be){"use strict";var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),se=E("../internals/function-call"),de=E("../internals/fails"),le=E("../internals/object-keys"),ue=E("../internals/object-get-own-property-symbols"),ae=E("../internals/object-property-is-enumerable"),ie=E("../internals/to-object"),ne=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=te([].concat);Pe.exports=!a||de(function(){if(oe&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},z={},ee=Symbol(),re="abcdefghijklmnopqrst";return b[ee]=7,re.split("").forEach(function(ce){z[ce]=ce}),a({},b)[ee]!=7||le(a({},z)).join("")!=re})?function(z,ee){for(var re=ie(z),ce=arguments.length,me=1,ve=ue.f,ge=ae.f;ce>me;)for(var pe=ne(arguments[me++]),fe=ve?x(le(pe),ve(pe)):le(pe),ye=fe.length,Se=0,Oe;ye>Se;)Oe=fe[Se++],(!oe||se(ge,pe,Oe))&&(re[Oe]=pe[Oe]);return re}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,Pe,be){var oe=E("../internals/an-object"),te=E("../internals/object-define-properties"),se=E("../internals/enum-bug-keys"),de=E("../internals/hidden-keys"),le=E("../internals/html"),ue=E("../internals/document-create-element"),ae=E("../internals/shared-key"),ie=">",ne="<",a="prototype",y="script",x=ae("IE_PROTO"),b=function(){},z=function(ve){return ne+y+ie+ve+ne+"/"+y+ie},ee=function(ve){ve.write(z("")),ve.close();var ge=ve.parentWindow.Object;return ve=null,ge},re=function(){var ve=ue("iframe"),ge="java"+y+":",pe;return ve.style.display="none",le.appendChild(ve),ve.src=String(ge),pe=ve.contentWindow.document,pe.open(),pe.write(z("document.F=Object")),pe.close(),pe.F},ce,me=function(){try{ce=new ActiveXObject("htmlfile")}catch(ge){}me=typeof document!="undefined"?document.domain&&ce?ee(ce):re():ee(ce);for(var ve=se.length;ve--;)delete me[a][se[ve]];return me()};de[x]=!0,Pe.exports=Object.create||function(ge,pe){var fe;return ge!==null?(b[a]=oe(ge),fe=new b,b[a]=null,fe[x]=ge):fe=me(),pe===void 0?fe:te.f(fe,pe)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,Pe,be){var oe=E("../internals/descriptors"),te=E("../internals/v8-prototype-define-bug"),se=E("../internals/object-define-property"),de=E("../internals/an-object"),le=E("../internals/to-indexed-object"),ue=E("../internals/object-keys");be.f=oe&&!te?Object.defineProperties:function(ie,ne){de(ie);for(var a=le(ne),y=ue(ne),x=y.length,b=0,z;x>b;)se.f(ie,z=y[b++],a[z]);return ie}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/descriptors"),se=E("../internals/ie8-dom-define"),de=E("../internals/v8-prototype-define-bug"),le=E("../internals/an-object"),ue=E("../internals/to-property-key"),ae=oe.TypeError,ie=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";be.f=te?de?function(z,ee,re){if(le(z),ee=ue(ee),le(re),typeof z=="function"&&ee==="prototype"&&"value"in re&&x in re&&!re[x]){var ce=ne(z,ee);ce&&ce[x]&&(z[ee]=re.value,re={configurable:y in re?re[y]:ce[y],enumerable:a in re?re[a]:ce[a],writable:!1})}return ie(z,ee,re)}:ie:function(z,ee,re){if(le(z),ee=ue(ee),le(re),se)try{return ie(z,ee,re)}catch(ce){}if("get"in re||"set"in re)throw ae("Accessors not supported");return"value"in re&&(z[ee]=re.value),z}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,Pe,be){var oe=E("../internals/descriptors"),te=E("../internals/function-call"),se=E("../internals/object-property-is-enumerable"),de=E("../internals/create-property-descriptor"),le=E("../internals/to-indexed-object"),ue=E("../internals/to-property-key"),ae=E("../internals/has-own-property"),ie=E("../internals/ie8-dom-define"),ne=Object.getOwnPropertyDescriptor;be.f=oe?ne:function(y,x){if(y=le(y),x=ue(x),ie)try{return ne(y,x)}catch(b){}if(ae(y,x))return de(!te(se.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,Pe,be){var oe=E("../internals/classof-raw"),te=E("../internals/to-indexed-object"),se=E("../internals/object-get-own-property-names").f,de=E("../internals/array-slice-simple"),le=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ue=function(ae){try{return se(ae)}catch(ie){return de(le)}};Pe.exports.f=function(ie){return le&&oe(ie)=="Window"?ue(ie):se(te(ie))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,Pe,be){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys"),se=te.concat("length","prototype");be.f=Object.getOwnPropertyNames||function(le){return oe(le,se)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,Pe,be){be.f=Object.getOwnPropertySymbols},{}],203:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/has-own-property"),se=E("../internals/is-callable"),de=E("../internals/to-object"),le=E("../internals/shared-key"),ue=E("../internals/correct-prototype-getter"),ae=le("IE_PROTO"),ie=oe.Object,ne=ie.prototype;Pe.exports=ue?ie.getPrototypeOf:function(a){var y=de(a);if(te(y,ae))return y[ae];var x=y.constructor;return se(x)&&y instanceof x?x.prototype:y instanceof ie?ne:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this");Pe.exports=oe({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/has-own-property"),se=E("../internals/to-indexed-object"),de=E("../internals/array-includes").indexOf,le=E("../internals/hidden-keys"),ue=oe([].push);Pe.exports=function(ae,ie){var ne=se(ae),a=0,y=[],x;for(x in ne)!te(le,x)&&te(ne,x)&&ue(y,x);for(;ie.length>a;)te(ne,x=ie[a++])&&(~de(y,x)||ue(y,x));return y}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,Pe,be){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys");Pe.exports=Object.keys||function(de){return oe(de,te)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,Pe,be){"use strict";var oe={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,se=te&&!oe.call({1:2},1);be.f=se?function(le){var ue=te(this,le);return!!ue&&ue.enumerable}:oe},{}],208:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/an-object"),se=E("../internals/a-possible-prototype");Pe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var de=!1,le={},ue;try{ue=oe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ue(le,[]),de=le instanceof Array}catch(ae){}return function(ie,ne){return te(ie),se(ne),de?ue(ie,ne):ie.__proto__=ne,ie}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,Pe,be){var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),se=E("../internals/object-keys"),de=E("../internals/to-indexed-object"),le=E("../internals/object-property-is-enumerable").f,ue=te(le),ae=te([].push),ie=function(ne){return function(a){for(var y=de(a),x=se(y),b=x.length,z=0,ee=[],re;b>z;)re=x[z++],(!oe||ue(y,re))&&ae(ee,ne?[re,y[re]]:y[re]);return ee}};Pe.exports={entries:ie(!0),values:ie(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,Pe,be){"use strict";var oe=E("../internals/to-string-tag-support"),te=E("../internals/classof");Pe.exports=oe?{}.toString:function(){return"[object "+te(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/is-callable"),de=E("../internals/is-object"),le=oe.TypeError;Pe.exports=function(ue,ae){var ie,ne;if(ae==="string"&&se(ie=ue.toString)&&!de(ne=te(ie,ue))||se(ie=ue.valueOf)&&!de(ne=te(ie,ue))||ae!=="string"&&se(ie=ue.toString)&&!de(ne=te(ie,ue)))return ne;throw le("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,Pe,be){var oe=E("../internals/get-built-in"),te=E("../internals/function-uncurry-this"),se=E("../internals/object-get-own-property-names"),de=E("../internals/object-get-own-property-symbols"),le=E("../internals/an-object"),ue=te([].concat);Pe.exports=oe("Reflect","ownKeys")||function(ie){var ne=se.f(le(ie)),a=de.f;return a?ue(ne,a(ie)):ne}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,Pe,be){var oe=E("../internals/global");Pe.exports=oe},{"../internals/global":163}],214:[function(E,Pe,be){Pe.exports=function(oe){try{return{error:!1,value:oe()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/promise-native-constructor"),se=E("../internals/is-callable"),de=E("../internals/is-forced"),le=E("../internals/inspect-source"),ue=E("../internals/well-known-symbol"),ae=E("../internals/engine-is-browser"),ie=E("../internals/is-pure"),ne=E("../internals/engine-v8-version"),a=te&&te.prototype,y=ue("species"),x=!1,b=se(oe.PromiseRejectionEvent),z=de("Promise",function(){var ee=le(te),re=ee!==String(te);if(!re&&ne===66||ie&&!(a.catch&&a.finally))return!0;if(ne>=51&&/native code/.test(ee))return!1;var ce=new te(function(ge){ge(1)}),me=function(ge){ge(function(){},function(){})},ve=ce.constructor={};return ve[y]=me,x=ce.then(function(){})instanceof me,x?!re&&ae&&!b:!0});Pe.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,Pe,be){var oe=E("../internals/global");Pe.exports=oe.Promise},{"../internals/global":163}],217:[function(E,Pe,be){var oe=E("../internals/an-object"),te=E("../internals/is-object"),se=E("../internals/new-promise-capability");Pe.exports=function(de,le){if(oe(de),te(le)&&le.constructor===de)return le;var ue=se.f(de),ae=ue.resolve;return ae(le),ue.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,Pe,be){var oe=E("../internals/promise-native-constructor"),te=E("../internals/check-correctness-of-iteration"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR;Pe.exports=se||!te(function(de){oe.all(de).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,Pe,be){var oe=E("../internals/object-define-property").f;Pe.exports=function(te,se,de){de in te||oe(te,de,{configurable:!0,get:function(){return se[de]},set:function(le){se[de]=le}})}},{"../internals/object-define-property":198}],220:[function(E,Pe,be){var oe=function(){this.head=null,this.tail=null};oe.prototype={add:function(te){var se={item:te,next:null};this.head?this.tail.next=se:this.head=se,this.tail=se},get:function(){var te=this.head;if(te)return this.head=te.next,this.tail===te&&(this.tail=null),te.item}},Pe.exports=oe},{}],221:[function(E,Pe,be){var oe=E("../internals/redefine");Pe.exports=function(te,se,de){for(var le in se)oe(te,le,se[le],de);return te}},{"../internals/redefine":222}],222:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/is-callable"),se=E("../internals/has-own-property"),de=E("../internals/create-non-enumerable-property"),le=E("../internals/set-global"),ue=E("../internals/inspect-source"),ae=E("../internals/internal-state"),ie=E("../internals/function-name").CONFIGURABLE,ne=ae.get,a=ae.enforce,y=String(String).split("String");(Pe.exports=function(x,b,z,ee){var re=ee?!!ee.unsafe:!1,ce=ee?!!ee.enumerable:!1,me=ee?!!ee.noTargetGet:!1,ve=ee&&ee.name!==void 0?ee.name:b,ge;if(te(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!se(z,"name")||ie&&z.name!==ve)&&de(z,"name",ve),ge=a(z),ge.source||(ge.source=y.join(typeof ve=="string"?ve:""))),x===oe){ce?x[b]=z:le(b,z);return}else re?!me&&x[b]&&(ce=!0):delete x[b];ce?x[b]=z:de(x,b,z)})(Function.prototype,"toString",function(){return te(this)&&ne(this).source||ue(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/an-object"),de=E("../internals/is-callable"),le=E("../internals/classof-raw"),ue=E("../internals/regexp-exec"),ae=oe.TypeError;Pe.exports=function(ie,ne){var a=ie.exec;if(de(a)){var y=te(a,ie,ne);return y!==null&&se(y),y}if(le(ie)==="RegExp")return te(ue,ie,ne);throw ae("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,Pe,be){"use strict";var oe=E("../internals/function-call"),te=E("../internals/function-uncurry-this"),se=E("../internals/to-string"),de=E("../internals/regexp-flags"),le=E("../internals/regexp-sticky-helpers"),ue=E("../internals/shared"),ae=E("../internals/object-create"),ie=E("../internals/internal-state").get,ne=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ue("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,z=te("".charAt),ee=te("".indexOf),re=te("".replace),ce=te("".slice),me=function(){var fe=/a/,ye=/b*/g;return oe(x,fe,"a"),oe(x,ye,"a"),fe.lastIndex!==0||ye.lastIndex!==0}(),ve=le.BROKEN_CARET,ge=/()??/.exec("")[1]!==void 0,pe=me||ge||ve||ne||a;pe&&(b=function(ye){var Se=this,Oe=ie(Se),Ce=se(ye),Le=Oe.raw,De,ke,Ue,et,Ge,it,Qe;if(Le)return Le.lastIndex=Se.lastIndex,De=oe(b,Le,Ce),Se.lastIndex=Le.lastIndex,De;var Ye=Oe.groups,Ve=ve&&Se.sticky,Me=oe(de,Se),Re=Se.source,ze=0,rt=Ce;if(Ve&&(Me=re(Me,"y",""),ee(Me,"g")===-1&&(Me+="g"),rt=ce(Ce,Se.lastIndex),Se.lastIndex>0&&(!Se.multiline||Se.multiline&&z(Ce,Se.lastIndex-1)!==` -`)&&(Re="(?: "+Re+")",rt=" "+rt,ze++),ke=new RegExp("^(?:"+Re+")",Me)),ge&&(ke=new RegExp("^"+Re+"$(?!\\s)",Me)),me&&(Ue=Se.lastIndex),et=oe(x,Ve?ke:Se,rt),Ve?et?(et.input=ce(et.input,ze),et[0]=ce(et[0],ze),et.index=Se.lastIndex,Se.lastIndex+=et[0].length):Se.lastIndex=0:me&&et&&(Se.lastIndex=Se.global?et.index+et[0].length:Ue),ge&&et&&et.length>1&&oe(y,et[0],ke,function(){for(Ge=1;Geb)","g");return de.exec("b").groups.a!=="b"||"b".replace(de,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,Pe,be){var oe=E("../internals/global"),te=oe.TypeError;Pe.exports=function(se){if(se==null)throw te("Can't call method on "+se);return se}},{"../internals/global":163}],231:[function(E,Pe,be){Pe.exports=Object.is||function(te,se){return te===se?te!==0||1/te===1/se:te!=te&&se!=se}},{}],232:[function(E,Pe,be){var oe=E("../internals/global"),te=Object.defineProperty;Pe.exports=function(se,de){try{te(oe,se,{value:de,configurable:!0,writable:!0})}catch(le){oe[se]=de}return de}},{"../internals/global":163}],233:[function(E,Pe,be){"use strict";var oe=E("../internals/get-built-in"),te=E("../internals/object-define-property"),se=E("../internals/well-known-symbol"),de=E("../internals/descriptors"),le=se("species");Pe.exports=function(ue){var ae=oe(ue),ie=te.f;de&&ae&&!ae[le]&&ie(ae,le,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,Pe,be){var oe=E("../internals/object-define-property").f,te=E("../internals/has-own-property"),se=E("../internals/well-known-symbol"),de=se("toStringTag");Pe.exports=function(le,ue,ae){le&&!ae&&(le=le.prototype),le&&!te(le,de)&&oe(le,de,{configurable:!0,value:ue})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,Pe,be){var oe=E("../internals/shared"),te=E("../internals/uid"),se=oe("keys");Pe.exports=function(de){return se[de]||(se[de]=te(de))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/set-global"),se="__core-js_shared__",de=oe[se]||te(se,{});Pe.exports=de},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,Pe,be){var oe=E("../internals/is-pure"),te=E("../internals/shared-store");(Pe.exports=function(se,de){return te[se]||(te[se]=de!==void 0?de:{})})("versions",[]).push({version:"3.22.1",mode:oe?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,Pe,be){var oe=E("../internals/an-object"),te=E("../internals/a-constructor"),se=E("../internals/well-known-symbol"),de=se("species");Pe.exports=function(le,ue){var ae=oe(le).constructor,ie;return ae===void 0||(ie=oe(ae)[de])==null?ue:te(ie)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-integer-or-infinity"),se=E("../internals/to-string"),de=E("../internals/require-object-coercible"),le=oe("".charAt),ue=oe("".charCodeAt),ae=oe("".slice),ie=function(ne){return function(a,y){var x=se(de(a)),b=te(y),z=x.length,ee,re;return b<0||b>=z?ne?"":void 0:(ee=ue(x,b),ee<55296||ee>56319||b+1===z||(re=ue(x,b+1))<56320||re>57343?ne?le(x,b):ee:ne?ae(x,b,b+2):(ee-55296<<10)+(re-56320)+65536)}};Pe.exports={codeAt:ie(!1),charAt:ie(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,Pe,be){var oe=E("../internals/function-name").PROPER,te=E("../internals/fails"),se=E("../internals/whitespaces"),de="\u200B\x85\u180E";Pe.exports=function(le){return te(function(){return!!se[le]()||de[le]()!==de||oe&&se[le].name!==le})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=E("../internals/require-object-coercible"),se=E("../internals/to-string"),de=E("../internals/whitespaces"),le=oe("".replace),ue="["+de+"]",ae=RegExp("^"+ue+ue+"*"),ie=RegExp(ue+ue+"*$"),ne=function(a){return function(y){var x=se(te(y));return a&1&&(x=le(x,ae,"")),a&2&&(x=le(x,ie,"")),x}};Pe.exports={start:ne(1),end:ne(2),trim:ne(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,Pe,be){var oe=E("../internals/function-call"),te=E("../internals/get-built-in"),se=E("../internals/well-known-symbol"),de=E("../internals/redefine");Pe.exports=function(){var le=te("Symbol"),ue=le&&le.prototype,ae=ue&&ue.valueOf,ie=se("toPrimitive");ue&&!ue[ie]&&de(ue,ie,function(ne){return oe(ae,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-apply"),se=E("../internals/function-bind-context"),de=E("../internals/is-callable"),le=E("../internals/has-own-property"),ue=E("../internals/fails"),ae=E("../internals/html"),ie=E("../internals/array-slice"),ne=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=oe.setImmediate,z=oe.clearImmediate,ee=oe.process,re=oe.Dispatch,ce=oe.Function,me=oe.MessageChannel,ve=oe.String,ge=0,pe={},fe="onreadystatechange",ye,Se,Oe,Ce;try{ye=oe.location}catch(et){}var Le=function(et){if(le(pe,et)){var Ge=pe[et];delete pe[et],Ge()}},De=function(et){return function(){Le(et)}},ke=function(et){Le(et.data)},Ue=function(et){oe.postMessage(ve(et),ye.protocol+"//"+ye.host)};(!b||!z)&&(b=function(Ge){a(arguments.length,1);var it=de(Ge)?Ge:ce(Ge),Qe=ie(arguments,1);return pe[++ge]=function(){te(it,void 0,Qe)},Se(ge),ge},z=function(Ge){delete pe[Ge]},x?Se=function(et){ee.nextTick(De(et))}:re&&re.now?Se=function(et){re.now(De(et))}:me&&!y?(Oe=new me,Ce=Oe.port2,Oe.port1.onmessage=ke,Se=se(Ce.postMessage,Ce)):oe.addEventListener&&de(oe.postMessage)&&!oe.importScripts&&ye&&ye.protocol!=="file:"&&!ue(Ue)?(Se=Ue,oe.addEventListener("message",ke,!1)):fe in ne("script")?Se=function(et){ae.appendChild(ne("script"))[fe]=function(){ae.removeChild(this),Le(et)}}:Se=function(et){setTimeout(De(et),0)}),Pe.exports={set:b,clear:z}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this");Pe.exports=oe(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,Pe,be){var oe=E("../internals/to-integer-or-infinity"),te=Math.max,se=Math.min;Pe.exports=function(de,le){var ue=oe(de);return ue<0?te(ue+le,0):se(ue,le)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),se=E("../internals/to-length"),de=oe.RangeError;Pe.exports=function(le){if(le===void 0)return 0;var ue=te(le),ae=se(ue);if(ue!==ae)throw de("Wrong length or index");return ae}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,Pe,be){var oe=E("../internals/indexed-object"),te=E("../internals/require-object-coercible");Pe.exports=function(se){return oe(te(se))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,Pe,be){var oe=Math.ceil,te=Math.floor;Pe.exports=function(se){var de=+se;return de!==de||de===0?0:(de>0?te:oe)(de)}},{}],249:[function(E,Pe,be){var oe=E("../internals/to-integer-or-infinity"),te=Math.min;Pe.exports=function(se){return se>0?te(oe(se),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/require-object-coercible"),se=oe.Object;Pe.exports=function(de){return se(te(de))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/to-positive-integer"),se=oe.RangeError;Pe.exports=function(de,le){var ue=te(de);if(ue%le)throw se("Wrong offset");return ue}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),se=oe.RangeError;Pe.exports=function(de){var le=te(de);if(le<0)throw se("The argument can't be less than 0");return le}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/is-object"),de=E("../internals/is-symbol"),le=E("../internals/get-method"),ue=E("../internals/ordinary-to-primitive"),ae=E("../internals/well-known-symbol"),ie=oe.TypeError,ne=ae("toPrimitive");Pe.exports=function(a,y){if(!se(a)||de(a))return a;var x=le(a,ne),b;if(x){if(y===void 0&&(y="default"),b=te(x,a,y),!se(b)||de(b))return b;throw ie("Can't convert object to primitive value")}return y===void 0&&(y="number"),ue(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,Pe,be){var oe=E("../internals/to-primitive"),te=E("../internals/is-symbol");Pe.exports=function(se){var de=oe(se,"string");return te(de)?de:de+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,Pe,be){var oe=E("../internals/well-known-symbol"),te=oe("toStringTag"),se={};se[te]="z",Pe.exports=String(se)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/classof"),se=oe.String;Pe.exports=function(de){if(te(de)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return se(de)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,Pe,be){var oe=E("../internals/global"),te=oe.String;Pe.exports=function(se){try{return te(se)}catch(de){return"Object"}}},{"../internals/global":163}],258:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),se=E("../internals/function-call"),de=E("../internals/descriptors"),le=E("../internals/typed-array-constructors-require-wrappers"),ue=E("../internals/array-buffer-view-core"),ae=E("../internals/array-buffer"),ie=E("../internals/an-instance"),ne=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),z=E("../internals/to-offset"),ee=E("../internals/to-property-key"),re=E("../internals/has-own-property"),ce=E("../internals/classof"),me=E("../internals/is-object"),ve=E("../internals/is-symbol"),ge=E("../internals/object-create"),pe=E("../internals/object-is-prototype-of"),fe=E("../internals/object-set-prototype-of"),ye=E("../internals/object-get-own-property-names").f,Se=E("../internals/typed-array-from"),Oe=E("../internals/array-iteration").forEach,Ce=E("../internals/set-species"),Le=E("../internals/object-define-property"),De=E("../internals/object-get-own-property-descriptor"),ke=E("../internals/internal-state"),Ue=E("../internals/inherit-if-required"),et=ke.get,Ge=ke.set,it=Le.f,Qe=De.f,Ye=Math.round,Ve=te.RangeError,Me=ae.ArrayBuffer,Re=Me.prototype,ze=ae.DataView,rt=ue.NATIVE_ARRAY_BUFFER_VIEWS,$e=ue.TYPED_ARRAY_CONSTRUCTOR,ut=ue.TYPED_ARRAY_TAG,_e=ue.TypedArray,We=ue.TypedArrayPrototype,Te=ue.aTypedArrayConstructor,Je=ue.isTypedArray,Fe="BYTES_PER_ELEMENT",Ie="Wrong length",Xe=function(Be,Ze){Te(Be);for(var Ke=0,Ne=Ze.length,at=new Be(Ne);Ne>Ke;)at[Ke]=Ze[Ke++];return at},He=function(Be,Ze){it(Be,Ze,{get:function(){return et(this)[Ze]}})},je=function(Be){var Ze;return pe(Re,Be)||(Ze=ce(Be))=="ArrayBuffer"||Ze=="SharedArrayBuffer"},Ee=function(Be,Ze){return Je(Be)&&!ve(Ze)&&Ze in Be&&y(+Ze)&&Ze>=0},xe=function(Ze,Ke){return Ke=ee(Ke),Ee(Ze,Ke)?ne(2,Ze[Ke]):Qe(Ze,Ke)},we=function(Ze,Ke,Ne){return Ke=ee(Ke),Ee(Ze,Ke)&&me(Ne)&&re(Ne,"value")&&!re(Ne,"get")&&!re(Ne,"set")&&!Ne.configurable&&(!re(Ne,"writable")||Ne.writable)&&(!re(Ne,"enumerable")||Ne.enumerable)?(Ze[Ke]=Ne.value,Ze):it(Ze,Ke,Ne)};de?(rt||(De.f=xe,Le.f=we,He(We,"buffer"),He(We,"byteOffset"),He(We,"byteLength"),He(We,"length")),oe({target:"Object",stat:!0,forced:!rt},{getOwnPropertyDescriptor:xe,defineProperty:we}),Pe.exports=function(Be,Ze,Ke){var Ne=Be.match(/\d+$/)[0]/8,at=Be+(Ke?"Clamped":"")+"Array",ht="get"+Be,ft="set"+Be,yt=te[at],st=yt,pt=st&&st.prototype,nt={},lt=function(Pt,At){var It=et(Pt);return It.view[ht](At*Ne+It.byteOffset,!0)},dt=function(Pt,At,It){var Gt=et(Pt);Ke&&(It=(It=Ye(It))<0?0:It>255?255:It&255),Gt.view[ft](At*Ne+Gt.byteOffset,It,!0)},gt=function(Pt,At){it(Pt,At,{get:function(){return lt(this,At)},set:function(It){return dt(this,At,It)},enumerable:!0})};rt?le&&(st=Ze(function(Pt,At,It,Gt){return ie(Pt,pt),Ue(function(){return me(At)?je(At)?Gt!==void 0?new yt(At,z(It,Ne),Gt):It!==void 0?new yt(At,z(It,Ne)):new yt(At):Je(At)?Xe(st,At):se(Se,st,At):new yt(b(At))}(),Pt,st)}),fe&&fe(st,_e),Oe(ye(yt),function(Pt){Pt in st||a(st,Pt,yt[Pt])}),st.prototype=pt):(st=Ze(function(Pt,At,It,Gt){ie(Pt,pt);var tn=0,pn=0,gn,sn,En;if(!me(At))En=b(At),sn=En*Ne,gn=new Me(sn);else if(je(At)){gn=At,pn=z(It,Ne);var Dn=At.byteLength;if(Gt===void 0){if(Dn%Ne||(sn=Dn-pn,sn<0))throw Ve(Ie)}else if(sn=x(Gt)*Ne,sn+pn>Dn)throw Ve(Ie);En=sn/Ne}else return Je(At)?Xe(st,At):se(Se,st,At);for(Ge(Pt,{buffer:gn,byteOffset:pn,byteLength:sn,length:En,view:new ze(gn)});tn1?arguments[1]:void 0,re=ee!==void 0,ce=ae(b),me,ve,ge,pe,fe,ye;if(ce&&!ie(ce))for(fe=ue(b,ce),ye=fe.next,b=[];!(pe=te(ye,fe)).done;)b.push(pe.value);for(re&&z>2&&(ee=oe(ee,arguments[2])),ve=le(b),ge=new(ne(x))(ve),me=0;ve>me;me++)ge[me]=re?ee(b[me],me):b[me];return ge}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,Pe,be){var oe=E("../internals/array-buffer-view-core"),te=E("../internals/species-constructor"),se=oe.TYPED_ARRAY_CONSTRUCTOR,de=oe.aTypedArrayConstructor;Pe.exports=function(le){return de(te(le,le[se]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,Pe,be){var oe=E("../internals/function-uncurry-this"),te=0,se=Math.random(),de=oe(1 .toString);Pe.exports=function(le){return"Symbol("+(le===void 0?"":le)+")_"+de(++te+se,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,Pe,be){var oe=E("../internals/native-symbol");Pe.exports=oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,Pe,be){var oe=E("../internals/descriptors"),te=E("../internals/fails");Pe.exports=oe&&te(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,Pe,be){var oe=E("../internals/global"),te=oe.TypeError;Pe.exports=function(se,de){if(se=51||!se(function(){var pe=[];return pe[b]=!1,pe.concat()[0]!==pe}),me=a("concat"),ve=function(pe){if(!le(pe))return!1;var fe=pe[b];return fe!==void 0?!!fe:de(pe)},ge=!ce||!me;oe({target:"Array",proto:!0,forced:ge},{concat:function(fe){var ye=ue(this),Se=ne(ye,0),Oe=0,Ce,Le,De,ke,Ue;for(Ce=-1,De=arguments.length;Cez)throw re(ee);for(Le=0;Le=z)throw re(ee);ie(Se,Oe++,Ue)}return Se.length=Oe,Se}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,Pe,be){var oe=E("../internals/export"),te=E("../internals/array-fill"),se=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{fill:te}),se("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").filter,se=E("../internals/array-method-has-species-support"),de=se("filter");oe({target:"Array",proto:!0,forced:!de},{filter:function(ue){return te(this,ue,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").find,se=E("../internals/add-to-unscopables"),de="find",le=!0;de in[]&&Array(1)[de](function(){le=!1}),oe({target:"Array",proto:!0,forced:le},{find:function(ae){return te(this,ae,arguments.length>1?arguments[1]:void 0)}}),se(de)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,Pe,be){var oe=E("../internals/export"),te=E("../internals/array-from"),se=E("../internals/check-correctness-of-iteration"),de=!se(function(le){Array.from(le)});oe({target:"Array",stat:!0,forced:de},{from:te})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/array-includes").includes,se=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{includes:function(le){return te(this,le,arguments.length>1?arguments[1]:void 0)}}),se("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,Pe,be){"use strict";var oe=E("../internals/to-indexed-object"),te=E("../internals/add-to-unscopables"),se=E("../internals/iterators"),de=E("../internals/internal-state"),le=E("../internals/object-define-property").f,ue=E("../internals/define-iterator"),ae=E("../internals/is-pure"),ie=E("../internals/descriptors"),ne="Array Iterator",a=de.set,y=de.getterFor(ne);Pe.exports=ue(Array,"Array",function(b,z){a(this,{type:ne,target:oe(b),index:0,kind:z})},function(){var b=y(this),z=b.target,ee=b.kind,re=b.index++;return!z||re>=z.length?(b.target=void 0,{value:void 0,done:!0}):ee=="keys"?{value:re,done:!1}:ee=="values"?{value:z[re],done:!1}:{value:[re,z[re]],done:!1}},"values");var x=se.Arguments=se.Array;if(te("keys"),te("values"),te("entries"),!ae&&ie&&x.name!=="values")try{le(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-indexed-object"),le=E("../internals/array-method-is-strict"),ue=te([].join),ae=se!=Object,ie=le("join",",");oe({target:"Array",proto:!0,forced:ae||!ie},{join:function(a){return ue(de(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").map,se=E("../internals/array-method-has-species-support"),de=se("map");oe({target:"Array",proto:!0,forced:!de},{map:function(ue){return te(this,ue,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),se=E("../internals/is-array"),de=E("../internals/is-constructor"),le=E("../internals/is-object"),ue=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),ie=E("../internals/to-indexed-object"),ne=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),z=a("species"),ee=te.Array,re=Math.max;oe({target:"Array",proto:!0,forced:!b},{slice:function(me,ve){var ge=ie(this),pe=ae(ge),fe=ue(me,pe),ye=ue(ve===void 0?pe:ve,pe),Se,Oe,Ce;if(se(ge)&&(Se=ge.constructor,de(Se)&&(Se===ee||se(Se.prototype))?Se=void 0:le(Se)&&(Se=Se[z],Se===null&&(Se=void 0)),Se===ee||Se===void 0))return x(ge,fe,ye);for(Oe=new(Se===void 0?ee:Se)(re(ye-fe,0)),Ce=0;fe3)){if(y)return!0;if(b)return b<603;var ye="",Se,Oe,Ce,Le;for(Se=65;Se<76;Se++){switch(Oe=String.fromCharCode(Se),Se){case 66:case 69:case 70:case 72:Ce=3;break;case 68:case 71:Ce=4;break;default:Ce=2}for(Le=0;Le<47;Le++)z.push({k:Oe+Le,v:Ce})}for(z.sort(function(De,ke){return ke.v-De.v}),Le=0;Leue(Oe)?1:-1}};oe({target:"Array",proto:!0,forced:pe},{sort:function(Se){Se!==void 0&&se(Se);var Oe=de(this);if(ge)return Se===void 0?ee(Oe):ee(Oe,Se);var Ce=[],Le=le(Oe),De,ke;for(ke=0;kez)throw y(ee);for(Oe=ae(ve,Se),Ce=0;Cege-Se+ye;Ce--)delete ve[Ce-1]}else if(ye>Se)for(Ce=ge-Se;Ce>pe;Ce--)Le=Ce+Se-1,De=Ce+ye-1,Le in ve?ve[De]=ve[Le]:delete ve[De];for(Ce=0;Ce2){if(Ue=re(Ue),et=fe(Ue,0),et===43||et===45){if(Ge=fe(Ue,2),Ge===88||Ge===120)return NaN}else if(et===48){switch(fe(Ue,1)){case 66:case 98:it=2,Qe=49;break;case 79:case 111:it=8,Qe=55;break;default:return+Ue}for(Ye=pe(Ue,2),Ve=Ye.length,Me=0;MeQe)return NaN;return parseInt(Ye,it)}}return+Ue};if(de(ce,!me(" 0o1")||!me("0b1")||me("+0x1"))){for(var Oe=function(Ue){var et=arguments.length<1?0:me(ye(Ue)),Ge=this;return ie(ve,Ge)&&y(function(){ee(Ge)})?ae(Object(et),Ge,Oe):et},Ce=oe?x(me):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Le=0,De;Ce.length>Le;Le++)ue(me,De=Ce[Le])&&!ue(Oe,De)&&z(Oe,De,b(me,De));Oe.prototype=ve,ve.constructor=Oe,le(te,ce,Oe)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,Pe,be){var oe=E("../internals/export"),te=E("../internals/object-assign");oe({target:"Object",stat:!0,forced:Object.assign!==te},{assign:te})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,Pe,be){var oe=E("../internals/export"),te=E("../internals/object-to-array").entries;oe({target:"Object",stat:!0},{entries:function(de){return te(de)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,Pe,be){var oe=E("../internals/export"),te=E("../internals/native-symbol"),se=E("../internals/fails"),de=E("../internals/object-get-own-property-symbols"),le=E("../internals/to-object"),ue=!te||se(function(){de.f(1)});oe({target:"Object",stat:!0,forced:ue},{getOwnPropertySymbols:function(ie){var ne=de.f;return ne?ne(le(ie)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,Pe,be){var oe=E("../internals/export"),te=E("../internals/to-object"),se=E("../internals/object-keys"),de=E("../internals/fails"),le=de(function(){se(1)});oe({target:"Object",stat:!0,forced:le},{keys:function(ae){return se(te(ae))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,Pe,be){var oe=E("../internals/to-string-tag-support"),te=E("../internals/redefine"),se=E("../internals/object-to-string");oe||te(Object.prototype,"toString",se,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),le=E("../internals/perform"),ue=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{all:function(ne){var a=this,y=de.f(a),x=y.resolve,b=y.reject,z=le(function(){var ee=se(a.resolve),re=[],ce=0,me=1;ue(ne,function(ve){var ge=ce++,pe=!1;me++,te(ee,a,ve).then(function(fe){pe||(pe=!0,re[ge]=fe,--me||x(re))},b)}),--me||x(re)});return z.error&&b(z.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR,de=E("../internals/promise-native-constructor"),le=E("../internals/get-built-in"),ue=E("../internals/is-callable"),ae=E("../internals/redefine"),ie=de&&de.prototype;if(oe({target:"Promise",proto:!0,forced:se,real:!0},{catch:function(a){return this.then(void 0,a)}}),!te&&ue(de)){var ne=le("Promise").prototype.catch;ie.catch!==ne&&ae(ie,"catch",ne,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),se=E("../internals/engine-is-node"),de=E("../internals/global"),le=E("../internals/function-call"),ue=E("../internals/redefine"),ae=E("../internals/redefine-all"),ie=E("../internals/object-set-prototype-of"),ne=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),z=E("../internals/an-instance"),ee=E("../internals/species-constructor"),re=E("../internals/task").set,ce=E("../internals/microtask"),me=E("../internals/host-report-errors"),ve=E("../internals/perform"),ge=E("../internals/queue"),pe=E("../internals/internal-state"),fe=E("../internals/promise-native-constructor"),ye=E("../internals/promise-constructor-detection"),Se=E("../internals/new-promise-capability"),Oe="Promise",Ce=ye.CONSTRUCTOR,Le=ye.REJECTION_EVENT,De=ye.SUBCLASSING,ke=pe.getterFor(Oe),Ue=pe.set,et=fe&&fe.prototype,Ge=fe,it=et,Qe=de.TypeError,Ye=de.document,Ve=de.process,Me=Se.f,Re=Me,ze=!!(Ye&&Ye.createEvent&&de.dispatchEvent),rt="unhandledrejection",$e="rejectionhandled",ut=0,_e=1,We=2,Te=1,Je=2,Fe,Ie,Xe,He,je=function(ft){var yt;return b(ft)&&x(yt=ft.then)?yt:!1},Ee=function(ft,yt){var st=yt.value,pt=yt.state==_e,nt=pt?ft.ok:ft.fail,lt=ft.resolve,dt=ft.reject,gt=ft.domain,Pt,At,It;try{nt?(pt||(yt.rejection===Je&&Ke(yt),yt.rejection=Te),nt===!0?Pt=st:(gt&>.enter(),Pt=nt(st),gt&&(gt.exit(),It=!0)),Pt===ft.promise?dt(Qe("Promise-chain cycle")):(At=je(Pt))?le(At,Pt,lt,dt):lt(Pt)):dt(st)}catch(Gt){gt&&!It&>.exit(),dt(Gt)}},xe=function(ft,yt){ft.notified||(ft.notified=!0,ce(function(){for(var st=ft.reactions,pt;pt=st.get();)Ee(pt,ft);ft.notified=!1,yt&&!ft.rejection&&Be(ft)}))},we=function(ft,yt,st){var pt,nt;ze?(pt=Ye.createEvent("Event"),pt.promise=yt,pt.reason=st,pt.initEvent(ft,!1,!0),de.dispatchEvent(pt)):pt={promise:yt,reason:st},!Le&&(nt=de["on"+ft])?nt(pt):ft===rt&&me("Unhandled promise rejection",st)},Be=function(ft){le(re,de,function(){var yt=ft.facade,st=ft.value,pt=Ze(ft),nt;if(pt&&(nt=ve(function(){se?Ve.emit("unhandledRejection",st,yt):we(rt,yt,st)}),ft.rejection=se||Ze(ft)?Je:Te,nt.error))throw nt.value})},Ze=function(ft){return ft.rejection!==Te&&!ft.parent},Ke=function(ft){le(re,de,function(){var yt=ft.facade;se?Ve.emit("rejectionHandled",yt):we($e,yt,ft.value)})},Ne=function(ft,yt,st){return function(pt){ft(yt,pt,st)}},at=function(ft,yt,st){ft.done||(ft.done=!0,st&&(ft=st),ft.value=yt,ft.state=We,xe(ft,!0))},ht=function(ft,yt,st){if(!ft.done){ft.done=!0,st&&(ft=st);try{if(ft.facade===yt)throw Qe("Promise can't be resolved itself");var pt=je(yt);pt?ce(function(){var nt={done:!1};try{le(pt,yt,Ne(ht,nt,ft),Ne(at,nt,ft))}catch(lt){at(nt,lt,ft)}}):(ft.value=yt,ft.state=_e,xe(ft,!1))}catch(nt){at({done:!1},nt,ft)}}};if(Ce&&(Ge=function(yt){z(this,it),y(yt),le(Fe,this);var st=ke(this);try{yt(Ne(ht,st),Ne(at,st))}catch(pt){at(st,pt)}},it=Ge.prototype,Fe=function(yt){Ue(this,{type:Oe,done:!1,notified:!1,parent:!1,reactions:new ge,rejection:!1,state:ut,value:void 0})},Fe.prototype=ae(it,{then:function(yt,st){var pt=ke(this),nt=Me(ee(this,Ge));return pt.parent=!0,nt.ok=x(yt)?yt:!0,nt.fail=x(st)&&st,nt.domain=se?Ve.domain:void 0,pt.state==ut?pt.reactions.add(nt):ce(function(){Ee(nt,pt)}),nt.promise}}),Ie=function(){var ft=new Fe,yt=ke(ft);this.promise=ft,this.resolve=Ne(ht,yt),this.reject=Ne(at,yt)},Se.f=Me=function(ft){return ft===Ge||ft===Xe?new Ie(ft):Re(ft)},!te&&x(fe)&&et!==Object.prototype)){He=et.then,De||ue(et,"then",function(yt,st){var pt=this;return new Ge(function(nt,lt){le(He,pt,nt,lt)}).then(yt,st)},{unsafe:!0});try{delete et.constructor}catch(ft){}ie&&ie(et,it)}oe({global:!0,wrap:!0,forced:Ce},{Promise:Ge}),ne(Ge,Oe,!1,!0),a(Oe)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,Pe,be){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),le=E("../internals/perform"),ue=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{race:function(ne){var a=this,y=de.f(a),x=y.reject,b=le(function(){var z=se(a.resolve);ue(ne,function(ee){te(z,a,ee).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),se=E("../internals/new-promise-capability"),de=E("../internals/promise-constructor-detection").CONSTRUCTOR;oe({target:"Promise",stat:!0,forced:de},{reject:function(ue){var ae=se.f(this);return te(ae.reject,void 0,ue),ae.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/get-built-in"),se=E("../internals/is-pure"),de=E("../internals/promise-native-constructor"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR,ue=E("../internals/promise-resolve"),ae=te("Promise"),ie=se&&!le;oe({target:"Promise",stat:!0,forced:se||le},{resolve:function(a){return ue(ie&&this===ae?de:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,Pe,be){var oe=E("../internals/descriptors"),te=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-forced"),le=E("../internals/inherit-if-required"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/object-get-own-property-names").f,ie=E("../internals/object-is-prototype-of"),ne=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),z=E("../internals/redefine"),ee=E("../internals/fails"),re=E("../internals/has-own-property"),ce=E("../internals/internal-state").enforce,me=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),ge=E("../internals/regexp-unsupported-dot-all"),pe=E("../internals/regexp-unsupported-ncg"),fe=ve("match"),ye=te.RegExp,Se=ye.prototype,Oe=te.SyntaxError,Ce=se(Se.exec),Le=se("".charAt),De=se("".replace),ke=se("".indexOf),Ue=se("".slice),et=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ge=/a/g,it=/a/g,Qe=new ye(Ge)!==Ge,Ye=x.MISSED_STICKY,Ve=x.UNSUPPORTED_Y,Me=oe&&(!Qe||Ye||ge||pe||ee(function(){return it[fe]=!1,ye(Ge)!=Ge||ye(it)==it||ye(Ge,"i")!="/a/i"})),Re=function(_e){for(var We=_e.length,Te=0,Je="",Fe=!1,Ie;Te<=We;Te++){if(Ie=Le(_e,Te),Ie==="\\"){Je+=Ie+Le(_e,++Te);continue}!Fe&&Ie==="."?Je+="[\\s\\S]":(Ie==="["?Fe=!0:Ie==="]"&&(Fe=!1),Je+=Ie)}return Je},ze=function(_e){for(var We=_e.length,Te=0,Je="",Fe=[],Ie={},Xe=!1,He=!1,je=0,Ee="",xe;Te<=We;Te++){if(xe=Le(_e,Te),xe==="\\")xe=xe+Le(_e,++Te);else if(xe==="]")Xe=!1;else if(!Xe)switch(!0){case xe==="[":Xe=!0;break;case xe==="(":Ce(et,Ue(_e,Te+1))&&(Te+=2,He=!0),Je+=xe,je++;continue;case(xe===">"&&He):if(Ee===""||re(Ie,Ee))throw new Oe("Invalid capture group name");Ie[Ee]=!0,Fe[Fe.length]=[Ee,je],He=!1,Ee="";continue}He?Ee+=xe:Je+=xe}return[Je,Fe]};if(de("RegExp",Me)){for(var rt=function(We,Te){var Je=ie(Se,this),Fe=ne(We),Ie=Te===void 0,Xe=[],He=We,je,Ee,xe,we,Be,Ze;if(!Je&&Fe&&Ie&&We.constructor===rt)return We;if((Fe||ie(Se,We))&&(We=We.source,Ie&&(Te=y(He))),We=We===void 0?"":a(We),Te=Te===void 0?"":a(Te),He=We,ge&&"dotAll"in Ge&&(Ee=!!Te&&ke(Te,"s")>-1,Ee&&(Te=De(Te,/s/g,""))),je=Te,Ye&&"sticky"in Ge&&(xe=!!Te&&ke(Te,"y")>-1,xe&&Ve&&(Te=De(Te,/y/g,""))),pe&&(we=ze(We),We=we[0],Xe=we[1]),Be=le(ye(We,Te),Je?this:Se,rt),(Ee||xe||Xe.length)&&(Ze=ce(Be),Ee&&(Ze.dotAll=!0,Ze.raw=rt(Re(We),je)),xe&&(Ze.sticky=!0),Xe.length&&(Ze.groups=Xe)),We!==He)try{ue(Be,"source",He===""?"(?:)":He)}catch(Ke){}return Be},$e=ae(ye),ut=0;$e.length>ut;)b(rt,ye,$e[ut++]);Se.constructor=rt,rt.prototype=Se,z(te,"RegExp",rt)}me("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/regexp-exec");oe({target:"RegExp",proto:!0,forced:/./.exec!==te},{exec:te})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,Pe,be){"use strict";var oe=E("../internals/function-name").PROPER,te=E("../internals/redefine"),se=E("../internals/an-object"),de=E("../internals/to-string"),le=E("../internals/fails"),ue=E("../internals/regexp-get-flags"),ae="toString",ie=RegExp.prototype,ne=ie[ae],a=le(function(){return ne.call({source:"a",flags:"b"})!="/a/b"}),y=oe&&ne.name!=ae;(a||y)&&te(RegExp.prototype,ae,function(){var b=se(this),z=de(b.source),ee=de(ue(b));return"/"+z+"/"+ee},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,Pe,be){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),se=E("../internals/not-a-regexp"),de=E("../internals/require-object-coercible"),le=E("../internals/to-string"),ue=E("../internals/correct-is-regexp-logic"),ae=te("".indexOf);oe({target:"String",proto:!0,forced:!ue("includes")},{includes:function(ne){return!!~ae(le(de(this)),le(se(ne)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,Pe,be){"use strict";var oe=E("../internals/string-multibyte").charAt,te=E("../internals/to-string"),se=E("../internals/internal-state"),de=E("../internals/define-iterator"),le="String Iterator",ue=se.set,ae=se.getterFor(le);de(String,"String",function(ie){ue(this,{type:le,string:te(ie),index:0})},function(){var ne=ae(this),a=ne.string,y=ne.index,x;return y>=a.length?{value:void 0,done:!0}:(x=oe(a,y),ne.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,Pe,be){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/to-length"),le=E("../internals/to-string"),ue=E("../internals/require-object-coercible"),ae=E("../internals/get-method"),ie=E("../internals/advance-string-index"),ne=E("../internals/regexp-exec-abstract");te("match",function(a,y,x){return[function(z){var ee=ue(this),re=z==null?void 0:ae(z,a);return re?oe(re,z,ee):new RegExp(z)[a](le(ee))},function(b){var z=se(this),ee=le(b),re=x(y,z,ee);if(re.done)return re.value;if(!z.global)return ne(z,ee);var ce=z.unicode;z.lastIndex=0;for(var me=[],ve=0,ge;(ge=ne(z,ee))!==null;){var pe=le(ge[0]);me[ve]=pe,pe===""&&(z.lastIndex=ie(ee,de(z.lastIndex),ce)),ve++}return ve===0?null:me}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,Pe,be){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/fails"),ue=E("../internals/an-object"),ae=E("../internals/is-callable"),ie=E("../internals/to-integer-or-infinity"),ne=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),z=E("../internals/get-substitution"),ee=E("../internals/regexp-exec-abstract"),re=E("../internals/well-known-symbol"),ce=re("replace"),me=Math.max,ve=Math.min,ge=se([].concat),pe=se([].push),fe=se("".indexOf),ye=se("".slice),Se=function(De){return De===void 0?De:String(De)},Oe=function(){return"a".replace(/./,"$0")==="$0"}(),Ce=function(){return/./[ce]?/./[ce]("a","$0")==="":!1}(),Le=!le(function(){var De=/./;return De.exec=function(){var ke=[];return ke.groups={a:"7"},ke},"".replace(De,"$")!=="7"});de("replace",function(De,ke,Ue){var et=Ce?"$":"$0";return[function(it,Qe){var Ye=y(this),Ve=it==null?void 0:b(it,ce);return Ve?te(Ve,it,Ye,Qe):te(ke,a(Ye),it,Qe)},function(Ge,it){var Qe=ue(this),Ye=a(Ge);if(typeof it=="string"&&fe(it,et)===-1&&fe(it,"$<")===-1){var Ve=Ue(ke,Qe,Ye,it);if(Ve.done)return Ve.value}var Me=ae(it);Me||(it=a(it));var Re=Qe.global;if(Re){var ze=Qe.unicode;Qe.lastIndex=0}for(var rt=[];;){var $e=ee(Qe,Ye);if($e===null||(pe(rt,$e),!Re))break;var ut=a($e[0]);ut===""&&(Qe.lastIndex=x(Ye,ne(Qe.lastIndex),ze))}for(var _e="",We=0,Te=0;Te=We&&(_e+=ye(Ye,We,Fe)+Ee,We=Fe+Je.length)}return _e+ye(Ye,We)}]},!Le||!Oe||Ce)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,Pe,be){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/require-object-coercible"),le=E("../internals/same-value"),ue=E("../internals/to-string"),ae=E("../internals/get-method"),ie=E("../internals/regexp-exec-abstract");te("search",function(ne,a,y){return[function(b){var z=de(this),ee=b==null?void 0:ae(b,ne);return ee?oe(ee,b,z):new RegExp(b)[ne](ue(z))},function(x){var b=se(this),z=ue(x),ee=y(a,b,z);if(ee.done)return ee.value;var re=b.lastIndex;le(re,0)||(b.lastIndex=0);var ce=ie(b,z);return le(b.lastIndex,re)||(b.lastIndex=re),ce===null?-1:ce.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,Pe,be){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),le=E("../internals/is-regexp"),ue=E("../internals/an-object"),ae=E("../internals/require-object-coercible"),ie=E("../internals/species-constructor"),ne=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),z=E("../internals/regexp-exec-abstract"),ee=E("../internals/regexp-exec"),re=E("../internals/regexp-sticky-helpers"),ce=E("../internals/fails"),me=re.UNSUPPORTED_Y,ve=4294967295,ge=Math.min,pe=[].push,fe=se(/./.exec),ye=se(pe),Se=se("".slice),Oe=!ce(function(){var Ce=/(?:)/,Le=Ce.exec;Ce.exec=function(){return Le.apply(this,arguments)};var De="ab".split(Ce);return De.length!==2||De[0]!=="a"||De[1]!=="b"});de("split",function(Ce,Le,De){var ke;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?ke=function(Ue,et){var Ge=y(ae(this)),it=et===void 0?ve:et>>>0;if(it===0)return[];if(Ue===void 0)return[Ge];if(!le(Ue))return te(Le,Ge,Ue,it);for(var Qe=[],Ye=(Ue.ignoreCase?"i":"")+(Ue.multiline?"m":"")+(Ue.unicode?"u":"")+(Ue.sticky?"y":""),Ve=0,Me=new RegExp(Ue.source,Ye+"g"),Re,ze,rt;(Re=te(ee,Me,Ge))&&(ze=Me.lastIndex,!(ze>Ve&&(ye(Qe,Se(Ge,Ve,Re.index)),Re.length>1&&Re.index=it)));)Me.lastIndex===Re.index&&Me.lastIndex++;return Ve===Ge.length?(rt||!fe(Me,""))&&ye(Qe,""):ye(Qe,Se(Ge,Ve)),Qe.length>it?b(Qe,0,it):Qe}:"0".split(void 0,0).length?ke=function(Ue,et){return Ue===void 0&&et===0?[]:te(Le,this,Ue,et)}:ke=Le,[function(et,Ge){var it=ae(this),Qe=et==null?void 0:x(et,Ce);return Qe?te(Qe,et,it,Ge):te(ke,y(it),et,Ge)},function(Ue,et){var Ge=ue(this),it=y(Ue),Qe=De(ke,Ge,it,et,ke!==Le);if(Qe.done)return Qe.value;var Ye=ie(Ge,RegExp),Ve=Ge.unicode,Me=(Ge.ignoreCase?"i":"")+(Ge.multiline?"m":"")+(Ge.unicode?"u":"")+(me?"g":"y"),Re=new Ye(me?"^(?:"+Ge.source+")":Ge,Me),ze=et===void 0?ve:et>>>0;if(ze===0)return[];if(it.length===0)return z(Re,it)===null?[it]:[];for(var rt=0,$e=0,ut=[];$e2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").every,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("every",function(ue){return te(se(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-call"),se=E("../internals/array-fill"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("fill",function(ae){var ie=arguments.length;return te(se,de(this),ae,ie>1?arguments[1]:void 0,ie>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").filter,se=E("../internals/typed-array-from-species-and-list"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("filter",function(ae){var ie=te(de(this),ae,arguments.length>1?arguments[1]:void 0);return se(this,ie)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").findIndex,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("findIndex",function(ue){return te(se(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").find,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("find",function(ue){return te(se(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").forEach,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("forEach",function(ue){te(se(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").includes,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("includes",function(ue){return te(se(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").indexOf,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("indexOf",function(ue){return te(se(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,Pe,be){"use strict";var oe=E("../internals/global"),te=E("../internals/fails"),se=E("../internals/function-uncurry-this"),de=E("../internals/array-buffer-view-core"),le=E("../modules/es.array.iterator"),ue=E("../internals/well-known-symbol"),ae=ue("iterator"),ie=oe.Uint8Array,ne=se(le.values),a=se(le.keys),y=se(le.entries),x=de.aTypedArray,b=de.exportTypedArrayMethod,z=ie&&ie.prototype,ee=!te(function(){z[ae].call([1])}),re=!!z&&z.values&&z[ae]===z.values&&z.values.name==="values",ce=function(){return ne(x(this))};b("entries",function(){return y(x(this))},ee),b("keys",function(){return a(x(this))},ee),b("values",ce,ee||!re,{name:"values"}),b(ae,ce,ee||!re,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-uncurry-this"),se=oe.aTypedArray,de=oe.exportTypedArrayMethod,le=te([].join);de("join",function(ae){return le(se(this),ae)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-apply"),se=E("../internals/array-last-index-of"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("lastIndexOf",function(ae){var ie=arguments.length;return te(se,de(this),ie>1?[ae,arguments[1]]:[ae])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").map,se=E("../internals/typed-array-species-constructor"),de=oe.aTypedArray,le=oe.exportTypedArrayMethod;le("map",function(ae){return te(de(this),ae,arguments.length>1?arguments[1]:void 0,function(ie,ne){return new(se(ie))(ne)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").right,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("reduceRight",function(ue){var ae=arguments.length;return te(se(this),ue,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").left,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("reduce",function(ue){var ae=arguments.length;return te(se(this),ue,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=oe.aTypedArray,se=oe.exportTypedArrayMethod,de=Math.floor;se("reverse",function(){for(var ue=this,ae=te(ue).length,ie=de(ae/2),ne=0,a;ne1?arguments[1]:void 0,1),ve=ue(ce);if(z)return te(y,this,ve,me);var ge=this.length,pe=de(ve),fe=0;if(pe+me>ge)throw ie("Wrong length");for(;feb;)ee[b]=y[b++];return ee},ae)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").some,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("some",function(ue){return te(se(this),ue,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,Pe,be){"use strict";var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/a-callable"),le=E("../internals/array-sort"),ue=E("../internals/array-buffer-view-core"),ae=E("../internals/engine-ff-version"),ie=E("../internals/engine-is-ie-or-edge"),ne=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ue.aTypedArray,x=ue.exportTypedArrayMethod,b=oe.Uint16Array,z=b&&te(b.prototype.sort),ee=!!z&&!(se(function(){z(new b(2),null)})&&se(function(){z(new b(2),{})})),re=!!z&&!se(function(){if(ne)return ne<74;if(ae)return ae<67;if(ie)return!0;if(a)return a<602;var me=new b(516),ve=Array(516),ge,pe;for(ge=0;ge<516;ge++)pe=ge%4,me[ge]=515-ge,ve[ge]=ge-2*pe+3;for(z(me,function(fe,ye){return(fe/4|0)-(ye/4|0)}),ge=0;ge<516;ge++)if(me[ge]!==ve[ge])return!0}),ce=function(me){return function(ve,ge){return me!==void 0?+me(ve,ge)||0:ge!==ge?-1:ve!==ve?1:ve===0&&ge===0?1/ve>0&&1/ge<0?1:-1:ve>ge}};x("sort",function(ve){return ve!==void 0&&de(ve),re?z(this,ve):le(y(this),ce(ve))},!re||ee)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/to-length"),se=E("../internals/to-absolute-index"),de=E("../internals/typed-array-species-constructor"),le=oe.aTypedArray,ue=oe.exportTypedArrayMethod;ue("subarray",function(ie,ne){var a=le(this),y=a.length,x=se(ie,y),b=de(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,te((ne===void 0?y:se(ne,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,Pe,be){"use strict";var oe=E("../internals/global"),te=E("../internals/function-apply"),se=E("../internals/array-buffer-view-core"),de=E("../internals/fails"),le=E("../internals/array-slice"),ue=oe.Int8Array,ae=se.aTypedArray,ie=se.exportTypedArrayMethod,ne=[].toLocaleString,a=!!ue&&de(function(){ne.call(new ue(1))}),y=de(function(){return[1,2].toLocaleString()!=new ue([1,2]).toLocaleString()})||!de(function(){ue.prototype.toLocaleString.call([1,2])});ie("toLocaleString",function(){return te(ne,a?le(ae(this)):ae(this),le(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,Pe,be){"use strict";var oe=E("../internals/array-buffer-view-core").exportTypedArrayMethod,te=E("../internals/fails"),se=E("../internals/global"),de=E("../internals/function-uncurry-this"),le=se.Uint8Array,ue=le&&le.prototype||{},ae=[].toString,ie=de([].join);te(function(){ae.call({})})&&(ae=function(){return ie(this)});var ne=ue.toString!=ae;oe("toString",ae,ne)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,Pe,be){var oe=E("../internals/typed-array-constructor");oe("Uint8",function(te){return function(de,le,ue){return te(this,de,le,ue)}})},{"../internals/typed-array-constructor":258}],339:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../internals/array-for-each"),le=E("../internals/create-non-enumerable-property"),ue=function(ie){if(ie&&ie.forEach!==de)try{le(ie,"forEach",de)}catch(ne){ie.forEach=de}};for(var ae in te)te[ae]&&ue(oe[ae]&&oe[ae].prototype);ue(se)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,Pe,be){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../modules/es.array.iterator"),le=E("../internals/create-non-enumerable-property"),ue=E("../internals/well-known-symbol"),ae=ue("iterator"),ie=ue("toStringTag"),ne=de.values,a=function(x,b){if(x){if(x[ae]!==ne)try{le(x,ae,ne)}catch(ee){x[ae]=ne}if(x[ie]||le(x,ie,b),te[b]){for(var z in de)if(x[z]!==de[z])try{le(x,z,de[z])}catch(ee){x[z]=de[z]}}}};for(var y in te)a(oe[y]&&oe[y].prototype,y);a(se,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,Pe,be){function oe(re){return Array.isArray?Array.isArray(re):ee(re)==="[object Array]"}be.isArray=oe;function te(re){return typeof re=="boolean"}be.isBoolean=te;function se(re){return re===null}be.isNull=se;function de(re){return re==null}be.isNullOrUndefined=de;function le(re){return typeof re=="number"}be.isNumber=le;function ue(re){return typeof re=="string"}be.isString=ue;function ae(re){return typeof re=="symbol"}be.isSymbol=ae;function ie(re){return re===void 0}be.isUndefined=ie;function ne(re){return ee(re)==="[object RegExp]"}be.isRegExp=ne;function a(re){return typeof re=="object"&&re!==null}be.isObject=a;function y(re){return ee(re)==="[object Date]"}be.isDate=y;function x(re){return ee(re)==="[object Error]"||re instanceof Error}be.isError=x;function b(re){return typeof re=="function"}be.isFunction=b;function z(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re=="undefined"}be.isPrimitive=z,be.isBuffer=E("buffer").Buffer.isBuffer;function ee(re){return Object.prototype.toString.call(re)}},{buffer:90}],342:[function(E,Pe,be){(function(oe){"use strict";var te=function(){var ae=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ie=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ne=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ue(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(te.masks[y]||y||te.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var ee=x?"getUTC":"get",re=a[ee+"Date"](),ce=a[ee+"Day"](),me=a[ee+"Month"](),ve=a[ee+"FullYear"](),ge=a[ee+"Hours"](),pe=a[ee+"Minutes"](),fe=a[ee+"Seconds"](),ye=a[ee+"Milliseconds"](),Se=x?0:a.getTimezoneOffset(),Oe=de(a),Ce=le(a),Le={d:re,dd:se(re),ddd:te.i18n.dayNames[ce],dddd:te.i18n.dayNames[ce+7],m:me+1,mm:se(me+1),mmm:te.i18n.monthNames[me],mmmm:te.i18n.monthNames[me+12],yy:String(ve).slice(2),yyyy:ve,h:ge%12||12,hh:se(ge%12||12),H:ge,HH:se(ge),M:pe,MM:se(pe),s:fe,ss:se(fe),l:se(ye,3),L:se(Math.round(ye/10)),t:ge<12?"a":"p",tt:ge<12?"am":"pm",T:ge<12?"A":"P",TT:ge<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ie)||[""]).pop().replace(ne,""),o:(Se>0?"-":"+")+se(Math.floor(Math.abs(Se)/60)*100+Math.abs(Se)%60,4),S:["th","st","nd","rd"][re%10>3?0:(re%100-re%10!=10)*re%10],W:Oe,N:Ce};return y.replace(ae,function(De){return De in Le?Le[De]:De.slice(1,De.length-1)})}}();te.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},te.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function se(ae,ie){for(ae=String(ae),ie=ie||2;ae.length]/;Pe.exports=te;function te(se){var de=""+se,le=oe.exec(de);if(!le)return de;var ue,ae="",ie=0,ne=0;for(ie=le.index;ie0&&(Le=ye[0]),Le instanceof Error)throw Le;var De=new Error("Unhandled error."+(Le?" ("+Le.message+")":""));throw De.context=Le,De}var ke=Ce[fe];if(ke===void 0)return!1;if(typeof ke=="function")te(ke,this,ye);else for(var Ue=ke.length,et=ee(ke,Ue),Se=0;Se0&&Le.length>Oe&&!Le.warned){Le.warned=!0;var De=new Error("Possible EventEmitter memory leak detected. "+Le.length+" "+String(fe)+" listeners added. Use emitter.setMaxListeners() to increase limit");De.name="MaxListenersExceededWarning",De.emitter=pe,De.type=fe,De.count=Le.length,de(De)}return pe}ue.prototype.addListener=function(fe,ye){return a(this,fe,ye,!1)},ue.prototype.on=ue.prototype.addListener,ue.prototype.prependListener=function(fe,ye){return a(this,fe,ye,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(pe,fe,ye){var Se={fired:!1,wrapFn:void 0,target:pe,type:fe,listener:ye},Oe=y.bind(Se);return Oe.listener=ye,Se.wrapFn=Oe,Oe}ue.prototype.once=function(fe,ye){return ie(ye),this.on(fe,x(this,fe,ye)),this},ue.prototype.prependOnceListener=function(fe,ye){return ie(ye),this.prependListener(fe,x(this,fe,ye)),this},ue.prototype.removeListener=function(fe,ye){var Se,Oe,Ce,Le,De;if(ie(ye),Oe=this._events,Oe===void 0)return this;if(Se=Oe[fe],Se===void 0)return this;if(Se===ye||Se.listener===ye)--this._eventsCount===0?this._events=Object.create(null):(delete Oe[fe],Oe.removeListener&&this.emit("removeListener",fe,Se.listener||ye));else if(typeof Se!="function"){for(Ce=-1,Le=Se.length-1;Le>=0;Le--)if(Se[Le]===ye||Se[Le].listener===ye){De=Se[Le].listener,Ce=Le;break}if(Ce<0)return this;Ce===0?Se.shift():re(Se,Ce),Se.length===1&&(Oe[fe]=Se[0]),Oe.removeListener!==void 0&&this.emit("removeListener",fe,De||ye)}return this},ue.prototype.off=ue.prototype.removeListener,ue.prototype.removeAllListeners=function(fe){var ye,Se,Oe;if(Se=this._events,Se===void 0)return this;if(Se.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Se[fe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Se[fe]),this;if(arguments.length===0){var Ce=Object.keys(Se),Le;for(Oe=0;Oe=0;Oe--)this.removeListener(fe,ye[Oe]);return this};function b(pe,fe,ye){var Se=pe._events;if(Se===void 0)return[];var Oe=Se[fe];return Oe===void 0?[]:typeof Oe=="function"?ye?[Oe.listener||Oe]:[Oe]:ye?ce(Oe):ee(Oe,Oe.length)}ue.prototype.listeners=function(fe){return b(this,fe,!0)},ue.prototype.rawListeners=function(fe){return b(this,fe,!1)},ue.listenerCount=function(pe,fe){return typeof pe.listenerCount=="function"?pe.listenerCount(fe):z.call(pe,fe)},ue.prototype.listenerCount=z;function z(pe){var fe=this._events;if(fe!==void 0){var ye=fe[pe];if(typeof ye=="function")return 1;if(ye!==void 0)return ye.length}return 0}ue.prototype.eventNames=function(){return this._eventsCount>0?se(this._events):[]};function ee(pe,fe){for(var ye=new Array(fe),Se=0;Se=3&&(x=y),te.call(ne)==="[object Array]"?de(ne,a,x):typeof ne=="string"?le(ne,a,x):ue(ne,a,x)};Pe.exports=ae},{"is-callable":367}],346:[function(E,Pe,be){"use strict";var oe="Function.prototype.bind called on incompatible ",te=Array.prototype.slice,se=Object.prototype.toString,de="[object Function]";Pe.exports=function(ue){var ae=this;if(typeof ae!="function"||se.call(ae)!==de)throw new TypeError(oe+ae);for(var ie=te.call(arguments,1),ne,a=function(){if(this instanceof ne){var ee=ae.apply(this,ie.concat(te.call(arguments)));return Object(ee)===ee?ee:this}else return ae.apply(ue,ie.concat(te.call(arguments)))},y=Math.max(0,ae.length-ie.length),x=[],b=0;b1&&typeof et!="boolean")throw new de('"allowMissing" argument must be a boolean');if(Se(/^%?[^%]*%?$/,Ue)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ge=Le(Ue),it=Ge.length>0?Ge[0]:"",Qe=De("%"+it+"%",et),Ye=Qe.name,Ve=Qe.value,Me=!1,Re=Qe.alias;Re&&(it=Re[0],pe(Ge,ge([0,1],Re)));for(var ze=1,rt=!0;ze=Ge.length){var We=ue(Ve,$e);rt=!!We,rt&&"get"in We&&!("originalValue"in We.get)?Ve=We.get:Ve=Ve[$e]}else rt=ve(Ve,$e),Ve=Ve[$e];rt&&!Me&&(z[Ye]=Ve)}}return Ve}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,Pe,be){"use strict";var oe=E("get-intrinsic"),te=oe("%Object.getOwnPropertyDescriptor%",!0);if(te)try{te([],"length")}catch(se){te=null}Pe.exports=te},{"get-intrinsic":348}],350:[function(E,Pe,be){"use strict";var oe={foo:{}},te=Object;Pe.exports=function(){return{__proto__:oe}.foo===oe.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(E,Pe,be){"use strict";var oe=typeof Symbol!="undefined"&&Symbol,te=E("./shams");Pe.exports=function(){return typeof oe!="function"||typeof Symbol!="function"||typeof oe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:te()}},{"./shams":352}],352:[function(E,Pe,be){"use strict";Pe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var te={},se=Symbol("test"),de=Object(se);if(typeof se=="string"||Object.prototype.toString.call(se)!=="[object Symbol]"||Object.prototype.toString.call(de)!=="[object Symbol]")return!1;var le=42;te[se]=le;for(se in te)return!1;if(typeof Object.keys=="function"&&Object.keys(te).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(te).length!==0)return!1;var ue=Object.getOwnPropertySymbols(te);if(ue.length!==1||ue[0]!==se||!Object.prototype.propertyIsEnumerable.call(te,se))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ae=Object.getOwnPropertyDescriptor(te,se);if(ae.value!==le||ae.enumerable!==!0)return!1}return!0}},{}],353:[function(E,Pe,be){"use strict";var oe=E("has-symbols/shams");Pe.exports=function(){return oe()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,Pe,be){"use strict";var oe=E("function-bind");Pe.exports=oe.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,Pe,be){var oe=E("http"),te=E("url"),se=Pe.exports;for(var de in oe)oe.hasOwnProperty(de)&&(se[de]=oe[de]);se.request=function(ue,ae){return ue=le(ue),oe.request.call(this,ue,ae)},se.get=function(ue,ae){return ue=le(ue),oe.get.call(this,ue,ae)};function le(ue){if(typeof ue=="string"&&(ue=te.parse(ue)),ue.protocol||(ue.protocol="https:"),ue.protocol!=="https:")throw new Error('Protocol "'+ue.protocol+'" not supported. Expected "https:"');return ue}},{http:468,url:472}],356:[function(E,Pe,be){"use strict";var oe=E("util"),te=E("ms");Pe.exports=function(se){if(typeof se=="number")return se;var de=te(se);if(de===void 0){var le=new Error(oe.format("humanize-ms(%j) result undefined",se));console.warn(le.stack)}return de}},{ms:376,util:419}],357:[function(E,Pe,be){be.read=function(oe,te,se,de,le){var ue,ae,ie=le*8-de-1,ne=(1<>1,y=-7,x=se?le-1:0,b=se?-1:1,z=oe[te+x];for(x+=b,ue=z&(1<<-y)-1,z>>=-y,y+=ie;y>0;ue=ue*256+oe[te+x],x+=b,y-=8);for(ae=ue&(1<<-y)-1,ue>>=-y,y+=de;y>0;ae=ae*256+oe[te+x],x+=b,y-=8);if(ue===0)ue=1-a;else{if(ue===ne)return ae?NaN:(z?-1:1)*(1/0);ae=ae+Math.pow(2,de),ue=ue-a}return(z?-1:1)*ae*Math.pow(2,ue-de)},be.write=function(oe,te,se,de,le,ue){var ae,ie,ne,a=ue*8-le-1,y=(1<>1,b=le===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=de?0:ue-1,ee=de?1:-1,re=te<0||te===0&&1/te<0?1:0;for(te=Math.abs(te),isNaN(te)||te===1/0?(ie=isNaN(te)?1:0,ae=y):(ae=Math.floor(Math.log(te)/Math.LN2),te*(ne=Math.pow(2,-ae))<1&&(ae--,ne*=2),ae+x>=1?te+=b/ne:te+=b*Math.pow(2,1-x),te*ne>=2&&(ae++,ne/=2),ae+x>=y?(ie=0,ae=y):ae+x>=1?(ie=(te*ne-1)*Math.pow(2,le),ae=ae+x):(ie=te*Math.pow(2,x-1)*Math.pow(2,le),ae=0));le>=8;oe[se+z]=ie&255,z+=ee,ie/=256,le-=8);for(ae=ae<0;oe[se+z]=ae&255,z+=ee,ae/=256,a-=8);oe[se+z-ee]|=re*128}},{}],358:[function(E,Pe,be){"use strict";var oe=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],te,se,de=-1,le=[],ue=!1;function ae(){!te||!se||(te=!1,se.length?le=se.concat(le):de=-1,le.length&&ie())}function ie(){if(!te){ue=!1,te=!0;for(var z=le.length,ee=setTimeout(ae);z;){for(se=le,le=[];se&&++de1)for(var re=1;re=0&&se(ie)!=="[object Array]"&&se(ie.callee)==="[object Function]"},ue=function(){return de(arguments)}();de.isLegacyArguments=le,Pe.exports=ue?de:le},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,Pe,be){Pe.exports=function(se){return se!=null&&(oe(se)||te(se)||!!se._isBuffer)};function oe(se){return!!se.constructor&&typeof se.constructor.isBuffer=="function"&&se.constructor.isBuffer(se)}function te(se){return typeof se.readFloatLE=="function"&&typeof se.slice=="function"&&oe(se.slice(0,0))}},{}],367:[function(E,Pe,be){"use strict";var oe=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,se,de;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{se=Object.defineProperty({},"length",{get:function(){throw de}}),de={},te(function(){throw 42},null,se)}catch(ve){ve!==de&&(te=null)}else te=null;var le=/^\s*class\b/,ue=function(ge){try{var pe=oe.call(ge);return le.test(pe)}catch(fe){return!1}},ae=function(ge){try{return ue(ge)?!1:(oe.call(ge),!0)}catch(pe){return!1}},ie=Object.prototype.toString,ne="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",ee=typeof Symbol=="function"&&!!Symbol.toStringTag,re=!(0 in[,]),ce=function(){return!1};if(typeof document=="object"){var me=document.all;ie.call(me)===ie.call(document.all)&&(ce=function(ge){if((re||!ge)&&(typeof ge=="undefined"||typeof ge=="object"))try{var pe=ie.call(ge);return(pe===x||pe===b||pe===z||pe===ne)&&ge("")==null}catch(fe){}return!1})}Pe.exports=te?function(ge){if(ce(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;try{te(ge,null,se)}catch(pe){if(pe!==de)return!1}return!ue(ge)&&ae(ge)}:function(ge){if(ce(ge))return!0;if(!ge||typeof ge!="function"&&typeof ge!="object")return!1;if(ee)return ae(ge);if(ue(ge))return!1;var pe=ie.call(ge);return pe!==a&&pe!==y&&!/^\[object HTML/.test(pe)?!1:ae(ge)}},{}],368:[function(E,Pe,be){"use strict";var oe=Object.prototype.toString,te=Function.prototype.toString,se=/^\s*(?:function)?\*/,de=E("has-tostringtag/shams")(),le=Object.getPrototypeOf,ue=function(){if(!de)return!1;try{return Function("return function*() {}")()}catch(ie){}},ae;Pe.exports=function(ne){if(typeof ne!="function")return!1;if(se.test(te.call(ne)))return!0;if(!de){var a=oe.call(ne);return a==="[object GeneratorFunction]"}if(!le)return!1;if(typeof ae=="undefined"){var y=ue();ae=y?le(y):!1}return le(ne)===ae}},{"has-tostringtag/shams":353}],369:[function(E,Pe,be){"use strict";var oe=E("which-typed-array");Pe.exports=function(se){return!!oe(se)}},{"which-typed-array":420}],370:[function(E,Pe,be){var oe={}.toString;Pe.exports=Array.isArray||function(te){return oe.call(te)=="[object Array]"}},{}],371:[function(E,Pe,be){(function(oe){(function(){(function(te,se){typeof be=="object"&&typeof Pe!="undefined"?Pe.exports=se(te):typeof Ae=="function"&&Ae.amd?Ae(se):se(te)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe!="undefined"?oe:this,function(te){"use strict";te=te||{};var se=te.Base64,de="2.6.4",le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=function(Ue){for(var et={},Ge=0,it=Ue.length;Ge>>6)+ae(128|et&63):ae(224|et>>>12&15)+ae(128|et>>>6&63)+ae(128|et&63)}else{var et=65536+(Ue.charCodeAt(0)-55296)*1024+(Ue.charCodeAt(1)-56320);return ae(240|et>>>18&7)+ae(128|et>>>12&63)+ae(128|et>>>6&63)+ae(128|et&63)}},ne=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Ue){return Ue.replace(ne,ie)},y=function(Ue){var et=[0,2,1][Ue.length%3],Ge=Ue.charCodeAt(0)<<16|(Ue.length>1?Ue.charCodeAt(1):0)<<8|(Ue.length>2?Ue.charCodeAt(2):0),it=[le.charAt(Ge>>>18),le.charAt(Ge>>>12&63),et>=2?"=":le.charAt(Ge>>>6&63),et>=1?"=":le.charAt(Ge&63)];return it.join("")},x=te.btoa&&typeof te.btoa=="function"?function(Ue){return te.btoa(Ue)}:function(Ue){if(Ue.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ue.replace(/[\s\S]{1,3}/g,y)},b=function(Ue){return x(a(String(Ue)))},z=function(Ue){return Ue.replace(/[+\/]/g,function(et){return et=="+"?"-":"_"}).replace(/=/g,"")},ee=function(Ue,et){return et?z(b(Ue)):b(Ue)},re=function(Ue){return ee(Ue,!0)},ce;te.Uint8Array&&(ce=function(Ue,et){for(var Ge="",it=0,Qe=Ue.length;it>>18)+le.charAt(Re>>>12&63)+(typeof Ve!="undefined"?le.charAt(Re>>>6&63):"=")+(typeof Me!="undefined"?le.charAt(Re&63):"=")}return et?z(Ge):Ge});var me=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(Ue){switch(Ue.length){case 4:var et=(7&Ue.charCodeAt(0))<<18|(63&Ue.charCodeAt(1))<<12|(63&Ue.charCodeAt(2))<<6|63&Ue.charCodeAt(3),Ge=et-65536;return ae((Ge>>>10)+55296)+ae((Ge&1023)+56320);case 3:return ae((15&Ue.charCodeAt(0))<<12|(63&Ue.charCodeAt(1))<<6|63&Ue.charCodeAt(2));default:return ae((31&Ue.charCodeAt(0))<<6|63&Ue.charCodeAt(1))}},ge=function(Ue){return Ue.replace(me,ve)},pe=function(Ue){var et=Ue.length,Ge=et%4,it=(et>0?ue[Ue.charAt(0)]<<18:0)|(et>1?ue[Ue.charAt(1)]<<12:0)|(et>2?ue[Ue.charAt(2)]<<6:0)|(et>3?ue[Ue.charAt(3)]:0),Qe=[ae(it>>>16),ae(it>>>8&255),ae(it&255)];return Qe.length-=[0,0,2,1][Ge],Qe.join("")},fe=te.atob&&typeof te.atob=="function"?function(Ue){return te.atob(Ue)}:function(Ue){return Ue.replace(/\S{1,4}/g,pe)},ye=function(Ue){return fe(String(Ue).replace(/[^A-Za-z0-9\+\/]/g,""))},Se=function(Ue){return ge(fe(Ue))},Oe=function(Ue){return String(Ue).replace(/[-_]/g,function(et){return et=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(Ue){return Se(Oe(Ue))},Le;te.Uint8Array&&(Le=function(Ue){return Uint8Array.from(ye(Oe(Ue)),function(et){return et.charCodeAt(0)})});var De=function(){var Ue=te.Base64;return te.Base64=se,Ue};if(te.Base64={VERSION:de,atob:ye,btoa:x,fromBase64:Ce,toBase64:ee,utob:a,encode:ee,encodeURI:re,btou:ge,decode:Ce,noConflict:De,fromUint8Array:ce,toUint8Array:Le},typeof Object.defineProperty=="function"){var ke=function(Ue){return{value:Ue,enumerable:!1,writable:!0,configurable:!0}};te.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",ke(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",ke(function(Ue){return ee(this,Ue)})),Object.defineProperty(String.prototype,"toBase64URI",ke(function(){return ee(this,!0)}))}}return te.Meteor&&(Base64=te.Base64),typeof Pe!="undefined"&&Pe.exports?Pe.exports.Base64=te.Base64:typeof Ae=="function"&&Ae.amd&&Ae([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,Pe,be){"use strict";Pe.exports=te;var oe=Object.prototype.hasOwnProperty;function te(se,de,le){if(!se)throw new TypeError("argument dest is required");if(!de)throw new TypeError("argument src is required");return le===void 0&&(le=!0),Object.getOwnPropertyNames(de).forEach(function(ae){if(!(!le&&oe.call(se,ae))){var ie=Object.getOwnPropertyDescriptor(de,ae);Object.defineProperty(se,ae,ie)}}),se}},{}],373:[function(E,Pe,be){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function oe(){this._types=Object.create(null),this._extensions=Object.create(null);for(var te=0;te0)return ae(y);if(b==="number"&&isFinite(y))return x.long?ne(y):ie(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function ae(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),z=(x[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*ue;case"weeks":case"week":case"w":return b*le;case"days":case"day":case"d":return b*de;case"hours":case"hour":case"hrs":case"hr":case"h":return b*se;case"minutes":case"minute":case"mins":case"min":case"m":return b*te;case"seconds":case"second":case"secs":case"sec":case"s":return b*oe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ie(y){var x=Math.abs(y);return x>=de?Math.round(y/de)+"d":x>=se?Math.round(y/se)+"h":x>=te?Math.round(y/te)+"m":x>=oe?Math.round(y/oe)+"s":y+"ms"}function ne(y){var x=Math.abs(y);return x>=de?a(y,x,de,"day"):x>=se?a(y,x,se,"hour"):x>=te?a(y,x,te,"minute"):x>=oe?a(y,x,oe,"second"):y+" ms"}function a(y,x,b,z){var ee=x>=b*1.5;return Math.round(y/b)+" "+z+(ee?"s":"")}},{}],377:[function(E,Pe,be){"use strict";var oe=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;function de(ue){if(ue==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ue)}function le(){try{if(!Object.assign)return!1;var ue=new String("abc");if(ue[5]="de",Object.getOwnPropertyNames(ue)[0]==="5")return!1;for(var ae={},ie=0;ie<10;ie++)ae["_"+String.fromCharCode(ie)]=ie;var ne=Object.getOwnPropertyNames(ae).map(function(y){return ae[y]});if(ne.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}Pe.exports=le()?Object.assign:function(ue,ae){for(var ie,ne=de(ue),a,y=1;y2){var z=ie.lastIndexOf("/");if(z!==ie.length-1){z===-1?(ie="",ne=0):(ie=ie.slice(0,z),ne=ie.length-1-ie.lastIndexOf("/")),a=b,y=0;continue}}else if(ie.length===2||ie.length===1){ie="",ne=0,a=b,y=0;continue}}ae&&(ie.length>0?ie+="/..":ie="..",ne=2)}else ie.length>0?ie+="/"+ue.slice(a+1,b):ie=ue.slice(a+1,b),ne=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ie}function de(ue,ae){var ie=ae.dir||ae.root,ne=ae.base||(ae.name||"")+(ae.ext||"");return ie?ie===ae.root?ie+ne:ie+ue+ne:ne}var le={resolve:function(){for(var ae="",ie=!1,ne,a=arguments.length-1;a>=-1&&!ie;a--){var y;a>=0?y=arguments[a]:(ne===void 0&&(ne=oe.cwd()),y=ne),te(y),y.length!==0&&(ae=y+"/"+ae,ie=y.charCodeAt(0)===47)}return ae=se(ae,!ie),ie?ae.length>0?"/"+ae:"/":ae.length>0?ae:"."},normalize:function(ae){if(te(ae),ae.length===0)return".";var ie=ae.charCodeAt(0)===47,ne=ae.charCodeAt(ae.length-1)===47;return ae=se(ae,!ie),ae.length===0&&!ie&&(ae="."),ae.length>0&&ne&&(ae+="/"),ie?"/"+ae:ae},isAbsolute:function(ae){return te(ae),ae.length>0&&ae.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var ae,ie=0;ie0&&(ae===void 0?ae=ne:ae+="/"+ne)}return ae===void 0?".":le.normalize(ae)},relative:function(ae,ie){if(te(ae),te(ie),ae===ie||(ae=le.resolve(ae),ie=le.resolve(ie),ae===ie))return"";for(var ne=1;neee){if(ie.charCodeAt(x+ce)===47)return ie.slice(x+ce+1);if(ce===0)return ie.slice(x+ce)}else y>ee&&(ae.charCodeAt(ne+ce)===47?re=ce:ce===0&&(re=0));break}var me=ae.charCodeAt(ne+ce),ve=ie.charCodeAt(x+ce);if(me!==ve)break;me===47&&(re=ce)}var ge="";for(ce=ne+re+1;ce<=a;++ce)(ce===a||ae.charCodeAt(ce)===47)&&(ge.length===0?ge+="..":ge+="/..");return ge.length>0?ge+ie.slice(x+re):(x+=re,ie.charCodeAt(x)===47&&++x,ie.slice(x))},_makeLong:function(ae){return ae},dirname:function(ae){if(te(ae),ae.length===0)return".";for(var ie=ae.charCodeAt(0),ne=ie===47,a=-1,y=!0,x=ae.length-1;x>=1;--x)if(ie=ae.charCodeAt(x),ie===47){if(!y){a=x;break}}else y=!1;return a===-1?ne?"/":".":ne&&a===1?"//":ae.slice(0,a)},basename:function(ae,ie){if(ie!==void 0&&typeof ie!="string")throw new TypeError('"ext" argument must be a string');te(ae);var ne=0,a=-1,y=!0,x;if(ie!==void 0&&ie.length>0&&ie.length<=ae.length){if(ie.length===ae.length&&ie===ae)return"";var b=ie.length-1,z=-1;for(x=ae.length-1;x>=0;--x){var ee=ae.charCodeAt(x);if(ee===47){if(!y){ne=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(ee===ie.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ne===a?a=z:a===-1&&(a=ae.length),ae.slice(ne,a)}else{for(x=ae.length-1;x>=0;--x)if(ae.charCodeAt(x)===47){if(!y){ne=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":ae.slice(ne,a)}},extname:function(ae){te(ae);for(var ie=-1,ne=0,a=-1,y=!0,x=0,b=ae.length-1;b>=0;--b){var z=ae.charCodeAt(b);if(z===47){if(!y){ne=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?ie===-1?ie=b:x!==1&&(x=1):ie!==-1&&(x=-1)}return ie===-1||a===-1||x===0||x===1&&ie===a-1&&ie===ne+1?"":ae.slice(ie,a)},format:function(ae){if(ae===null||typeof ae!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ae);return de("/",ae)},parse:function(ae){te(ae);var ie={root:"",dir:"",base:"",ext:"",name:""};if(ae.length===0)return ie;var ne=ae.charCodeAt(0),a=ne===47,y;a?(ie.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,ee=!0,re=ae.length-1,ce=0;re>=y;--re){if(ne=ae.charCodeAt(re),ne===47){if(!ee){b=re+1;break}continue}z===-1&&(ee=!1,z=re+1),ne===46?x===-1?x=re:ce!==1&&(ce=1):x!==-1&&(ce=-1)}return x===-1||z===-1||ce===0||ce===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?ie.base=ie.name=ae.slice(1,z):ie.base=ie.name=ae.slice(b,z)):(b===0&&a?(ie.name=ae.slice(1,x),ie.base=ae.slice(1,z)):(ie.name=ae.slice(b,x),ie.base=ae.slice(b,z)),ie.ext=ae.slice(x,z)),b>0?ie.dir=ae.slice(0,b-1):a&&(ie.dir="/"),ie},sep:"/",delimiter:":",win32:null,posix:null};le.posix=le,Pe.exports=le}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,Pe,be){(function(oe){(function(){(function(){"use strict";var te={function:!0,object:!0},se=te[typeof window]&&window||this,de=se,le=te[typeof be]&&be,ue=te[typeof Pe]&&Pe&&!Pe.nodeType&&Pe,ae=le&&ue&&typeof oe=="object"&&oe;ae&&(ae.global===ae||ae.window===ae||ae.self===ae)&&(se=ae);var ie=Math.pow(2,53)-1,ne=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(Ce){return Ce=String(Ce),Ce.charAt(0).toUpperCase()+Ce.slice(1)}function ee(Ce,Le,De){var ke={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Le&&De&&/^Win/i.test(Ce)&&!/^Windows Phone /i.test(Ce)&&(ke=ke[/[\d.]+$/.exec(Ce)])&&(Ce="Windows "+ke),Ce=String(Ce),Le&&De&&(Ce=Ce.replace(RegExp(Le,"i"),De)),Ce=ce(Ce.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),Ce}function re(Ce,Le){var De=-1,ke=Ce?Ce.length:0;if(typeof ke=="number"&&ke>-1&&ke<=ie)for(;++De3&&"WebKit"||/\bOpera\b/.test(xe)&&(/\bOPR\b/.test(Ce)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ce)&&!/^(?:Trident|EdgeHTML)$/.test(Ee)&&"WebKit"||!Ee&&/\bMSIE\b/i.test(Ce)&&(Ze=="Mac OS"?"Tasman":"Trident")||Ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(xe)&&"NetFront")&&(Ee=[Te]),xe=="IE"&&(Te=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ce)||0)[1])?(xe+=" Mobile",Ze="Windows Phone "+(/\+$/.test(Te)?Te:Te+".x"),Fe.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ce)?(xe="IE Mobile",Ze="Windows Phone 8.x",Fe.unshift("desktop mode"),He||(He=(/\brv:([\d.]+)/.exec(Ce)||0)[1])):xe!="IE"&&Ee=="Trident"&&(Te=/\brv:([\d.]+)/.exec(Ce))&&(xe&&Fe.push("identifying as "+xe+(He?" "+He:"")),xe="IE",He=Te[1]),Xe){if(ge(Le,"global"))if(Re&&(Te=Re.lang.System,Je=Te.getProperty("os.arch"),Ze=Ze||Te.getProperty("os.name")+" "+Te.getProperty("os.version")),ze){try{He=Le.require("ringo/engine").version.join("."),xe="RingoJS"}catch(nt){(Te=Le.system)&&Te.global.system==Le.system&&(xe="Narwhal",Ze||(Ze=Te[0].os||null))}xe||(xe="Rhino")}else typeof Le.process=="object"&&!Le.process.browser&&(Te=Le.process)&&(typeof Te.versions=="object"&&(typeof Te.versions.electron=="string"?(Fe.push("Node "+Te.versions.node),xe="Electron",He=Te.versions.electron):typeof Te.versions.nw=="string"&&(Fe.push("Chromium "+He,"Node "+Te.versions.node),xe="NW.js",He=Te.versions.nw)),xe||(xe="Node.js",Je=Te.arch,Ze=Te.platform,He=/[\d.]+/.exec(Te.version),He=He?He[0]:null));else ve(Te=Le.runtime)==Qe?(xe="Adobe AIR",Ze=Te.flash.system.Capabilities.os):ve(Te=Le.phantom)==Me?(xe="PhantomJS",He=(Te=Te.version||null)&&Te.major+"."+Te.minor+"."+Te.patch):typeof ut.documentMode=="number"&&(Te=/\bTrident\/(\d+)/i.exec(Ce))?(He=[He,ut.documentMode],(Te=+Te[1]+4)!=He[1]&&(Fe.push("IE "+He[1]+" mode"),Ee&&(Ee[1]=""),He[1]=Te),He=xe=="IE"?String(He[1].toFixed(1)):He[0]):typeof ut.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(xe)&&(Fe.push("masking as "+xe+" "+He),xe="IE",He="11.0",Ee=["Trident"],Ze="Windows");Ze=Ze&&ce(Ze)}if(He&&(Te=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(He)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ce+";"+(Xe&&ke.appMinorVersion))||/\bMinefield\b/i.test(Ce)&&"a")&&(Ie=/b/i.test(Te)?"beta":"alpha",He=He.replace(RegExp(Te+"\\+?$"),"")+(Ie=="beta"?$e:rt)+(/\d+\+?/.exec(Te)||"")),xe=="Fennec"||xe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ze))xe="Firefox Mobile";else if(xe=="Maxthon"&&He)He=He.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(we))we=="Xbox 360"&&(Ze=null),we=="Xbox 360"&&/\bIEMobile\b/.test(Ce)&&Fe.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(xe)||xe&&!we&&!/Browser|Mobi/.test(xe))&&(Ze=="Windows CE"||/Mobi/i.test(Ce)))xe+=" Mobile";else if(xe=="IE"&&Xe)try{Le.external===null&&Fe.unshift("platform preview")}catch(nt){Fe.unshift("embedded")}else(/\bBlackBerry\b/.test(we)||/\bBB10\b/.test(Ce))&&(Te=(RegExp(we.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ce)||0)[1]||He)?(Te=[Te,/BB10/.test(Ce)],Ze=(Te[1]?(we=null,Be="BlackBerry"):"Device Software")+" "+Te[0],He=null):this!=me&&we!="Wii"&&(Xe&&_e||/Opera/.test(xe)&&/\b(?:MSIE|Firefox)\b/i.test(Ce)||xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ze)||xe=="IE"&&(Ze&&!/^Win/.test(Ze)&&He>5.5||/\bWindows XP\b/.test(Ze)&&He>8||He==8&&!/\bTrident\b/.test(Ce)))&&!ne.test(Te=Se.call(me,Ce.replace(ne,"")+";"))&&Te.name&&(Te="ing as "+Te.name+((Te=Te.version)?" "+Te:""),ne.test(xe)?(/\bIE\b/.test(Te)&&Ze=="Mac OS"&&(Ze=null),Te="identify"+Te):(Te="mask"+Te,We?xe=ce(We.replace(/([a-z])([A-Z])/g,"$1 $2")):xe="Opera",/\bIE\b/.test(Te)&&(Ze=null),Xe||(He=null)),Ee=["Presto"],Fe.push(Te));(Te=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ce)||0)[1])&&(Te=[parseFloat(Te.replace(/\.(\d)$/,".0$1")),Te],xe=="Safari"&&Te[1].slice(-1)=="+"?(xe="WebKit Nightly",Ie="alpha",He=Te[1].slice(0,-1)):(He==Te[1]||He==(Te[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ce)||0)[1]))&&(He=null),Te[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ce)||0)[1],Te[0]==537.36&&Te[2]==537.36&&parseFloat(Te[1])>=28&&Ee=="WebKit"&&(Ee=["Blink"]),!Xe||!Ge&&!Te[1]?(Ee&&(Ee[1]="like Safari"),Te=(Te=Te[0],Te<400?1:Te<500?2:Te<526?3:Te<533?4:Te<534?"4+":Te<535?5:Te<537?6:Te<538?7:Te<601?8:Te<602?9:Te<604?10:Te<606?11:Te<608?12:"12")):(Ee&&(Ee[1]="like Chrome"),Te=Te[1]||(Te=Te[0],Te<530?1:Te<532?2:Te<532.05?3:Te<533?4:Te<534.03?5:Te<534.07?6:Te<534.1?7:Te<534.13?8:Te<534.16?9:Te<534.24?10:Te<534.3?11:Te<535.01?12:Te<535.02?"13+":Te<535.07?15:Te<535.11?16:Te<535.19?17:Te<536.05?18:Te<536.1?19:Te<537.01?20:Te<537.11?"21+":Te<537.13?23:Te<537.18?24:Te<537.24?25:Te<537.36?26:Ee!="Blink"?"27":"28")),Ee&&(Ee[1]+=" "+(Te+=typeof Te=="number"?".x":/[.+]/.test(Te)?"":"+")),xe=="Safari"&&(!He||parseInt(He)>45)?He=Te:xe=="Chrome"&&/\bHeadlessChrome/i.test(Ce)&&Fe.unshift("headless")),xe=="Opera"&&(Te=/\bzbov|zvav$/.exec(Ze))?(xe+=" ",Fe.unshift("desktop mode"),Te=="zvav"?(xe+="Mini",He=null):xe+="Mobile",Ze=Ze.replace(RegExp(" *"+Te+"$"),"")):xe=="Safari"&&/\bChrome\b/.exec(Ee&&Ee[1])?(Fe.unshift("desktop mode"),xe="Chrome Mobile",He=null,/\bOS X\b/.test(Ze)?(Be="Apple",Ze="iOS 4.3+"):Ze=null):/\bSRWare Iron\b/.test(xe)&&!He&&(He=yt("Chrome")),He&&He.indexOf(Te=/[\d.]+$/.exec(Ze))==0&&Ce.indexOf("/"+Te+"-")>-1&&(Ze=ye(Ze.replace(Te,""))),Ze&&Ze.indexOf(xe)!=-1&&!RegExp(xe+" OS").test(Ze)&&(Ze=Ze.replace(RegExp(" *"+pe(xe)+" *"),"")),Ee&&!/\b(?:Avant|Nook)\b/.test(xe)&&(/Browser|Lunascape|Maxthon/.test(xe)||xe!="Safari"&&/^iOS/.test(Ze)&&/\bSafari\b/.test(Ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(xe)&&Ee[1])&&(Te=Ee[Ee.length-1])&&Fe.push(Te),Fe.length&&(Fe=["("+Fe.join("; ")+")"]),Be&&we&&we.indexOf(Be)<0&&Fe.push("on "+Be),we&&Fe.push((/^on /.test(Fe[Fe.length-1])?"":"on ")+we),Ze&&(Te=/ ([\d.+]+)$/.exec(Ze),je=Te&&Ze.charAt(Ze.length-Te[0].length-1)=="/",Ze={architecture:32,family:Te&&!je?Ze.replace(Te[0],""):Ze,version:Te?Te[1]:null,toString:function(){var nt=this.version;return this.family+(nt&&!je?" "+nt:"")+(this.architecture==64?" 64-bit":"")}}),(Te=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Je))&&!/\bi686\b/i.test(Je)?(Ze&&(Ze.architecture=64,Ze.family=Ze.family.replace(RegExp(" *"+Te),"")),xe&&(/\bWOW64\b/i.test(Ce)||Xe&&/\w(?:86|32)$/.test(ke.cpuClass||ke.platform)&&!/\bWin64; x64\b/i.test(Ce))&&Fe.unshift("32-bit")):Ze&&/^OS X/.test(Ze.family)&&xe=="Chrome"&&parseFloat(He)>=39&&(Ze.architecture=64),Ce||(Ce=null);var pt={};return pt.description=Ce,pt.layout=Ee&&Ee[0],pt.manufacturer=Be,pt.name=xe,pt.prerelease=Ie,pt.product=we,pt.ua=Ce,pt.version=xe&&He,pt.os=Ze||{architecture:null,family:null,version:null,toString:function(){return"null"}},pt.parse=Se,pt.toString=st,pt.version&&Fe.unshift(He),pt.name&&Fe.unshift(xe),Ze&&xe&&!(Ze==String(Ze).split(" ")[0]&&(Ze==xe.split(" ")[0]||we))&&Fe.push(we?"("+Ze+")":"on "+Ze),Fe.length&&(pt.description=Fe.join(" ")),pt}var Oe=Se();typeof Ae=="function"&&typeof Ae.amd=="object"&&Ae.amd?(se.platform=Oe,Ae(function(){return Oe})):le&&ue?me(Oe,function(Ce,Le){le[Le]=Ce}):se.platform=Oe}).call(this)}).call(this)}).call(this,typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,Pe,be){(function(oe){(function(){"use strict";typeof oe=="undefined"||!oe.version||oe.version.indexOf("v0.")===0||oe.version.indexOf("v1.")===0&&oe.version.indexOf("v1.8.")!==0?Pe.exports={nextTick:te}:Pe.exports=oe;function te(se,de,le,ue){if(typeof se!="function")throw new TypeError('"callback" argument must be a function');var ae=arguments.length,ie,ne;switch(ae){case 0:case 1:return oe.nextTick(se);case 2:return oe.nextTick(function(){se.call(null,de)});case 3:return oe.nextTick(function(){se.call(null,de,le)});case 4:return oe.nextTick(function(){se.call(null,de,le,ue)});default:for(ie=new Array(ae-1),ne=0;ne1)for(var me=1;me= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ge=ie-ne,pe=Math.floor,fe=String.fromCharCode,ye;function Se(Ve){throw new RangeError(ve[Ve])}function Oe(Ve,Me){for(var Re=Ve.length,ze=[];Re--;)ze[Re]=Me(Ve[Re]);return ze}function Ce(Ve,Me){var Re=Ve.split("@"),ze="";Re.length>1&&(ze=Re[0]+"@",Ve=Re[1]),Ve=Ve.replace(me,".");var rt=Ve.split("."),$e=Oe(rt,Me).join(".");return ze+$e}function Le(Ve){for(var Me=[],Re=0,ze=Ve.length,rt,$e;Re=55296&&rt<=56319&&Re65535&&(Me-=65536,Re+=fe(Me>>>10&1023|55296),Me=56320|Me&1023),Re+=fe(Me),Re}).join("")}function ke(Ve){return Ve-48<10?Ve-22:Ve-65<26?Ve-65:Ve-97<26?Ve-97:ie}function Ue(Ve,Me){return Ve+22+75*(Ve<26)-((Me!=0)<<5)}function et(Ve,Me,Re){var ze=0;for(Ve=Re?pe(Ve/x):Ve>>1,Ve+=pe(Ve/Me);Ve>ge*a>>1;ze+=ie)Ve=pe(Ve/ge);return pe(ze+(ge+1)*Ve/(Ve+y))}function Ge(Ve){var Me=[],Re=Ve.length,ze,rt=0,$e=z,ut=b,_e,We,Te,Je,Fe,Ie,Xe,He,je;for(_e=Ve.lastIndexOf(ee),_e<0&&(_e=0),We=0;We<_e;++We)Ve.charCodeAt(We)>=128&&Se("not-basic"),Me.push(Ve.charCodeAt(We));for(Te=_e>0?_e+1:0;Te=Re&&Se("invalid-input"),Xe=ke(Ve.charCodeAt(Te++)),(Xe>=ie||Xe>pe((ae-rt)/Fe))&&Se("overflow"),rt+=Xe*Fe,He=Ie<=ut?ne:Ie>=ut+a?a:Ie-ut,!(Xepe(ae/je)&&Se("overflow"),Fe*=je;ze=Me.length+1,ut=et(rt-Je,ze,Je==0),pe(rt/ze)>ae-$e&&Se("overflow"),$e+=pe(rt/ze),rt%=ze,Me.splice(rt++,0,$e)}return De(Me)}function it(Ve){var Me,Re,ze,rt,$e,ut,_e,We,Te,Je,Fe,Ie=[],Xe,He,je,Ee;for(Ve=Le(Ve),Xe=Ve.length,Me=z,Re=0,$e=b,ut=0;ut=Me&&Fe<_e&&(_e=Fe);for(He=ze+1,_e-Me>pe((ae-Re)/He)&&Se("overflow"),Re+=(_e-Me)*He,Me=_e,ut=0;utae&&Se("overflow"),Fe==Me){for(We=Re,Te=ie;Je=Te<=$e?ne:Te>=$e+a?a:Te-$e,!(We0&&a>ne&&(a=ne);for(var y=0;y=0?(z=x.substr(0,b),ee=x.substr(b+1)):(z=x,ee=""),re=decodeURIComponent(z),ce=decodeURIComponent(ee),oe(ae,re)?te(ae[re])?ae[re].push(ce):ae[re]=[ae[re],ce]:ae[re]=ce}return ae};var te=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{}],384:[function(E,Pe,be){"use strict";var oe=function(le){switch(typeof le){case"string":return le;case"boolean":return le?"true":"false";case"number":return isFinite(le)?le:"";default:return""}};Pe.exports=function(le,ue,ae,ie){return ue=ue||"&",ae=ae||"=",le===null&&(le=void 0),typeof le=="object"?se(de(le),function(ne){var a=encodeURIComponent(oe(ne))+ae;return te(le[ne])?se(le[ne],function(y){return a+encodeURIComponent(oe(y))}).join(ue):a+encodeURIComponent(oe(le[ne]))}).join(ue):ie?encodeURIComponent(oe(ie))+ae+encodeURIComponent(oe(le)):""};var te=Array.isArray||function(le){return Object.prototype.toString.call(le)==="[object Array]"};function se(le,ue){if(le.map)return le.map(ue);for(var ae=[],ie=0;ie0?(typeof Ie!="string"&&!Ee.objectMode&&Object.getPrototypeOf(Ie)!==ne.prototype&&(Ie=y(Ie)),He?Ee.endEmitted?Fe.emit("error",new Error("stream.unshift() after end event")):Se(Fe,Ee,Ie,!0):Ee.ended?Fe.emit("error",new Error("stream.push() after EOF")):(Ee.reading=!1,Ee.decoder&&!Xe?(Ie=Ee.decoder.write(Ie),Ee.objectMode||Ie.length!==0?Se(Fe,Ee,Ie,!1):it(Fe,Ee)):Se(Fe,Ee,Ie,!1))):He||(Ee.reading=!1)}return Ce(Ee)}function Se(Fe,Ie,Xe,He){Ie.flowing&&Ie.length===0&&!Ie.sync?(Fe.emit("data",Xe),Fe.read(0)):(Ie.length+=Ie.objectMode?1:Xe.length,He?Ie.buffer.unshift(Xe):Ie.buffer.push(Xe),Ie.needReadable&&et(Fe)),it(Fe,Ie)}function Oe(Fe,Ie){var Xe;return!x(Ie)&&typeof Ie!="string"&&Ie!==void 0&&!Fe.objectMode&&(Xe=new TypeError("Invalid non-string/buffer chunk")),Xe}function Ce(Fe){return!Fe.ended&&(Fe.needReadable||Fe.length=Le?Fe=Le:(Fe--,Fe|=Fe>>>1,Fe|=Fe>>>2,Fe|=Fe>>>4,Fe|=Fe>>>8,Fe|=Fe>>>16,Fe++),Fe}function ke(Fe,Ie){return Fe<=0||Ie.length===0&&Ie.ended?0:Ie.objectMode?1:Fe!==Fe?Ie.flowing&&Ie.length?Ie.buffer.head.data.length:Ie.length:(Fe>Ie.highWaterMark&&(Ie.highWaterMark=De(Fe)),Fe<=Ie.length?Fe:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}fe.prototype.read=function(Fe){ee("read",Fe),Fe=parseInt(Fe,10);var Ie=this._readableState,Xe=Fe;if(Fe!==0&&(Ie.emittedReadable=!1),Fe===0&&Ie.needReadable&&(Ie.length>=Ie.highWaterMark||Ie.ended))return ee("read: emitReadable",Ie.length,Ie.ended),Ie.length===0&&Ie.ended?We(this):et(this),null;if(Fe=ke(Fe,Ie),Fe===0&&Ie.ended)return Ie.length===0&&We(this),null;var He=Ie.needReadable;ee("need readable",He),(Ie.length===0||Ie.length-Fe0?je=rt(Fe,Ie):je=null,je===null?(Ie.needReadable=!0,Fe=0):Ie.length-=Fe,Ie.length===0&&(Ie.ended||(Ie.needReadable=!0),Xe!==Fe&&Ie.ended&&We(this)),je!==null&&this.emit("data",je),je};function Ue(Fe,Ie){if(!Ie.ended){if(Ie.decoder){var Xe=Ie.decoder.end();Xe&&Xe.length&&(Ie.buffer.push(Xe),Ie.length+=Ie.objectMode?1:Xe.length)}Ie.ended=!0,et(Fe)}}function et(Fe){var Ie=Fe._readableState;Ie.needReadable=!1,Ie.emittedReadable||(ee("emitReadable",Ie.flowing),Ie.emittedReadable=!0,Ie.sync?se.nextTick(Ge,Fe):Ge(Fe))}function Ge(Fe){ee("emit readable"),Fe.emit("readable"),ze(Fe)}function it(Fe,Ie){Ie.readingMore||(Ie.readingMore=!0,se.nextTick(Qe,Fe,Ie))}function Qe(Fe,Ie){for(var Xe=Ie.length;!Ie.reading&&!Ie.flowing&&!Ie.ended&&Ie.length1&&Je(He.pipes,Fe)!==-1)&&!Ze&&(ee("false write response, pause",Xe._readableState.awaitDrain),Xe._readableState.awaitDrain++,Ne=!0),Xe.pause())}function ht(pt){ee("onerror",pt),st(),Fe.removeListener("error",ht),ae(Fe,"error")===0&&Fe.emit("error",pt)}ge(Fe,"error",ht);function ft(){Fe.removeListener("finish",yt),st()}Fe.once("close",ft);function yt(){ee("onfinish"),Fe.removeListener("close",ft),st()}Fe.once("finish",yt);function st(){ee("unpipe"),Xe.unpipe(Fe)}return Fe.emit("pipe",Xe),He.flowing||(ee("pipe resume"),Xe.resume()),Fe};function Ye(Fe){return function(){var Ie=Fe._readableState;ee("pipeOnDrain",Ie.awaitDrain),Ie.awaitDrain&&Ie.awaitDrain--,Ie.awaitDrain===0&&ae(Fe,"data")&&(Ie.flowing=!0,ze(Fe))}}fe.prototype.unpipe=function(Fe){var Ie=this._readableState,Xe={hasUnpiped:!1};if(Ie.pipesCount===0)return this;if(Ie.pipesCount===1)return Fe&&Fe!==Ie.pipes?this:(Fe||(Fe=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,Fe&&Fe.emit("unpipe",this,Xe),this);if(!Fe){var He=Ie.pipes,je=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var Ee=0;Ee=Ie.length?(Ie.decoder?Xe=Ie.buffer.join(""):Ie.buffer.length===1?Xe=Ie.buffer.head.data:Xe=Ie.buffer.concat(Ie.length),Ie.buffer.clear()):Xe=$e(Fe,Ie.buffer,Ie.decoder),Xe}function $e(Fe,Ie,Xe){var He;return FeEe.length?Ee.length:Fe;if(xe===Ee.length?je+=Ee:je+=Ee.slice(0,Fe),Fe-=xe,Fe===0){xe===Ee.length?(++He,Xe.next?Ie.head=Xe.next:Ie.head=Ie.tail=null):(Ie.head=Xe,Xe.data=Ee.slice(xe));break}++He}return Ie.length-=He,je}function _e(Fe,Ie){var Xe=ne.allocUnsafe(Fe),He=Ie.head,je=1;for(He.data.copy(Xe),Fe-=He.data.length;He=He.next;){var Ee=He.data,xe=Fe>Ee.length?Ee.length:Fe;if(Ee.copy(Xe,Xe.length-Fe,0,xe),Fe-=xe,Fe===0){xe===Ee.length?(++je,He.next?Ie.head=He.next:Ie.head=Ie.tail=null):(Ie.head=He,He.data=Ee.slice(xe));break}++je}return Ie.length-=je,Xe}function We(Fe){var Ie=Fe._readableState;if(Ie.length>0)throw new Error('"endReadable()" called on non-empty stream');Ie.endEmitted||(Ie.ended=!0,se.nextTick(Te,Ie,Fe))}function Te(Fe,Ie){!Fe.endEmitted&&Fe.length===0&&(Fe.endEmitted=!0,Ie.readable=!1,Ie.emit("end"))}function Je(Fe,Ie){for(var Xe=0,He=Fe.length;Xe-1?se:de.nextTick,ie;ge.WritableState=me;var ne=Object.create(E("core-util-is"));ne.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=te.Uint8Array||function(){};function z(Re){return x.from(Re)}function ee(Re){return x.isBuffer(Re)||Re instanceof b}var re=E("./internal/streams/destroy");ne.inherits(ge,y);function ce(){}function me(Re,ze){ie=ie||E("./_stream_duplex"),Re=Re||{};var rt=ze instanceof ie;this.objectMode=!!Re.objectMode,rt&&(this.objectMode=this.objectMode||!!Re.writableObjectMode);var $e=Re.highWaterMark,ut=Re.writableHighWaterMark,_e=this.objectMode?16:16*1024;$e||$e===0?this.highWaterMark=$e:rt&&(ut||ut===0)?this.highWaterMark=ut:this.highWaterMark=_e,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var We=Re.decodeStrings===!1;this.decodeStrings=!We,this.defaultEncoding=Re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Te){De(ze,Te)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ue(this)}me.prototype.getBuffer=function(){for(var ze=this.bufferedRequest,rt=[];ze;)rt.push(ze),ze=ze.next;return rt},function(){try{Object.defineProperty(me.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Re){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:function(Re){return ve.call(this,Re)?!0:this!==ge?!1:Re&&Re._writableState instanceof me}})):ve=function(Re){return Re instanceof this};function ge(Re){if(ie=ie||E("./_stream_duplex"),!ve.call(ge,this)&&!(this instanceof ie))return new ge(Re);this._writableState=new me(Re,this),this.writable=!0,Re&&(typeof Re.write=="function"&&(this._write=Re.write),typeof Re.writev=="function"&&(this._writev=Re.writev),typeof Re.destroy=="function"&&(this._destroy=Re.destroy),typeof Re.final=="function"&&(this._final=Re.final)),y.call(this)}ge.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function pe(Re,ze){var rt=new Error("write after end");Re.emit("error",rt),de.nextTick(ze,rt)}function fe(Re,ze,rt,$e){var ut=!0,_e=!1;return rt===null?_e=new TypeError("May not write null values to stream"):typeof rt!="string"&&rt!==void 0&&!ze.objectMode&&(_e=new TypeError("Invalid non-string/buffer chunk")),_e&&(Re.emit("error",_e),de.nextTick($e,_e),ut=!1),ut}ge.prototype.write=function(Re,ze,rt){var $e=this._writableState,ut=!1,_e=!$e.objectMode&&ee(Re);return _e&&!x.isBuffer(Re)&&(Re=z(Re)),typeof ze=="function"&&(rt=ze,ze=null),_e?ze="buffer":ze||(ze=$e.defaultEncoding),typeof rt!="function"&&(rt=ce),$e.ended?pe(this,rt):(_e||fe(this,$e,Re,rt))&&($e.pendingcb++,ut=Se(this,$e,_e,Re,ze,rt)),ut},ge.prototype.cork=function(){var Re=this._writableState;Re.corked++},ge.prototype.uncork=function(){var Re=this._writableState;Re.corked&&(Re.corked--,!Re.writing&&!Re.corked&&!Re.finished&&!Re.bufferProcessing&&Re.bufferedRequest&&et(this,Re))},ge.prototype.setDefaultEncoding=function(ze){if(typeof ze=="string"&&(ze=ze.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ze+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+ze);return this._writableState.defaultEncoding=ze,this};function ye(Re,ze,rt){return!Re.objectMode&&Re.decodeStrings!==!1&&typeof ze=="string"&&(ze=x.from(ze,rt)),ze}Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Se(Re,ze,rt,$e,ut,_e){if(!rt){var We=ye(ze,$e,ut);$e!==We&&(rt=!0,ut="buffer",$e=We)}var Te=ze.objectMode?1:$e.length;ze.length+=Te;var Je=ze.length0?this.tail.next=ie:this.head=ie,this.tail=ie,++this.length},le.prototype.unshift=function(ae){var ie={data:ae,next:this.head};this.length===0&&(this.tail=ie),this.head=ie,++this.length},le.prototype.shift=function(){if(this.length!==0){var ae=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ae}},le.prototype.clear=function(){this.head=this.tail=null,this.length=0},le.prototype.join=function(ae){if(this.length===0)return"";for(var ie=this.head,ne=""+ie.data;ie=ie.next;)ne+=ae+ie.data;return ne},le.prototype.concat=function(ae){if(this.length===0)return te.alloc(0);if(this.length===1)return this.head.data;for(var ie=te.allocUnsafe(ae>>>0),ne=this.head,a=0;ne;)de(ne.data,ie,a),a+=ne.data.length,ne=ne.next;return ie},le}(),se&&se.inspect&&se.inspect.custom&&(Pe.exports.prototype[se.inspect.custom]=function(){var le=se.inspect({length:this.length});return this.constructor.name+" "+le})},{"safe-buffer":396,util:89}],392:[function(E,Pe,be){"use strict";var oe=E("process-nextick-args");function te(le,ue){var ae=this,ie=this._readableState&&this._readableState.destroyed,ne=this._writableState&&this._writableState.destroyed;return ie||ne?(ue?ue(le):le&&(!this._writableState||!this._writableState.errorEmitted)&&oe.nextTick(de,this,le),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(le||null,function(a){!ue&&a?(oe.nextTick(de,ae,a),ae._writableState&&(ae._writableState.errorEmitted=!0)):ue&&ue(a)}),this)}function se(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function de(le,ue){le.emit("error",ue)}Pe.exports={destroy:te,undestroy:se}},{"process-nextick-args":380}],393:[function(E,Pe,be){Pe.exports=E("events").EventEmitter},{events:344}],394:[function(E,Pe,be){be=Pe.exports=E("./lib/_stream_readable.js"),be.Stream=be,be.Readable=be,be.Writable=E("./lib/_stream_writable.js"),be.Duplex=E("./lib/_stream_duplex.js"),be.Transform=E("./lib/_stream_transform.js"),be.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,Pe,be){var oe=function(te){"use strict";var se=Object.prototype,de=se.hasOwnProperty,le,ue=typeof Symbol=="function"?Symbol:{},ae=ue.iterator||"@@iterator",ie=ue.asyncIterator||"@@asyncIterator",ne=ue.toStringTag||"@@toStringTag";function a(Qe,Ye,Ve){return Object.defineProperty(Qe,Ye,{value:Ve,enumerable:!0,configurable:!0,writable:!0}),Qe[Ye]}try{a({},"")}catch(Qe){a=function(Ye,Ve,Me){return Ye[Ve]=Me}}function y(Qe,Ye,Ve,Me){var Re=Ye&&Ye.prototype instanceof me?Ye:me,ze=Object.create(Re.prototype),rt=new et(Me||[]);return ze._invoke=Le(Qe,Ve,rt),ze}te.wrap=y;function x(Qe,Ye,Ve){try{return{type:"normal",arg:Qe.call(Ye,Ve)}}catch(Me){return{type:"throw",arg:Me}}}var b="suspendedStart",z="suspendedYield",ee="executing",re="completed",ce={};function me(){}function ve(){}function ge(){}var pe={};a(pe,ae,function(){return this});var fe=Object.getPrototypeOf,ye=fe&&fe(fe(Ge([])));ye&&ye!==se&&de.call(ye,ae)&&(pe=ye);var Se=ge.prototype=me.prototype=Object.create(pe);ve.prototype=ge,a(Se,"constructor",ge),a(ge,"constructor",ve),ve.displayName=a(ge,ne,"GeneratorFunction");function Oe(Qe){["next","throw","return"].forEach(function(Ye){a(Qe,Ye,function(Ve){return this._invoke(Ye,Ve)})})}te.isGeneratorFunction=function(Qe){var Ye=typeof Qe=="function"&&Qe.constructor;return Ye?Ye===ve||(Ye.displayName||Ye.name)==="GeneratorFunction":!1},te.mark=function(Qe){return Object.setPrototypeOf?Object.setPrototypeOf(Qe,ge):(Qe.__proto__=ge,a(Qe,ne,"GeneratorFunction")),Qe.prototype=Object.create(Se),Qe},te.awrap=function(Qe){return{__await:Qe}};function Ce(Qe,Ye){function Ve(ze,rt,$e,ut){var _e=x(Qe[ze],Qe,rt);if(_e.type==="throw")ut(_e.arg);else{var We=_e.arg,Te=We.value;return Te&&typeof Te=="object"&&de.call(Te,"__await")?Ye.resolve(Te.__await).then(function(Je){Ve("next",Je,$e,ut)},function(Je){Ve("throw",Je,$e,ut)}):Ye.resolve(Te).then(function(Je){We.value=Je,$e(We)},function(Je){return Ve("throw",Je,$e,ut)})}}var Me;function Re(ze,rt){function $e(){return new Ye(function(ut,_e){Ve(ze,rt,ut,_e)})}return Me=Me?Me.then($e,$e):$e()}this._invoke=Re}Oe(Ce.prototype),a(Ce.prototype,ie,function(){return this}),te.AsyncIterator=Ce,te.async=function(Qe,Ye,Ve,Me,Re){Re===void 0&&(Re=Promise);var ze=new Ce(y(Qe,Ye,Ve,Me),Re);return te.isGeneratorFunction(Ye)?ze:ze.next().then(function(rt){return rt.done?rt.value:ze.next()})};function Le(Qe,Ye,Ve){var Me=b;return function(ze,rt){if(Me===ee)throw new Error("Generator is already running");if(Me===re){if(ze==="throw")throw rt;return it()}for(Ve.method=ze,Ve.arg=rt;;){var $e=Ve.delegate;if($e){var ut=De($e,Ve);if(ut){if(ut===ce)continue;return ut}}if(Ve.method==="next")Ve.sent=Ve._sent=Ve.arg;else if(Ve.method==="throw"){if(Me===b)throw Me=re,Ve.arg;Ve.dispatchException(Ve.arg)}else Ve.method==="return"&&Ve.abrupt("return",Ve.arg);Me=ee;var _e=x(Qe,Ye,Ve);if(_e.type==="normal"){if(Me=Ve.done?re:z,_e.arg===ce)continue;return{value:_e.arg,done:Ve.done}}else _e.type==="throw"&&(Me=re,Ve.method="throw",Ve.arg=_e.arg)}}}function De(Qe,Ye){var Ve=Qe.iterator[Ye.method];if(Ve===le){if(Ye.delegate=null,Ye.method==="throw"){if(Qe.iterator.return&&(Ye.method="return",Ye.arg=le,De(Qe,Ye),Ye.method==="throw"))return ce;Ye.method="throw",Ye.arg=new TypeError("The iterator does not provide a 'throw' method")}return ce}var Me=x(Ve,Qe.iterator,Ye.arg);if(Me.type==="throw")return Ye.method="throw",Ye.arg=Me.arg,Ye.delegate=null,ce;var Re=Me.arg;if(!Re)return Ye.method="throw",Ye.arg=new TypeError("iterator result is not an object"),Ye.delegate=null,ce;if(Re.done)Ye[Qe.resultName]=Re.value,Ye.next=Qe.nextLoc,Ye.method!=="return"&&(Ye.method="next",Ye.arg=le);else return Re;return Ye.delegate=null,ce}Oe(Se),a(Se,ne,"Generator"),a(Se,ae,function(){return this}),a(Se,"toString",function(){return"[object Generator]"});function ke(Qe){var Ye={tryLoc:Qe[0]};1 in Qe&&(Ye.catchLoc=Qe[1]),2 in Qe&&(Ye.finallyLoc=Qe[2],Ye.afterLoc=Qe[3]),this.tryEntries.push(Ye)}function Ue(Qe){var Ye=Qe.completion||{};Ye.type="normal",delete Ye.arg,Qe.completion=Ye}function et(Qe){this.tryEntries=[{tryLoc:"root"}],Qe.forEach(ke,this),this.reset(!0)}te.keys=function(Qe){var Ye=[];for(var Ve in Qe)Ye.push(Ve);return Ye.reverse(),function Me(){for(;Ye.length;){var Re=Ye.pop();if(Re in Qe)return Me.value=Re,Me.done=!1,Me}return Me.done=!0,Me}};function Ge(Qe){if(Qe){var Ye=Qe[ae];if(Ye)return Ye.call(Qe);if(typeof Qe.next=="function")return Qe;if(!isNaN(Qe.length)){var Ve=-1,Me=function Re(){for(;++Ve=0;--Me){var Re=this.tryEntries[Me],ze=Re.completion;if(Re.tryLoc==="root")return Ve("end");if(Re.tryLoc<=this.prev){var rt=de.call(Re,"catchLoc"),$e=de.call(Re,"finallyLoc");if(rt&&$e){if(this.prev=0;--Ve){var Me=this.tryEntries[Ve];if(Me.tryLoc<=this.prev&&de.call(Me,"finallyLoc")&&this.prev=0;--Ye){var Ve=this.tryEntries[Ye];if(Ve.finallyLoc===Qe)return this.complete(Ve.completion,Ve.afterLoc),Ue(Ve),ce}},catch:function(Qe){for(var Ye=this.tryEntries.length-1;Ye>=0;--Ye){var Ve=this.tryEntries[Ye];if(Ve.tryLoc===Qe){var Me=Ve.completion;if(Me.type==="throw"){var Re=Me.arg;Ue(Ve)}return Re}}throw new Error("illegal catch attempt")},delegateYield:function(Qe,Ye,Ve){return this.delegate={iterator:Ge(Qe),resultName:Ye,nextLoc:Ve},this.method==="next"&&(this.arg=le),ce}},te}(typeof Pe=="object"?Pe.exports:{});try{regeneratorRuntime=oe}catch(te){typeof globalThis=="object"?globalThis.regeneratorRuntime=oe:Function("r","regeneratorRuntime = r")(oe)}},{}],396:[function(E,Pe,be){var oe=E("buffer"),te=oe.Buffer;function se(le,ue){for(var ae in le)ue[ae]=le[ae]}te.from&&te.alloc&&te.allocUnsafe&&te.allocUnsafeSlow?Pe.exports=oe:(se(oe,be),be.Buffer=de);function de(le,ue,ae){return te(le,ue,ae)}se(te,de),de.from=function(le,ue,ae){if(typeof le=="number")throw new TypeError("Argument must not be a number");return te(le,ue,ae)},de.alloc=function(le,ue,ae){if(typeof le!="number")throw new TypeError("Argument must be a number");var ie=te(le);return ue!==void 0?typeof ae=="string"?ie.fill(ue,ae):ie.fill(ue):ie.fill(0),ie},de.allocUnsafe=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return te(le)},de.allocUnsafeSlow=function(le){if(typeof le!="number")throw new TypeError("Argument must be a number");return oe.SlowBuffer(le)}},{buffer:90}],397:[function(E,Pe,be){(function(oe){(function(){(function(te){te.parser=function(We,Te){return new de(We,Te)},te.SAXParser=de,te.SAXStream=y,te.createStream=a,te.MAX_BUFFER_LENGTH=64*1024;var se=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];te.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function de(We,Te){if(!(this instanceof de))return new de(We,Te);var Je=this;ue(Je),Je.q=Je.c="",Je.bufferCheckPosition=te.MAX_BUFFER_LENGTH,Je.opt=Te||{},Je.opt.lowercase=Je.opt.lowercase||Je.opt.lowercasetags,Je.looseCase=Je.opt.lowercase?"toLowerCase":"toUpperCase",Je.tags=[],Je.closed=Je.closedRoot=Je.sawRoot=!1,Je.tag=Je.error=null,Je.strict=!!We,Je.noscript=!!(We||Je.opt.noscript),Je.state=Ce.BEGIN,Je.strictEntities=Je.opt.strictEntities,Je.ENTITIES=Je.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),Je.attribList=[],Je.opt.xmlns&&(Je.ns=Object.create(re)),Je.trackPosition=Je.opt.position!==!1,Je.trackPosition&&(Je.position=Je.line=Je.column=0),De(Je,"onready")}Object.create||(Object.create=function(We){function Te(){}Te.prototype=We;var Je=new Te;return Je}),Object.keys||(Object.keys=function(We){var Te=[];for(var Je in We)We.hasOwnProperty(Je)&&Te.push(Je);return Te});function le(We){for(var Te=Math.max(te.MAX_BUFFER_LENGTH,10),Je=0,Fe=0,Ie=se.length;FeTe)switch(se[Fe]){case"textNode":Ue(We);break;case"cdata":ke(We,"oncdata",We.cdata),We.cdata="";break;case"script":ke(We,"onscript",We.script),We.script="";break;default:Ge(We,"Max buffer length exceeded: "+se[Fe])}Je=Math.max(Je,Xe)}var He=te.MAX_BUFFER_LENGTH-Je;We.bufferCheckPosition=He+We.position}function ue(We){for(var Te=0,Je=se.length;Te"||pe(We)}function Se(We,Te){return We.test(Te)}function Oe(We,Te){return!Se(We,Te)}var Ce=0;te.STATE={BEGIN:Ce++,BEGIN_WHITESPACE:Ce++,TEXT:Ce++,TEXT_ENTITY:Ce++,OPEN_WAKA:Ce++,SGML_DECL:Ce++,SGML_DECL_QUOTED:Ce++,DOCTYPE:Ce++,DOCTYPE_QUOTED:Ce++,DOCTYPE_DTD:Ce++,DOCTYPE_DTD_QUOTED:Ce++,COMMENT_STARTING:Ce++,COMMENT:Ce++,COMMENT_ENDING:Ce++,COMMENT_ENDED:Ce++,CDATA:Ce++,CDATA_ENDING:Ce++,CDATA_ENDING_2:Ce++,PROC_INST:Ce++,PROC_INST_BODY:Ce++,PROC_INST_ENDING:Ce++,OPEN_TAG:Ce++,OPEN_TAG_SLASH:Ce++,ATTRIB:Ce++,ATTRIB_NAME:Ce++,ATTRIB_NAME_SAW_WHITE:Ce++,ATTRIB_VALUE:Ce++,ATTRIB_VALUE_QUOTED:Ce++,ATTRIB_VALUE_CLOSED:Ce++,ATTRIB_VALUE_UNQUOTED:Ce++,ATTRIB_VALUE_ENTITY_Q:Ce++,ATTRIB_VALUE_ENTITY_U:Ce++,CLOSE_TAG:Ce++,CLOSE_TAG_SAW_WHITE:Ce++,SCRIPT:Ce++,SCRIPT_ENDING:Ce++},te.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},te.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(te.ENTITIES).forEach(function(We){var Te=te.ENTITIES[We],Je=typeof Te=="number"?String.fromCharCode(Te):Te;te.ENTITIES[We]=Je});for(var Le in te.STATE)te.STATE[te.STATE[Le]]=Le;Ce=te.STATE;function De(We,Te,Je){We[Te]&&We[Te](Je)}function ke(We,Te,Je){We.textNode&&Ue(We),De(We,Te,Je)}function Ue(We){We.textNode=et(We.opt,We.textNode),We.textNode&&De(We,"ontext",We.textNode),We.textNode=""}function et(We,Te){return We.trim&&(Te=Te.trim()),We.normalize&&(Te=Te.replace(/\s+/g," ")),Te}function Ge(We,Te){return Ue(We),We.trackPosition&&(Te+=` +`))):ut=Xe.stylize("[Circular]","special")),be(qe)){if(rt&&He.match(/^\d+$/))return ut;qe=JSON.stringify(""+He),qe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(qe=qe.substr(1,qe.length-2),qe=Xe.stylize(qe,"name")):(qe=qe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),qe=Xe.stylize(qe,"string"))}return qe+": "+ut}function ee(Xe,Ze,ze){var Re=0,He=Xe.reduce(function(rt,qe){return Re++,qe.indexOf(` +`)>=0&&Re++,rt+qe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return He>60?ze[0]+(Ze===""?"":Ze+` + `)+" "+Xe.join(`, + `)+" "+ze[1]:ze[0]+Ze+" "+Xe.join(", ")+" "+ze[1]}function re(Xe){return Array.isArray(Xe)}ye.isArray=re;function le(Xe){return typeof Xe=="boolean"}ye.isBoolean=le;function he(Xe){return Xe===null}ye.isNull=he;function ve(Xe){return Xe==null}ye.isNullOrUndefined=ve;function fe(Xe){return typeof Xe=="number"}ye.isNumber=fe;function me(Xe){return typeof Xe=="string"}ye.isString=me;function ge(Xe){return typeof Xe=="symbol"}ye.isSymbol=ge;function be(Xe){return Xe===void 0}ye.isUndefined=be;function Pe(Xe){return Te(Xe)&&Ue(Xe)==="[object RegExp]"}ye.isRegExp=Pe;function Te(Xe){return typeof Xe=="object"&&Xe!==null}ye.isObject=Te;function Ce(Xe){return Te(Xe)&&Ue(Xe)==="[object Date]"}ye.isDate=Ce;function Le(Xe){return Te(Xe)&&(Ue(Xe)==="[object Error]"||Xe instanceof Error)}ye.isError=Le;function Ie(Xe){return typeof Xe=="function"}ye.isFunction=Ie;function Me(Xe){return Xe===null||typeof Xe=="boolean"||typeof Xe=="number"||typeof Xe=="string"||typeof Xe=="symbol"||typeof Xe=="undefined"}ye.isPrimitive=Me,ye.isBuffer=E("./support/isBuffer");function Ue(Xe){return Object.prototype.toString.call(Xe)}function Qe(Xe){return Xe<10?"0"+Xe.toString(10):Xe.toString(10)}var Ge=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ot(){var Xe=new Date,Ze=[Qe(Xe.getHours()),Qe(Xe.getMinutes()),Qe(Xe.getSeconds())].join(":");return[Xe.getDate(),Ge[Xe.getMonth()],Ze].join(" ")}ye.log=function(){console.log("%s - %s",ot(),ye.format.apply(ye,arguments))},ye.inherits=E("inherits"),ye._extend=function(Xe,Ze){if(!Ze||!Te(Ze))return Xe;for(var ze=Object.keys(Ze),Re=ze.length;Re--;)Xe[ze[Re]]=Ze[ze[Re]];return Xe};function Ve(Xe,Ze){return Object.prototype.hasOwnProperty.call(Xe,Ze)}}).call(this)}).call(this,E("_process"),typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,Se,ye){(function(oe){(function(){"use strict";var te=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],se=typeof globalThis=="undefined"?oe:globalThis;Se.exports=function(){for(var ue=[],ce=0;ce0)throw new Error("Invalid string. Length must be a multiple of 4");var re=z.indexOf("=");re===-1&&(re=ee);var le=re===ee?0:4-re%4;return[re,le]}function ie(z){var ee=ae(z),re=ee[0],le=ee[1];return(re+le)*3/4-le}function ne(z,ee,re){return(ee+re)*3/4-re}function a(z){var ee,re=ae(z),le=re[0],he=re[1],ve=new se(ne(z,le,he)),fe=0,me=he>0?le-4:le,ge;for(ge=0;ge>16&255,ve[fe++]=ee>>8&255,ve[fe++]=ee&255;return he===2&&(ee=te[z.charCodeAt(ge)]<<2|te[z.charCodeAt(ge+1)]>>4,ve[fe++]=ee&255),he===1&&(ee=te[z.charCodeAt(ge)]<<10|te[z.charCodeAt(ge+1)]<<4|te[z.charCodeAt(ge+2)]>>2,ve[fe++]=ee>>8&255,ve[fe++]=ee&255),ve}function y(z){return oe[z>>18&63]+oe[z>>12&63]+oe[z>>6&63]+oe[z&63]}function x(z,ee,re){for(var le,he=[],ve=ee;veme?me:fe+ve));return le===1?(ee=z[re-1],he.push(oe[ee>>2]+oe[ee<<4&63]+"==")):le===2&&(ee=(z[re-2]<<8)+z[re-1],he.push(oe[ee>>10]+oe[ee>>4&63]+oe[ee<<2&63]+"=")),he.join("")}},{}],88:[function(E,Se,ye){(function(oe,te,se){typeof Se!="undefined"&&Se.exports?Se.exports=se():typeof Ae=="function"&&Ae.amd?Ae(te,se):oe[te]=se()})(this,"bowser",function(){var oe=!0;function te(ne){function a(Ze){var ze=ne.match(Ze);return ze&&ze.length>1&&ze[1]||""}function y(Ze){var ze=ne.match(Ze);return ze&&ze.length>1&&ze[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ne),z=!b&&/android/i.test(ne),ee=/nexus\s*[0-6]\s*/i.test(ne),re=!ee&&/nexus\s*[0-9]+/i.test(ne),le=/CrOS/.test(ne),he=/silk/i.test(ne),ve=/sailfish/i.test(ne),fe=/tizen/i.test(ne),me=/(web|hpw)(o|0)s/i.test(ne),ge=/windows phone/i.test(ne),be=/SamsungBrowser/i.test(ne),Pe=!ge&&/windows/i.test(ne),Te=!x&&!he&&/macintosh/i.test(ne),Ce=!z&&!ve&&!fe&&!me&&/linux/i.test(ne),Le=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ie=a(/version\/(\d+(\.\d+)?)/i),Me=/tablet/i.test(ne)&&!/tablet pc/i.test(ne),Ue=!Me&&/[^-]mobi/i.test(ne),Qe=/xbox/i.test(ne),Ge;/opera/i.test(ne)?Ge={name:"Opera",opera:oe,version:Ie||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ne)?Ge={name:"Opera",opera:oe,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ie}:/SamsungBrowser/i.test(ne)?Ge={name:"Samsung Internet for Android",samsungBrowser:oe,version:Ie||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ne)?Ge={name:"NAVER Whale browser",whale:oe,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ne)?Ge={name:"MZ Browser",mzbrowser:oe,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ne)?Ge={name:"Opera Coast",coast:oe,version:Ie||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ne)?Ge={name:"Focus",focus:oe,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ne)?Ge={name:"Yandex Browser",yandexbrowser:oe,version:Ie||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ne)?Ge={name:"UC Browser",ucbrowser:oe,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ne)?Ge={name:"Maxthon",maxthon:oe,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ne)?Ge={name:"Epiphany",epiphany:oe,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ne)?Ge={name:"Puffin",puffin:oe,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ne)?Ge={name:"Sleipnir",sleipnir:oe,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ne)?Ge={name:"K-Meleon",kMeleon:oe,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ge?(Ge={name:"Windows Phone",osname:"Windows Phone",windowsphone:oe},Le?(Ge.msedge=oe,Ge.version=Le):(Ge.msie=oe,Ge.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ne)?Ge={name:"Internet Explorer",msie:oe,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:le?Ge={name:"Chrome",osname:"Chrome OS",chromeos:oe,chromeBook:oe,chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ne)?Ge={name:"Microsoft Edge",msedge:oe,version:Le}:/vivaldi/i.test(ne)?Ge={name:"Vivaldi",vivaldi:oe,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ie}:ve?Ge={name:"Sailfish",osname:"Sailfish OS",sailfish:oe,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ne)?Ge={name:"SeaMonkey",seamonkey:oe,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ne)?(Ge={name:"Firefox",firefox:oe,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ne)&&(Ge.firefoxos=oe,Ge.osname="Firefox OS")):he?Ge={name:"Amazon Silk",silk:oe,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ne)?Ge={name:"PhantomJS",phantom:oe,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ne)?Ge={name:"SlimerJS",slimer:oe,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ne)||/rim\stablet/i.test(ne)?Ge={name:"BlackBerry",osname:"BlackBerry OS",blackberry:oe,version:Ie||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:me?(Ge={name:"WebOS",osname:"WebOS",webos:oe,version:Ie||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ne)&&(Ge.touchpad=oe)):/bada/i.test(ne)?Ge={name:"Bada",osname:"Bada",bada:oe,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:fe?Ge={name:"Tizen",osname:"Tizen",tizen:oe,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ie}:/qupzilla/i.test(ne)?Ge={name:"QupZilla",qupzilla:oe,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ie}:/chromium/i.test(ne)?Ge={name:"Chromium",chromium:oe,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ie}:/chrome|crios|crmo/i.test(ne)?Ge={name:"Chrome",chrome:oe,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Ge={name:"Android",version:Ie}:/safari|applewebkit/i.test(ne)?(Ge={name:"Safari",safari:oe},Ie&&(Ge.version=Ie)):x?(Ge={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ie&&(Ge.version=Ie)):/googlebot/i.test(ne)?Ge={name:"Googlebot",googlebot:oe,version:a(/googlebot\/(\d+(\.\d+))/i)||Ie}:Ge={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Ge.msedge&&/(apple)?webkit/i.test(ne)?(/(apple)?webkit\/537\.36/i.test(ne)?(Ge.name=Ge.name||"Blink",Ge.blink=oe):(Ge.name=Ge.name||"Webkit",Ge.webkit=oe),!Ge.version&&Ie&&(Ge.version=Ie)):!Ge.opera&&/gecko\//i.test(ne)&&(Ge.name=Ge.name||"Gecko",Ge.gecko=oe,Ge.version=Ge.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Ge.windowsphone&&(z||Ge.silk)?(Ge.android=oe,Ge.osname="Android"):!Ge.windowsphone&&x?(Ge[x]=oe,Ge.ios=oe,Ge.osname="iOS"):Te?(Ge.mac=oe,Ge.osname="macOS"):Qe?(Ge.xbox=oe,Ge.osname="Xbox"):Pe?(Ge.windows=oe,Ge.osname="Windows"):Ce&&(Ge.linux=oe,Ge.osname="Linux");function ot(Ze){switch(Ze){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var Ve="";Ge.windows?Ve=ot(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Ge.windowsphone?Ve=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Ge.mac?(Ve=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Ve=Ve.replace(/[_\s]/g,".")):x?(Ve=a(/os (\d+([_\s]\d+)*) like mac os x/i),Ve=Ve.replace(/[_\s]/g,".")):z?Ve=a(/android[ \/-](\d+(\.\d+)*)/i):Ge.webos?Ve=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Ge.blackberry?Ve=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Ge.bada?Ve=a(/bada\/(\d+(\.\d+)*)/i):Ge.tizen&&(Ve=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Ve&&(Ge.osversion=Ve);var Xe=!Ge.windows&&Ve.split(".")[0];return Me||re||x=="ipad"||z&&(Xe==3||Xe>=4&&!Ue)||Ge.silk?Ge.tablet=oe:(Ue||x=="iphone"||x=="ipod"||z||ee||Ge.blackberry||Ge.webos||Ge.bada)&&(Ge.mobile=oe),Ge.msedge||Ge.msie&&Ge.version>=10||Ge.yandexbrowser&&Ge.version>=15||Ge.vivaldi&&Ge.version>=1||Ge.chrome&&Ge.version>=20||Ge.samsungBrowser&&Ge.version>=4||Ge.whale&&ce([Ge.version,"1.0"])===1||Ge.mzbrowser&&ce([Ge.version,"6.0"])===1||Ge.focus&&ce([Ge.version,"1.0"])===1||Ge.firefox&&Ge.version>=20||Ge.safari&&Ge.version>=6||Ge.opera&&Ge.version>=10||Ge.ios&&Ge.osversion&&Ge.osversion.split(".")[0]>=6||Ge.blackberry&&Ge.version>=10.1||Ge.chromium&&Ge.version>=20?Ge.a=oe:Ge.msie&&Ge.version<10||Ge.chrome&&Ge.version<20||Ge.firefox&&Ge.version<20||Ge.safari&&Ge.version<6||Ge.opera&&Ge.version<10||Ge.ios&&Ge.osversion&&Ge.osversion.split(".")[0]<6||Ge.chromium&&Ge.version<20?Ge.c=oe:Ge.x=oe,Ge}var se=te(typeof navigator!="undefined"&&navigator.userAgent||"");se.test=function(ne){for(var a=0;a=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function ae(ne,a,y){var x=se;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=te(y));var b=""+x.version;for(var z in ne)if(ne.hasOwnProperty(z)&&x[z]){if(typeof ne[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ne));return ce([b,ne[z]])<0}return a}function ie(ne,a,y){return!ae(ne,a,y)}return se.isUnsupportedBrowser=ae,se.compareVersions=ce,se.check=ie,se._detect=te,se.detect=te,se})},{}],89:[function(E,Se,ye){},{}],90:[function(E,Se,ye){(function(oe){(function(){"use strict";var te=E("base64-js"),se=E("ieee754");ye.Buffer=ae,ye.SlowBuffer=le,ye.INSPECT_MAX_BYTES=50;var de=2147483647;ye.kMaxLength=de,ae.TYPED_ARRAY_SUPPORT=ue(),!ae.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ue(){try{var Ee=new Uint8Array(1);return Ee.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ee.foo()===42}catch(xe){return!1}}Object.defineProperty(ae.prototype,"parent",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.buffer}}),Object.defineProperty(ae.prototype,"offset",{enumerable:!0,get:function(){if(ae.isBuffer(this))return this.byteOffset}});function ce(Ee){if(Ee>de)throw new RangeError('The value "'+Ee+'" is invalid for option "size"');var xe=new Uint8Array(Ee);return xe.__proto__=ae.prototype,xe}function ae(Ee,xe,we){if(typeof Ee=="number"){if(typeof xe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Ee)}return ie(Ee,xe,we)}typeof Symbol!="undefined"&&Symbol.species!=null&&ae[Symbol.species]===ae&&Object.defineProperty(ae,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),ae.poolSize=8192;function ie(Ee,xe,we){if(typeof Ee=="string")return x(Ee,xe);if(ArrayBuffer.isView(Ee))return b(Ee);if(Ee==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee);if(De(Ee,ArrayBuffer)||Ee&&De(Ee.buffer,ArrayBuffer))return z(Ee,xe,we);if(typeof Ee=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Be=Ee.valueOf&&Ee.valueOf();if(Be!=null&&Be!==Ee)return ae.from(Be,xe,we);var Ke=ee(Ee);if(Ke)return Ke;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ee[Symbol.toPrimitive]=="function")return ae.from(Ee[Symbol.toPrimitive]("string"),xe,we);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ee)}ae.from=function(Ee,xe,we){return ie(Ee,xe,we)},ae.prototype.__proto__=Uint8Array.prototype,ae.__proto__=Uint8Array;function ne(Ee){if(typeof Ee!="number")throw new TypeError('"size" argument must be of type number');if(Ee<0)throw new RangeError('The value "'+Ee+'" is invalid for option "size"')}function a(Ee,xe,we){return ne(Ee),Ee<=0?ce(Ee):xe!==void 0?typeof we=="string"?ce(Ee).fill(xe,we):ce(Ee).fill(xe):ce(Ee)}ae.alloc=function(Ee,xe,we){return a(Ee,xe,we)};function y(Ee){return ne(Ee),ce(Ee<0?0:re(Ee)|0)}ae.allocUnsafe=function(Ee){return y(Ee)},ae.allocUnsafeSlow=function(Ee){return y(Ee)};function x(Ee,xe){if((typeof xe!="string"||xe==="")&&(xe="utf8"),!ae.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);var we=he(Ee,xe)|0,Be=ce(we),Ke=Be.write(Ee,xe);return Ke!==we&&(Be=Be.slice(0,Ke)),Be}function b(Ee){for(var xe=Ee.length<0?0:re(Ee.length)|0,we=ce(xe),Be=0;Be=de)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+de.toString(16)+" bytes");return Ee|0}function le(Ee){return+Ee!=Ee&&(Ee=0),ae.alloc(+Ee)}ae.isBuffer=function(xe){return xe!=null&&xe._isBuffer===!0&&xe!==ae.prototype},ae.compare=function(xe,we){if(De(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),De(we,Uint8Array)&&(we=ae.from(we,we.offset,we.byteLength)),!ae.isBuffer(xe)||!ae.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(xe===we)return 0;for(var Be=xe.length,Ke=we.length,nt=0,ke=Math.min(Be,Ke);nt2&&arguments[2]===!0;if(!Be&&we===0)return 0;for(var Ke=!1;;)switch(xe){case"ascii":case"latin1":case"binary":return we;case"utf8":case"utf-8":return Oe(Ee).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we*2;case"hex":return we>>>1;case"base64":return Ne(Ee).length;default:if(Ke)return Be?-1:Oe(Ee).length;xe=(""+xe).toLowerCase(),Ke=!0}}ae.byteLength=he;function ve(Ee,xe,we){var Be=!1;if((xe===void 0||xe<0)&&(xe=0),xe>this.length||((we===void 0||we>this.length)&&(we=this.length),we<=0)||(we>>>=0,xe>>>=0,we<=xe))return"";for(Ee||(Ee="utf8");;)switch(Ee){case"hex":return Xe(this,xe,we);case"utf8":case"utf-8":return Ue(this,xe,we);case"ascii":return ot(this,xe,we);case"latin1":case"binary":return Ve(this,xe,we);case"base64":return Me(this,xe,we);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,xe,we);default:if(Be)throw new TypeError("Unknown encoding: "+Ee);Ee=(Ee+"").toLowerCase(),Be=!0}}ae.prototype._isBuffer=!0;function fe(Ee,xe,we){var Be=Ee[xe];Ee[xe]=Ee[we],Ee[we]=Be}ae.prototype.swap16=function(){var xe=this.length;if(xe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(xe+=" ... "),""},ae.prototype.compare=function(xe,we,Be,Ke,nt){if(De(xe,Uint8Array)&&(xe=ae.from(xe,xe.offset,xe.byteLength)),!ae.isBuffer(xe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof xe);if(we===void 0&&(we=0),Be===void 0&&(Be=xe?xe.length:0),Ke===void 0&&(Ke=0),nt===void 0&&(nt=this.length),we<0||Be>xe.length||Ke<0||nt>this.length)throw new RangeError("out of range index");if(Ke>=nt&&we>=Be)return 0;if(Ke>=nt)return-1;if(we>=Be)return 1;if(we>>>=0,Be>>>=0,Ke>>>=0,nt>>>=0,this===xe)return 0;for(var ke=nt-Ke,$e=Be-we,gt=Math.min(ke,$e),ct=this.slice(Ke,nt),vt=xe.slice(we,Be),st=0;st2147483647?we=2147483647:we<-2147483648&&(we=-2147483648),we=+we,je(we)&&(we=Ke?0:Ee.length-1),we<0&&(we=Ee.length+we),we>=Ee.length){if(Ke)return-1;we=Ee.length-1}else if(we<0)if(Ke)we=0;else return-1;if(typeof xe=="string"&&(xe=ae.from(xe,Be)),ae.isBuffer(xe))return xe.length===0?-1:ge(Ee,xe,we,Be,Ke);if(typeof xe=="number")return xe=xe&255,typeof Uint8Array.prototype.indexOf=="function"?Ke?Uint8Array.prototype.indexOf.call(Ee,xe,we):Uint8Array.prototype.lastIndexOf.call(Ee,xe,we):ge(Ee,[xe],we,Be,Ke);throw new TypeError("val must be string, number or Buffer")}function ge(Ee,xe,we,Be,Ke){var nt=1,ke=Ee.length,$e=xe.length;if(Be!==void 0&&(Be=String(Be).toLowerCase(),Be==="ucs2"||Be==="ucs-2"||Be==="utf16le"||Be==="utf-16le")){if(Ee.length<2||xe.length<2)return-1;nt=2,ke/=2,$e/=2,we/=2}function gt(at,lt){return nt===1?at[lt]:at.readUInt16BE(lt*nt)}var ct;if(Ke){var vt=-1;for(ct=we;ctke&&(we=ke-$e),ct=we;ct>=0;ct--){for(var st=!0,ht=0;ht<$e;ht++)if(gt(Ee,ct+ht)!==gt(xe,ht)){st=!1;break}if(st)return ct}return-1}ae.prototype.includes=function(xe,we,Be){return this.indexOf(xe,we,Be)!==-1},ae.prototype.indexOf=function(xe,we,Be){return me(this,xe,we,Be,!0)},ae.prototype.lastIndexOf=function(xe,we,Be){return me(this,xe,we,Be,!1)};function be(Ee,xe,we,Be){we=Number(we)||0;var Ke=Ee.length-we;Be?(Be=Number(Be),Be>Ke&&(Be=Ke)):Be=Ke;var nt=xe.length;Be>nt/2&&(Be=nt/2);for(var ke=0;ke>>0,isFinite(Be)?(Be=Be>>>0,Ke===void 0&&(Ke="utf8")):(Ke=Be,Be=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var nt=this.length-we;if((Be===void 0||Be>nt)&&(Be=nt),xe.length>0&&(Be<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ke||(Ke="utf8");for(var ke=!1;;)switch(Ke){case"hex":return be(this,xe,we,Be);case"utf8":case"utf-8":return Pe(this,xe,we,Be);case"ascii":return Te(this,xe,we,Be);case"latin1":case"binary":return Ce(this,xe,we,Be);case"base64":return Le(this,xe,we,Be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ie(this,xe,we,Be);default:if(ke)throw new TypeError("Unknown encoding: "+Ke);Ke=(""+Ke).toLowerCase(),ke=!0}},ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Me(Ee,xe,we){return xe===0&&we===Ee.length?te.fromByteArray(Ee):te.fromByteArray(Ee.slice(xe,we))}function Ue(Ee,xe,we){we=Math.min(Ee.length,we);for(var Be=[],Ke=xe;Ke239?4:nt>223?3:nt>191?2:1;if(Ke+$e<=we){var gt,ct,vt,st;switch($e){case 1:nt<128&&(ke=nt);break;case 2:gt=Ee[Ke+1],(gt&192)===128&&(st=(nt&31)<<6|gt&63,st>127&&(ke=st));break;case 3:gt=Ee[Ke+1],ct=Ee[Ke+2],(gt&192)===128&&(ct&192)===128&&(st=(nt&15)<<12|(gt&63)<<6|ct&63,st>2047&&(st<55296||st>57343)&&(ke=st));break;case 4:gt=Ee[Ke+1],ct=Ee[Ke+2],vt=Ee[Ke+3],(gt&192)===128&&(ct&192)===128&&(vt&192)===128&&(st=(nt&15)<<18|(gt&63)<<12|(ct&63)<<6|vt&63,st>65535&&st<1114112&&(ke=st))}}ke===null?(ke=65533,$e=1):ke>65535&&(ke-=65536,Be.push(ke>>>10&1023|55296),ke=56320|ke&1023),Be.push(ke),Ke+=$e}return Ge(Be)}var Qe=4096;function Ge(Ee){var xe=Ee.length;if(xe<=Qe)return String.fromCharCode.apply(String,Ee);for(var we="",Be=0;BeBe)&&(we=Be);for(var Ke="",nt=xe;ntBe&&(xe=Be),we<0?(we+=Be,we<0&&(we=0)):we>Be&&(we=Be),wewe)throw new RangeError("Trying to access beyond buffer length")}ae.prototype.readUIntLE=function(xe,we,Be){xe=xe>>>0,we=we>>>0,Be||ze(xe,we,this.length);for(var Ke=this[xe],nt=1,ke=0;++ke>>0,we=we>>>0,Be||ze(xe,we,this.length);for(var Ke=this[xe+--we],nt=1;we>0&&(nt*=256);)Ke+=this[xe+--we]*nt;return Ke},ae.prototype.readUInt8=function(xe,we){return xe=xe>>>0,we||ze(xe,1,this.length),this[xe]},ae.prototype.readUInt16LE=function(xe,we){return xe=xe>>>0,we||ze(xe,2,this.length),this[xe]|this[xe+1]<<8},ae.prototype.readUInt16BE=function(xe,we){return xe=xe>>>0,we||ze(xe,2,this.length),this[xe]<<8|this[xe+1]},ae.prototype.readUInt32LE=function(xe,we){return xe=xe>>>0,we||ze(xe,4,this.length),(this[xe]|this[xe+1]<<8|this[xe+2]<<16)+this[xe+3]*16777216},ae.prototype.readUInt32BE=function(xe,we){return xe=xe>>>0,we||ze(xe,4,this.length),this[xe]*16777216+(this[xe+1]<<16|this[xe+2]<<8|this[xe+3])},ae.prototype.readIntLE=function(xe,we,Be){xe=xe>>>0,we=we>>>0,Be||ze(xe,we,this.length);for(var Ke=this[xe],nt=1,ke=0;++ke=nt&&(Ke-=Math.pow(2,8*we)),Ke},ae.prototype.readIntBE=function(xe,we,Be){xe=xe>>>0,we=we>>>0,Be||ze(xe,we,this.length);for(var Ke=we,nt=1,ke=this[xe+--Ke];Ke>0&&(nt*=256);)ke+=this[xe+--Ke]*nt;return nt*=128,ke>=nt&&(ke-=Math.pow(2,8*we)),ke},ae.prototype.readInt8=function(xe,we){return xe=xe>>>0,we||ze(xe,1,this.length),this[xe]&128?(255-this[xe]+1)*-1:this[xe]},ae.prototype.readInt16LE=function(xe,we){xe=xe>>>0,we||ze(xe,2,this.length);var Be=this[xe]|this[xe+1]<<8;return Be&32768?Be|4294901760:Be},ae.prototype.readInt16BE=function(xe,we){xe=xe>>>0,we||ze(xe,2,this.length);var Be=this[xe+1]|this[xe]<<8;return Be&32768?Be|4294901760:Be},ae.prototype.readInt32LE=function(xe,we){return xe=xe>>>0,we||ze(xe,4,this.length),this[xe]|this[xe+1]<<8|this[xe+2]<<16|this[xe+3]<<24},ae.prototype.readInt32BE=function(xe,we){return xe=xe>>>0,we||ze(xe,4,this.length),this[xe]<<24|this[xe+1]<<16|this[xe+2]<<8|this[xe+3]},ae.prototype.readFloatLE=function(xe,we){return xe=xe>>>0,we||ze(xe,4,this.length),se.read(this,xe,!0,23,4)},ae.prototype.readFloatBE=function(xe,we){return xe=xe>>>0,we||ze(xe,4,this.length),se.read(this,xe,!1,23,4)},ae.prototype.readDoubleLE=function(xe,we){return xe=xe>>>0,we||ze(xe,8,this.length),se.read(this,xe,!0,52,8)},ae.prototype.readDoubleBE=function(xe,we){return xe=xe>>>0,we||ze(xe,8,this.length),se.read(this,xe,!1,52,8)};function Re(Ee,xe,we,Be,Ke,nt){if(!ae.isBuffer(Ee))throw new TypeError('"buffer" argument must be a Buffer instance');if(xe>Ke||xeEe.length)throw new RangeError("Index out of range")}ae.prototype.writeUIntLE=function(xe,we,Be,Ke){if(xe=+xe,we=we>>>0,Be=Be>>>0,!Ke){var nt=Math.pow(2,8*Be)-1;Re(this,xe,we,Be,nt,0)}var ke=1,$e=0;for(this[we]=xe&255;++$e>>0,Be=Be>>>0,!Ke){var nt=Math.pow(2,8*Be)-1;Re(this,xe,we,Be,nt,0)}var ke=Be-1,$e=1;for(this[we+ke]=xe&255;--ke>=0&&($e*=256);)this[we+ke]=xe/$e&255;return we+Be},ae.prototype.writeUInt8=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,1,255,0),this[we]=xe&255,we+1},ae.prototype.writeUInt16LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,65535,0),this[we]=xe&255,this[we+1]=xe>>>8,we+2},ae.prototype.writeUInt16BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,65535,0),this[we]=xe>>>8,this[we+1]=xe&255,we+2},ae.prototype.writeUInt32LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,4294967295,0),this[we+3]=xe>>>24,this[we+2]=xe>>>16,this[we+1]=xe>>>8,this[we]=xe&255,we+4},ae.prototype.writeUInt32BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,4294967295,0),this[we]=xe>>>24,this[we+1]=xe>>>16,this[we+2]=xe>>>8,this[we+3]=xe&255,we+4},ae.prototype.writeIntLE=function(xe,we,Be,Ke){if(xe=+xe,we=we>>>0,!Ke){var nt=Math.pow(2,8*Be-1);Re(this,xe,we,Be,nt-1,-nt)}var ke=0,$e=1,gt=0;for(this[we]=xe&255;++ke>0)-gt&255;return we+Be},ae.prototype.writeIntBE=function(xe,we,Be,Ke){if(xe=+xe,we=we>>>0,!Ke){var nt=Math.pow(2,8*Be-1);Re(this,xe,we,Be,nt-1,-nt)}var ke=Be-1,$e=1,gt=0;for(this[we+ke]=xe&255;--ke>=0&&($e*=256);)xe<0&>===0&&this[we+ke+1]!==0&&(gt=1),this[we+ke]=(xe/$e>>0)-gt&255;return we+Be},ae.prototype.writeInt8=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,1,127,-128),xe<0&&(xe=255+xe+1),this[we]=xe&255,we+1},ae.prototype.writeInt16LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,32767,-32768),this[we]=xe&255,this[we+1]=xe>>>8,we+2},ae.prototype.writeInt16BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,2,32767,-32768),this[we]=xe>>>8,this[we+1]=xe&255,we+2},ae.prototype.writeInt32LE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,2147483647,-2147483648),this[we]=xe&255,this[we+1]=xe>>>8,this[we+2]=xe>>>16,this[we+3]=xe>>>24,we+4},ae.prototype.writeInt32BE=function(xe,we,Be){return xe=+xe,we=we>>>0,Be||Re(this,xe,we,4,2147483647,-2147483648),xe<0&&(xe=4294967295+xe+1),this[we]=xe>>>24,this[we+1]=xe>>>16,this[we+2]=xe>>>8,this[we+3]=xe&255,we+4};function He(Ee,xe,we,Be,Ke,nt){if(we+Be>Ee.length)throw new RangeError("Index out of range");if(we<0)throw new RangeError("Index out of range")}function rt(Ee,xe,we,Be,Ke){return xe=+xe,we=we>>>0,Ke||He(Ee,xe,we,4,34028234663852886e22,-34028234663852886e22),se.write(Ee,xe,we,Be,23,4),we+4}ae.prototype.writeFloatLE=function(xe,we,Be){return rt(this,xe,we,!0,Be)},ae.prototype.writeFloatBE=function(xe,we,Be){return rt(this,xe,we,!1,Be)};function qe(Ee,xe,we,Be,Ke){return xe=+xe,we=we>>>0,Ke||He(Ee,xe,we,8,17976931348623157e292,-17976931348623157e292),se.write(Ee,xe,we,Be,52,8),we+8}ae.prototype.writeDoubleLE=function(xe,we,Be){return qe(this,xe,we,!0,Be)},ae.prototype.writeDoubleBE=function(xe,we,Be){return qe(this,xe,we,!1,Be)},ae.prototype.copy=function(xe,we,Be,Ke){if(!ae.isBuffer(xe))throw new TypeError("argument should be a Buffer");if(Be||(Be=0),!Ke&&Ke!==0&&(Ke=this.length),we>=xe.length&&(we=xe.length),we||(we=0),Ke>0&&Ke=this.length)throw new RangeError("Index out of range");if(Ke<0)throw new RangeError("sourceEnd out of bounds");Ke>this.length&&(Ke=this.length),xe.length-we=0;--ke)xe[ke+we]=this[ke+Be];else Uint8Array.prototype.set.call(xe,this.subarray(Be,Ke),we);return nt},ae.prototype.fill=function(xe,we,Be,Ke){if(typeof xe=="string"){if(typeof we=="string"?(Ke=we,we=0,Be=this.length):typeof Be=="string"&&(Ke=Be,Be=this.length),Ke!==void 0&&typeof Ke!="string")throw new TypeError("encoding must be a string");if(typeof Ke=="string"&&!ae.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke);if(xe.length===1){var nt=xe.charCodeAt(0);(Ke==="utf8"&&nt<128||Ke==="latin1")&&(xe=nt)}}else typeof xe=="number"&&(xe=xe&255);if(we<0||this.length>>0,Be=Be===void 0?this.length:Be>>>0,xe||(xe=0);var ke;if(typeof xe=="number")for(ke=we;ke55295&&we<57344){if(!Ke){if(we>56319){(xe-=3)>-1&&nt.push(239,191,189);continue}else if(ke+1===Be){(xe-=3)>-1&&nt.push(239,191,189);continue}Ke=we;continue}if(we<56320){(xe-=3)>-1&&nt.push(239,191,189),Ke=we;continue}we=(Ke-55296<<10|we-56320)+65536}else Ke&&(xe-=3)>-1&&nt.push(239,191,189);if(Ke=null,we<128){if((xe-=1)<0)break;nt.push(we)}else if(we<2048){if((xe-=2)<0)break;nt.push(we>>6|192,we&63|128)}else if(we<65536){if((xe-=3)<0)break;nt.push(we>>12|224,we>>6&63|128,we&63|128)}else if(we<1114112){if((xe-=4)<0)break;nt.push(we>>18|240,we>>12&63|128,we>>6&63|128,we&63|128)}else throw new Error("Invalid code point")}return nt}function Ye(Ee){for(var xe=[],we=0;we>8,Ke=we%256,nt.push(Ke),nt.push(Be);return nt}function Ne(Ee){return te.toByteArray(_e(Ee))}function et(Ee,xe,we,Be){for(var Ke=0;Ke=xe.length||Ke>=Ee.length);++Ke)xe[Ke+we]=Ee[Ke];return Ke}function De(Ee,xe){return Ee instanceof xe||Ee!=null&&Ee.constructor!=null&&Ee.constructor.name!=null&&Ee.constructor.name===xe.name}function je(Ee){return Ee!==Ee}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,Se,ye){Se.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,Se,ye){"use strict";var oe=E("get-intrinsic"),te=E("./"),se=te(oe("String.prototype.indexOf"));Se.exports=function(ue,ce){var ae=oe(ue,!!ce);return typeof ae=="function"&&se(ue,".prototype.")>-1?te(ae):ae}},{"./":93,"get-intrinsic":348}],93:[function(E,Se,ye){"use strict";var oe=E("function-bind"),te=E("get-intrinsic"),se=te("%Function.prototype.apply%"),de=te("%Function.prototype.call%"),ue=te("%Reflect.apply%",!0)||oe.call(de,se),ce=te("%Object.getOwnPropertyDescriptor%",!0),ae=te("%Object.defineProperty%",!0),ie=te("%Math.max%");if(ae)try{ae({},"a",{value:1})}catch(a){ae=null}Se.exports=function(y){var x=ue(oe,de,arguments);if(ce&&ae){var b=ce(x,"length");b.configurable&&ae(x,"length",{value:1+ie(0,y.length-(arguments.length-1))})}return x};var ne=function(){return ue(oe,se,arguments)};ae?ae(Se.exports,"apply",{value:ne}):Se.exports.apply=ne},{"function-bind":347,"get-intrinsic":348}],94:[function(E,Se,ye){"use strict";var oe=Array.prototype.slice;Se.exports=te;function te(de,ue){if(!(this instanceof te))return new te(de,ue);this.src=de,this._withAccess=ue}te.prototype.withAccess=function(de){return this._withAccess=de!==!1,this},te.prototype.pick=function(de){return Array.isArray(de)||(de=oe.call(arguments)),de.length&&(this.keys=de),this},te.prototype.to=function(de){if(de=de||{},!this.src)return de;var ue=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ce=0;ce>8&255]},Oe=function(ke){return[ke&255,ke>>8&255,ke>>16&255,ke>>24&255]},Ye=function(ke){return ke[3]<<24|ke[2]<<16|ke[1]<<8|ke[0]},Fe=function(ke){return qe(ke,23,4)},Ne=function(ke){return qe(ke,52,8)},et=function(ke,$e){le(ke[Ie],$e,{get:function(){return Pe(this)[$e]}})},De=function(ke,$e,gt,ct){var vt=x(gt),st=Pe(ke);if(vt+$e>st.byteLength)throw Re(Ue);var ht=Pe(st.buffer).bytes,at=vt+st.byteOffset,lt=ve(ht,at,at+$e);return ct?lt:rt(lt)},je=function(ke,$e,gt,ct,vt,st){var ht=x(gt),at=Pe(ke);if(ht+$e>at.byteLength)throw Re(Ue);for(var lt=Pe(at.buffer).bytes,ft=ht+at.byteOffset,mt=ct(+vt),Pt=0;Pt<$e;Pt++)lt[ft+Pt]=mt[st?Pt:$e-Pt-1]};if(!de)Ge=function($e){ne(this,ot);var gt=x($e);Te(this,{bytes:He(ze(gt),0),byteLength:gt}),se||(this.byteLength=gt)},ot=Ge[Ie],Ve=function($e,gt,ct){ne(this,Xe),ne($e,ot);var vt=Pe($e).byteLength,st=a(gt);if(st<0||st>vt)throw Re("Wrong offset");if(ct=ct===void 0?vt-st:y(ct),st+ct>vt)throw Re(Me);Te(this,{buffer:$e,byteLength:ct,byteOffset:st}),se||(this.buffer=$e,this.byteLength=ct,this.byteOffset=st)},Xe=Ve[Ie],se&&(et(Ge,"byteLength"),et(Ve,"buffer"),et(Ve,"byteLength"),et(Ve,"byteOffset")),ae(Xe,{getInt8:function($e){return De(this,1,$e)[0]<<24>>24},getUint8:function($e){return De(this,1,$e)[0]},getInt16:function($e){var gt=De(this,2,$e,arguments.length>1?arguments[1]:void 0);return(gt[1]<<8|gt[0])<<16>>16},getUint16:function($e){var gt=De(this,2,$e,arguments.length>1?arguments[1]:void 0);return gt[1]<<8|gt[0]},getInt32:function($e){return Ye(De(this,4,$e,arguments.length>1?arguments[1]:void 0))},getUint32:function($e){return Ye(De(this,4,$e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function($e){return ut(De(this,4,$e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function($e){return ut(De(this,8,$e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function($e,gt){je(this,1,$e,_e,gt)},setUint8:function($e,gt){je(this,1,$e,_e,gt)},setInt16:function($e,gt){je(this,2,$e,We,gt,arguments.length>2?arguments[2]:void 0)},setUint16:function($e,gt){je(this,2,$e,We,gt,arguments.length>2?arguments[2]:void 0)},setInt32:function($e,gt){je(this,4,$e,Oe,gt,arguments.length>2?arguments[2]:void 0)},setUint32:function($e,gt){je(this,4,$e,Oe,gt,arguments.length>2?arguments[2]:void 0)},setFloat32:function($e,gt){je(this,4,$e,Fe,gt,arguments.length>2?arguments[2]:void 0)},setFloat64:function($e,gt){je(this,8,$e,Ne,gt,arguments.length>2?arguments[2]:void 0)}});else{var Ee=ge&&Qe.name!==Ce;if(!ie(function(){Qe(1)})||!ie(function(){new Qe(-1)})||ie(function(){return new Qe,new Qe(1.5),new Qe(NaN),Ee&&!be})){Ge=function($e){return ne(this,ot),new Qe(x($e))},Ge[Ie]=ot;for(var xe=re(Qe),we=0,Be;xe.length>we;)(Be=xe[we++])in Ge||ce(Ge,Be,Qe[Be]);ot.constructor=Ge}else Ee&&be&&ce(Qe,"name",Ce);ee&&z(Xe)!==Ze&&ee(Xe,Ze);var Ke=new Ve(new Ge(2)),nt=te(Xe.setInt8);Ke.setInt8(0,2147483648),Ke.setInt8(1,2147483649),(Ke.getInt8(0)||!Ke.getInt8(1))&&ae(Xe,{setInt8:function($e,gt){nt(this,$e,gt<<24>>24)},setUint8:function($e,gt){nt(this,$e,gt<<24>>24)}},{unsafe:!0})}fe(Ge,Ce),fe(Ve,Le),Se.exports={ArrayBuffer:Ge,DataView:Ve}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,Se,ye){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=Math.min;Se.exports=[].copyWithin||function(ce,ae){var ie=oe(this),ne=se(ie),a=te(ce,ne),y=te(ae,ne),x=arguments.length>2?arguments[2]:void 0,b=de((x===void 0?ne:te(x,ne))-y,ne-a),z=1;for(y0;)y in ie?ie[a]=ie[y]:delete ie[a],a+=z,y+=z;return ie}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,Se,ye){"use strict";var oe=E("../internals/to-object"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like");Se.exports=function(ue){for(var ce=oe(this),ae=se(ce),ie=arguments.length,ne=te(ie>1?arguments[1]:void 0,ae),a=ie>2?arguments[2]:void 0,y=a===void 0?ae:te(a,ae);y>ne;)ce[ne++]=ue;return ce}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,Se,ye){"use strict";var oe=E("../internals/array-iteration").forEach,te=E("../internals/array-method-is-strict"),se=te("forEach");Se.exports=se?[].forEach:function(ue){return oe(this,ue,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,Se,ye){var oe=E("../internals/length-of-array-like");Se.exports=function(te,se){for(var de=0,ue=oe(se),ce=new te(ue);ue>de;)ce[de]=se[de++];return ce}},{"../internals/length-of-array-like":188}],109:[function(E,Se,ye){"use strict";var oe=E("../internals/global"),te=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/to-object"),ue=E("../internals/call-with-safe-iteration-closing"),ce=E("../internals/is-array-iterator-method"),ae=E("../internals/is-constructor"),ie=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=oe.Array;Se.exports=function(z){var ee=de(z),re=ae(this),le=arguments.length,he=le>1?arguments[1]:void 0,ve=he!==void 0;ve&&(he=te(he,le>2?arguments[2]:void 0));var fe=y(ee),me=0,ge,be,Pe,Te,Ce,Le;if(fe&&!(this==x&&ce(fe)))for(Te=a(ee,fe),Ce=Te.next,be=re?new this:[];!(Pe=se(Ce,Te)).done;me++)Le=ve?ue(Te,he,[Pe.value,me],!0):Pe.value,ne(be,me,Le);else for(ge=ie(ee),be=re?new this(ge):x(ge);ge>me;me++)Le=ve?he(ee[me],me):ee[me],ne(be,me,Le);return be.length=me,be}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,Se,ye){var oe=E("../internals/to-indexed-object"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=function(ue){return function(ce,ae,ie){var ne=oe(ce),a=se(ne),y=te(ie,a),x;if(ue&&ae!=ae){for(;a>y;)if(x=ne[y++],x!=x)return!0}else for(;a>y;y++)if((ue||y in ne)&&ne[y]===ae)return ue||y||0;return!ue&&-1}};Se.exports={includes:de(!0),indexOf:de(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,Se,ye){var oe=E("../internals/function-bind-context"),te=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ce=E("../internals/array-species-create"),ae=te([].push),ie=function(ne){var a=ne==1,y=ne==2,x=ne==3,b=ne==4,z=ne==6,ee=ne==7,re=ne==5||z;return function(le,he,ve,fe){for(var me=de(le),ge=se(me),be=oe(he,ve),Pe=ue(ge),Te=0,Ce=fe||ce,Le=a?Ce(le,Pe):y||ee?Ce(le,0):void 0,Ie,Me;Pe>Te;Te++)if((re||Te in ge)&&(Ie=ge[Te],Me=be(Ie,Te,me),ne))if(a)Le[Te]=Me;else if(Me)switch(ne){case 3:return!0;case 5:return Ie;case 6:return Te;case 2:ae(Le,Ie)}else switch(ne){case 4:return!1;case 7:ae(Le,Ie)}return z?-1:x||b?b:Le}};Se.exports={forEach:ie(0),map:ie(1),filter:ie(2),some:ie(3),every:ie(4),find:ie(5),findIndex:ie(6),filterReject:ie(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,Se,ye){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/to-indexed-object"),se=E("../internals/to-integer-or-infinity"),de=E("../internals/length-of-array-like"),ue=E("../internals/array-method-is-strict"),ce=Math.min,ae=[].lastIndexOf,ie=!!ae&&1/[1].lastIndexOf(1,-0)<0,ne=ue("lastIndexOf"),a=ie||!ne;Se.exports=a?function(x){if(ie)return oe(ae,this,arguments)||0;var b=te(this),z=de(b),ee=z-1;for(arguments.length>1&&(ee=ce(ee,se(arguments[1]))),ee<0&&(ee=z+ee);ee>=0;ee--)if(ee in b&&b[ee]===x)return ee||0;return-1}:ae},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,Se,ye){var oe=E("../internals/fails"),te=E("../internals/well-known-symbol"),se=E("../internals/engine-v8-version"),de=te("species");Se.exports=function(ue){return se>=51||!oe(function(){var ce=[],ae=ce.constructor={};return ae[de]=function(){return{foo:1}},ce[ue](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,Se,ye){"use strict";var oe=E("../internals/fails");Se.exports=function(te,se){var de=[][te];return!!de&&oe(function(){de.call(null,se||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/a-callable"),se=E("../internals/to-object"),de=E("../internals/indexed-object"),ue=E("../internals/length-of-array-like"),ce=oe.TypeError,ae=function(ie){return function(ne,a,y,x){te(a);var b=se(ne),z=de(b),ee=ue(b),re=ie?ee-1:0,le=ie?-1:1;if(y<2)for(;;){if(re in z){x=z[re],re+=le;break}if(re+=le,ie?re<0:ee<=re)throw ce("Reduce of empty array with no initial value")}for(;ie?re>=0:ee>re;re+=le)re in z&&(x=a(x,z[re],re,b));return x}};Se.exports={left:ae(!1),right:ae(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),de=E("../internals/create-property"),ue=oe.Array,ce=Math.max;Se.exports=function(ae,ie,ne){for(var a=se(ae),y=te(ie,a),x=te(ne===void 0?a:ne,a),b=ue(ce(x-y,0)),z=0;y0;)ce[y]=ce[--y];y!==ne++&&(ce[y]=a)}return ce},ue=function(ce,ae,ie,ne){for(var a=ae.length,y=ie.length,x=0,b=0;x0&&ae[0]<4?1:+(ae[0]+ae[1])),!ie&&te&&(ae=te.match(/Edge\/(\d+)/),(!ae||ae[1]>=74)&&(ae=te.match(/Chrome\/(\d+)/),ae&&(ie=+ae[1]))),Se.exports=ie},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,Se,ye){var oe=E("../internals/engine-user-agent"),te=oe.match(/AppleWebKit\/(\d+)\./);Se.exports=!!te&&+te[1]},{"../internals/engine-user-agent":145}],148:[function(E,Se,ye){Se.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/object-get-own-property-descriptor").f,se=E("../internals/create-non-enumerable-property"),de=E("../internals/redefine"),ue=E("../internals/set-global"),ce=E("../internals/copy-constructor-properties"),ae=E("../internals/is-forced");Se.exports=function(ie,ne){var a=ie.target,y=ie.global,x=ie.stat,b,z,ee,re,le,he;if(y?z=oe:x?z=oe[a]||ue(a,{}):z=(oe[a]||{}).prototype,z)for(ee in ne){if(le=ne[ee],ie.noTargetGet?(he=te(z,ee),re=he&&he.value):re=z[ee],b=ae(y?ee:a+(x?".":"#")+ee,ie.forced),!b&&re!==void 0){if(typeof le==typeof re)continue;ce(le,re)}(ie.sham||re&&re.sham)&&se(le,"sham",!0),de(z,ee,le,ie)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,Se,ye){Se.exports=function(oe){try{return!!oe()}catch(te){return!0}}},{}],151:[function(E,Se,ye){"use strict";E("../modules/es.regexp.exec");var oe=E("../internals/function-uncurry-this"),te=E("../internals/redefine"),se=E("../internals/regexp-exec"),de=E("../internals/fails"),ue=E("../internals/well-known-symbol"),ce=E("../internals/create-non-enumerable-property"),ae=ue("species"),ie=RegExp.prototype;Se.exports=function(ne,a,y,x){var b=ue(ne),z=!de(function(){var he={};return he[b]=function(){return 7},""[ne](he)!=7}),ee=z&&!de(function(){var he=!1,ve=/a/;return ne==="split"&&(ve={},ve.constructor={},ve.constructor[ae]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return he=!0,null},ve[b](""),!he});if(!z||!ee||y){var re=oe(/./[b]),le=a(b,""[ne],function(he,ve,fe,me,ge){var be=oe(he),Pe=ve.exec;return Pe===se||Pe===ie.exec?z&&!ge?{done:!0,value:re(ve,fe,me)}:{done:!0,value:be(fe,ve,me)}:{done:!1}});te(String.prototype,ne,le[0]),te(ie,b,le[1])}x&&ce(ie[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,Se,ye){var oe=E("../internals/function-bind-native"),te=Function.prototype,se=te.apply,de=te.call;Se.exports=typeof Reflect=="object"&&Reflect.apply||(oe?de.bind(se):function(){return de.apply(se,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/a-callable"),se=E("../internals/function-bind-native"),de=oe(oe.bind);Se.exports=function(ue,ce){return te(ue),ce===void 0?ue:se?de(ue,ce):function(){return ue.apply(ce,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,Se,ye){var oe=E("../internals/fails");Se.exports=!oe(function(){var te=function(){}.bind();return typeof te!="function"||te.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,Se,ye){var oe=E("../internals/function-bind-native"),te=Function.prototype.call;Se.exports=oe?te.bind(te):function(){return te.apply(te,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,Se,ye){var oe=E("../internals/descriptors"),te=E("../internals/has-own-property"),se=Function.prototype,de=oe&&Object.getOwnPropertyDescriptor,ue=te(se,"name"),ce=ue&&function(){}.name==="something",ae=ue&&(!oe||oe&&de(se,"name").configurable);Se.exports={EXISTS:ue,PROPER:ce,CONFIGURABLE:ae}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,Se,ye){var oe=E("../internals/function-bind-native"),te=Function.prototype,se=te.bind,de=te.call,ue=oe&&se.bind(de,de);Se.exports=oe?function(ce){return ce&&ue(ce)}:function(ce){return ce&&function(){return de.apply(ce,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/is-callable"),se=function(de){return te(de)?de:void 0};Se.exports=function(de,ue){return arguments.length<2?se(oe[de]):oe[de]&&oe[de][ue]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,Se,ye){var oe=E("../internals/classof"),te=E("../internals/get-method"),se=E("../internals/iterators"),de=E("../internals/well-known-symbol"),ue=de("iterator");Se.exports=function(ce){if(ce!=null)return te(ce,ue)||te(ce,"@@iterator")||se[oe(ce)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/an-object"),ue=E("../internals/try-to-string"),ce=E("../internals/get-iterator-method"),ae=oe.TypeError;Se.exports=function(ie,ne){var a=arguments.length<2?ce(ie):ne;if(se(a))return de(te(a,ie));throw ae(ue(ie)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,Se,ye){var oe=E("../internals/a-callable");Se.exports=function(te,se){var de=te[se];return de==null?void 0:oe(de)}},{"../internals/a-callable":95}],162:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),se=Math.floor,de=oe("".charAt),ue=oe("".replace),ce=oe("".slice),ae=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ie=/\$([$&'`]|\d{1,2})/g;Se.exports=function(ne,a,y,x,b,z){var ee=y+ne.length,re=x.length,le=ie;return b!==void 0&&(b=te(b),le=ae),ue(z,le,function(he,ve){var fe;switch(de(ve,0)){case"$":return"$";case"&":return ne;case"`":return ce(a,0,y);case"'":return ce(a,ee);case"<":fe=b[ce(ve,1,-1)];break;default:var me=+ve;if(me===0)return he;if(me>re){var ge=se(me/10);return ge===0?he:ge<=re?x[ge-1]===void 0?de(ve,1):x[ge-1]+de(ve,1):he}fe=x[me-1]}return fe===void 0?"":fe})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,Se,ye){(function(oe){(function(){var te=function(se){return se&&se.Math==Math&&se};Se.exports=te(typeof globalThis=="object"&&globalThis)||te(typeof window=="object"&&window)||te(typeof self=="object"&&self)||te(typeof oe=="object"&&oe)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-object"),se=oe({}.hasOwnProperty);Se.exports=Object.hasOwn||function(ue,ce){return se(te(ue),ce)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,Se,ye){Se.exports={}},{}],166:[function(E,Se,ye){var oe=E("../internals/global");Se.exports=function(te,se){var de=oe.console;de&&de.error&&(arguments.length==1?de.error(te):de.error(te,se))}},{"../internals/global":163}],167:[function(E,Se,ye){var oe=E("../internals/get-built-in");Se.exports=oe("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,Se,ye){var oe=E("../internals/descriptors"),te=E("../internals/fails"),se=E("../internals/document-create-element");Se.exports=!oe&&!te(function(){return Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,Se,ye){var oe=E("../internals/global"),te=oe.Array,se=Math.abs,de=Math.pow,ue=Math.floor,ce=Math.log,ae=Math.LN2,ie=function(a,y,x){var b=te(x),z=x*8-y-1,ee=(1<>1,le=y===23?de(2,-24)-de(2,-77):0,he=a<0||a===0&&1/a<0?1:0,ve=0,fe,me,ge;for(a=se(a),a!=a||a===1/0?(me=a!=a?1:0,fe=ee):(fe=ue(ce(a)/ae),ge=de(2,-fe),a*ge<1&&(fe--,ge*=2),fe+re>=1?a+=le/ge:a+=le*de(2,1-re),a*ge>=2&&(fe++,ge/=2),fe+re>=ee?(me=0,fe=ee):fe+re>=1?(me=(a*ge-1)*de(2,y),fe=fe+re):(me=a*de(2,re-1)*de(2,y),fe=0));y>=8;)b[ve++]=me&255,me/=256,y-=8;for(fe=fe<0;)b[ve++]=fe&255,fe/=256,z-=8;return b[--ve]|=he*128,b},ne=function(a,y){var x=a.length,b=x*8-y-1,z=(1<>1,re=b-7,le=x-1,he=a[le--],ve=he&127,fe;for(he>>=7;re>0;)ve=ve*256+a[le--],re-=8;for(fe=ve&(1<<-re)-1,ve>>=-re,re+=y;re>0;)fe=fe*256+a[le--],re-=8;if(ve===0)ve=1-ee;else{if(ve===z)return fe?NaN:he?-1/0:1/0;fe=fe+de(2,y),ve=ve-ee}return(he?-1:1)*fe*de(2,ve-y)};Se.exports={pack:ie,unpack:ne}},{"../internals/global":163}],170:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/classof-raw"),ue=oe.Object,ce=te("".split);Se.exports=se(function(){return!ue("z").propertyIsEnumerable(0)})?function(ae){return de(ae)=="String"?ce(ae,""):ue(ae)}:ue},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,Se,ye){var oe=E("../internals/is-callable"),te=E("../internals/is-object"),se=E("../internals/object-set-prototype-of");Se.exports=function(de,ue,ce){var ae,ie;return se&&oe(ae=ue.constructor)&&ae!==ce&&te(ie=ae.prototype)&&ie!==ce.prototype&&se(de,ie),de}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/is-callable"),se=E("../internals/shared-store"),de=oe(Function.toString);te(se.inspectSource)||(se.inspectSource=function(ue){return de(ue)}),Se.exports=se.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,Se,ye){var oe=E("../internals/native-weak-map"),te=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-object"),ue=E("../internals/create-non-enumerable-property"),ce=E("../internals/has-own-property"),ae=E("../internals/shared-store"),ie=E("../internals/shared-key"),ne=E("../internals/hidden-keys"),a="Object already initialized",y=te.TypeError,x=te.WeakMap,b,z,ee,re=function(be){return ee(be)?z(be):b(be,{})},le=function(be){return function(Pe){var Te;if(!de(Pe)||(Te=z(Pe)).type!==be)throw y("Incompatible receiver, "+be+" required");return Te}};if(oe||ae.state){var he=ae.state||(ae.state=new x),ve=se(he.get),fe=se(he.has),me=se(he.set);b=function(be,Pe){if(fe(he,be))throw new y(a);return Pe.facade=be,me(he,be,Pe),Pe},z=function(be){return ve(he,be)||{}},ee=function(be){return fe(he,be)}}else{var ge=ie("state");ne[ge]=!0,b=function(be,Pe){if(ce(be,ge))throw new y(a);return Pe.facade=be,ue(be,ge,Pe),Pe},z=function(be){return ce(be,ge)?be[ge]:{}},ee=function(be){return ce(be,ge)}}Se.exports={set:b,get:z,has:ee,enforce:re,getterFor:le}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,Se,ye){var oe=E("../internals/well-known-symbol"),te=E("../internals/iterators"),se=oe("iterator"),de=Array.prototype;Se.exports=function(ue){return ue!==void 0&&(te.Array===ue||de[se]===ue)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,Se,ye){var oe=E("../internals/classof-raw");Se.exports=Array.isArray||function(se){return oe(se)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,Se,ye){Se.exports=function(oe){return typeof oe=="function"}},{}],177:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/fails"),se=E("../internals/is-callable"),de=E("../internals/classof"),ue=E("../internals/get-built-in"),ce=E("../internals/inspect-source"),ae=function(){},ie=[],ne=ue("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=oe(a.exec),x=!a.exec(ae),b=function(re){if(!se(re))return!1;try{return ne(ae,ie,re),!0}catch(le){return!1}},z=function(re){if(!se(re))return!1;switch(de(re)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ce(re))}catch(le){return!0}};z.sham=!0,Se.exports=!ne||te(function(){var ee;return b(b.call)||!b(Object)||!b(function(){ee=!0})||ee})?z:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,Se,ye){var oe=E("../internals/fails"),te=E("../internals/is-callable"),se=/#|\.prototype\./,de=function(ne,a){var y=ce[ue(ne)];return y==ie?!0:y==ae?!1:te(a)?oe(a):!!a},ue=de.normalize=function(ne){return String(ne).replace(se,".").toLowerCase()},ce=de.data={},ae=de.NATIVE="N",ie=de.POLYFILL="P";Se.exports=de},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,Se,ye){var oe=E("../internals/is-object"),te=Math.floor;Se.exports=Number.isInteger||function(de){return!oe(de)&&isFinite(de)&&te(de)===de}},{"../internals/is-object":180}],180:[function(E,Se,ye){var oe=E("../internals/is-callable");Se.exports=function(te){return typeof te=="object"?te!==null:oe(te)}},{"../internals/is-callable":176}],181:[function(E,Se,ye){Se.exports=!1},{}],182:[function(E,Se,ye){var oe=E("../internals/is-object"),te=E("../internals/classof-raw"),se=E("../internals/well-known-symbol"),de=se("match");Se.exports=function(ue){var ce;return oe(ue)&&((ce=ue[de])!==void 0?!!ce:te(ue)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/get-built-in"),se=E("../internals/is-callable"),de=E("../internals/object-is-prototype-of"),ue=E("../internals/use-symbol-as-uid"),ce=oe.Object;Se.exports=ue?function(ae){return typeof ae=="symbol"}:function(ae){var ie=te("Symbol");return se(ie)&&de(ie.prototype,ce(ae))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),se=E("../internals/function-call"),de=E("../internals/an-object"),ue=E("../internals/try-to-string"),ce=E("../internals/is-array-iterator-method"),ae=E("../internals/length-of-array-like"),ie=E("../internals/object-is-prototype-of"),ne=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=oe.TypeError,b=function(ee,re){this.stopped=ee,this.result=re},z=b.prototype;Se.exports=function(ee,re,le){var he=le&&le.that,ve=!!(le&&le.AS_ENTRIES),fe=!!(le&&le.IS_ITERATOR),me=!!(le&&le.INTERRUPTED),ge=te(re,he),be,Pe,Te,Ce,Le,Ie,Me,Ue=function(Ge){return be&&y(be,"normal",Ge),new b(!0,Ge)},Qe=function(Ge){return ve?(de(Ge),me?ge(Ge[0],Ge[1],Ue):ge(Ge[0],Ge[1])):me?ge(Ge,Ue):ge(Ge)};if(fe)be=ee;else{if(Pe=a(ee),!Pe)throw x(ue(ee)+" is not iterable");if(ce(Pe)){for(Te=0,Ce=ae(ee);Ce>Te;Te++)if(Le=Qe(ee[Te]),Le&&ie(z,Le))return Le;return new b(!1)}be=ne(ee,Pe)}for(Ie=be.next;!(Me=se(Ie,be)).done;){try{Le=Qe(Me.value)}catch(Ge){y(be,"throw",Ge)}if(typeof Le=="object"&&Le&&ie(z,Le))return Le}return new b(!1)}},{"../internals/an-object":101,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/iterator-close":185,"../internals/length-of-array-like":188,"../internals/object-is-prototype-of":204,"../internals/try-to-string":257}],185:[function(E,Se,ye){var oe=E("../internals/function-call"),te=E("../internals/an-object"),se=E("../internals/get-method");Se.exports=function(de,ue,ce){var ae,ie;te(de);try{if(ae=se(de,"return"),!ae){if(ue==="throw")throw ce;return ce}ae=oe(ae,de)}catch(ne){ie=!0,ae=ne}if(ue==="throw")throw ce;if(ie)throw ae;return te(ae),ce}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,Se,ye){"use strict";var oe=E("../internals/fails"),te=E("../internals/is-callable"),se=E("../internals/object-create"),de=E("../internals/object-get-prototype-of"),ue=E("../internals/redefine"),ce=E("../internals/well-known-symbol"),ae=E("../internals/is-pure"),ie=ce("iterator"),ne=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=de(de(x)),y!==Object.prototype&&(a=y)):ne=!0);var b=a==null||oe(function(){var z={};return a[ie].call(z)!==z});b?a={}:ae&&(a=se(a)),te(a[ie])||ue(a,ie,function(){return this}),Se.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ne}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,Se,ye){arguments[4][165][0].apply(ye,arguments)},{dup:165}],188:[function(E,Se,ye){var oe=E("../internals/to-length");Se.exports=function(te){return oe(te.length)}},{"../internals/to-length":249}],189:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-bind-context"),se=E("../internals/object-get-own-property-descriptor").f,de=E("../internals/task").set,ue=E("../internals/engine-is-ios"),ce=E("../internals/engine-is-ios-pebble"),ae=E("../internals/engine-is-webos-webkit"),ie=E("../internals/engine-is-node"),ne=oe.MutationObserver||oe.WebKitMutationObserver,a=oe.document,y=oe.process,x=oe.Promise,b=se(oe,"queueMicrotask"),z=b&&b.value,ee,re,le,he,ve,fe,me,ge;z||(ee=function(){var be,Pe;for(ie&&(be=y.domain)&&be.exit();re;){Pe=re.fn,re=re.next;try{Pe()}catch(Te){throw re?he():le=void 0,Te}}le=void 0,be&&be.enter()},!ue&&!ie&&!ae&&ne&&a?(ve=!0,fe=a.createTextNode(""),new ne(ee).observe(fe,{characterData:!0}),he=function(){fe.data=ve=!ve}):!ce&&x&&x.resolve?(me=x.resolve(void 0),me.constructor=x,ge=te(me.then,me),he=function(){ge(ee)}):ie?he=function(){y.nextTick(ee)}:(de=te(de,oe),he=function(){de(ee)})),Se.exports=z||function(be){var Pe={fn:be,next:void 0};le&&(le.next=Pe),re||(re=Pe,he()),le=Pe}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,Se,ye){var oe=E("../internals/native-symbol");Se.exports=oe&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,Se,ye){var oe=E("../internals/engine-v8-version"),te=E("../internals/fails");Se.exports=!!Object.getOwnPropertySymbols&&!te(function(){var se=Symbol();return!String(se)||!(Object(se)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/is-callable"),se=E("../internals/inspect-source"),de=oe.WeakMap;Se.exports=te(de)&&/native code/.test(se(de))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,Se,ye){"use strict";var oe=E("../internals/a-callable"),te=function(se){var de,ue;this.promise=new se(function(ce,ae){if(de!==void 0||ue!==void 0)throw TypeError("Bad Promise constructor");de=ce,ue=ae}),this.resolve=oe(de),this.reject=oe(ue)};Se.exports.f=function(se){return new te(se)}},{"../internals/a-callable":95}],194:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/is-regexp"),se=oe.TypeError;Se.exports=function(de){if(te(de))throw se("The method doesn't accept regular expressions");return de}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,Se,ye){"use strict";var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),se=E("../internals/function-call"),de=E("../internals/fails"),ue=E("../internals/object-keys"),ce=E("../internals/object-get-own-property-symbols"),ae=E("../internals/object-property-is-enumerable"),ie=E("../internals/to-object"),ne=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=te([].concat);Se.exports=!a||de(function(){if(oe&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},z={},ee=Symbol(),re="abcdefghijklmnopqrst";return b[ee]=7,re.split("").forEach(function(le){z[le]=le}),a({},b)[ee]!=7||ue(a({},z)).join("")!=re})?function(z,ee){for(var re=ie(z),le=arguments.length,he=1,ve=ce.f,fe=ae.f;le>he;)for(var me=ne(arguments[he++]),ge=ve?x(ue(me),ve(me)):ue(me),be=ge.length,Pe=0,Te;be>Pe;)Te=ge[Pe++],(!oe||se(fe,me,Te))&&(re[Te]=me[Te]);return re}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,Se,ye){var oe=E("../internals/an-object"),te=E("../internals/object-define-properties"),se=E("../internals/enum-bug-keys"),de=E("../internals/hidden-keys"),ue=E("../internals/html"),ce=E("../internals/document-create-element"),ae=E("../internals/shared-key"),ie=">",ne="<",a="prototype",y="script",x=ae("IE_PROTO"),b=function(){},z=function(ve){return ne+y+ie+ve+ne+"/"+y+ie},ee=function(ve){ve.write(z("")),ve.close();var fe=ve.parentWindow.Object;return ve=null,fe},re=function(){var ve=ce("iframe"),fe="java"+y+":",me;return ve.style.display="none",ue.appendChild(ve),ve.src=String(fe),me=ve.contentWindow.document,me.open(),me.write(z("document.F=Object")),me.close(),me.F},le,he=function(){try{le=new ActiveXObject("htmlfile")}catch(fe){}he=typeof document!="undefined"?document.domain&&le?ee(le):re():ee(le);for(var ve=se.length;ve--;)delete he[a][se[ve]];return he()};de[x]=!0,Se.exports=Object.create||function(fe,me){var ge;return fe!==null?(b[a]=oe(fe),ge=new b,b[a]=null,ge[x]=fe):ge=he(),me===void 0?ge:te.f(ge,me)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,Se,ye){var oe=E("../internals/descriptors"),te=E("../internals/v8-prototype-define-bug"),se=E("../internals/object-define-property"),de=E("../internals/an-object"),ue=E("../internals/to-indexed-object"),ce=E("../internals/object-keys");ye.f=oe&&!te?Object.defineProperties:function(ie,ne){de(ie);for(var a=ue(ne),y=ce(ne),x=y.length,b=0,z;x>b;)se.f(ie,z=y[b++],a[z]);return ie}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/descriptors"),se=E("../internals/ie8-dom-define"),de=E("../internals/v8-prototype-define-bug"),ue=E("../internals/an-object"),ce=E("../internals/to-property-key"),ae=oe.TypeError,ie=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";ye.f=te?de?function(z,ee,re){if(ue(z),ee=ce(ee),ue(re),typeof z=="function"&&ee==="prototype"&&"value"in re&&x in re&&!re[x]){var le=ne(z,ee);le&&le[x]&&(z[ee]=re.value,re={configurable:y in re?re[y]:le[y],enumerable:a in re?re[a]:le[a],writable:!1})}return ie(z,ee,re)}:ie:function(z,ee,re){if(ue(z),ee=ce(ee),ue(re),se)try{return ie(z,ee,re)}catch(le){}if("get"in re||"set"in re)throw ae("Accessors not supported");return"value"in re&&(z[ee]=re.value),z}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,Se,ye){var oe=E("../internals/descriptors"),te=E("../internals/function-call"),se=E("../internals/object-property-is-enumerable"),de=E("../internals/create-property-descriptor"),ue=E("../internals/to-indexed-object"),ce=E("../internals/to-property-key"),ae=E("../internals/has-own-property"),ie=E("../internals/ie8-dom-define"),ne=Object.getOwnPropertyDescriptor;ye.f=oe?ne:function(y,x){if(y=ue(y),x=ce(x),ie)try{return ne(y,x)}catch(b){}if(ae(y,x))return de(!te(se.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,Se,ye){var oe=E("../internals/classof-raw"),te=E("../internals/to-indexed-object"),se=E("../internals/object-get-own-property-names").f,de=E("../internals/array-slice-simple"),ue=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ce=function(ae){try{return se(ae)}catch(ie){return de(ue)}};Se.exports.f=function(ie){return ue&&oe(ie)=="Window"?ce(ie):se(te(ie))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,Se,ye){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys"),se=te.concat("length","prototype");ye.f=Object.getOwnPropertyNames||function(ue){return oe(ue,se)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,Se,ye){ye.f=Object.getOwnPropertySymbols},{}],203:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/has-own-property"),se=E("../internals/is-callable"),de=E("../internals/to-object"),ue=E("../internals/shared-key"),ce=E("../internals/correct-prototype-getter"),ae=ue("IE_PROTO"),ie=oe.Object,ne=ie.prototype;Se.exports=ce?ie.getPrototypeOf:function(a){var y=de(a);if(te(y,ae))return y[ae];var x=y.constructor;return se(x)&&y instanceof x?x.prototype:y instanceof ie?ne:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this");Se.exports=oe({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/has-own-property"),se=E("../internals/to-indexed-object"),de=E("../internals/array-includes").indexOf,ue=E("../internals/hidden-keys"),ce=oe([].push);Se.exports=function(ae,ie){var ne=se(ae),a=0,y=[],x;for(x in ne)!te(ue,x)&&te(ne,x)&&ce(y,x);for(;ie.length>a;)te(ne,x=ie[a++])&&(~de(y,x)||ce(y,x));return y}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,Se,ye){var oe=E("../internals/object-keys-internal"),te=E("../internals/enum-bug-keys");Se.exports=Object.keys||function(de){return oe(de,te)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,Se,ye){"use strict";var oe={}.propertyIsEnumerable,te=Object.getOwnPropertyDescriptor,se=te&&!oe.call({1:2},1);ye.f=se?function(ue){var ce=te(this,ue);return!!ce&&ce.enumerable}:oe},{}],208:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/an-object"),se=E("../internals/a-possible-prototype");Se.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var de=!1,ue={},ce;try{ce=oe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ce(ue,[]),de=ue instanceof Array}catch(ae){}return function(ie,ne){return te(ie),se(ne),de?ce(ie,ne):ie.__proto__=ne,ie}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,Se,ye){var oe=E("../internals/descriptors"),te=E("../internals/function-uncurry-this"),se=E("../internals/object-keys"),de=E("../internals/to-indexed-object"),ue=E("../internals/object-property-is-enumerable").f,ce=te(ue),ae=te([].push),ie=function(ne){return function(a){for(var y=de(a),x=se(y),b=x.length,z=0,ee=[],re;b>z;)re=x[z++],(!oe||ce(y,re))&&ae(ee,ne?[re,y[re]]:y[re]);return ee}};Se.exports={entries:ie(!0),values:ie(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,Se,ye){"use strict";var oe=E("../internals/to-string-tag-support"),te=E("../internals/classof");Se.exports=oe?{}.toString:function(){return"[object "+te(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/is-callable"),de=E("../internals/is-object"),ue=oe.TypeError;Se.exports=function(ce,ae){var ie,ne;if(ae==="string"&&se(ie=ce.toString)&&!de(ne=te(ie,ce))||se(ie=ce.valueOf)&&!de(ne=te(ie,ce))||ae!=="string"&&se(ie=ce.toString)&&!de(ne=te(ie,ce)))return ne;throw ue("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,Se,ye){var oe=E("../internals/get-built-in"),te=E("../internals/function-uncurry-this"),se=E("../internals/object-get-own-property-names"),de=E("../internals/object-get-own-property-symbols"),ue=E("../internals/an-object"),ce=te([].concat);Se.exports=oe("Reflect","ownKeys")||function(ie){var ne=se.f(ue(ie)),a=de.f;return a?ce(ne,a(ie)):ne}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,Se,ye){var oe=E("../internals/global");Se.exports=oe},{"../internals/global":163}],214:[function(E,Se,ye){Se.exports=function(oe){try{return{error:!1,value:oe()}}catch(te){return{error:!0,value:te}}}},{}],215:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/promise-native-constructor"),se=E("../internals/is-callable"),de=E("../internals/is-forced"),ue=E("../internals/inspect-source"),ce=E("../internals/well-known-symbol"),ae=E("../internals/engine-is-browser"),ie=E("../internals/is-pure"),ne=E("../internals/engine-v8-version"),a=te&&te.prototype,y=ce("species"),x=!1,b=se(oe.PromiseRejectionEvent),z=de("Promise",function(){var ee=ue(te),re=ee!==String(te);if(!re&&ne===66||ie&&!(a.catch&&a.finally))return!0;if(ne>=51&&/native code/.test(ee))return!1;var le=new te(function(fe){fe(1)}),he=function(fe){fe(function(){},function(){})},ve=le.constructor={};return ve[y]=he,x=le.then(function(){})instanceof he,x?!re&&ae&&!b:!0});Se.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,Se,ye){var oe=E("../internals/global");Se.exports=oe.Promise},{"../internals/global":163}],217:[function(E,Se,ye){var oe=E("../internals/an-object"),te=E("../internals/is-object"),se=E("../internals/new-promise-capability");Se.exports=function(de,ue){if(oe(de),te(ue)&&ue.constructor===de)return ue;var ce=se.f(de),ae=ce.resolve;return ae(ue),ce.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,Se,ye){var oe=E("../internals/promise-native-constructor"),te=E("../internals/check-correctness-of-iteration"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR;Se.exports=se||!te(function(de){oe.all(de).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,Se,ye){var oe=E("../internals/object-define-property").f;Se.exports=function(te,se,de){de in te||oe(te,de,{configurable:!0,get:function(){return se[de]},set:function(ue){se[de]=ue}})}},{"../internals/object-define-property":198}],220:[function(E,Se,ye){var oe=function(){this.head=null,this.tail=null};oe.prototype={add:function(te){var se={item:te,next:null};this.head?this.tail.next=se:this.head=se,this.tail=se},get:function(){var te=this.head;if(te)return this.head=te.next,this.tail===te&&(this.tail=null),te.item}},Se.exports=oe},{}],221:[function(E,Se,ye){var oe=E("../internals/redefine");Se.exports=function(te,se,de){for(var ue in se)oe(te,ue,se[ue],de);return te}},{"../internals/redefine":222}],222:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/is-callable"),se=E("../internals/has-own-property"),de=E("../internals/create-non-enumerable-property"),ue=E("../internals/set-global"),ce=E("../internals/inspect-source"),ae=E("../internals/internal-state"),ie=E("../internals/function-name").CONFIGURABLE,ne=ae.get,a=ae.enforce,y=String(String).split("String");(Se.exports=function(x,b,z,ee){var re=ee?!!ee.unsafe:!1,le=ee?!!ee.enumerable:!1,he=ee?!!ee.noTargetGet:!1,ve=ee&&ee.name!==void 0?ee.name:b,fe;if(te(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!se(z,"name")||ie&&z.name!==ve)&&de(z,"name",ve),fe=a(z),fe.source||(fe.source=y.join(typeof ve=="string"?ve:""))),x===oe){le?x[b]=z:ue(b,z);return}else re?!he&&x[b]&&(le=!0):delete x[b];le?x[b]=z:de(x,b,z)})(Function.prototype,"toString",function(){return te(this)&&ne(this).source||ce(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/an-object"),de=E("../internals/is-callable"),ue=E("../internals/classof-raw"),ce=E("../internals/regexp-exec"),ae=oe.TypeError;Se.exports=function(ie,ne){var a=ie.exec;if(de(a)){var y=te(a,ie,ne);return y!==null&&se(y),y}if(ue(ie)==="RegExp")return te(ce,ie,ne);throw ae("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,Se,ye){"use strict";var oe=E("../internals/function-call"),te=E("../internals/function-uncurry-this"),se=E("../internals/to-string"),de=E("../internals/regexp-flags"),ue=E("../internals/regexp-sticky-helpers"),ce=E("../internals/shared"),ae=E("../internals/object-create"),ie=E("../internals/internal-state").get,ne=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ce("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,z=te("".charAt),ee=te("".indexOf),re=te("".replace),le=te("".slice),he=function(){var ge=/a/,be=/b*/g;return oe(x,ge,"a"),oe(x,be,"a"),ge.lastIndex!==0||be.lastIndex!==0}(),ve=ue.BROKEN_CARET,fe=/()??/.exec("")[1]!==void 0,me=he||fe||ve||ne||a;me&&(b=function(be){var Pe=this,Te=ie(Pe),Ce=se(be),Le=Te.raw,Ie,Me,Ue,Qe,Ge,ot,Ve;if(Le)return Le.lastIndex=Pe.lastIndex,Ie=oe(b,Le,Ce),Pe.lastIndex=Le.lastIndex,Ie;var Xe=Te.groups,Ze=ve&&Pe.sticky,ze=oe(de,Pe),Re=Pe.source,He=0,rt=Ce;if(Ze&&(ze=re(ze,"y",""),ee(ze,"g")===-1&&(ze+="g"),rt=le(Ce,Pe.lastIndex),Pe.lastIndex>0&&(!Pe.multiline||Pe.multiline&&z(Ce,Pe.lastIndex-1)!==` +`)&&(Re="(?: "+Re+")",rt=" "+rt,He++),Me=new RegExp("^(?:"+Re+")",ze)),fe&&(Me=new RegExp("^"+Re+"$(?!\\s)",ze)),he&&(Ue=Pe.lastIndex),Qe=oe(x,Ze?Me:Pe,rt),Ze?Qe?(Qe.input=le(Qe.input,He),Qe[0]=le(Qe[0],He),Qe.index=Pe.lastIndex,Pe.lastIndex+=Qe[0].length):Pe.lastIndex=0:he&&Qe&&(Pe.lastIndex=Pe.global?Qe.index+Qe[0].length:Ue),fe&&Qe&&Qe.length>1&&oe(y,Qe[0],Me,function(){for(Ge=1;Geb)","g");return de.exec("b").groups.a!=="b"||"b".replace(de,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,Se,ye){var oe=E("../internals/global"),te=oe.TypeError;Se.exports=function(se){if(se==null)throw te("Can't call method on "+se);return se}},{"../internals/global":163}],231:[function(E,Se,ye){Se.exports=Object.is||function(te,se){return te===se?te!==0||1/te===1/se:te!=te&&se!=se}},{}],232:[function(E,Se,ye){var oe=E("../internals/global"),te=Object.defineProperty;Se.exports=function(se,de){try{te(oe,se,{value:de,configurable:!0,writable:!0})}catch(ue){oe[se]=de}return de}},{"../internals/global":163}],233:[function(E,Se,ye){"use strict";var oe=E("../internals/get-built-in"),te=E("../internals/object-define-property"),se=E("../internals/well-known-symbol"),de=E("../internals/descriptors"),ue=se("species");Se.exports=function(ce){var ae=oe(ce),ie=te.f;de&&ae&&!ae[ue]&&ie(ae,ue,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,Se,ye){var oe=E("../internals/object-define-property").f,te=E("../internals/has-own-property"),se=E("../internals/well-known-symbol"),de=se("toStringTag");Se.exports=function(ue,ce,ae){ue&&!ae&&(ue=ue.prototype),ue&&!te(ue,de)&&oe(ue,de,{configurable:!0,value:ce})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,Se,ye){var oe=E("../internals/shared"),te=E("../internals/uid"),se=oe("keys");Se.exports=function(de){return se[de]||(se[de]=te(de))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/set-global"),se="__core-js_shared__",de=oe[se]||te(se,{});Se.exports=de},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,Se,ye){var oe=E("../internals/is-pure"),te=E("../internals/shared-store");(Se.exports=function(se,de){return te[se]||(te[se]=de!==void 0?de:{})})("versions",[]).push({version:"3.22.1",mode:oe?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,Se,ye){var oe=E("../internals/an-object"),te=E("../internals/a-constructor"),se=E("../internals/well-known-symbol"),de=se("species");Se.exports=function(ue,ce){var ae=oe(ue).constructor,ie;return ae===void 0||(ie=oe(ae)[de])==null?ce:te(ie)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/to-integer-or-infinity"),se=E("../internals/to-string"),de=E("../internals/require-object-coercible"),ue=oe("".charAt),ce=oe("".charCodeAt),ae=oe("".slice),ie=function(ne){return function(a,y){var x=se(de(a)),b=te(y),z=x.length,ee,re;return b<0||b>=z?ne?"":void 0:(ee=ce(x,b),ee<55296||ee>56319||b+1===z||(re=ce(x,b+1))<56320||re>57343?ne?ue(x,b):ee:ne?ae(x,b,b+2):(ee-55296<<10)+(re-56320)+65536)}};Se.exports={codeAt:ie(!1),charAt:ie(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,Se,ye){var oe=E("../internals/function-name").PROPER,te=E("../internals/fails"),se=E("../internals/whitespaces"),de="\u200B\x85\u180E";Se.exports=function(ue){return te(function(){return!!se[ue]()||de[ue]()!==de||oe&&se[ue].name!==ue})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=E("../internals/require-object-coercible"),se=E("../internals/to-string"),de=E("../internals/whitespaces"),ue=oe("".replace),ce="["+de+"]",ae=RegExp("^"+ce+ce+"*"),ie=RegExp(ce+ce+"*$"),ne=function(a){return function(y){var x=se(te(y));return a&1&&(x=ue(x,ae,"")),a&2&&(x=ue(x,ie,"")),x}};Se.exports={start:ne(1),end:ne(2),trim:ne(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,Se,ye){var oe=E("../internals/function-call"),te=E("../internals/get-built-in"),se=E("../internals/well-known-symbol"),de=E("../internals/redefine");Se.exports=function(){var ue=te("Symbol"),ce=ue&&ue.prototype,ae=ce&&ce.valueOf,ie=se("toPrimitive");ce&&!ce[ie]&&de(ce,ie,function(ne){return oe(ae,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-apply"),se=E("../internals/function-bind-context"),de=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ce=E("../internals/fails"),ae=E("../internals/html"),ie=E("../internals/array-slice"),ne=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=oe.setImmediate,z=oe.clearImmediate,ee=oe.process,re=oe.Dispatch,le=oe.Function,he=oe.MessageChannel,ve=oe.String,fe=0,me={},ge="onreadystatechange",be,Pe,Te,Ce;try{be=oe.location}catch(Qe){}var Le=function(Qe){if(ue(me,Qe)){var Ge=me[Qe];delete me[Qe],Ge()}},Ie=function(Qe){return function(){Le(Qe)}},Me=function(Qe){Le(Qe.data)},Ue=function(Qe){oe.postMessage(ve(Qe),be.protocol+"//"+be.host)};(!b||!z)&&(b=function(Ge){a(arguments.length,1);var ot=de(Ge)?Ge:le(Ge),Ve=ie(arguments,1);return me[++fe]=function(){te(ot,void 0,Ve)},Pe(fe),fe},z=function(Ge){delete me[Ge]},x?Pe=function(Qe){ee.nextTick(Ie(Qe))}:re&&re.now?Pe=function(Qe){re.now(Ie(Qe))}:he&&!y?(Te=new he,Ce=Te.port2,Te.port1.onmessage=Me,Pe=se(Ce.postMessage,Ce)):oe.addEventListener&&de(oe.postMessage)&&!oe.importScripts&&be&&be.protocol!=="file:"&&!ce(Ue)?(Pe=Ue,oe.addEventListener("message",Me,!1)):ge in ne("script")?Pe=function(Qe){ae.appendChild(ne("script"))[ge]=function(){ae.removeChild(this),Le(Qe)}}:Pe=function(Qe){setTimeout(Ie(Qe),0)}),Se.exports={set:b,clear:z}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this");Se.exports=oe(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,Se,ye){var oe=E("../internals/to-integer-or-infinity"),te=Math.max,se=Math.min;Se.exports=function(de,ue){var ce=oe(de);return ce<0?te(ce+ue,0):se(ce,ue)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),se=E("../internals/to-length"),de=oe.RangeError;Se.exports=function(ue){if(ue===void 0)return 0;var ce=te(ue),ae=se(ce);if(ce!==ae)throw de("Wrong length or index");return ae}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,Se,ye){var oe=E("../internals/indexed-object"),te=E("../internals/require-object-coercible");Se.exports=function(se){return oe(te(se))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,Se,ye){var oe=Math.ceil,te=Math.floor;Se.exports=function(se){var de=+se;return de!==de||de===0?0:(de>0?te:oe)(de)}},{}],249:[function(E,Se,ye){var oe=E("../internals/to-integer-or-infinity"),te=Math.min;Se.exports=function(se){return se>0?te(oe(se),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/require-object-coercible"),se=oe.Object;Se.exports=function(de){return se(te(de))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/to-positive-integer"),se=oe.RangeError;Se.exports=function(de,ue){var ce=te(de);if(ce%ue)throw se("Wrong offset");return ce}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/to-integer-or-infinity"),se=oe.RangeError;Se.exports=function(de){var ue=te(de);if(ue<0)throw se("The argument can't be less than 0");return ue}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/function-call"),se=E("../internals/is-object"),de=E("../internals/is-symbol"),ue=E("../internals/get-method"),ce=E("../internals/ordinary-to-primitive"),ae=E("../internals/well-known-symbol"),ie=oe.TypeError,ne=ae("toPrimitive");Se.exports=function(a,y){if(!se(a)||de(a))return a;var x=ue(a,ne),b;if(x){if(y===void 0&&(y="default"),b=te(x,a,y),!se(b)||de(b))return b;throw ie("Can't convert object to primitive value")}return y===void 0&&(y="number"),ce(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,Se,ye){var oe=E("../internals/to-primitive"),te=E("../internals/is-symbol");Se.exports=function(se){var de=oe(se,"string");return te(de)?de:de+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,Se,ye){var oe=E("../internals/well-known-symbol"),te=oe("toStringTag"),se={};se[te]="z",Se.exports=String(se)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/classof"),se=oe.String;Se.exports=function(de){if(te(de)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return se(de)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,Se,ye){var oe=E("../internals/global"),te=oe.String;Se.exports=function(se){try{return te(se)}catch(de){return"Object"}}},{"../internals/global":163}],258:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),se=E("../internals/function-call"),de=E("../internals/descriptors"),ue=E("../internals/typed-array-constructors-require-wrappers"),ce=E("../internals/array-buffer-view-core"),ae=E("../internals/array-buffer"),ie=E("../internals/an-instance"),ne=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),z=E("../internals/to-offset"),ee=E("../internals/to-property-key"),re=E("../internals/has-own-property"),le=E("../internals/classof"),he=E("../internals/is-object"),ve=E("../internals/is-symbol"),fe=E("../internals/object-create"),me=E("../internals/object-is-prototype-of"),ge=E("../internals/object-set-prototype-of"),be=E("../internals/object-get-own-property-names").f,Pe=E("../internals/typed-array-from"),Te=E("../internals/array-iteration").forEach,Ce=E("../internals/set-species"),Le=E("../internals/object-define-property"),Ie=E("../internals/object-get-own-property-descriptor"),Me=E("../internals/internal-state"),Ue=E("../internals/inherit-if-required"),Qe=Me.get,Ge=Me.set,ot=Le.f,Ve=Ie.f,Xe=Math.round,Ze=te.RangeError,ze=ae.ArrayBuffer,Re=ze.prototype,He=ae.DataView,rt=ce.NATIVE_ARRAY_BUFFER_VIEWS,qe=ce.TYPED_ARRAY_CONSTRUCTOR,ut=ce.TYPED_ARRAY_TAG,_e=ce.TypedArray,We=ce.TypedArrayPrototype,Oe=ce.aTypedArrayConstructor,Ye=ce.isTypedArray,Fe="BYTES_PER_ELEMENT",Ne="Wrong length",et=function(Be,Ke){Oe(Be);for(var nt=0,ke=Ke.length,$e=new Be(ke);ke>nt;)$e[nt]=Ke[nt++];return $e},De=function(Be,Ke){ot(Be,Ke,{get:function(){return Qe(this)[Ke]}})},je=function(Be){var Ke;return me(Re,Be)||(Ke=le(Be))=="ArrayBuffer"||Ke=="SharedArrayBuffer"},Ee=function(Be,Ke){return Ye(Be)&&!ve(Ke)&&Ke in Be&&y(+Ke)&&Ke>=0},xe=function(Ke,nt){return nt=ee(nt),Ee(Ke,nt)?ne(2,Ke[nt]):Ve(Ke,nt)},we=function(Ke,nt,ke){return nt=ee(nt),Ee(Ke,nt)&&he(ke)&&re(ke,"value")&&!re(ke,"get")&&!re(ke,"set")&&!ke.configurable&&(!re(ke,"writable")||ke.writable)&&(!re(ke,"enumerable")||ke.enumerable)?(Ke[nt]=ke.value,Ke):ot(Ke,nt,ke)};de?(rt||(Ie.f=xe,Le.f=we,De(We,"buffer"),De(We,"byteOffset"),De(We,"byteLength"),De(We,"length")),oe({target:"Object",stat:!0,forced:!rt},{getOwnPropertyDescriptor:xe,defineProperty:we}),Se.exports=function(Be,Ke,nt){var ke=Be.match(/\d+$/)[0]/8,$e=Be+(nt?"Clamped":"")+"Array",gt="get"+Be,ct="set"+Be,vt=te[$e],st=vt,ht=st&&st.prototype,at={},lt=function(Pt,Et){var Lt=Qe(Pt);return Lt.view[gt](Et*ke+Lt.byteOffset,!0)},ft=function(Pt,Et,Lt){var zt=Qe(Pt);nt&&(Lt=(Lt=Xe(Lt))<0?0:Lt>255?255:Lt&255),zt.view[ct](Et*ke+zt.byteOffset,Lt,!0)},mt=function(Pt,Et){ot(Pt,Et,{get:function(){return lt(this,Et)},set:function(Lt){return ft(this,Et,Lt)},enumerable:!0})};rt?ue&&(st=Ke(function(Pt,Et,Lt,zt){return ie(Pt,ht),Ue(function(){return he(Et)?je(Et)?zt!==void 0?new vt(Et,z(Lt,ke),zt):Lt!==void 0?new vt(Et,z(Lt,ke)):new vt(Et):Ye(Et)?et(st,Et):se(Pe,st,Et):new vt(b(Et))}(),Pt,st)}),ge&&ge(st,_e),Te(be(vt),function(Pt){Pt in st||a(st,Pt,vt[Pt])}),st.prototype=ht):(st=Ke(function(Pt,Et,Lt,zt){ie(Pt,ht);var tn=0,gn=0,dn,on,En;if(!he(Et))En=b(Et),on=En*ke,dn=new ze(on);else if(je(Et)){dn=Et,gn=z(Lt,ke);var Rn=Et.byteLength;if(zt===void 0){if(Rn%ke||(on=Rn-gn,on<0))throw Ze(Ne)}else if(on=x(zt)*ke,on+gn>Rn)throw Ze(Ne);En=on/ke}else return Ye(Et)?et(st,Et):se(Pe,st,Et);for(Ge(Pt,{buffer:dn,byteOffset:gn,byteLength:on,length:En,view:new He(dn)});tn1?arguments[1]:void 0,re=ee!==void 0,le=ae(b),he,ve,fe,me,ge,be;if(le&&!ie(le))for(ge=ce(b,le),be=ge.next,b=[];!(me=te(be,ge)).done;)b.push(me.value);for(re&&z>2&&(ee=oe(ee,arguments[2])),ve=ue(b),fe=new(ne(x))(ve),he=0;ve>he;he++)fe[he]=re?ee(b[he],he):b[he];return fe}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,Se,ye){var oe=E("../internals/array-buffer-view-core"),te=E("../internals/species-constructor"),se=oe.TYPED_ARRAY_CONSTRUCTOR,de=oe.aTypedArrayConstructor;Se.exports=function(ue){return de(te(ue,ue[se]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,Se,ye){var oe=E("../internals/function-uncurry-this"),te=0,se=Math.random(),de=oe(1 .toString);Se.exports=function(ue){return"Symbol("+(ue===void 0?"":ue)+")_"+de(++te+se,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,Se,ye){var oe=E("../internals/native-symbol");Se.exports=oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,Se,ye){var oe=E("../internals/descriptors"),te=E("../internals/fails");Se.exports=oe&&te(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,Se,ye){var oe=E("../internals/global"),te=oe.TypeError;Se.exports=function(se,de){if(se=51||!se(function(){var me=[];return me[b]=!1,me.concat()[0]!==me}),he=a("concat"),ve=function(me){if(!ue(me))return!1;var ge=me[b];return ge!==void 0?!!ge:de(me)},fe=!le||!he;oe({target:"Array",proto:!0,forced:fe},{concat:function(ge){var be=ce(this),Pe=ne(be,0),Te=0,Ce,Le,Ie,Me,Ue;for(Ce=-1,Ie=arguments.length;Cez)throw re(ee);for(Le=0;Le=z)throw re(ee);ie(Pe,Te++,Ue)}return Pe.length=Te,Pe}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,Se,ye){var oe=E("../internals/export"),te=E("../internals/array-fill"),se=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{fill:te}),se("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").filter,se=E("../internals/array-method-has-species-support"),de=se("filter");oe({target:"Array",proto:!0,forced:!de},{filter:function(ce){return te(this,ce,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").find,se=E("../internals/add-to-unscopables"),de="find",ue=!0;de in[]&&Array(1)[de](function(){ue=!1}),oe({target:"Array",proto:!0,forced:ue},{find:function(ae){return te(this,ae,arguments.length>1?arguments[1]:void 0)}}),se(de)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,Se,ye){var oe=E("../internals/export"),te=E("../internals/array-from"),se=E("../internals/check-correctness-of-iteration"),de=!se(function(ue){Array.from(ue)});oe({target:"Array",stat:!0,forced:de},{from:te})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/array-includes").includes,se=E("../internals/add-to-unscopables");oe({target:"Array",proto:!0},{includes:function(ue){return te(this,ue,arguments.length>1?arguments[1]:void 0)}}),se("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,Se,ye){"use strict";var oe=E("../internals/to-indexed-object"),te=E("../internals/add-to-unscopables"),se=E("../internals/iterators"),de=E("../internals/internal-state"),ue=E("../internals/object-define-property").f,ce=E("../internals/define-iterator"),ae=E("../internals/is-pure"),ie=E("../internals/descriptors"),ne="Array Iterator",a=de.set,y=de.getterFor(ne);Se.exports=ce(Array,"Array",function(b,z){a(this,{type:ne,target:oe(b),index:0,kind:z})},function(){var b=y(this),z=b.target,ee=b.kind,re=b.index++;return!z||re>=z.length?(b.target=void 0,{value:void 0,done:!0}):ee=="keys"?{value:re,done:!1}:ee=="values"?{value:z[re],done:!1}:{value:[re,z[re]],done:!1}},"values");var x=se.Arguments=se.Array;if(te("keys"),te("values"),te("entries"),!ae&&ie&&x.name!=="values")try{ue(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),de=E("../internals/to-indexed-object"),ue=E("../internals/array-method-is-strict"),ce=te([].join),ae=se!=Object,ie=ue("join",",");oe({target:"Array",proto:!0,forced:ae||!ie},{join:function(a){return ce(de(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/array-iteration").map,se=E("../internals/array-method-has-species-support"),de=se("map");oe({target:"Array",proto:!0,forced:!de},{map:function(ce){return te(this,ce,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/global"),se=E("../internals/is-array"),de=E("../internals/is-constructor"),ue=E("../internals/is-object"),ce=E("../internals/to-absolute-index"),ae=E("../internals/length-of-array-like"),ie=E("../internals/to-indexed-object"),ne=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),z=a("species"),ee=te.Array,re=Math.max;oe({target:"Array",proto:!0,forced:!b},{slice:function(he,ve){var fe=ie(this),me=ae(fe),ge=ce(he,me),be=ce(ve===void 0?me:ve,me),Pe,Te,Ce;if(se(fe)&&(Pe=fe.constructor,de(Pe)&&(Pe===ee||se(Pe.prototype))?Pe=void 0:ue(Pe)&&(Pe=Pe[z],Pe===null&&(Pe=void 0)),Pe===ee||Pe===void 0))return x(fe,ge,be);for(Te=new(Pe===void 0?ee:Pe)(re(be-ge,0)),Ce=0;ge3)){if(y)return!0;if(b)return b<603;var be="",Pe,Te,Ce,Le;for(Pe=65;Pe<76;Pe++){switch(Te=String.fromCharCode(Pe),Pe){case 66:case 69:case 70:case 72:Ce=3;break;case 68:case 71:Ce=4;break;default:Ce=2}for(Le=0;Le<47;Le++)z.push({k:Te+Le,v:Ce})}for(z.sort(function(Ie,Me){return Me.v-Ie.v}),Le=0;Lece(Te)?1:-1}};oe({target:"Array",proto:!0,forced:me},{sort:function(Pe){Pe!==void 0&&se(Pe);var Te=de(this);if(fe)return Pe===void 0?ee(Te):ee(Te,Pe);var Ce=[],Le=ue(Te),Ie,Me;for(Me=0;Mez)throw y(ee);for(Te=ae(ve,Pe),Ce=0;Cefe-Pe+be;Ce--)delete ve[Ce-1]}else if(be>Pe)for(Ce=fe-Pe;Ce>me;Ce--)Le=Ce+Pe-1,Ie=Ce+be-1,Le in ve?ve[Ie]=ve[Le]:delete ve[Ie];for(Ce=0;Ce2){if(Ue=re(Ue),Qe=ge(Ue,0),Qe===43||Qe===45){if(Ge=ge(Ue,2),Ge===88||Ge===120)return NaN}else if(Qe===48){switch(ge(Ue,1)){case 66:case 98:ot=2,Ve=49;break;case 79:case 111:ot=8,Ve=55;break;default:return+Ue}for(Xe=me(Ue,2),Ze=Xe.length,ze=0;zeVe)return NaN;return parseInt(Xe,ot)}}return+Ue};if(de(le,!he(" 0o1")||!he("0b1")||he("+0x1"))){for(var Te=function(Ue){var Qe=arguments.length<1?0:he(be(Ue)),Ge=this;return ie(ve,Ge)&&y(function(){ee(Ge)})?ae(Object(Qe),Ge,Te):Qe},Ce=oe?x(he):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Le=0,Ie;Ce.length>Le;Le++)ce(he,Ie=Ce[Le])&&!ce(Te,Ie)&&z(Te,Ie,b(he,Ie));Te.prototype=ve,ve.constructor=Te,ue(te,le,Te)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,Se,ye){var oe=E("../internals/export"),te=E("../internals/object-assign");oe({target:"Object",stat:!0,forced:Object.assign!==te},{assign:te})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,Se,ye){var oe=E("../internals/export"),te=E("../internals/object-to-array").entries;oe({target:"Object",stat:!0},{entries:function(de){return te(de)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,Se,ye){var oe=E("../internals/export"),te=E("../internals/native-symbol"),se=E("../internals/fails"),de=E("../internals/object-get-own-property-symbols"),ue=E("../internals/to-object"),ce=!te||se(function(){de.f(1)});oe({target:"Object",stat:!0,forced:ce},{getOwnPropertySymbols:function(ie){var ne=de.f;return ne?ne(ue(ie)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,Se,ye){var oe=E("../internals/export"),te=E("../internals/to-object"),se=E("../internals/object-keys"),de=E("../internals/fails"),ue=de(function(){se(1)});oe({target:"Object",stat:!0,forced:ue},{keys:function(ae){return se(te(ae))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,Se,ye){var oe=E("../internals/to-string-tag-support"),te=E("../internals/redefine"),se=E("../internals/object-to-string");oe||te(Object.prototype,"toString",se,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ce=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{all:function(ne){var a=this,y=de.f(a),x=y.resolve,b=y.reject,z=ue(function(){var ee=se(a.resolve),re=[],le=0,he=1;ce(ne,function(ve){var fe=le++,me=!1;he++,te(ee,a,ve).then(function(ge){me||(me=!0,re[fe]=ge,--he||x(re))},b)}),--he||x(re)});return z.error&&b(z.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR,de=E("../internals/promise-native-constructor"),ue=E("../internals/get-built-in"),ce=E("../internals/is-callable"),ae=E("../internals/redefine"),ie=de&&de.prototype;if(oe({target:"Promise",proto:!0,forced:se,real:!0},{catch:function(a){return this.then(void 0,a)}}),!te&&ce(de)){var ne=ue("Promise").prototype.catch;ie.catch!==ne&&ae(ie,"catch",ne,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/is-pure"),se=E("../internals/engine-is-node"),de=E("../internals/global"),ue=E("../internals/function-call"),ce=E("../internals/redefine"),ae=E("../internals/redefine-all"),ie=E("../internals/object-set-prototype-of"),ne=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),z=E("../internals/an-instance"),ee=E("../internals/species-constructor"),re=E("../internals/task").set,le=E("../internals/microtask"),he=E("../internals/host-report-errors"),ve=E("../internals/perform"),fe=E("../internals/queue"),me=E("../internals/internal-state"),ge=E("../internals/promise-native-constructor"),be=E("../internals/promise-constructor-detection"),Pe=E("../internals/new-promise-capability"),Te="Promise",Ce=be.CONSTRUCTOR,Le=be.REJECTION_EVENT,Ie=be.SUBCLASSING,Me=me.getterFor(Te),Ue=me.set,Qe=ge&&ge.prototype,Ge=ge,ot=Qe,Ve=de.TypeError,Xe=de.document,Ze=de.process,ze=Pe.f,Re=ze,He=!!(Xe&&Xe.createEvent&&de.dispatchEvent),rt="unhandledrejection",qe="rejectionhandled",ut=0,_e=1,We=2,Oe=1,Ye=2,Fe,Ne,et,De,je=function(ct){var vt;return b(ct)&&x(vt=ct.then)?vt:!1},Ee=function(ct,vt){var st=vt.value,ht=vt.state==_e,at=ht?ct.ok:ct.fail,lt=ct.resolve,ft=ct.reject,mt=ct.domain,Pt,Et,Lt;try{at?(ht||(vt.rejection===Ye&&nt(vt),vt.rejection=Oe),at===!0?Pt=st:(mt&&mt.enter(),Pt=at(st),mt&&(mt.exit(),Lt=!0)),Pt===ct.promise?ft(Ve("Promise-chain cycle")):(Et=je(Pt))?ue(Et,Pt,lt,ft):lt(Pt)):ft(st)}catch(zt){mt&&!Lt&&mt.exit(),ft(zt)}},xe=function(ct,vt){ct.notified||(ct.notified=!0,le(function(){for(var st=ct.reactions,ht;ht=st.get();)Ee(ht,ct);ct.notified=!1,vt&&!ct.rejection&&Be(ct)}))},we=function(ct,vt,st){var ht,at;He?(ht=Xe.createEvent("Event"),ht.promise=vt,ht.reason=st,ht.initEvent(ct,!1,!0),de.dispatchEvent(ht)):ht={promise:vt,reason:st},!Le&&(at=de["on"+ct])?at(ht):ct===rt&&he("Unhandled promise rejection",st)},Be=function(ct){ue(re,de,function(){var vt=ct.facade,st=ct.value,ht=Ke(ct),at;if(ht&&(at=ve(function(){se?Ze.emit("unhandledRejection",st,vt):we(rt,vt,st)}),ct.rejection=se||Ke(ct)?Ye:Oe,at.error))throw at.value})},Ke=function(ct){return ct.rejection!==Oe&&!ct.parent},nt=function(ct){ue(re,de,function(){var vt=ct.facade;se?Ze.emit("rejectionHandled",vt):we(qe,vt,ct.value)})},ke=function(ct,vt,st){return function(ht){ct(vt,ht,st)}},$e=function(ct,vt,st){ct.done||(ct.done=!0,st&&(ct=st),ct.value=vt,ct.state=We,xe(ct,!0))},gt=function(ct,vt,st){if(!ct.done){ct.done=!0,st&&(ct=st);try{if(ct.facade===vt)throw Ve("Promise can't be resolved itself");var ht=je(vt);ht?le(function(){var at={done:!1};try{ue(ht,vt,ke(gt,at,ct),ke($e,at,ct))}catch(lt){$e(at,lt,ct)}}):(ct.value=vt,ct.state=_e,xe(ct,!1))}catch(at){$e({done:!1},at,ct)}}};if(Ce&&(Ge=function(vt){z(this,ot),y(vt),ue(Fe,this);var st=Me(this);try{vt(ke(gt,st),ke($e,st))}catch(ht){$e(st,ht)}},ot=Ge.prototype,Fe=function(vt){Ue(this,{type:Te,done:!1,notified:!1,parent:!1,reactions:new fe,rejection:!1,state:ut,value:void 0})},Fe.prototype=ae(ot,{then:function(vt,st){var ht=Me(this),at=ze(ee(this,Ge));return ht.parent=!0,at.ok=x(vt)?vt:!0,at.fail=x(st)&&st,at.domain=se?Ze.domain:void 0,ht.state==ut?ht.reactions.add(at):le(function(){Ee(at,ht)}),at.promise}}),Ne=function(){var ct=new Fe,vt=Me(ct);this.promise=ct,this.resolve=ke(gt,vt),this.reject=ke($e,vt)},Pe.f=ze=function(ct){return ct===Ge||ct===et?new Ne(ct):Re(ct)},!te&&x(ge)&&Qe!==Object.prototype)){De=Qe.then,Ie||ce(Qe,"then",function(vt,st){var ht=this;return new Ge(function(at,lt){ue(De,ht,at,lt)}).then(vt,st)},{unsafe:!0});try{delete Qe.constructor}catch(ct){}ie&&ie(Qe,ot)}oe({global:!0,wrap:!0,forced:Ce},{Promise:Ge}),ne(Ge,Te,!1,!0),a(Te)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,Se,ye){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),se=E("../internals/a-callable"),de=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ce=E("../internals/iterate"),ae=E("../internals/promise-statics-incorrect-iteration");oe({target:"Promise",stat:!0,forced:ae},{race:function(ne){var a=this,y=de.f(a),x=y.reject,b=ue(function(){var z=se(a.resolve);ce(ne,function(ee){te(z,a,ee).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/function-call"),se=E("../internals/new-promise-capability"),de=E("../internals/promise-constructor-detection").CONSTRUCTOR;oe({target:"Promise",stat:!0,forced:de},{reject:function(ce){var ae=se.f(this);return te(ae.reject,void 0,ce),ae.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/get-built-in"),se=E("../internals/is-pure"),de=E("../internals/promise-native-constructor"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ce=E("../internals/promise-resolve"),ae=te("Promise"),ie=se&&!ue;oe({target:"Promise",stat:!0,forced:se||ue},{resolve:function(a){return ce(ie&&this===ae?de:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,Se,ye){var oe=E("../internals/descriptors"),te=E("../internals/global"),se=E("../internals/function-uncurry-this"),de=E("../internals/is-forced"),ue=E("../internals/inherit-if-required"),ce=E("../internals/create-non-enumerable-property"),ae=E("../internals/object-get-own-property-names").f,ie=E("../internals/object-is-prototype-of"),ne=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),z=E("../internals/redefine"),ee=E("../internals/fails"),re=E("../internals/has-own-property"),le=E("../internals/internal-state").enforce,he=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),fe=E("../internals/regexp-unsupported-dot-all"),me=E("../internals/regexp-unsupported-ncg"),ge=ve("match"),be=te.RegExp,Pe=be.prototype,Te=te.SyntaxError,Ce=se(Pe.exec),Le=se("".charAt),Ie=se("".replace),Me=se("".indexOf),Ue=se("".slice),Qe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ge=/a/g,ot=/a/g,Ve=new be(Ge)!==Ge,Xe=x.MISSED_STICKY,Ze=x.UNSUPPORTED_Y,ze=oe&&(!Ve||Xe||fe||me||ee(function(){return ot[ge]=!1,be(Ge)!=Ge||be(ot)==ot||be(Ge,"i")!="/a/i"})),Re=function(_e){for(var We=_e.length,Oe=0,Ye="",Fe=!1,Ne;Oe<=We;Oe++){if(Ne=Le(_e,Oe),Ne==="\\"){Ye+=Ne+Le(_e,++Oe);continue}!Fe&&Ne==="."?Ye+="[\\s\\S]":(Ne==="["?Fe=!0:Ne==="]"&&(Fe=!1),Ye+=Ne)}return Ye},He=function(_e){for(var We=_e.length,Oe=0,Ye="",Fe=[],Ne={},et=!1,De=!1,je=0,Ee="",xe;Oe<=We;Oe++){if(xe=Le(_e,Oe),xe==="\\")xe=xe+Le(_e,++Oe);else if(xe==="]")et=!1;else if(!et)switch(!0){case xe==="[":et=!0;break;case xe==="(":Ce(Qe,Ue(_e,Oe+1))&&(Oe+=2,De=!0),Ye+=xe,je++;continue;case(xe===">"&&De):if(Ee===""||re(Ne,Ee))throw new Te("Invalid capture group name");Ne[Ee]=!0,Fe[Fe.length]=[Ee,je],De=!1,Ee="";continue}De?Ee+=xe:Ye+=xe}return[Ye,Fe]};if(de("RegExp",ze)){for(var rt=function(We,Oe){var Ye=ie(Pe,this),Fe=ne(We),Ne=Oe===void 0,et=[],De=We,je,Ee,xe,we,Be,Ke;if(!Ye&&Fe&&Ne&&We.constructor===rt)return We;if((Fe||ie(Pe,We))&&(We=We.source,Ne&&(Oe=y(De))),We=We===void 0?"":a(We),Oe=Oe===void 0?"":a(Oe),De=We,fe&&"dotAll"in Ge&&(Ee=!!Oe&&Me(Oe,"s")>-1,Ee&&(Oe=Ie(Oe,/s/g,""))),je=Oe,Xe&&"sticky"in Ge&&(xe=!!Oe&&Me(Oe,"y")>-1,xe&&Ze&&(Oe=Ie(Oe,/y/g,""))),me&&(we=He(We),We=we[0],et=we[1]),Be=ue(be(We,Oe),Ye?this:Pe,rt),(Ee||xe||et.length)&&(Ke=le(Be),Ee&&(Ke.dotAll=!0,Ke.raw=rt(Re(We),je)),xe&&(Ke.sticky=!0),et.length&&(Ke.groups=et)),We!==De)try{ce(Be,"source",De===""?"(?:)":De)}catch(nt){}return Be},qe=ae(be),ut=0;qe.length>ut;)b(rt,be,qe[ut++]);Pe.constructor=rt,rt.prototype=Pe,z(te,"RegExp",rt)}he("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/regexp-exec");oe({target:"RegExp",proto:!0,forced:/./.exec!==te},{exec:te})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,Se,ye){"use strict";var oe=E("../internals/function-name").PROPER,te=E("../internals/redefine"),se=E("../internals/an-object"),de=E("../internals/to-string"),ue=E("../internals/fails"),ce=E("../internals/regexp-get-flags"),ae="toString",ie=RegExp.prototype,ne=ie[ae],a=ue(function(){return ne.call({source:"a",flags:"b"})!="/a/b"}),y=oe&&ne.name!=ae;(a||y)&&te(RegExp.prototype,ae,function(){var b=se(this),z=de(b.source),ee=de(ce(b));return"/"+z+"/"+ee},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,Se,ye){"use strict";var oe=E("../internals/export"),te=E("../internals/function-uncurry-this"),se=E("../internals/not-a-regexp"),de=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ce=E("../internals/correct-is-regexp-logic"),ae=te("".indexOf);oe({target:"String",proto:!0,forced:!ce("includes")},{includes:function(ne){return!!~ae(ue(de(this)),ue(se(ne)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,Se,ye){"use strict";var oe=E("../internals/string-multibyte").charAt,te=E("../internals/to-string"),se=E("../internals/internal-state"),de=E("../internals/define-iterator"),ue="String Iterator",ce=se.set,ae=se.getterFor(ue);de(String,"String",function(ie){ce(this,{type:ue,string:te(ie),index:0})},function(){var ne=ae(this),a=ne.string,y=ne.index,x;return y>=a.length?{value:void 0,done:!0}:(x=oe(a,y),ne.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,Se,ye){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/to-length"),ue=E("../internals/to-string"),ce=E("../internals/require-object-coercible"),ae=E("../internals/get-method"),ie=E("../internals/advance-string-index"),ne=E("../internals/regexp-exec-abstract");te("match",function(a,y,x){return[function(z){var ee=ce(this),re=z==null?void 0:ae(z,a);return re?oe(re,z,ee):new RegExp(z)[a](ue(ee))},function(b){var z=se(this),ee=ue(b),re=x(y,z,ee);if(re.done)return re.value;if(!z.global)return ne(z,ee);var le=z.unicode;z.lastIndex=0;for(var he=[],ve=0,fe;(fe=ne(z,ee))!==null;){var me=ue(fe[0]);he[ve]=me,me===""&&(z.lastIndex=ie(ee,de(z.lastIndex),le)),ve++}return ve===0?null:he}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,Se,ye){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/fails"),ce=E("../internals/an-object"),ae=E("../internals/is-callable"),ie=E("../internals/to-integer-or-infinity"),ne=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),z=E("../internals/get-substitution"),ee=E("../internals/regexp-exec-abstract"),re=E("../internals/well-known-symbol"),le=re("replace"),he=Math.max,ve=Math.min,fe=se([].concat),me=se([].push),ge=se("".indexOf),be=se("".slice),Pe=function(Ie){return Ie===void 0?Ie:String(Ie)},Te=function(){return"a".replace(/./,"$0")==="$0"}(),Ce=function(){return/./[le]?/./[le]("a","$0")==="":!1}(),Le=!ue(function(){var Ie=/./;return Ie.exec=function(){var Me=[];return Me.groups={a:"7"},Me},"".replace(Ie,"$")!=="7"});de("replace",function(Ie,Me,Ue){var Qe=Ce?"$":"$0";return[function(ot,Ve){var Xe=y(this),Ze=ot==null?void 0:b(ot,le);return Ze?te(Ze,ot,Xe,Ve):te(Me,a(Xe),ot,Ve)},function(Ge,ot){var Ve=ce(this),Xe=a(Ge);if(typeof ot=="string"&&ge(ot,Qe)===-1&&ge(ot,"$<")===-1){var Ze=Ue(Me,Ve,Xe,ot);if(Ze.done)return Ze.value}var ze=ae(ot);ze||(ot=a(ot));var Re=Ve.global;if(Re){var He=Ve.unicode;Ve.lastIndex=0}for(var rt=[];;){var qe=ee(Ve,Xe);if(qe===null||(me(rt,qe),!Re))break;var ut=a(qe[0]);ut===""&&(Ve.lastIndex=x(Xe,ne(Ve.lastIndex),He))}for(var _e="",We=0,Oe=0;Oe=We&&(_e+=be(Xe,We,Fe)+Ee,We=Fe+Ye.length)}return _e+be(Xe,We)}]},!Le||!Te||Ce)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,Se,ye){"use strict";var oe=E("../internals/function-call"),te=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),de=E("../internals/require-object-coercible"),ue=E("../internals/same-value"),ce=E("../internals/to-string"),ae=E("../internals/get-method"),ie=E("../internals/regexp-exec-abstract");te("search",function(ne,a,y){return[function(b){var z=de(this),ee=b==null?void 0:ae(b,ne);return ee?oe(ee,b,z):new RegExp(b)[ne](ce(z))},function(x){var b=se(this),z=ce(x),ee=y(a,b,z);if(ee.done)return ee.value;var re=b.lastIndex;ue(re,0)||(b.lastIndex=0);var le=ie(b,z);return ue(b.lastIndex,re)||(b.lastIndex=re),le===null?-1:le.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,Se,ye){"use strict";var oe=E("../internals/function-apply"),te=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),de=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/is-regexp"),ce=E("../internals/an-object"),ae=E("../internals/require-object-coercible"),ie=E("../internals/species-constructor"),ne=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),z=E("../internals/regexp-exec-abstract"),ee=E("../internals/regexp-exec"),re=E("../internals/regexp-sticky-helpers"),le=E("../internals/fails"),he=re.UNSUPPORTED_Y,ve=4294967295,fe=Math.min,me=[].push,ge=se(/./.exec),be=se(me),Pe=se("".slice),Te=!le(function(){var Ce=/(?:)/,Le=Ce.exec;Ce.exec=function(){return Le.apply(this,arguments)};var Ie="ab".split(Ce);return Ie.length!==2||Ie[0]!=="a"||Ie[1]!=="b"});de("split",function(Ce,Le,Ie){var Me;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Me=function(Ue,Qe){var Ge=y(ae(this)),ot=Qe===void 0?ve:Qe>>>0;if(ot===0)return[];if(Ue===void 0)return[Ge];if(!ue(Ue))return te(Le,Ge,Ue,ot);for(var Ve=[],Xe=(Ue.ignoreCase?"i":"")+(Ue.multiline?"m":"")+(Ue.unicode?"u":"")+(Ue.sticky?"y":""),Ze=0,ze=new RegExp(Ue.source,Xe+"g"),Re,He,rt;(Re=te(ee,ze,Ge))&&(He=ze.lastIndex,!(He>Ze&&(be(Ve,Pe(Ge,Ze,Re.index)),Re.length>1&&Re.index=ot)));)ze.lastIndex===Re.index&&ze.lastIndex++;return Ze===Ge.length?(rt||!ge(ze,""))&&be(Ve,""):be(Ve,Pe(Ge,Ze)),Ve.length>ot?b(Ve,0,ot):Ve}:"0".split(void 0,0).length?Me=function(Ue,Qe){return Ue===void 0&&Qe===0?[]:te(Le,this,Ue,Qe)}:Me=Le,[function(Qe,Ge){var ot=ae(this),Ve=Qe==null?void 0:x(Qe,Ce);return Ve?te(Ve,Qe,ot,Ge):te(Me,y(ot),Qe,Ge)},function(Ue,Qe){var Ge=ce(this),ot=y(Ue),Ve=Ie(Me,Ge,ot,Qe,Me!==Le);if(Ve.done)return Ve.value;var Xe=ie(Ge,RegExp),Ze=Ge.unicode,ze=(Ge.ignoreCase?"i":"")+(Ge.multiline?"m":"")+(Ge.unicode?"u":"")+(he?"g":"y"),Re=new Xe(he?"^(?:"+Ge.source+")":Ge,ze),He=Qe===void 0?ve:Qe>>>0;if(He===0)return[];if(ot.length===0)return z(Re,ot)===null?[ot]:[];for(var rt=0,qe=0,ut=[];qe2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").every,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("every",function(ce){return te(se(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-call"),se=E("../internals/array-fill"),de=oe.aTypedArray,ue=oe.exportTypedArrayMethod;ue("fill",function(ae){var ie=arguments.length;return te(se,de(this),ae,ie>1?arguments[1]:void 0,ie>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").filter,se=E("../internals/typed-array-from-species-and-list"),de=oe.aTypedArray,ue=oe.exportTypedArrayMethod;ue("filter",function(ae){var ie=te(de(this),ae,arguments.length>1?arguments[1]:void 0);return se(this,ie)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").findIndex,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("findIndex",function(ce){return te(se(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").find,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("find",function(ce){return te(se(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").forEach,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("forEach",function(ce){te(se(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").includes,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("includes",function(ce){return te(se(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-includes").indexOf,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("indexOf",function(ce){return te(se(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,Se,ye){"use strict";var oe=E("../internals/global"),te=E("../internals/fails"),se=E("../internals/function-uncurry-this"),de=E("../internals/array-buffer-view-core"),ue=E("../modules/es.array.iterator"),ce=E("../internals/well-known-symbol"),ae=ce("iterator"),ie=oe.Uint8Array,ne=se(ue.values),a=se(ue.keys),y=se(ue.entries),x=de.aTypedArray,b=de.exportTypedArrayMethod,z=ie&&ie.prototype,ee=!te(function(){z[ae].call([1])}),re=!!z&&z.values&&z[ae]===z.values&&z.values.name==="values",le=function(){return ne(x(this))};b("entries",function(){return y(x(this))},ee),b("keys",function(){return a(x(this))},ee),b("values",le,ee||!re,{name:"values"}),b(ae,le,ee||!re,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-uncurry-this"),se=oe.aTypedArray,de=oe.exportTypedArrayMethod,ue=te([].join);de("join",function(ae){return ue(se(this),ae)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/function-apply"),se=E("../internals/array-last-index-of"),de=oe.aTypedArray,ue=oe.exportTypedArrayMethod;ue("lastIndexOf",function(ae){var ie=arguments.length;return te(se,de(this),ie>1?[ae,arguments[1]]:[ae])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").map,se=E("../internals/typed-array-species-constructor"),de=oe.aTypedArray,ue=oe.exportTypedArrayMethod;ue("map",function(ae){return te(de(this),ae,arguments.length>1?arguments[1]:void 0,function(ie,ne){return new(se(ie))(ne)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").right,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("reduceRight",function(ce){var ae=arguments.length;return te(se(this),ce,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-reduce").left,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("reduce",function(ce){var ae=arguments.length;return te(se(this),ce,ae,ae>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=oe.aTypedArray,se=oe.exportTypedArrayMethod,de=Math.floor;se("reverse",function(){for(var ce=this,ae=te(ce).length,ie=de(ae/2),ne=0,a;ne1?arguments[1]:void 0,1),ve=ce(le);if(z)return te(y,this,ve,he);var fe=this.length,me=de(ve),ge=0;if(me+he>fe)throw ie("Wrong length");for(;geb;)ee[b]=y[b++];return ee},ae)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/array-iteration").some,se=oe.aTypedArray,de=oe.exportTypedArrayMethod;de("some",function(ce){return te(se(this),ce,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,Se,ye){"use strict";var oe=E("../internals/global"),te=E("../internals/function-uncurry-this"),se=E("../internals/fails"),de=E("../internals/a-callable"),ue=E("../internals/array-sort"),ce=E("../internals/array-buffer-view-core"),ae=E("../internals/engine-ff-version"),ie=E("../internals/engine-is-ie-or-edge"),ne=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ce.aTypedArray,x=ce.exportTypedArrayMethod,b=oe.Uint16Array,z=b&&te(b.prototype.sort),ee=!!z&&!(se(function(){z(new b(2),null)})&&se(function(){z(new b(2),{})})),re=!!z&&!se(function(){if(ne)return ne<74;if(ae)return ae<67;if(ie)return!0;if(a)return a<602;var he=new b(516),ve=Array(516),fe,me;for(fe=0;fe<516;fe++)me=fe%4,he[fe]=515-fe,ve[fe]=fe-2*me+3;for(z(he,function(ge,be){return(ge/4|0)-(be/4|0)}),fe=0;fe<516;fe++)if(he[fe]!==ve[fe])return!0}),le=function(he){return function(ve,fe){return he!==void 0?+he(ve,fe)||0:fe!==fe?-1:ve!==ve?1:ve===0&&fe===0?1/ve>0&&1/fe<0?1:-1:ve>fe}};x("sort",function(ve){return ve!==void 0&&de(ve),re?z(this,ve):ue(y(this),le(ve))},!re||ee)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core"),te=E("../internals/to-length"),se=E("../internals/to-absolute-index"),de=E("../internals/typed-array-species-constructor"),ue=oe.aTypedArray,ce=oe.exportTypedArrayMethod;ce("subarray",function(ie,ne){var a=ue(this),y=a.length,x=se(ie,y),b=de(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,te((ne===void 0?y:se(ne,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,Se,ye){"use strict";var oe=E("../internals/global"),te=E("../internals/function-apply"),se=E("../internals/array-buffer-view-core"),de=E("../internals/fails"),ue=E("../internals/array-slice"),ce=oe.Int8Array,ae=se.aTypedArray,ie=se.exportTypedArrayMethod,ne=[].toLocaleString,a=!!ce&&de(function(){ne.call(new ce(1))}),y=de(function(){return[1,2].toLocaleString()!=new ce([1,2]).toLocaleString()})||!de(function(){ce.prototype.toLocaleString.call([1,2])});ie("toLocaleString",function(){return te(ne,a?ue(ae(this)):ae(this),ue(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,Se,ye){"use strict";var oe=E("../internals/array-buffer-view-core").exportTypedArrayMethod,te=E("../internals/fails"),se=E("../internals/global"),de=E("../internals/function-uncurry-this"),ue=se.Uint8Array,ce=ue&&ue.prototype||{},ae=[].toString,ie=de([].join);te(function(){ae.call({})})&&(ae=function(){return ie(this)});var ne=ce.toString!=ae;oe("toString",ae,ne)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,Se,ye){var oe=E("../internals/typed-array-constructor");oe("Uint8",function(te){return function(de,ue,ce){return te(this,de,ue,ce)}})},{"../internals/typed-array-constructor":258}],339:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../internals/array-for-each"),ue=E("../internals/create-non-enumerable-property"),ce=function(ie){if(ie&&ie.forEach!==de)try{ue(ie,"forEach",de)}catch(ne){ie.forEach=de}};for(var ae in te)te[ae]&&ce(oe[ae]&&oe[ae].prototype);ce(se)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,Se,ye){var oe=E("../internals/global"),te=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),de=E("../modules/es.array.iterator"),ue=E("../internals/create-non-enumerable-property"),ce=E("../internals/well-known-symbol"),ae=ce("iterator"),ie=ce("toStringTag"),ne=de.values,a=function(x,b){if(x){if(x[ae]!==ne)try{ue(x,ae,ne)}catch(ee){x[ae]=ne}if(x[ie]||ue(x,ie,b),te[b]){for(var z in de)if(x[z]!==de[z])try{ue(x,z,de[z])}catch(ee){x[z]=de[z]}}}};for(var y in te)a(oe[y]&&oe[y].prototype,y);a(se,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,Se,ye){function oe(re){return Array.isArray?Array.isArray(re):ee(re)==="[object Array]"}ye.isArray=oe;function te(re){return typeof re=="boolean"}ye.isBoolean=te;function se(re){return re===null}ye.isNull=se;function de(re){return re==null}ye.isNullOrUndefined=de;function ue(re){return typeof re=="number"}ye.isNumber=ue;function ce(re){return typeof re=="string"}ye.isString=ce;function ae(re){return typeof re=="symbol"}ye.isSymbol=ae;function ie(re){return re===void 0}ye.isUndefined=ie;function ne(re){return ee(re)==="[object RegExp]"}ye.isRegExp=ne;function a(re){return typeof re=="object"&&re!==null}ye.isObject=a;function y(re){return ee(re)==="[object Date]"}ye.isDate=y;function x(re){return ee(re)==="[object Error]"||re instanceof Error}ye.isError=x;function b(re){return typeof re=="function"}ye.isFunction=b;function z(re){return re===null||typeof re=="boolean"||typeof re=="number"||typeof re=="string"||typeof re=="symbol"||typeof re=="undefined"}ye.isPrimitive=z,ye.isBuffer=E("buffer").Buffer.isBuffer;function ee(re){return Object.prototype.toString.call(re)}},{buffer:90}],342:[function(E,Se,ye){(function(oe){"use strict";var te=function(){var ae=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ie=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ne=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ce(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(te.masks[y]||y||te.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var ee=x?"getUTC":"get",re=a[ee+"Date"](),le=a[ee+"Day"](),he=a[ee+"Month"](),ve=a[ee+"FullYear"](),fe=a[ee+"Hours"](),me=a[ee+"Minutes"](),ge=a[ee+"Seconds"](),be=a[ee+"Milliseconds"](),Pe=x?0:a.getTimezoneOffset(),Te=de(a),Ce=ue(a),Le={d:re,dd:se(re),ddd:te.i18n.dayNames[le],dddd:te.i18n.dayNames[le+7],m:he+1,mm:se(he+1),mmm:te.i18n.monthNames[he],mmmm:te.i18n.monthNames[he+12],yy:String(ve).slice(2),yyyy:ve,h:fe%12||12,hh:se(fe%12||12),H:fe,HH:se(fe),M:me,MM:se(me),s:ge,ss:se(ge),l:se(be,3),L:se(Math.round(be/10)),t:fe<12?"a":"p",tt:fe<12?"am":"pm",T:fe<12?"A":"P",TT:fe<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ie)||[""]).pop().replace(ne,""),o:(Pe>0?"-":"+")+se(Math.floor(Math.abs(Pe)/60)*100+Math.abs(Pe)%60,4),S:["th","st","nd","rd"][re%10>3?0:(re%100-re%10!=10)*re%10],W:Te,N:Ce};return y.replace(ae,function(Ie){return Ie in Le?Le[Ie]:Ie.slice(1,Ie.length-1)})}}();te.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},te.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function se(ae,ie){for(ae=String(ae),ie=ie||2;ae.length]/;Se.exports=te;function te(se){var de=""+se,ue=oe.exec(de);if(!ue)return de;var ce,ae="",ie=0,ne=0;for(ie=ue.index;ie0&&(Le=be[0]),Le instanceof Error)throw Le;var Ie=new Error("Unhandled error."+(Le?" ("+Le.message+")":""));throw Ie.context=Le,Ie}var Me=Ce[ge];if(Me===void 0)return!1;if(typeof Me=="function")te(Me,this,be);else for(var Ue=Me.length,Qe=ee(Me,Ue),Pe=0;Pe0&&Le.length>Te&&!Le.warned){Le.warned=!0;var Ie=new Error("Possible EventEmitter memory leak detected. "+Le.length+" "+String(ge)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ie.name="MaxListenersExceededWarning",Ie.emitter=me,Ie.type=ge,Ie.count=Le.length,de(Ie)}return me}ce.prototype.addListener=function(ge,be){return a(this,ge,be,!1)},ce.prototype.on=ce.prototype.addListener,ce.prototype.prependListener=function(ge,be){return a(this,ge,be,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(me,ge,be){var Pe={fired:!1,wrapFn:void 0,target:me,type:ge,listener:be},Te=y.bind(Pe);return Te.listener=be,Pe.wrapFn=Te,Te}ce.prototype.once=function(ge,be){return ie(be),this.on(ge,x(this,ge,be)),this},ce.prototype.prependOnceListener=function(ge,be){return ie(be),this.prependListener(ge,x(this,ge,be)),this},ce.prototype.removeListener=function(ge,be){var Pe,Te,Ce,Le,Ie;if(ie(be),Te=this._events,Te===void 0)return this;if(Pe=Te[ge],Pe===void 0)return this;if(Pe===be||Pe.listener===be)--this._eventsCount===0?this._events=Object.create(null):(delete Te[ge],Te.removeListener&&this.emit("removeListener",ge,Pe.listener||be));else if(typeof Pe!="function"){for(Ce=-1,Le=Pe.length-1;Le>=0;Le--)if(Pe[Le]===be||Pe[Le].listener===be){Ie=Pe[Le].listener,Ce=Le;break}if(Ce<0)return this;Ce===0?Pe.shift():re(Pe,Ce),Pe.length===1&&(Te[ge]=Pe[0]),Te.removeListener!==void 0&&this.emit("removeListener",ge,Ie||be)}return this},ce.prototype.off=ce.prototype.removeListener,ce.prototype.removeAllListeners=function(ge){var be,Pe,Te;if(Pe=this._events,Pe===void 0)return this;if(Pe.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Pe[ge]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Pe[ge]),this;if(arguments.length===0){var Ce=Object.keys(Pe),Le;for(Te=0;Te=0;Te--)this.removeListener(ge,be[Te]);return this};function b(me,ge,be){var Pe=me._events;if(Pe===void 0)return[];var Te=Pe[ge];return Te===void 0?[]:typeof Te=="function"?be?[Te.listener||Te]:[Te]:be?le(Te):ee(Te,Te.length)}ce.prototype.listeners=function(ge){return b(this,ge,!0)},ce.prototype.rawListeners=function(ge){return b(this,ge,!1)},ce.listenerCount=function(me,ge){return typeof me.listenerCount=="function"?me.listenerCount(ge):z.call(me,ge)},ce.prototype.listenerCount=z;function z(me){var ge=this._events;if(ge!==void 0){var be=ge[me];if(typeof be=="function")return 1;if(be!==void 0)return be.length}return 0}ce.prototype.eventNames=function(){return this._eventsCount>0?se(this._events):[]};function ee(me,ge){for(var be=new Array(ge),Pe=0;Pe=3&&(x=y),te.call(ne)==="[object Array]"?de(ne,a,x):typeof ne=="string"?ue(ne,a,x):ce(ne,a,x)};Se.exports=ae},{"is-callable":367}],346:[function(E,Se,ye){"use strict";var oe="Function.prototype.bind called on incompatible ",te=Array.prototype.slice,se=Object.prototype.toString,de="[object Function]";Se.exports=function(ce){var ae=this;if(typeof ae!="function"||se.call(ae)!==de)throw new TypeError(oe+ae);for(var ie=te.call(arguments,1),ne,a=function(){if(this instanceof ne){var ee=ae.apply(this,ie.concat(te.call(arguments)));return Object(ee)===ee?ee:this}else return ae.apply(ce,ie.concat(te.call(arguments)))},y=Math.max(0,ae.length-ie.length),x=[],b=0;b1&&typeof Qe!="boolean")throw new de('"allowMissing" argument must be a boolean');if(Pe(/^%?[^%]*%?$/,Ue)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ge=Le(Ue),ot=Ge.length>0?Ge[0]:"",Ve=Ie("%"+ot+"%",Qe),Xe=Ve.name,Ze=Ve.value,ze=!1,Re=Ve.alias;Re&&(ot=Re[0],me(Ge,fe([0,1],Re)));for(var He=1,rt=!0;He=Ge.length){var We=ce(Ze,qe);rt=!!We,rt&&"get"in We&&!("originalValue"in We.get)?Ze=We.get:Ze=Ze[qe]}else rt=ve(Ze,qe),Ze=Ze[qe];rt&&!ze&&(z[Xe]=Ze)}}return Ze}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,Se,ye){"use strict";var oe=E("get-intrinsic"),te=oe("%Object.getOwnPropertyDescriptor%",!0);if(te)try{te([],"length")}catch(se){te=null}Se.exports=te},{"get-intrinsic":348}],350:[function(E,Se,ye){"use strict";var oe={foo:{}},te=Object;Se.exports=function(){return{__proto__:oe}.foo===oe.foo&&!({__proto__:null}instanceof te)}},{}],351:[function(E,Se,ye){"use strict";var oe=typeof Symbol!="undefined"&&Symbol,te=E("./shams");Se.exports=function(){return typeof oe!="function"||typeof Symbol!="function"||typeof oe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:te()}},{"./shams":352}],352:[function(E,Se,ye){"use strict";Se.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var te={},se=Symbol("test"),de=Object(se);if(typeof se=="string"||Object.prototype.toString.call(se)!=="[object Symbol]"||Object.prototype.toString.call(de)!=="[object Symbol]")return!1;var ue=42;te[se]=ue;for(se in te)return!1;if(typeof Object.keys=="function"&&Object.keys(te).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(te).length!==0)return!1;var ce=Object.getOwnPropertySymbols(te);if(ce.length!==1||ce[0]!==se||!Object.prototype.propertyIsEnumerable.call(te,se))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var ae=Object.getOwnPropertyDescriptor(te,se);if(ae.value!==ue||ae.enumerable!==!0)return!1}return!0}},{}],353:[function(E,Se,ye){"use strict";var oe=E("has-symbols/shams");Se.exports=function(){return oe()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,Se,ye){"use strict";var oe=E("function-bind");Se.exports=oe.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,Se,ye){var oe=E("http"),te=E("url"),se=Se.exports;for(var de in oe)oe.hasOwnProperty(de)&&(se[de]=oe[de]);se.request=function(ce,ae){return ce=ue(ce),oe.request.call(this,ce,ae)},se.get=function(ce,ae){return ce=ue(ce),oe.get.call(this,ce,ae)};function ue(ce){if(typeof ce=="string"&&(ce=te.parse(ce)),ce.protocol||(ce.protocol="https:"),ce.protocol!=="https:")throw new Error('Protocol "'+ce.protocol+'" not supported. Expected "https:"');return ce}},{http:468,url:472}],356:[function(E,Se,ye){"use strict";var oe=E("util"),te=E("ms");Se.exports=function(se){if(typeof se=="number")return se;var de=te(se);if(de===void 0){var ue=new Error(oe.format("humanize-ms(%j) result undefined",se));console.warn(ue.stack)}return de}},{ms:376,util:419}],357:[function(E,Se,ye){ye.read=function(oe,te,se,de,ue){var ce,ae,ie=ue*8-de-1,ne=(1<>1,y=-7,x=se?ue-1:0,b=se?-1:1,z=oe[te+x];for(x+=b,ce=z&(1<<-y)-1,z>>=-y,y+=ie;y>0;ce=ce*256+oe[te+x],x+=b,y-=8);for(ae=ce&(1<<-y)-1,ce>>=-y,y+=de;y>0;ae=ae*256+oe[te+x],x+=b,y-=8);if(ce===0)ce=1-a;else{if(ce===ne)return ae?NaN:(z?-1:1)*(1/0);ae=ae+Math.pow(2,de),ce=ce-a}return(z?-1:1)*ae*Math.pow(2,ce-de)},ye.write=function(oe,te,se,de,ue,ce){var ae,ie,ne,a=ce*8-ue-1,y=(1<>1,b=ue===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=de?0:ce-1,ee=de?1:-1,re=te<0||te===0&&1/te<0?1:0;for(te=Math.abs(te),isNaN(te)||te===1/0?(ie=isNaN(te)?1:0,ae=y):(ae=Math.floor(Math.log(te)/Math.LN2),te*(ne=Math.pow(2,-ae))<1&&(ae--,ne*=2),ae+x>=1?te+=b/ne:te+=b*Math.pow(2,1-x),te*ne>=2&&(ae++,ne/=2),ae+x>=y?(ie=0,ae=y):ae+x>=1?(ie=(te*ne-1)*Math.pow(2,ue),ae=ae+x):(ie=te*Math.pow(2,x-1)*Math.pow(2,ue),ae=0));ue>=8;oe[se+z]=ie&255,z+=ee,ie/=256,ue-=8);for(ae=ae<0;oe[se+z]=ae&255,z+=ee,ae/=256,a-=8);oe[se+z-ee]|=re*128}},{}],358:[function(E,Se,ye){"use strict";var oe=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],te,se,de=-1,ue=[],ce=!1;function ae(){!te||!se||(te=!1,se.length?ue=se.concat(ue):de=-1,ue.length&&ie())}function ie(){if(!te){ce=!1,te=!0;for(var z=ue.length,ee=setTimeout(ae);z;){for(se=ue,ue=[];se&&++de1)for(var re=1;re=0&&se(ie)!=="[object Array]"&&se(ie.callee)==="[object Function]"},ce=function(){return de(arguments)}();de.isLegacyArguments=ue,Se.exports=ce?de:ue},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,Se,ye){Se.exports=function(se){return se!=null&&(oe(se)||te(se)||!!se._isBuffer)};function oe(se){return!!se.constructor&&typeof se.constructor.isBuffer=="function"&&se.constructor.isBuffer(se)}function te(se){return typeof se.readFloatLE=="function"&&typeof se.slice=="function"&&oe(se.slice(0,0))}},{}],367:[function(E,Se,ye){"use strict";var oe=Function.prototype.toString,te=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,se,de;if(typeof te=="function"&&typeof Object.defineProperty=="function")try{se=Object.defineProperty({},"length",{get:function(){throw de}}),de={},te(function(){throw 42},null,se)}catch(ve){ve!==de&&(te=null)}else te=null;var ue=/^\s*class\b/,ce=function(fe){try{var me=oe.call(fe);return ue.test(me)}catch(ge){return!1}},ae=function(fe){try{return ce(fe)?!1:(oe.call(fe),!0)}catch(me){return!1}},ie=Object.prototype.toString,ne="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",ee=typeof Symbol=="function"&&!!Symbol.toStringTag,re=!(0 in[,]),le=function(){return!1};if(typeof document=="object"){var he=document.all;ie.call(he)===ie.call(document.all)&&(le=function(fe){if((re||!fe)&&(typeof fe=="undefined"||typeof fe=="object"))try{var me=ie.call(fe);return(me===x||me===b||me===z||me===ne)&&fe("")==null}catch(ge){}return!1})}Se.exports=te?function(fe){if(le(fe))return!0;if(!fe||typeof fe!="function"&&typeof fe!="object")return!1;try{te(fe,null,se)}catch(me){if(me!==de)return!1}return!ce(fe)&&ae(fe)}:function(fe){if(le(fe))return!0;if(!fe||typeof fe!="function"&&typeof fe!="object")return!1;if(ee)return ae(fe);if(ce(fe))return!1;var me=ie.call(fe);return me!==a&&me!==y&&!/^\[object HTML/.test(me)?!1:ae(fe)}},{}],368:[function(E,Se,ye){"use strict";var oe=Object.prototype.toString,te=Function.prototype.toString,se=/^\s*(?:function)?\*/,de=E("has-tostringtag/shams")(),ue=Object.getPrototypeOf,ce=function(){if(!de)return!1;try{return Function("return function*() {}")()}catch(ie){}},ae;Se.exports=function(ne){if(typeof ne!="function")return!1;if(se.test(te.call(ne)))return!0;if(!de){var a=oe.call(ne);return a==="[object GeneratorFunction]"}if(!ue)return!1;if(typeof ae=="undefined"){var y=ce();ae=y?ue(y):!1}return ue(ne)===ae}},{"has-tostringtag/shams":353}],369:[function(E,Se,ye){"use strict";var oe=E("which-typed-array");Se.exports=function(se){return!!oe(se)}},{"which-typed-array":420}],370:[function(E,Se,ye){var oe={}.toString;Se.exports=Array.isArray||function(te){return oe.call(te)=="[object Array]"}},{}],371:[function(E,Se,ye){(function(oe){(function(){(function(te,se){typeof ye=="object"&&typeof Se!="undefined"?Se.exports=se(te):typeof Ae=="function"&&Ae.amd?Ae(se):se(te)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof oe!="undefined"?oe:this,function(te){"use strict";te=te||{};var se=te.Base64,de="2.6.4",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ce=function(Ue){for(var Qe={},Ge=0,ot=Ue.length;Ge>>6)+ae(128|Qe&63):ae(224|Qe>>>12&15)+ae(128|Qe>>>6&63)+ae(128|Qe&63)}else{var Qe=65536+(Ue.charCodeAt(0)-55296)*1024+(Ue.charCodeAt(1)-56320);return ae(240|Qe>>>18&7)+ae(128|Qe>>>12&63)+ae(128|Qe>>>6&63)+ae(128|Qe&63)}},ne=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Ue){return Ue.replace(ne,ie)},y=function(Ue){var Qe=[0,2,1][Ue.length%3],Ge=Ue.charCodeAt(0)<<16|(Ue.length>1?Ue.charCodeAt(1):0)<<8|(Ue.length>2?Ue.charCodeAt(2):0),ot=[ue.charAt(Ge>>>18),ue.charAt(Ge>>>12&63),Qe>=2?"=":ue.charAt(Ge>>>6&63),Qe>=1?"=":ue.charAt(Ge&63)];return ot.join("")},x=te.btoa&&typeof te.btoa=="function"?function(Ue){return te.btoa(Ue)}:function(Ue){if(Ue.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ue.replace(/[\s\S]{1,3}/g,y)},b=function(Ue){return x(a(String(Ue)))},z=function(Ue){return Ue.replace(/[+\/]/g,function(Qe){return Qe=="+"?"-":"_"}).replace(/=/g,"")},ee=function(Ue,Qe){return Qe?z(b(Ue)):b(Ue)},re=function(Ue){return ee(Ue,!0)},le;te.Uint8Array&&(le=function(Ue,Qe){for(var Ge="",ot=0,Ve=Ue.length;ot>>18)+ue.charAt(Re>>>12&63)+(typeof Ze!="undefined"?ue.charAt(Re>>>6&63):"=")+(typeof ze!="undefined"?ue.charAt(Re&63):"=")}return Qe?z(Ge):Ge});var he=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(Ue){switch(Ue.length){case 4:var Qe=(7&Ue.charCodeAt(0))<<18|(63&Ue.charCodeAt(1))<<12|(63&Ue.charCodeAt(2))<<6|63&Ue.charCodeAt(3),Ge=Qe-65536;return ae((Ge>>>10)+55296)+ae((Ge&1023)+56320);case 3:return ae((15&Ue.charCodeAt(0))<<12|(63&Ue.charCodeAt(1))<<6|63&Ue.charCodeAt(2));default:return ae((31&Ue.charCodeAt(0))<<6|63&Ue.charCodeAt(1))}},fe=function(Ue){return Ue.replace(he,ve)},me=function(Ue){var Qe=Ue.length,Ge=Qe%4,ot=(Qe>0?ce[Ue.charAt(0)]<<18:0)|(Qe>1?ce[Ue.charAt(1)]<<12:0)|(Qe>2?ce[Ue.charAt(2)]<<6:0)|(Qe>3?ce[Ue.charAt(3)]:0),Ve=[ae(ot>>>16),ae(ot>>>8&255),ae(ot&255)];return Ve.length-=[0,0,2,1][Ge],Ve.join("")},ge=te.atob&&typeof te.atob=="function"?function(Ue){return te.atob(Ue)}:function(Ue){return Ue.replace(/\S{1,4}/g,me)},be=function(Ue){return ge(String(Ue).replace(/[^A-Za-z0-9\+\/]/g,""))},Pe=function(Ue){return fe(ge(Ue))},Te=function(Ue){return String(Ue).replace(/[-_]/g,function(Qe){return Qe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(Ue){return Pe(Te(Ue))},Le;te.Uint8Array&&(Le=function(Ue){return Uint8Array.from(be(Te(Ue)),function(Qe){return Qe.charCodeAt(0)})});var Ie=function(){var Ue=te.Base64;return te.Base64=se,Ue};if(te.Base64={VERSION:de,atob:be,btoa:x,fromBase64:Ce,toBase64:ee,utob:a,encode:ee,encodeURI:re,btou:fe,decode:Ce,noConflict:Ie,fromUint8Array:le,toUint8Array:Le},typeof Object.defineProperty=="function"){var Me=function(Ue){return{value:Ue,enumerable:!1,writable:!0,configurable:!0}};te.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Me(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",Me(function(Ue){return ee(this,Ue)})),Object.defineProperty(String.prototype,"toBase64URI",Me(function(){return ee(this,!0)}))}}return te.Meteor&&(Base64=te.Base64),typeof Se!="undefined"&&Se.exports?Se.exports.Base64=te.Base64:typeof Ae=="function"&&Ae.amd&&Ae([],function(){return te.Base64}),{Base64:te.Base64}})}).call(this)}).call(this,typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,Se,ye){"use strict";Se.exports=te;var oe=Object.prototype.hasOwnProperty;function te(se,de,ue){if(!se)throw new TypeError("argument dest is required");if(!de)throw new TypeError("argument src is required");return ue===void 0&&(ue=!0),Object.getOwnPropertyNames(de).forEach(function(ae){if(!(!ue&&oe.call(se,ae))){var ie=Object.getOwnPropertyDescriptor(de,ae);Object.defineProperty(se,ae,ie)}}),se}},{}],373:[function(E,Se,ye){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function oe(){this._types=Object.create(null),this._extensions=Object.create(null);for(var te=0;te0)return ae(y);if(b==="number"&&isFinite(y))return x.long?ne(y):ie(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function ae(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),z=(x[2]||"ms").toLowerCase();switch(z){case"years":case"year":case"yrs":case"yr":case"y":return b*ce;case"weeks":case"week":case"w":return b*ue;case"days":case"day":case"d":return b*de;case"hours":case"hour":case"hrs":case"hr":case"h":return b*se;case"minutes":case"minute":case"mins":case"min":case"m":return b*te;case"seconds":case"second":case"secs":case"sec":case"s":return b*oe;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ie(y){var x=Math.abs(y);return x>=de?Math.round(y/de)+"d":x>=se?Math.round(y/se)+"h":x>=te?Math.round(y/te)+"m":x>=oe?Math.round(y/oe)+"s":y+"ms"}function ne(y){var x=Math.abs(y);return x>=de?a(y,x,de,"day"):x>=se?a(y,x,se,"hour"):x>=te?a(y,x,te,"minute"):x>=oe?a(y,x,oe,"second"):y+" ms"}function a(y,x,b,z){var ee=x>=b*1.5;return Math.round(y/b)+" "+z+(ee?"s":"")}},{}],377:[function(E,Se,ye){"use strict";var oe=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;function de(ce){if(ce==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ce)}function ue(){try{if(!Object.assign)return!1;var ce=new String("abc");if(ce[5]="de",Object.getOwnPropertyNames(ce)[0]==="5")return!1;for(var ae={},ie=0;ie<10;ie++)ae["_"+String.fromCharCode(ie)]=ie;var ne=Object.getOwnPropertyNames(ae).map(function(y){return ae[y]});if(ne.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}Se.exports=ue()?Object.assign:function(ce,ae){for(var ie,ne=de(ce),a,y=1;y2){var z=ie.lastIndexOf("/");if(z!==ie.length-1){z===-1?(ie="",ne=0):(ie=ie.slice(0,z),ne=ie.length-1-ie.lastIndexOf("/")),a=b,y=0;continue}}else if(ie.length===2||ie.length===1){ie="",ne=0,a=b,y=0;continue}}ae&&(ie.length>0?ie+="/..":ie="..",ne=2)}else ie.length>0?ie+="/"+ce.slice(a+1,b):ie=ce.slice(a+1,b),ne=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ie}function de(ce,ae){var ie=ae.dir||ae.root,ne=ae.base||(ae.name||"")+(ae.ext||"");return ie?ie===ae.root?ie+ne:ie+ce+ne:ne}var ue={resolve:function(){for(var ae="",ie=!1,ne,a=arguments.length-1;a>=-1&&!ie;a--){var y;a>=0?y=arguments[a]:(ne===void 0&&(ne=oe.cwd()),y=ne),te(y),y.length!==0&&(ae=y+"/"+ae,ie=y.charCodeAt(0)===47)}return ae=se(ae,!ie),ie?ae.length>0?"/"+ae:"/":ae.length>0?ae:"."},normalize:function(ae){if(te(ae),ae.length===0)return".";var ie=ae.charCodeAt(0)===47,ne=ae.charCodeAt(ae.length-1)===47;return ae=se(ae,!ie),ae.length===0&&!ie&&(ae="."),ae.length>0&&ne&&(ae+="/"),ie?"/"+ae:ae},isAbsolute:function(ae){return te(ae),ae.length>0&&ae.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var ae,ie=0;ie0&&(ae===void 0?ae=ne:ae+="/"+ne)}return ae===void 0?".":ue.normalize(ae)},relative:function(ae,ie){if(te(ae),te(ie),ae===ie||(ae=ue.resolve(ae),ie=ue.resolve(ie),ae===ie))return"";for(var ne=1;neee){if(ie.charCodeAt(x+le)===47)return ie.slice(x+le+1);if(le===0)return ie.slice(x+le)}else y>ee&&(ae.charCodeAt(ne+le)===47?re=le:le===0&&(re=0));break}var he=ae.charCodeAt(ne+le),ve=ie.charCodeAt(x+le);if(he!==ve)break;he===47&&(re=le)}var fe="";for(le=ne+re+1;le<=a;++le)(le===a||ae.charCodeAt(le)===47)&&(fe.length===0?fe+="..":fe+="/..");return fe.length>0?fe+ie.slice(x+re):(x+=re,ie.charCodeAt(x)===47&&++x,ie.slice(x))},_makeLong:function(ae){return ae},dirname:function(ae){if(te(ae),ae.length===0)return".";for(var ie=ae.charCodeAt(0),ne=ie===47,a=-1,y=!0,x=ae.length-1;x>=1;--x)if(ie=ae.charCodeAt(x),ie===47){if(!y){a=x;break}}else y=!1;return a===-1?ne?"/":".":ne&&a===1?"//":ae.slice(0,a)},basename:function(ae,ie){if(ie!==void 0&&typeof ie!="string")throw new TypeError('"ext" argument must be a string');te(ae);var ne=0,a=-1,y=!0,x;if(ie!==void 0&&ie.length>0&&ie.length<=ae.length){if(ie.length===ae.length&&ie===ae)return"";var b=ie.length-1,z=-1;for(x=ae.length-1;x>=0;--x){var ee=ae.charCodeAt(x);if(ee===47){if(!y){ne=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(ee===ie.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ne===a?a=z:a===-1&&(a=ae.length),ae.slice(ne,a)}else{for(x=ae.length-1;x>=0;--x)if(ae.charCodeAt(x)===47){if(!y){ne=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":ae.slice(ne,a)}},extname:function(ae){te(ae);for(var ie=-1,ne=0,a=-1,y=!0,x=0,b=ae.length-1;b>=0;--b){var z=ae.charCodeAt(b);if(z===47){if(!y){ne=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?ie===-1?ie=b:x!==1&&(x=1):ie!==-1&&(x=-1)}return ie===-1||a===-1||x===0||x===1&&ie===a-1&&ie===ne+1?"":ae.slice(ie,a)},format:function(ae){if(ae===null||typeof ae!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof ae);return de("/",ae)},parse:function(ae){te(ae);var ie={root:"",dir:"",base:"",ext:"",name:""};if(ae.length===0)return ie;var ne=ae.charCodeAt(0),a=ne===47,y;a?(ie.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,ee=!0,re=ae.length-1,le=0;re>=y;--re){if(ne=ae.charCodeAt(re),ne===47){if(!ee){b=re+1;break}continue}z===-1&&(ee=!1,z=re+1),ne===46?x===-1?x=re:le!==1&&(le=1):x!==-1&&(le=-1)}return x===-1||z===-1||le===0||le===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?ie.base=ie.name=ae.slice(1,z):ie.base=ie.name=ae.slice(b,z)):(b===0&&a?(ie.name=ae.slice(1,x),ie.base=ae.slice(1,z)):(ie.name=ae.slice(b,x),ie.base=ae.slice(b,z)),ie.ext=ae.slice(x,z)),b>0?ie.dir=ae.slice(0,b-1):a&&(ie.dir="/"),ie},sep:"/",delimiter:":",win32:null,posix:null};ue.posix=ue,Se.exports=ue}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,Se,ye){(function(oe){(function(){(function(){"use strict";var te={function:!0,object:!0},se=te[typeof window]&&window||this,de=se,ue=te[typeof ye]&&ye,ce=te[typeof Se]&&Se&&!Se.nodeType&&Se,ae=ue&&ce&&typeof oe=="object"&&oe;ae&&(ae.global===ae||ae.window===ae||ae.self===ae)&&(se=ae);var ie=Math.pow(2,53)-1,ne=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(Ce){return Ce=String(Ce),Ce.charAt(0).toUpperCase()+Ce.slice(1)}function ee(Ce,Le,Ie){var Me={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return Le&&Ie&&/^Win/i.test(Ce)&&!/^Windows Phone /i.test(Ce)&&(Me=Me[/[\d.]+$/.exec(Ce)])&&(Ce="Windows "+Me),Ce=String(Ce),Le&&Ie&&(Ce=Ce.replace(RegExp(Le,"i"),Ie)),Ce=le(Ce.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),Ce}function re(Ce,Le){var Ie=-1,Me=Ce?Ce.length:0;if(typeof Me=="number"&&Me>-1&&Me<=ie)for(;++Ie3&&"WebKit"||/\bOpera\b/.test(xe)&&(/\bOPR\b/.test(Ce)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ce)&&!/^(?:Trident|EdgeHTML)$/.test(Ee)&&"WebKit"||!Ee&&/\bMSIE\b/i.test(Ce)&&(Ke=="Mac OS"?"Tasman":"Trident")||Ee=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(xe)&&"NetFront")&&(Ee=[Oe]),xe=="IE"&&(Oe=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ce)||0)[1])?(xe+=" Mobile",Ke="Windows Phone "+(/\+$/.test(Oe)?Oe:Oe+".x"),Fe.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ce)?(xe="IE Mobile",Ke="Windows Phone 8.x",Fe.unshift("desktop mode"),De||(De=(/\brv:([\d.]+)/.exec(Ce)||0)[1])):xe!="IE"&&Ee=="Trident"&&(Oe=/\brv:([\d.]+)/.exec(Ce))&&(xe&&Fe.push("identifying as "+xe+(De?" "+De:"")),xe="IE",De=Oe[1]),et){if(fe(Le,"global"))if(Re&&(Oe=Re.lang.System,Ye=Oe.getProperty("os.arch"),Ke=Ke||Oe.getProperty("os.name")+" "+Oe.getProperty("os.version")),He){try{De=Le.require("ringo/engine").version.join("."),xe="RingoJS"}catch(at){(Oe=Le.system)&&Oe.global.system==Le.system&&(xe="Narwhal",Ke||(Ke=Oe[0].os||null))}xe||(xe="Rhino")}else typeof Le.process=="object"&&!Le.process.browser&&(Oe=Le.process)&&(typeof Oe.versions=="object"&&(typeof Oe.versions.electron=="string"?(Fe.push("Node "+Oe.versions.node),xe="Electron",De=Oe.versions.electron):typeof Oe.versions.nw=="string"&&(Fe.push("Chromium "+De,"Node "+Oe.versions.node),xe="NW.js",De=Oe.versions.nw)),xe||(xe="Node.js",Ye=Oe.arch,Ke=Oe.platform,De=/[\d.]+/.exec(Oe.version),De=De?De[0]:null));else ve(Oe=Le.runtime)==Ve?(xe="Adobe AIR",Ke=Oe.flash.system.Capabilities.os):ve(Oe=Le.phantom)==ze?(xe="PhantomJS",De=(Oe=Oe.version||null)&&Oe.major+"."+Oe.minor+"."+Oe.patch):typeof ut.documentMode=="number"&&(Oe=/\bTrident\/(\d+)/i.exec(Ce))?(De=[De,ut.documentMode],(Oe=+Oe[1]+4)!=De[1]&&(Fe.push("IE "+De[1]+" mode"),Ee&&(Ee[1]=""),De[1]=Oe),De=xe=="IE"?String(De[1].toFixed(1)):De[0]):typeof ut.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(xe)&&(Fe.push("masking as "+xe+" "+De),xe="IE",De="11.0",Ee=["Trident"],Ke="Windows");Ke=Ke&&le(Ke)}if(De&&(Oe=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(De)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ce+";"+(et&&Me.appMinorVersion))||/\bMinefield\b/i.test(Ce)&&"a")&&(Ne=/b/i.test(Oe)?"beta":"alpha",De=De.replace(RegExp(Oe+"\\+?$"),"")+(Ne=="beta"?qe:rt)+(/\d+\+?/.exec(Oe)||"")),xe=="Fennec"||xe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ke))xe="Firefox Mobile";else if(xe=="Maxthon"&&De)De=De.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(we))we=="Xbox 360"&&(Ke=null),we=="Xbox 360"&&/\bIEMobile\b/.test(Ce)&&Fe.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(xe)||xe&&!we&&!/Browser|Mobi/.test(xe))&&(Ke=="Windows CE"||/Mobi/i.test(Ce)))xe+=" Mobile";else if(xe=="IE"&&et)try{Le.external===null&&Fe.unshift("platform preview")}catch(at){Fe.unshift("embedded")}else(/\bBlackBerry\b/.test(we)||/\bBB10\b/.test(Ce))&&(Oe=(RegExp(we.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ce)||0)[1]||De)?(Oe=[Oe,/BB10/.test(Ce)],Ke=(Oe[1]?(we=null,Be="BlackBerry"):"Device Software")+" "+Oe[0],De=null):this!=he&&we!="Wii"&&(et&&_e||/Opera/.test(xe)&&/\b(?:MSIE|Firefox)\b/i.test(Ce)||xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ke)||xe=="IE"&&(Ke&&!/^Win/.test(Ke)&&De>5.5||/\bWindows XP\b/.test(Ke)&&De>8||De==8&&!/\bTrident\b/.test(Ce)))&&!ne.test(Oe=Pe.call(he,Ce.replace(ne,"")+";"))&&Oe.name&&(Oe="ing as "+Oe.name+((Oe=Oe.version)?" "+Oe:""),ne.test(xe)?(/\bIE\b/.test(Oe)&&Ke=="Mac OS"&&(Ke=null),Oe="identify"+Oe):(Oe="mask"+Oe,We?xe=le(We.replace(/([a-z])([A-Z])/g,"$1 $2")):xe="Opera",/\bIE\b/.test(Oe)&&(Ke=null),et||(De=null)),Ee=["Presto"],Fe.push(Oe));(Oe=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ce)||0)[1])&&(Oe=[parseFloat(Oe.replace(/\.(\d)$/,".0$1")),Oe],xe=="Safari"&&Oe[1].slice(-1)=="+"?(xe="WebKit Nightly",Ne="alpha",De=Oe[1].slice(0,-1)):(De==Oe[1]||De==(Oe[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ce)||0)[1]))&&(De=null),Oe[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ce)||0)[1],Oe[0]==537.36&&Oe[2]==537.36&&parseFloat(Oe[1])>=28&&Ee=="WebKit"&&(Ee=["Blink"]),!et||!Ge&&!Oe[1]?(Ee&&(Ee[1]="like Safari"),Oe=(Oe=Oe[0],Oe<400?1:Oe<500?2:Oe<526?3:Oe<533?4:Oe<534?"4+":Oe<535?5:Oe<537?6:Oe<538?7:Oe<601?8:Oe<602?9:Oe<604?10:Oe<606?11:Oe<608?12:"12")):(Ee&&(Ee[1]="like Chrome"),Oe=Oe[1]||(Oe=Oe[0],Oe<530?1:Oe<532?2:Oe<532.05?3:Oe<533?4:Oe<534.03?5:Oe<534.07?6:Oe<534.1?7:Oe<534.13?8:Oe<534.16?9:Oe<534.24?10:Oe<534.3?11:Oe<535.01?12:Oe<535.02?"13+":Oe<535.07?15:Oe<535.11?16:Oe<535.19?17:Oe<536.05?18:Oe<536.1?19:Oe<537.01?20:Oe<537.11?"21+":Oe<537.13?23:Oe<537.18?24:Oe<537.24?25:Oe<537.36?26:Ee!="Blink"?"27":"28")),Ee&&(Ee[1]+=" "+(Oe+=typeof Oe=="number"?".x":/[.+]/.test(Oe)?"":"+")),xe=="Safari"&&(!De||parseInt(De)>45)?De=Oe:xe=="Chrome"&&/\bHeadlessChrome/i.test(Ce)&&Fe.unshift("headless")),xe=="Opera"&&(Oe=/\bzbov|zvav$/.exec(Ke))?(xe+=" ",Fe.unshift("desktop mode"),Oe=="zvav"?(xe+="Mini",De=null):xe+="Mobile",Ke=Ke.replace(RegExp(" *"+Oe+"$"),"")):xe=="Safari"&&/\bChrome\b/.exec(Ee&&Ee[1])?(Fe.unshift("desktop mode"),xe="Chrome Mobile",De=null,/\bOS X\b/.test(Ke)?(Be="Apple",Ke="iOS 4.3+"):Ke=null):/\bSRWare Iron\b/.test(xe)&&!De&&(De=vt("Chrome")),De&&De.indexOf(Oe=/[\d.]+$/.exec(Ke))==0&&Ce.indexOf("/"+Oe+"-")>-1&&(Ke=be(Ke.replace(Oe,""))),Ke&&Ke.indexOf(xe)!=-1&&!RegExp(xe+" OS").test(Ke)&&(Ke=Ke.replace(RegExp(" *"+me(xe)+" *"),"")),Ee&&!/\b(?:Avant|Nook)\b/.test(xe)&&(/Browser|Lunascape|Maxthon/.test(xe)||xe!="Safari"&&/^iOS/.test(Ke)&&/\bSafari\b/.test(Ee[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(xe)&&Ee[1])&&(Oe=Ee[Ee.length-1])&&Fe.push(Oe),Fe.length&&(Fe=["("+Fe.join("; ")+")"]),Be&&we&&we.indexOf(Be)<0&&Fe.push("on "+Be),we&&Fe.push((/^on /.test(Fe[Fe.length-1])?"":"on ")+we),Ke&&(Oe=/ ([\d.+]+)$/.exec(Ke),je=Oe&&Ke.charAt(Ke.length-Oe[0].length-1)=="/",Ke={architecture:32,family:Oe&&!je?Ke.replace(Oe[0],""):Ke,version:Oe?Oe[1]:null,toString:function(){var at=this.version;return this.family+(at&&!je?" "+at:"")+(this.architecture==64?" 64-bit":"")}}),(Oe=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ye))&&!/\bi686\b/i.test(Ye)?(Ke&&(Ke.architecture=64,Ke.family=Ke.family.replace(RegExp(" *"+Oe),"")),xe&&(/\bWOW64\b/i.test(Ce)||et&&/\w(?:86|32)$/.test(Me.cpuClass||Me.platform)&&!/\bWin64; x64\b/i.test(Ce))&&Fe.unshift("32-bit")):Ke&&/^OS X/.test(Ke.family)&&xe=="Chrome"&&parseFloat(De)>=39&&(Ke.architecture=64),Ce||(Ce=null);var ht={};return ht.description=Ce,ht.layout=Ee&&Ee[0],ht.manufacturer=Be,ht.name=xe,ht.prerelease=Ne,ht.product=we,ht.ua=Ce,ht.version=xe&&De,ht.os=Ke||{architecture:null,family:null,version:null,toString:function(){return"null"}},ht.parse=Pe,ht.toString=st,ht.version&&Fe.unshift(De),ht.name&&Fe.unshift(xe),Ke&&xe&&!(Ke==String(Ke).split(" ")[0]&&(Ke==xe.split(" ")[0]||we))&&Fe.push(we?"("+Ke+")":"on "+Ke),Fe.length&&(ht.description=Fe.join(" ")),ht}var Te=Pe();typeof Ae=="function"&&typeof Ae.amd=="object"&&Ae.amd?(se.platform=Te,Ae(function(){return Te})):ue&&ce?he(Te,function(Ce,Le){ue[Le]=Ce}):se.platform=Te}).call(this)}).call(this)}).call(this,typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,Se,ye){(function(oe){(function(){"use strict";typeof oe=="undefined"||!oe.version||oe.version.indexOf("v0.")===0||oe.version.indexOf("v1.")===0&&oe.version.indexOf("v1.8.")!==0?Se.exports={nextTick:te}:Se.exports=oe;function te(se,de,ue,ce){if(typeof se!="function")throw new TypeError('"callback" argument must be a function');var ae=arguments.length,ie,ne;switch(ae){case 0:case 1:return oe.nextTick(se);case 2:return oe.nextTick(function(){se.call(null,de)});case 3:return oe.nextTick(function(){se.call(null,de,ue)});case 4:return oe.nextTick(function(){se.call(null,de,ue,ce)});default:for(ie=new Array(ae-1),ne=0;ne1)for(var he=1;he= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fe=ie-ne,me=Math.floor,ge=String.fromCharCode,be;function Pe(Ze){throw new RangeError(ve[Ze])}function Te(Ze,ze){for(var Re=Ze.length,He=[];Re--;)He[Re]=ze(Ze[Re]);return He}function Ce(Ze,ze){var Re=Ze.split("@"),He="";Re.length>1&&(He=Re[0]+"@",Ze=Re[1]),Ze=Ze.replace(he,".");var rt=Ze.split("."),qe=Te(rt,ze).join(".");return He+qe}function Le(Ze){for(var ze=[],Re=0,He=Ze.length,rt,qe;Re=55296&&rt<=56319&&Re65535&&(ze-=65536,Re+=ge(ze>>>10&1023|55296),ze=56320|ze&1023),Re+=ge(ze),Re}).join("")}function Me(Ze){return Ze-48<10?Ze-22:Ze-65<26?Ze-65:Ze-97<26?Ze-97:ie}function Ue(Ze,ze){return Ze+22+75*(Ze<26)-((ze!=0)<<5)}function Qe(Ze,ze,Re){var He=0;for(Ze=Re?me(Ze/x):Ze>>1,Ze+=me(Ze/ze);Ze>fe*a>>1;He+=ie)Ze=me(Ze/fe);return me(He+(fe+1)*Ze/(Ze+y))}function Ge(Ze){var ze=[],Re=Ze.length,He,rt=0,qe=z,ut=b,_e,We,Oe,Ye,Fe,Ne,et,De,je;for(_e=Ze.lastIndexOf(ee),_e<0&&(_e=0),We=0;We<_e;++We)Ze.charCodeAt(We)>=128&&Pe("not-basic"),ze.push(Ze.charCodeAt(We));for(Oe=_e>0?_e+1:0;Oe=Re&&Pe("invalid-input"),et=Me(Ze.charCodeAt(Oe++)),(et>=ie||et>me((ae-rt)/Fe))&&Pe("overflow"),rt+=et*Fe,De=Ne<=ut?ne:Ne>=ut+a?a:Ne-ut,!(etme(ae/je)&&Pe("overflow"),Fe*=je;He=ze.length+1,ut=Qe(rt-Ye,He,Ye==0),me(rt/He)>ae-qe&&Pe("overflow"),qe+=me(rt/He),rt%=He,ze.splice(rt++,0,qe)}return Ie(ze)}function ot(Ze){var ze,Re,He,rt,qe,ut,_e,We,Oe,Ye,Fe,Ne=[],et,De,je,Ee;for(Ze=Le(Ze),et=Ze.length,ze=z,Re=0,qe=b,ut=0;ut=ze&&Fe<_e&&(_e=Fe);for(De=He+1,_e-ze>me((ae-Re)/De)&&Pe("overflow"),Re+=(_e-ze)*De,ze=_e,ut=0;utae&&Pe("overflow"),Fe==ze){for(We=Re,Oe=ie;Ye=Oe<=qe?ne:Oe>=qe+a?a:Oe-qe,!(We0&&a>ne&&(a=ne);for(var y=0;y=0?(z=x.substr(0,b),ee=x.substr(b+1)):(z=x,ee=""),re=decodeURIComponent(z),le=decodeURIComponent(ee),oe(ae,re)?te(ae[re])?ae[re].push(le):ae[re]=[ae[re],le]:ae[re]=le}return ae};var te=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{}],384:[function(E,Se,ye){"use strict";var oe=function(ue){switch(typeof ue){case"string":return ue;case"boolean":return ue?"true":"false";case"number":return isFinite(ue)?ue:"";default:return""}};Se.exports=function(ue,ce,ae,ie){return ce=ce||"&",ae=ae||"=",ue===null&&(ue=void 0),typeof ue=="object"?se(de(ue),function(ne){var a=encodeURIComponent(oe(ne))+ae;return te(ue[ne])?se(ue[ne],function(y){return a+encodeURIComponent(oe(y))}).join(ce):a+encodeURIComponent(oe(ue[ne]))}).join(ce):ie?encodeURIComponent(oe(ie))+ae+encodeURIComponent(oe(ue)):""};var te=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"};function se(ue,ce){if(ue.map)return ue.map(ce);for(var ae=[],ie=0;ie0?(typeof Ne!="string"&&!Ee.objectMode&&Object.getPrototypeOf(Ne)!==ne.prototype&&(Ne=y(Ne)),De?Ee.endEmitted?Fe.emit("error",new Error("stream.unshift() after end event")):Pe(Fe,Ee,Ne,!0):Ee.ended?Fe.emit("error",new Error("stream.push() after EOF")):(Ee.reading=!1,Ee.decoder&&!et?(Ne=Ee.decoder.write(Ne),Ee.objectMode||Ne.length!==0?Pe(Fe,Ee,Ne,!1):ot(Fe,Ee)):Pe(Fe,Ee,Ne,!1))):De||(Ee.reading=!1)}return Ce(Ee)}function Pe(Fe,Ne,et,De){Ne.flowing&&Ne.length===0&&!Ne.sync?(Fe.emit("data",et),Fe.read(0)):(Ne.length+=Ne.objectMode?1:et.length,De?Ne.buffer.unshift(et):Ne.buffer.push(et),Ne.needReadable&&Qe(Fe)),ot(Fe,Ne)}function Te(Fe,Ne){var et;return!x(Ne)&&typeof Ne!="string"&&Ne!==void 0&&!Fe.objectMode&&(et=new TypeError("Invalid non-string/buffer chunk")),et}function Ce(Fe){return!Fe.ended&&(Fe.needReadable||Fe.length=Le?Fe=Le:(Fe--,Fe|=Fe>>>1,Fe|=Fe>>>2,Fe|=Fe>>>4,Fe|=Fe>>>8,Fe|=Fe>>>16,Fe++),Fe}function Me(Fe,Ne){return Fe<=0||Ne.length===0&&Ne.ended?0:Ne.objectMode?1:Fe!==Fe?Ne.flowing&&Ne.length?Ne.buffer.head.data.length:Ne.length:(Fe>Ne.highWaterMark&&(Ne.highWaterMark=Ie(Fe)),Fe<=Ne.length?Fe:Ne.ended?Ne.length:(Ne.needReadable=!0,0))}ge.prototype.read=function(Fe){ee("read",Fe),Fe=parseInt(Fe,10);var Ne=this._readableState,et=Fe;if(Fe!==0&&(Ne.emittedReadable=!1),Fe===0&&Ne.needReadable&&(Ne.length>=Ne.highWaterMark||Ne.ended))return ee("read: emitReadable",Ne.length,Ne.ended),Ne.length===0&&Ne.ended?We(this):Qe(this),null;if(Fe=Me(Fe,Ne),Fe===0&&Ne.ended)return Ne.length===0&&We(this),null;var De=Ne.needReadable;ee("need readable",De),(Ne.length===0||Ne.length-Fe0?je=rt(Fe,Ne):je=null,je===null?(Ne.needReadable=!0,Fe=0):Ne.length-=Fe,Ne.length===0&&(Ne.ended||(Ne.needReadable=!0),et!==Fe&&Ne.ended&&We(this)),je!==null&&this.emit("data",je),je};function Ue(Fe,Ne){if(!Ne.ended){if(Ne.decoder){var et=Ne.decoder.end();et&&et.length&&(Ne.buffer.push(et),Ne.length+=Ne.objectMode?1:et.length)}Ne.ended=!0,Qe(Fe)}}function Qe(Fe){var Ne=Fe._readableState;Ne.needReadable=!1,Ne.emittedReadable||(ee("emitReadable",Ne.flowing),Ne.emittedReadable=!0,Ne.sync?se.nextTick(Ge,Fe):Ge(Fe))}function Ge(Fe){ee("emit readable"),Fe.emit("readable"),He(Fe)}function ot(Fe,Ne){Ne.readingMore||(Ne.readingMore=!0,se.nextTick(Ve,Fe,Ne))}function Ve(Fe,Ne){for(var et=Ne.length;!Ne.reading&&!Ne.flowing&&!Ne.ended&&Ne.length1&&Ye(De.pipes,Fe)!==-1)&&!Ke&&(ee("false write response, pause",et._readableState.awaitDrain),et._readableState.awaitDrain++,ke=!0),et.pause())}function gt(ht){ee("onerror",ht),st(),Fe.removeListener("error",gt),ae(Fe,"error")===0&&Fe.emit("error",ht)}fe(Fe,"error",gt);function ct(){Fe.removeListener("finish",vt),st()}Fe.once("close",ct);function vt(){ee("onfinish"),Fe.removeListener("close",ct),st()}Fe.once("finish",vt);function st(){ee("unpipe"),et.unpipe(Fe)}return Fe.emit("pipe",et),De.flowing||(ee("pipe resume"),et.resume()),Fe};function Xe(Fe){return function(){var Ne=Fe._readableState;ee("pipeOnDrain",Ne.awaitDrain),Ne.awaitDrain&&Ne.awaitDrain--,Ne.awaitDrain===0&&ae(Fe,"data")&&(Ne.flowing=!0,He(Fe))}}ge.prototype.unpipe=function(Fe){var Ne=this._readableState,et={hasUnpiped:!1};if(Ne.pipesCount===0)return this;if(Ne.pipesCount===1)return Fe&&Fe!==Ne.pipes?this:(Fe||(Fe=Ne.pipes),Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1,Fe&&Fe.emit("unpipe",this,et),this);if(!Fe){var De=Ne.pipes,je=Ne.pipesCount;Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1;for(var Ee=0;Ee=Ne.length?(Ne.decoder?et=Ne.buffer.join(""):Ne.buffer.length===1?et=Ne.buffer.head.data:et=Ne.buffer.concat(Ne.length),Ne.buffer.clear()):et=qe(Fe,Ne.buffer,Ne.decoder),et}function qe(Fe,Ne,et){var De;return FeEe.length?Ee.length:Fe;if(xe===Ee.length?je+=Ee:je+=Ee.slice(0,Fe),Fe-=xe,Fe===0){xe===Ee.length?(++De,et.next?Ne.head=et.next:Ne.head=Ne.tail=null):(Ne.head=et,et.data=Ee.slice(xe));break}++De}return Ne.length-=De,je}function _e(Fe,Ne){var et=ne.allocUnsafe(Fe),De=Ne.head,je=1;for(De.data.copy(et),Fe-=De.data.length;De=De.next;){var Ee=De.data,xe=Fe>Ee.length?Ee.length:Fe;if(Ee.copy(et,et.length-Fe,0,xe),Fe-=xe,Fe===0){xe===Ee.length?(++je,De.next?Ne.head=De.next:Ne.head=Ne.tail=null):(Ne.head=De,De.data=Ee.slice(xe));break}++je}return Ne.length-=je,et}function We(Fe){var Ne=Fe._readableState;if(Ne.length>0)throw new Error('"endReadable()" called on non-empty stream');Ne.endEmitted||(Ne.ended=!0,se.nextTick(Oe,Ne,Fe))}function Oe(Fe,Ne){!Fe.endEmitted&&Fe.length===0&&(Fe.endEmitted=!0,Ne.readable=!1,Ne.emit("end"))}function Ye(Fe,Ne){for(var et=0,De=Fe.length;et-1?se:de.nextTick,ie;fe.WritableState=he;var ne=Object.create(E("core-util-is"));ne.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=te.Uint8Array||function(){};function z(Re){return x.from(Re)}function ee(Re){return x.isBuffer(Re)||Re instanceof b}var re=E("./internal/streams/destroy");ne.inherits(fe,y);function le(){}function he(Re,He){ie=ie||E("./_stream_duplex"),Re=Re||{};var rt=He instanceof ie;this.objectMode=!!Re.objectMode,rt&&(this.objectMode=this.objectMode||!!Re.writableObjectMode);var qe=Re.highWaterMark,ut=Re.writableHighWaterMark,_e=this.objectMode?16:16*1024;qe||qe===0?this.highWaterMark=qe:rt&&(ut||ut===0)?this.highWaterMark=ut:this.highWaterMark=_e,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var We=Re.decodeStrings===!1;this.decodeStrings=!We,this.defaultEncoding=Re.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Oe){Ie(He,Oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ce(this)}he.prototype.getBuffer=function(){for(var He=this.bufferedRequest,rt=[];He;)rt.push(He),He=He.next;return rt},function(){try{Object.defineProperty(he.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Re){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(fe,Symbol.hasInstance,{value:function(Re){return ve.call(this,Re)?!0:this!==fe?!1:Re&&Re._writableState instanceof he}})):ve=function(Re){return Re instanceof this};function fe(Re){if(ie=ie||E("./_stream_duplex"),!ve.call(fe,this)&&!(this instanceof ie))return new fe(Re);this._writableState=new he(Re,this),this.writable=!0,Re&&(typeof Re.write=="function"&&(this._write=Re.write),typeof Re.writev=="function"&&(this._writev=Re.writev),typeof Re.destroy=="function"&&(this._destroy=Re.destroy),typeof Re.final=="function"&&(this._final=Re.final)),y.call(this)}fe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function me(Re,He){var rt=new Error("write after end");Re.emit("error",rt),de.nextTick(He,rt)}function ge(Re,He,rt,qe){var ut=!0,_e=!1;return rt===null?_e=new TypeError("May not write null values to stream"):typeof rt!="string"&&rt!==void 0&&!He.objectMode&&(_e=new TypeError("Invalid non-string/buffer chunk")),_e&&(Re.emit("error",_e),de.nextTick(qe,_e),ut=!1),ut}fe.prototype.write=function(Re,He,rt){var qe=this._writableState,ut=!1,_e=!qe.objectMode&&ee(Re);return _e&&!x.isBuffer(Re)&&(Re=z(Re)),typeof He=="function"&&(rt=He,He=null),_e?He="buffer":He||(He=qe.defaultEncoding),typeof rt!="function"&&(rt=le),qe.ended?me(this,rt):(_e||ge(this,qe,Re,rt))&&(qe.pendingcb++,ut=Pe(this,qe,_e,Re,He,rt)),ut},fe.prototype.cork=function(){var Re=this._writableState;Re.corked++},fe.prototype.uncork=function(){var Re=this._writableState;Re.corked&&(Re.corked--,!Re.writing&&!Re.corked&&!Re.finished&&!Re.bufferProcessing&&Re.bufferedRequest&&Qe(this,Re))},fe.prototype.setDefaultEncoding=function(He){if(typeof He=="string"&&(He=He.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((He+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+He);return this._writableState.defaultEncoding=He,this};function be(Re,He,rt){return!Re.objectMode&&Re.decodeStrings!==!1&&typeof He=="string"&&(He=x.from(He,rt)),He}Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Pe(Re,He,rt,qe,ut,_e){if(!rt){var We=be(He,qe,ut);qe!==We&&(rt=!0,ut="buffer",qe=We)}var Oe=He.objectMode?1:qe.length;He.length+=Oe;var Ye=He.length0?this.tail.next=ie:this.head=ie,this.tail=ie,++this.length},ue.prototype.unshift=function(ae){var ie={data:ae,next:this.head};this.length===0&&(this.tail=ie),this.head=ie,++this.length},ue.prototype.shift=function(){if(this.length!==0){var ae=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ae}},ue.prototype.clear=function(){this.head=this.tail=null,this.length=0},ue.prototype.join=function(ae){if(this.length===0)return"";for(var ie=this.head,ne=""+ie.data;ie=ie.next;)ne+=ae+ie.data;return ne},ue.prototype.concat=function(ae){if(this.length===0)return te.alloc(0);if(this.length===1)return this.head.data;for(var ie=te.allocUnsafe(ae>>>0),ne=this.head,a=0;ne;)de(ne.data,ie,a),a+=ne.data.length,ne=ne.next;return ie},ue}(),se&&se.inspect&&se.inspect.custom&&(Se.exports.prototype[se.inspect.custom]=function(){var ue=se.inspect({length:this.length});return this.constructor.name+" "+ue})},{"safe-buffer":396,util:89}],392:[function(E,Se,ye){"use strict";var oe=E("process-nextick-args");function te(ue,ce){var ae=this,ie=this._readableState&&this._readableState.destroyed,ne=this._writableState&&this._writableState.destroyed;return ie||ne?(ce?ce(ue):ue&&(!this._writableState||!this._writableState.errorEmitted)&&oe.nextTick(de,this,ue),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(a){!ce&&a?(oe.nextTick(de,ae,a),ae._writableState&&(ae._writableState.errorEmitted=!0)):ce&&ce(a)}),this)}function se(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function de(ue,ce){ue.emit("error",ce)}Se.exports={destroy:te,undestroy:se}},{"process-nextick-args":380}],393:[function(E,Se,ye){Se.exports=E("events").EventEmitter},{events:344}],394:[function(E,Se,ye){ye=Se.exports=E("./lib/_stream_readable.js"),ye.Stream=ye,ye.Readable=ye,ye.Writable=E("./lib/_stream_writable.js"),ye.Duplex=E("./lib/_stream_duplex.js"),ye.Transform=E("./lib/_stream_transform.js"),ye.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,Se,ye){var oe=function(te){"use strict";var se=Object.prototype,de=se.hasOwnProperty,ue,ce=typeof Symbol=="function"?Symbol:{},ae=ce.iterator||"@@iterator",ie=ce.asyncIterator||"@@asyncIterator",ne=ce.toStringTag||"@@toStringTag";function a(Ve,Xe,Ze){return Object.defineProperty(Ve,Xe,{value:Ze,enumerable:!0,configurable:!0,writable:!0}),Ve[Xe]}try{a({},"")}catch(Ve){a=function(Xe,Ze,ze){return Xe[Ze]=ze}}function y(Ve,Xe,Ze,ze){var Re=Xe&&Xe.prototype instanceof he?Xe:he,He=Object.create(Re.prototype),rt=new Qe(ze||[]);return He._invoke=Le(Ve,Ze,rt),He}te.wrap=y;function x(Ve,Xe,Ze){try{return{type:"normal",arg:Ve.call(Xe,Ze)}}catch(ze){return{type:"throw",arg:ze}}}var b="suspendedStart",z="suspendedYield",ee="executing",re="completed",le={};function he(){}function ve(){}function fe(){}var me={};a(me,ae,function(){return this});var ge=Object.getPrototypeOf,be=ge&&ge(ge(Ge([])));be&&be!==se&&de.call(be,ae)&&(me=be);var Pe=fe.prototype=he.prototype=Object.create(me);ve.prototype=fe,a(Pe,"constructor",fe),a(fe,"constructor",ve),ve.displayName=a(fe,ne,"GeneratorFunction");function Te(Ve){["next","throw","return"].forEach(function(Xe){a(Ve,Xe,function(Ze){return this._invoke(Xe,Ze)})})}te.isGeneratorFunction=function(Ve){var Xe=typeof Ve=="function"&&Ve.constructor;return Xe?Xe===ve||(Xe.displayName||Xe.name)==="GeneratorFunction":!1},te.mark=function(Ve){return Object.setPrototypeOf?Object.setPrototypeOf(Ve,fe):(Ve.__proto__=fe,a(Ve,ne,"GeneratorFunction")),Ve.prototype=Object.create(Pe),Ve},te.awrap=function(Ve){return{__await:Ve}};function Ce(Ve,Xe){function Ze(He,rt,qe,ut){var _e=x(Ve[He],Ve,rt);if(_e.type==="throw")ut(_e.arg);else{var We=_e.arg,Oe=We.value;return Oe&&typeof Oe=="object"&&de.call(Oe,"__await")?Xe.resolve(Oe.__await).then(function(Ye){Ze("next",Ye,qe,ut)},function(Ye){Ze("throw",Ye,qe,ut)}):Xe.resolve(Oe).then(function(Ye){We.value=Ye,qe(We)},function(Ye){return Ze("throw",Ye,qe,ut)})}}var ze;function Re(He,rt){function qe(){return new Xe(function(ut,_e){Ze(He,rt,ut,_e)})}return ze=ze?ze.then(qe,qe):qe()}this._invoke=Re}Te(Ce.prototype),a(Ce.prototype,ie,function(){return this}),te.AsyncIterator=Ce,te.async=function(Ve,Xe,Ze,ze,Re){Re===void 0&&(Re=Promise);var He=new Ce(y(Ve,Xe,Ze,ze),Re);return te.isGeneratorFunction(Xe)?He:He.next().then(function(rt){return rt.done?rt.value:He.next()})};function Le(Ve,Xe,Ze){var ze=b;return function(He,rt){if(ze===ee)throw new Error("Generator is already running");if(ze===re){if(He==="throw")throw rt;return ot()}for(Ze.method=He,Ze.arg=rt;;){var qe=Ze.delegate;if(qe){var ut=Ie(qe,Ze);if(ut){if(ut===le)continue;return ut}}if(Ze.method==="next")Ze.sent=Ze._sent=Ze.arg;else if(Ze.method==="throw"){if(ze===b)throw ze=re,Ze.arg;Ze.dispatchException(Ze.arg)}else Ze.method==="return"&&Ze.abrupt("return",Ze.arg);ze=ee;var _e=x(Ve,Xe,Ze);if(_e.type==="normal"){if(ze=Ze.done?re:z,_e.arg===le)continue;return{value:_e.arg,done:Ze.done}}else _e.type==="throw"&&(ze=re,Ze.method="throw",Ze.arg=_e.arg)}}}function Ie(Ve,Xe){var Ze=Ve.iterator[Xe.method];if(Ze===ue){if(Xe.delegate=null,Xe.method==="throw"){if(Ve.iterator.return&&(Xe.method="return",Xe.arg=ue,Ie(Ve,Xe),Xe.method==="throw"))return le;Xe.method="throw",Xe.arg=new TypeError("The iterator does not provide a 'throw' method")}return le}var ze=x(Ze,Ve.iterator,Xe.arg);if(ze.type==="throw")return Xe.method="throw",Xe.arg=ze.arg,Xe.delegate=null,le;var Re=ze.arg;if(!Re)return Xe.method="throw",Xe.arg=new TypeError("iterator result is not an object"),Xe.delegate=null,le;if(Re.done)Xe[Ve.resultName]=Re.value,Xe.next=Ve.nextLoc,Xe.method!=="return"&&(Xe.method="next",Xe.arg=ue);else return Re;return Xe.delegate=null,le}Te(Pe),a(Pe,ne,"Generator"),a(Pe,ae,function(){return this}),a(Pe,"toString",function(){return"[object Generator]"});function Me(Ve){var Xe={tryLoc:Ve[0]};1 in Ve&&(Xe.catchLoc=Ve[1]),2 in Ve&&(Xe.finallyLoc=Ve[2],Xe.afterLoc=Ve[3]),this.tryEntries.push(Xe)}function Ue(Ve){var Xe=Ve.completion||{};Xe.type="normal",delete Xe.arg,Ve.completion=Xe}function Qe(Ve){this.tryEntries=[{tryLoc:"root"}],Ve.forEach(Me,this),this.reset(!0)}te.keys=function(Ve){var Xe=[];for(var Ze in Ve)Xe.push(Ze);return Xe.reverse(),function ze(){for(;Xe.length;){var Re=Xe.pop();if(Re in Ve)return ze.value=Re,ze.done=!1,ze}return ze.done=!0,ze}};function Ge(Ve){if(Ve){var Xe=Ve[ae];if(Xe)return Xe.call(Ve);if(typeof Ve.next=="function")return Ve;if(!isNaN(Ve.length)){var Ze=-1,ze=function Re(){for(;++Ze=0;--ze){var Re=this.tryEntries[ze],He=Re.completion;if(Re.tryLoc==="root")return Ze("end");if(Re.tryLoc<=this.prev){var rt=de.call(Re,"catchLoc"),qe=de.call(Re,"finallyLoc");if(rt&&qe){if(this.prev=0;--Ze){var ze=this.tryEntries[Ze];if(ze.tryLoc<=this.prev&&de.call(ze,"finallyLoc")&&this.prev=0;--Xe){var Ze=this.tryEntries[Xe];if(Ze.finallyLoc===Ve)return this.complete(Ze.completion,Ze.afterLoc),Ue(Ze),le}},catch:function(Ve){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var Ze=this.tryEntries[Xe];if(Ze.tryLoc===Ve){var ze=Ze.completion;if(ze.type==="throw"){var Re=ze.arg;Ue(Ze)}return Re}}throw new Error("illegal catch attempt")},delegateYield:function(Ve,Xe,Ze){return this.delegate={iterator:Ge(Ve),resultName:Xe,nextLoc:Ze},this.method==="next"&&(this.arg=ue),le}},te}(typeof Se=="object"?Se.exports:{});try{regeneratorRuntime=oe}catch(te){typeof globalThis=="object"?globalThis.regeneratorRuntime=oe:Function("r","regeneratorRuntime = r")(oe)}},{}],396:[function(E,Se,ye){var oe=E("buffer"),te=oe.Buffer;function se(ue,ce){for(var ae in ue)ce[ae]=ue[ae]}te.from&&te.alloc&&te.allocUnsafe&&te.allocUnsafeSlow?Se.exports=oe:(se(oe,ye),ye.Buffer=de);function de(ue,ce,ae){return te(ue,ce,ae)}se(te,de),de.from=function(ue,ce,ae){if(typeof ue=="number")throw new TypeError("Argument must not be a number");return te(ue,ce,ae)},de.alloc=function(ue,ce,ae){if(typeof ue!="number")throw new TypeError("Argument must be a number");var ie=te(ue);return ce!==void 0?typeof ae=="string"?ie.fill(ce,ae):ie.fill(ce):ie.fill(0),ie},de.allocUnsafe=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return te(ue)},de.allocUnsafeSlow=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return oe.SlowBuffer(ue)}},{buffer:90}],397:[function(E,Se,ye){(function(oe){(function(){(function(te){te.parser=function(We,Oe){return new de(We,Oe)},te.SAXParser=de,te.SAXStream=y,te.createStream=a,te.MAX_BUFFER_LENGTH=64*1024;var se=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];te.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function de(We,Oe){if(!(this instanceof de))return new de(We,Oe);var Ye=this;ce(Ye),Ye.q=Ye.c="",Ye.bufferCheckPosition=te.MAX_BUFFER_LENGTH,Ye.opt=Oe||{},Ye.opt.lowercase=Ye.opt.lowercase||Ye.opt.lowercasetags,Ye.looseCase=Ye.opt.lowercase?"toLowerCase":"toUpperCase",Ye.tags=[],Ye.closed=Ye.closedRoot=Ye.sawRoot=!1,Ye.tag=Ye.error=null,Ye.strict=!!We,Ye.noscript=!!(We||Ye.opt.noscript),Ye.state=Ce.BEGIN,Ye.strictEntities=Ye.opt.strictEntities,Ye.ENTITIES=Ye.strictEntities?Object.create(te.XML_ENTITIES):Object.create(te.ENTITIES),Ye.attribList=[],Ye.opt.xmlns&&(Ye.ns=Object.create(re)),Ye.trackPosition=Ye.opt.position!==!1,Ye.trackPosition&&(Ye.position=Ye.line=Ye.column=0),Ie(Ye,"onready")}Object.create||(Object.create=function(We){function Oe(){}Oe.prototype=We;var Ye=new Oe;return Ye}),Object.keys||(Object.keys=function(We){var Oe=[];for(var Ye in We)We.hasOwnProperty(Ye)&&Oe.push(Ye);return Oe});function ue(We){for(var Oe=Math.max(te.MAX_BUFFER_LENGTH,10),Ye=0,Fe=0,Ne=se.length;FeOe)switch(se[Fe]){case"textNode":Ue(We);break;case"cdata":Me(We,"oncdata",We.cdata),We.cdata="";break;case"script":Me(We,"onscript",We.script),We.script="";break;default:Ge(We,"Max buffer length exceeded: "+se[Fe])}Ye=Math.max(Ye,et)}var De=te.MAX_BUFFER_LENGTH-Ye;We.bufferCheckPosition=De+We.position}function ce(We){for(var Oe=0,Ye=se.length;Oe"||me(We)}function Pe(We,Oe){return We.test(Oe)}function Te(We,Oe){return!Pe(We,Oe)}var Ce=0;te.STATE={BEGIN:Ce++,BEGIN_WHITESPACE:Ce++,TEXT:Ce++,TEXT_ENTITY:Ce++,OPEN_WAKA:Ce++,SGML_DECL:Ce++,SGML_DECL_QUOTED:Ce++,DOCTYPE:Ce++,DOCTYPE_QUOTED:Ce++,DOCTYPE_DTD:Ce++,DOCTYPE_DTD_QUOTED:Ce++,COMMENT_STARTING:Ce++,COMMENT:Ce++,COMMENT_ENDING:Ce++,COMMENT_ENDED:Ce++,CDATA:Ce++,CDATA_ENDING:Ce++,CDATA_ENDING_2:Ce++,PROC_INST:Ce++,PROC_INST_BODY:Ce++,PROC_INST_ENDING:Ce++,OPEN_TAG:Ce++,OPEN_TAG_SLASH:Ce++,ATTRIB:Ce++,ATTRIB_NAME:Ce++,ATTRIB_NAME_SAW_WHITE:Ce++,ATTRIB_VALUE:Ce++,ATTRIB_VALUE_QUOTED:Ce++,ATTRIB_VALUE_CLOSED:Ce++,ATTRIB_VALUE_UNQUOTED:Ce++,ATTRIB_VALUE_ENTITY_Q:Ce++,ATTRIB_VALUE_ENTITY_U:Ce++,CLOSE_TAG:Ce++,CLOSE_TAG_SAW_WHITE:Ce++,SCRIPT:Ce++,SCRIPT_ENDING:Ce++},te.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},te.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(te.ENTITIES).forEach(function(We){var Oe=te.ENTITIES[We],Ye=typeof Oe=="number"?String.fromCharCode(Oe):Oe;te.ENTITIES[We]=Ye});for(var Le in te.STATE)te.STATE[te.STATE[Le]]=Le;Ce=te.STATE;function Ie(We,Oe,Ye){We[Oe]&&We[Oe](Ye)}function Me(We,Oe,Ye){We.textNode&&Ue(We),Ie(We,Oe,Ye)}function Ue(We){We.textNode=Qe(We.opt,We.textNode),We.textNode&&Ie(We,"ontext",We.textNode),We.textNode=""}function Qe(We,Oe){return We.trim&&(Oe=Oe.trim()),We.normalize&&(Oe=Oe.replace(/\s+/g," ")),Oe}function Ge(We,Oe){return Ue(We),We.trackPosition&&(Oe+=` Line: `+We.line+` Column: `+We.column+` -Char: `+We.c),Te=new Error(Te),We.error=Te,De(We,"onerror",Te),We}function it(We){return We.sawRoot&&!We.closedRoot&&Qe(We,"Unclosed root tag"),We.state!==Ce.BEGIN&&We.state!==Ce.BEGIN_WHITESPACE&&We.state!==Ce.TEXT&&Ge(We,"Unexpected end"),Ue(We),We.c="",We.closed=!0,De(We,"onend"),de.call(We,We.strict,We.opt),We}function Qe(We,Te){if(typeof We!="object"||!(We instanceof de))throw new Error("bad call to strictFail");We.strict&&Ge(We,Te)}function Ye(We){We.strict||(We.tagName=We.tagName[We.looseCase]());var Te=We.tags[We.tags.length-1]||We,Je=We.tag={name:We.tagName,attributes:{}};We.opt.xmlns&&(Je.ns=Te.ns),We.attribList.length=0,ke(We,"onopentagstart",Je)}function Ve(We,Te){var Je=We.indexOf(":"),Fe=Je<0?["",We]:We.split(":"),Ie=Fe[0],Xe=Fe[1];return Te&&We==="xmlns"&&(Ie="xmlns",Xe=""),{prefix:Ie,local:Xe}}function Me(We){if(We.strict||(We.attribName=We.attribName[We.looseCase]()),We.attribList.indexOf(We.attribName)!==-1||We.tag.attributes.hasOwnProperty(We.attribName)){We.attribName=We.attribValue="";return}if(We.opt.xmlns){var Te=Ve(We.attribName,!0),Je=Te.prefix,Fe=Te.local;if(Je==="xmlns")if(Fe==="xml"&&We.attribValue!==z)Qe(We,"xml: prefix must be bound to "+z+` -Actual: `+We.attribValue);else if(Fe==="xmlns"&&We.attribValue!==ee)Qe(We,"xmlns: prefix must be bound to "+ee+` -Actual: `+We.attribValue);else{var Ie=We.tag,Xe=We.tags[We.tags.length-1]||We;Ie.ns===Xe.ns&&(Ie.ns=Object.create(Xe.ns)),Ie.ns[Fe]=We.attribValue}We.attribList.push([We.attribName,We.attribValue])}else We.tag.attributes[We.attribName]=We.attribValue,ke(We,"onattribute",{name:We.attribName,value:We.attribValue});We.attribName=We.attribValue=""}function Re(We,Te){if(We.opt.xmlns){var Je=We.tag,Fe=Ve(We.tagName);Je.prefix=Fe.prefix,Je.local=Fe.local,Je.uri=Je.ns[Fe.prefix]||"",Je.prefix&&!Je.uri&&(Qe(We,"Unbound namespace prefix: "+JSON.stringify(We.tagName)),Je.uri=Fe.prefix);var Ie=We.tags[We.tags.length-1]||We;Je.ns&&Ie.ns!==Je.ns&&Object.keys(Je.ns).forEach(function(at){ke(We,"onopennamespace",{prefix:at,uri:Je.ns[at]})});for(var Xe=0,He=We.attribList.length;Xe",We.tagName="",We.state=Ce.SCRIPT;return}ke(We,"onscript",We.script),We.script=""}var Te=We.tags.length,Je=We.tagName;We.strict||(Je=Je[We.looseCase]());for(var Fe=Je;Te--;){var Ie=We.tags[Te];if(Ie.name!==Fe)Qe(We,"Unexpected close tag");else break}if(Te<0){Qe(We,"Unmatched closing tag: "+We.tagName),We.textNode+="",We.state=Ce.TEXT;return}We.tagName=Je;for(var Xe=We.tags.length;Xe-- >Te;){var He=We.tag=We.tags.pop();We.tagName=We.tag.name,ke(We,"onclosetag",We.tagName);var je={};for(var Ee in He.ns)je[Ee]=He.ns[Ee];var xe=We.tags[We.tags.length-1]||We;We.opt.xmlns&&He.ns!==xe.ns&&Object.keys(He.ns).forEach(function(we){var Be=He.ns[we];ke(We,"onclosenamespace",{prefix:we,uri:Be})})}Te===0&&(We.closedRoot=!0),We.tagName=We.attribValue=We.attribName="",We.attribList.length=0,We.state=Ce.TEXT}function rt(We){var Te=We.entity,Je=Te.toLowerCase(),Fe,Ie="";return We.ENTITIES[Te]?We.ENTITIES[Te]:We.ENTITIES[Je]?We.ENTITIES[Je]:(Te=Je,Te.charAt(0)==="#"&&(Te.charAt(1)==="x"?(Te=Te.slice(2),Fe=parseInt(Te,16),Ie=Fe.toString(16)):(Te=Te.slice(1),Fe=parseInt(Te,10),Ie=Fe.toString(10))),Te=Te.replace(/^0+/,""),isNaN(Fe)||Ie.toLowerCase()!==Te?(Qe(We,"Invalid character entity"),"&"+We.entity+";"):String.fromCodePoint(Fe))}function $e(We,Te){Te==="<"?(We.state=Ce.OPEN_WAKA,We.startTagPosition=We.position):pe(Te)||(Qe(We,"Non-whitespace before first tag."),We.textNode=Te,We.state=Ce.TEXT)}function ut(We,Te){var Je="";return Te"?(ke(Te,"onsgmldeclaration",Te.sgmlDecl),Te.sgmlDecl="",Te.state=Ce.TEXT):(fe(Fe)&&(Te.state=Ce.SGML_DECL_QUOTED),Te.sgmlDecl+=Fe);continue;case Ce.SGML_DECL_QUOTED:Fe===Te.q&&(Te.state=Ce.SGML_DECL,Te.q=""),Te.sgmlDecl+=Fe;continue;case Ce.DOCTYPE:Fe===">"?(Te.state=Ce.TEXT,ke(Te,"ondoctype",Te.doctype),Te.doctype=!0):(Te.doctype+=Fe,Fe==="["?Te.state=Ce.DOCTYPE_DTD:fe(Fe)&&(Te.state=Ce.DOCTYPE_QUOTED,Te.q=Fe));continue;case Ce.DOCTYPE_QUOTED:Te.doctype+=Fe,Fe===Te.q&&(Te.q="",Te.state=Ce.DOCTYPE);continue;case Ce.DOCTYPE_DTD:Te.doctype+=Fe,Fe==="]"?Te.state=Ce.DOCTYPE:fe(Fe)&&(Te.state=Ce.DOCTYPE_DTD_QUOTED,Te.q=Fe);continue;case Ce.DOCTYPE_DTD_QUOTED:Te.doctype+=Fe,Fe===Te.q&&(Te.state=Ce.DOCTYPE_DTD,Te.q="");continue;case Ce.COMMENT:Fe==="-"?Te.state=Ce.COMMENT_ENDING:Te.comment+=Fe;continue;case Ce.COMMENT_ENDING:Fe==="-"?(Te.state=Ce.COMMENT_ENDED,Te.comment=et(Te.opt,Te.comment),Te.comment&&ke(Te,"oncomment",Te.comment),Te.comment=""):(Te.comment+="-"+Fe,Te.state=Ce.COMMENT);continue;case Ce.COMMENT_ENDED:Fe!==">"?(Qe(Te,"Malformed comment"),Te.comment+="--"+Fe,Te.state=Ce.COMMENT):Te.state=Ce.TEXT;continue;case Ce.CDATA:Fe==="]"?Te.state=Ce.CDATA_ENDING:Te.cdata+=Fe;continue;case Ce.CDATA_ENDING:Fe==="]"?Te.state=Ce.CDATA_ENDING_2:(Te.cdata+="]"+Fe,Te.state=Ce.CDATA);continue;case Ce.CDATA_ENDING_2:Fe===">"?(Te.cdata&&ke(Te,"oncdata",Te.cdata),ke(Te,"onclosecdata"),Te.cdata="",Te.state=Ce.TEXT):Fe==="]"?Te.cdata+="]":(Te.cdata+="]]"+Fe,Te.state=Ce.CDATA);continue;case Ce.PROC_INST:Fe==="?"?Te.state=Ce.PROC_INST_ENDING:pe(Fe)?Te.state=Ce.PROC_INST_BODY:Te.procInstName+=Fe;continue;case Ce.PROC_INST_BODY:if(!Te.procInstBody&&pe(Fe))continue;Fe==="?"?Te.state=Ce.PROC_INST_ENDING:Te.procInstBody+=Fe;continue;case Ce.PROC_INST_ENDING:Fe===">"?(ke(Te,"onprocessinginstruction",{name:Te.procInstName,body:Te.procInstBody}),Te.procInstName=Te.procInstBody="",Te.state=Ce.TEXT):(Te.procInstBody+="?"+Fe,Te.state=Ce.PROC_INST_BODY);continue;case Ce.OPEN_TAG:Se(me,Fe)?Te.tagName+=Fe:(Ye(Te),Fe===">"?Re(Te):Fe==="/"?Te.state=Ce.OPEN_TAG_SLASH:(pe(Fe)||Qe(Te,"Invalid character in tag name"),Te.state=Ce.ATTRIB));continue;case Ce.OPEN_TAG_SLASH:Fe===">"?(Re(Te,!0),ze(Te)):(Qe(Te,"Forward-slash in opening tag not followed by >"),Te.state=Ce.ATTRIB);continue;case Ce.ATTRIB:if(pe(Fe))continue;Fe===">"?Re(Te):Fe==="/"?Te.state=Ce.OPEN_TAG_SLASH:Se(ce,Fe)?(Te.attribName=Fe,Te.attribValue="",Te.state=Ce.ATTRIB_NAME):Qe(Te,"Invalid attribute name");continue;case Ce.ATTRIB_NAME:Fe==="="?Te.state=Ce.ATTRIB_VALUE:Fe===">"?(Qe(Te,"Attribute without value"),Te.attribValue=Te.attribName,Me(Te),Re(Te)):pe(Fe)?Te.state=Ce.ATTRIB_NAME_SAW_WHITE:Se(me,Fe)?Te.attribName+=Fe:Qe(Te,"Invalid attribute name");continue;case Ce.ATTRIB_NAME_SAW_WHITE:if(Fe==="=")Te.state=Ce.ATTRIB_VALUE;else{if(pe(Fe))continue;Qe(Te,"Attribute without value"),Te.tag.attributes[Te.attribName]="",Te.attribValue="",ke(Te,"onattribute",{name:Te.attribName,value:""}),Te.attribName="",Fe===">"?Re(Te):Se(ce,Fe)?(Te.attribName=Fe,Te.state=Ce.ATTRIB_NAME):(Qe(Te,"Invalid attribute name"),Te.state=Ce.ATTRIB)}continue;case Ce.ATTRIB_VALUE:if(pe(Fe))continue;fe(Fe)?(Te.q=Fe,Te.state=Ce.ATTRIB_VALUE_QUOTED):(Qe(Te,"Unquoted attribute value"),Te.state=Ce.ATTRIB_VALUE_UNQUOTED,Te.attribValue=Fe);continue;case Ce.ATTRIB_VALUE_QUOTED:if(Fe!==Te.q){Fe==="&"?Te.state=Ce.ATTRIB_VALUE_ENTITY_Q:Te.attribValue+=Fe;continue}Me(Te),Te.q="",Te.state=Ce.ATTRIB_VALUE_CLOSED;continue;case Ce.ATTRIB_VALUE_CLOSED:pe(Fe)?Te.state=Ce.ATTRIB:Fe===">"?Re(Te):Fe==="/"?Te.state=Ce.OPEN_TAG_SLASH:Se(ce,Fe)?(Qe(Te,"No whitespace between attributes"),Te.attribName=Fe,Te.attribValue="",Te.state=Ce.ATTRIB_NAME):Qe(Te,"Invalid attribute name");continue;case Ce.ATTRIB_VALUE_UNQUOTED:if(!ye(Fe)){Fe==="&"?Te.state=Ce.ATTRIB_VALUE_ENTITY_U:Te.attribValue+=Fe;continue}Me(Te),Fe===">"?Re(Te):Te.state=Ce.ATTRIB;continue;case Ce.CLOSE_TAG:if(Te.tagName)Fe===">"?ze(Te):Se(me,Fe)?Te.tagName+=Fe:Te.script?(Te.script+=""?ze(Te):Qe(Te,"Invalid characters in closing tag");continue;case Ce.TEXT_ENTITY:case Ce.ATTRIB_VALUE_ENTITY_Q:case Ce.ATTRIB_VALUE_ENTITY_U:var He,je;switch(Te.state){case Ce.TEXT_ENTITY:He=Ce.TEXT,je="textNode";break;case Ce.ATTRIB_VALUE_ENTITY_Q:He=Ce.ATTRIB_VALUE_QUOTED,je="attribValue";break;case Ce.ATTRIB_VALUE_ENTITY_U:He=Ce.ATTRIB_VALUE_UNQUOTED,je="attribValue";break}Fe===";"?(Te[je]+=rt(Te),Te.entity="",Te.state=He):Se(Te.entity.length?ge:ve,Fe)?Te.entity+=Fe:(Qe(Te,"Invalid character in entity name"),Te[je]+="&"+Te.entity+Fe,Te.entity="",Te.state=He);continue;default:throw new Error(Te,"Unknown state: "+Te.state)}return Te.position>=Te.bufferCheckPosition&&le(Te),Te}String.fromCodePoint||function(){var We=String.fromCharCode,Te=Math.floor,Je=function(){var Fe=16384,Ie=[],Xe,He,je=-1,Ee=arguments.length;if(!Ee)return"";for(var xe="";++je1114111||Te(we)!==we)throw RangeError("Invalid code point: "+we);we<=65535?Ie.push(we):(we-=65536,Xe=(we>>10)+55296,He=we%1024+56320,Ie.push(Xe,He)),(je+1===Ee||Ie.length>Fe)&&(xe+=We.apply(null,Ie),Ie.length=0)}return xe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Je,configurable:!0,writable:!0}):String.fromCodePoint=Je}()})(typeof be=="undefined"?this.sax={}:be)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,Pe,be){Pe.exports=se;var oe=E("events").EventEmitter,te=E("inherits");te(se,oe),se.Readable=E("readable-stream/lib/_stream_readable.js"),se.Writable=E("readable-stream/lib/_stream_writable.js"),se.Duplex=E("readable-stream/lib/_stream_duplex.js"),se.Transform=E("readable-stream/lib/_stream_transform.js"),se.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),se.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),se.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),se.Stream=se;function se(){oe.call(this)}se.prototype.pipe=function(de,le){var ue=this;function ae(z){de.writable&&de.write(z)===!1&&ue.pause&&ue.pause()}ue.on("data",ae);function ie(){ue.readable&&ue.resume&&ue.resume()}de.on("drain",ie),!de._isStdio&&(!le||le.end!==!1)&&(ue.on("end",a),ue.on("close",y));var ne=!1;function a(){ne||(ne=!0,de.end())}function y(){ne||(ne=!0,typeof de.destroy=="function"&&de.destroy())}function x(z){if(b(),oe.listenerCount(this,"error")===0)throw z}ue.on("error",x),de.on("error",x);function b(){ue.removeListener("data",ae),de.removeListener("drain",ie),ue.removeListener("end",a),ue.removeListener("close",y),ue.removeListener("error",x),de.removeListener("error",x),ue.removeListener("end",b),ue.removeListener("close",b),de.removeListener("close",b)}return ue.on("end",b),ue.on("close",b),de.on("close",b),de.emit("pipe",ue),de}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,Pe,be){"use strict";function oe(ie,ne){ie.prototype=Object.create(ne.prototype),ie.prototype.constructor=ie,ie.__proto__=ne}var te={};function se(ie,ne,a){a||(a=Error);function y(b,z,ee){return typeof ne=="string"?ne:ne(b,z,ee)}var x=function(b){oe(z,b);function z(ee,re,ce){return b.call(this,y(ee,re,ce))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=ie,te[ie]=x}function de(ie,ne){if(Array.isArray(ie)){var a=ie.length;return ie=ie.map(function(y){return String(y)}),a>2?"one of ".concat(ne," ").concat(ie.slice(0,a-1).join(", "),", or ")+ie[a-1]:a===2?"one of ".concat(ne," ").concat(ie[0]," or ").concat(ie[1]):"of ".concat(ne," ").concat(ie[0])}else return"of ".concat(ne," ").concat(String(ie))}function le(ie,ne,a){return ie.substr(!a||a<0?0:+a,ne.length)===ne}function ue(ie,ne,a){return(a===void 0||a>ie.length)&&(a=ie.length),ie.substring(a-ne.length,a)===ne}function ae(ie,ne,a){return typeof a!="number"&&(a=0),a+ne.length>ie.length?!1:ie.indexOf(ne,a)!==-1}se("ERR_INVALID_OPT_VALUE",function(ie,ne){return'The value "'+ne+'" is invalid for option "'+ie+'"'},TypeError),se("ERR_INVALID_ARG_TYPE",function(ie,ne,a){var y;typeof ne=="string"&&le(ne,"not ")?(y="must not be",ne=ne.replace(/^not /,"")):y="must be";var x;if(ue(ie," argument"))x="The ".concat(ie," ").concat(y," ").concat(de(ne,"type"));else{var b=ae(ie,".")?"property":"argument";x='The "'.concat(ie,'" ').concat(b," ").concat(y," ").concat(de(ne,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),se("ERR_METHOD_NOT_IMPLEMENTED",function(ie){return"The "+ie+" method is not implemented"}),se("ERR_STREAM_PREMATURE_CLOSE","Premature close"),se("ERR_STREAM_DESTROYED",function(ie){return"Cannot call "+ie+" after a stream was destroyed"}),se("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),se("ERR_STREAM_WRITE_AFTER_END","write after end"),se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),se("ERR_UNKNOWN_ENCODING",function(ie){return"Unknown encoding: "+ie},TypeError),se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Pe.exports.codes=te},{}],400:[function(E,Pe,be){(function(oe){(function(){"use strict";var te=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};Pe.exports=ie;var se=E("./_stream_readable"),de=E("./_stream_writable");E("inherits")(ie,se);for(var le=te(de.prototype),ue=0;ue0)if(typeof Ee!="string"&&!Ze.objectMode&&Object.getPrototypeOf(Ee)!==ae.prototype&&(Ee=ne(Ee)),we)Ze.endEmitted?Oe(je,new pe):et(je,Ze,Ee,!0);else if(Ze.ended)Oe(je,new ve);else{if(Ze.destroyed)return!1;Ze.reading=!1,Ze.decoder&&!xe?(Ee=Ze.decoder.write(Ee),Ze.objectMode||Ee.length!==0?et(je,Ze,Ee,!1):ze(je,Ze)):et(je,Ze,Ee,!1)}else we||(Ze.reading=!1,ze(je,Ze))}return!Ze.ended&&(Ze.length=it?je=it:(je--,je|=je>>>1,je|=je>>>2,je|=je>>>4,je|=je>>>8,je|=je>>>16,je++),je}function Ye(je,Ee){return je<=0||Ee.length===0&&Ee.ended?0:Ee.objectMode?1:je!==je?Ee.flowing&&Ee.length?Ee.buffer.head.data.length:Ee.length:(je>Ee.highWaterMark&&(Ee.highWaterMark=Qe(je)),je<=Ee.length?je:Ee.ended?Ee.length:(Ee.needReadable=!0,0))}ke.prototype.read=function(je){x("read",je),je=parseInt(je,10);var Ee=this._readableState,xe=je;if(je!==0&&(Ee.emittedReadable=!1),je===0&&Ee.needReadable&&((Ee.highWaterMark!==0?Ee.length>=Ee.highWaterMark:Ee.length>0)||Ee.ended))return x("read: emitReadable",Ee.length,Ee.ended),Ee.length===0&&Ee.ended?Ie(this):Me(this),null;if(je=Ye(je,Ee),je===0&&Ee.ended)return Ee.length===0&&Ie(this),null;var we=Ee.needReadable;x("need readable",we),(Ee.length===0||Ee.length-je0?Be=Fe(je,Ee):Be=null,Be===null?(Ee.needReadable=Ee.length<=Ee.highWaterMark,je=0):(Ee.length-=je,Ee.awaitDrain=0),Ee.length===0&&(Ee.ended||(Ee.needReadable=!0),xe!==je&&Ee.ended&&Ie(this)),Be!==null&&this.emit("data",Be),Be};function Ve(je,Ee){if(x("onEofChunk"),!Ee.ended){if(Ee.decoder){var xe=Ee.decoder.end();xe&&xe.length&&(Ee.buffer.push(xe),Ee.length+=Ee.objectMode?1:xe.length)}Ee.ended=!0,Ee.sync?Me(je):(Ee.needReadable=!1,Ee.emittedReadable||(Ee.emittedReadable=!0,Re(je)))}}function Me(je){var Ee=je._readableState;x("emitReadable",Ee.needReadable,Ee.emittedReadable),Ee.needReadable=!1,Ee.emittedReadable||(x("emitReadable",Ee.flowing),Ee.emittedReadable=!0,oe.nextTick(Re,je))}function Re(je){var Ee=je._readableState;x("emitReadable_",Ee.destroyed,Ee.length,Ee.ended),!Ee.destroyed&&(Ee.length||Ee.ended)&&(je.emit("readable"),Ee.emittedReadable=!1),Ee.needReadable=!Ee.flowing&&!Ee.ended&&Ee.length<=Ee.highWaterMark,Je(je)}function ze(je,Ee){Ee.readingMore||(Ee.readingMore=!0,oe.nextTick(rt,je,Ee))}function rt(je,Ee){for(;!Ee.reading&&!Ee.ended&&(Ee.length1&&He(we.pipes,je)!==-1)&&!ht&&(x("false write response, pause",we.awaitDrain),we.awaitDrain++),xe.pause())}function st(dt){x("onerror",dt),lt(),je.removeListener("error",st),le(je,"error")===0&&Oe(je,dt)}Le(je,"error",st);function pt(){je.removeListener("finish",nt),lt()}je.once("close",pt);function nt(){x("onfinish"),je.removeListener("close",pt),lt()}je.once("finish",nt);function lt(){x("unpipe"),xe.unpipe(je)}return je.emit("pipe",xe),we.flowing||(x("pipe resume"),xe.resume()),je};function $e(je){return function(){var xe=je._readableState;x("pipeOnDrain",xe.awaitDrain),xe.awaitDrain&&xe.awaitDrain--,xe.awaitDrain===0&&le(je,"data")&&(xe.flowing=!0,Je(je))}}ke.prototype.unpipe=function(je){var Ee=this._readableState,xe={hasUnpiped:!1};if(Ee.pipesCount===0)return this;if(Ee.pipesCount===1)return je&&je!==Ee.pipes?this:(je||(je=Ee.pipes),Ee.pipes=null,Ee.pipesCount=0,Ee.flowing=!1,je&&je.emit("unpipe",this,xe),this);if(!je){var we=Ee.pipes,Be=Ee.pipesCount;Ee.pipes=null,Ee.pipesCount=0,Ee.flowing=!1;for(var Ze=0;Ze0,we.flowing!==!1&&this.resume()):je==="readable"&&!we.endEmitted&&!we.readableListening&&(we.readableListening=we.needReadable=!0,we.flowing=!1,we.emittedReadable=!1,x("on readable",we.length,we.reading),we.length?Me(this):we.reading||oe.nextTick(_e,this)),xe},ke.prototype.addListener=ke.prototype.on,ke.prototype.removeListener=function(je,Ee){var xe=ue.prototype.removeListener.call(this,je,Ee);return je==="readable"&&oe.nextTick(ut,this),xe},ke.prototype.removeAllListeners=function(je){var Ee=ue.prototype.removeAllListeners.apply(this,arguments);return(je==="readable"||je===void 0)&&oe.nextTick(ut,this),Ee};function ut(je){var Ee=je._readableState;Ee.readableListening=je.listenerCount("readable")>0,Ee.resumeScheduled&&!Ee.paused?Ee.flowing=!0:je.listenerCount("data")>0&&je.resume()}function _e(je){x("readable nexttick read 0"),je.read(0)}ke.prototype.resume=function(){var je=this._readableState;return je.flowing||(x("resume"),je.flowing=!je.readableListening,We(this,je)),je.paused=!1,this};function We(je,Ee){Ee.resumeScheduled||(Ee.resumeScheduled=!0,oe.nextTick(Te,je,Ee))}function Te(je,Ee){x("resume",Ee.reading),Ee.reading||je.read(0),Ee.resumeScheduled=!1,je.emit("resume"),Je(je),Ee.flowing&&!Ee.reading&&je.read(0)}ke.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Je(je){var Ee=je._readableState;for(x("flow",Ee.flowing);Ee.flowing&&je.read()!==null;);}ke.prototype.wrap=function(je){var Ee=this,xe=this._readableState,we=!1;je.on("end",function(){if(x("wrapped end"),xe.decoder&&!xe.ended){var Ke=xe.decoder.end();Ke&&Ke.length&&Ee.push(Ke)}Ee.push(null)}),je.on("data",function(Ke){if(x("wrapped data"),xe.decoder&&(Ke=xe.decoder.write(Ke)),!(xe.objectMode&&Ke==null)&&!(!xe.objectMode&&(!Ke||!Ke.length))){var Ne=Ee.push(Ke);Ne||(we=!0,je.pause())}});for(var Be in je)this[Be]===void 0&&typeof je[Be]=="function"&&(this[Be]=function(Ne){return function(){return je[Ne].apply(je,arguments)}}(Be));for(var Ze=0;Ze=Ee.length?(Ee.decoder?xe=Ee.buffer.join(""):Ee.buffer.length===1?xe=Ee.buffer.first():xe=Ee.buffer.concat(Ee.length),Ee.buffer.clear()):xe=Ee.buffer.consume(je,Ee.decoder),xe}function Ie(je){var Ee=je._readableState;x("endReadable",Ee.endEmitted),Ee.endEmitted||(Ee.ended=!0,oe.nextTick(Xe,Ee,je))}function Xe(je,Ee){if(x("endReadableNT",je.endEmitted,je.length),!je.endEmitted&&je.length===0&&(je.endEmitted=!0,Ee.readable=!1,Ee.emit("end"),je.autoDestroy)){var xe=Ee._writableState;(!xe||xe.autoDestroy&&xe.finished)&&Ee.destroy()}}typeof Symbol=="function"&&(ke.from=function(je,Ee){return Se===void 0&&(Se=E("./internal/streams/from")),Se(ke,je,Ee)});function He(je,Ee){for(var xe=0,we=je.length;xe-1))throw new ye(Fe);return this._writableState.defaultEncoding=Fe,this},Object.defineProperty(De.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function et(Je,Fe,Ie){return!Je.objectMode&&Je.decodeStrings!==!1&&typeof Fe=="string"&&(Fe=ie.from(Fe,Ie)),Fe}Object.defineProperty(De.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ge(Je,Fe,Ie,Xe,He,je){if(!Ie){var Ee=et(Fe,Xe,He);Xe!==Ee&&(Ie=!0,He="buffer",Xe=Ee)}var xe=Fe.objectMode?1:Xe.length;Fe.length+=xe;var we=Fe.length0?this.tail.next=me:this.head=me,this.tail=me,++this.length}},{key:"unshift",value:function(ce){var me={data:ce,next:this.head};this.length===0&&(this.tail=me),this.head=me,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ce=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ce}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ce){if(this.length===0)return"";for(var me=this.head,ve=""+me.data;me=me.next;)ve+=ce+me.data;return ve}},{key:"concat",value:function(ce){if(this.length===0)return a.alloc(0);for(var me=a.allocUnsafe(ce>>>0),ve=this.head,ge=0;ve;)z(ve.data,me,ge),ge+=ve.data.length,ve=ve.next;return me}},{key:"consume",value:function(ce,me){var ve;return cepe.length?pe.length:ce;if(fe===pe.length?ge+=pe:ge+=pe.slice(0,ce),ce-=fe,ce===0){fe===pe.length?(++ve,me.next?this.head=me.next:this.head=this.tail=null):(this.head=me,me.data=pe.slice(fe));break}++ve}return this.length-=ve,ge}},{key:"_getBuffer",value:function(ce){var me=a.allocUnsafe(ce),ve=this.head,ge=1;for(ve.data.copy(me),ce-=ve.data.length;ve=ve.next;){var pe=ve.data,fe=ce>pe.length?pe.length:ce;if(pe.copy(me,me.length-ce,0,fe),ce-=fe,ce===0){fe===pe.length?(++ge,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=pe.slice(fe));break}++ge}return this.length-=ge,me}},{key:b,value:function(ce,me){return x(this,te(te({},me),{},{depth:0,customInspect:!1}))}}]),ee}()},{buffer:90,util:89}],407:[function(E,Pe,be){(function(oe){(function(){"use strict";function te(ie,ne){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ne?ne(ie):ie&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,oe.nextTick(ue,this,ie)):oe.nextTick(ue,this,ie)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ie||null,function(b){!ne&&b?a._writableState?a._writableState.errorEmitted?oe.nextTick(de,a):(a._writableState.errorEmitted=!0,oe.nextTick(se,a,b)):oe.nextTick(se,a,b):ne?(oe.nextTick(de,a),ne(b)):oe.nextTick(de,a)}),this)}function se(ie,ne){ue(ie,ne),de(ie)}function de(ie){ie._writableState&&!ie._writableState.emitClose||ie._readableState&&!ie._readableState.emitClose||ie.emit("close")}function le(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ue(ie,ne){ie.emit("error",ne)}function ae(ie,ne){var a=ie._readableState,y=ie._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ie.destroy(ne):ie.emit("error",ne)}Pe.exports={destroy:te,undestroy:le,errorOrDestroy:ae}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,Pe,be){"use strict";var oe=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function te(ue){var ae=!1;return function(){if(!ae){ae=!0;for(var ie=arguments.length,ne=new Array(ie),a=0;a0;return ie(ve,pe,fe,function(ye){ce||(ce=ye),ye&&me.forEach(ne),!pe&&(me.forEach(ne),re(ce))})});return z.reduce(a)}Pe.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,Pe,be){"use strict";var oe=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function te(de,le,ue){return de.highWaterMark!=null?de.highWaterMark:le?de[ue]:null}function se(de,le,ue,ae){var ie=te(le,ae,ue);if(ie!=null){if(!(isFinite(ie)&&Math.floor(ie)===ie)||ie<0){var ne=ae?ue:"highWaterMark";throw new oe(ne,ie)}return Math.floor(ie)}return de.objectMode?16:16*1024}Pe.exports={getHighWaterMark:se}},{"../../../errors":399}],412:[function(E,Pe,be){arguments[4][393][0].apply(be,arguments)},{dup:393,events:344}],413:[function(E,Pe,be){"use strict";var oe=E("safe-buffer").Buffer,te=oe.isEncoding||function(me){switch(me=""+me,me&&me.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function se(me){if(!me)return"utf8";for(var ve;;)switch(me){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return me;default:if(ve)return;me=(""+me).toLowerCase(),ve=!0}}function de(me){var ve=se(me);if(typeof ve!="string"&&(oe.isEncoding===te||!te(me)))throw new Error("Unknown encoding: "+me);return ve||me}be.StringDecoder=le;function le(me){this.encoding=de(me);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=ne,ve=4;break;case"base64":this.text=z,this.end=ee,ve=3;break;default:this.write=re,this.end=ce;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=oe.allocUnsafe(ve)}le.prototype.write=function(me){if(me.length===0)return"";var ve,ge;if(this.lastNeed){if(ve=this.fillLast(me),ve===void 0)return"";ge=this.lastNeed,this.lastNeed=0}else ge=0;return ge>5===6?2:me>>4===14?3:me>>3===30?4:me>>6===2?-1:-2}function ae(me,ve,ge){var pe=ve.length-1;if(pe=0?(fe>0&&(me.lastNeed=fe-1),fe):--pe=0?(fe>0&&(me.lastNeed=fe-2),fe):--pe=0?(fe>0&&(fe===2?fe=0:me.lastNeed=fe-3),fe):0))}function ie(me,ve,ge){if((ve[0]&192)!==128)return me.lastNeed=0,"\uFFFD";if(me.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return me.lastNeed=1,"\uFFFD";if(me.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return me.lastNeed=2,"\uFFFD"}}function ne(me){var ve=this.lastTotal-this.lastNeed,ge=ie(this,me,ve);if(ge!==void 0)return ge;if(this.lastNeed<=me.length)return me.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);me.copy(this.lastChar,ve,0,me.length),this.lastNeed-=me.length}function a(me,ve){var ge=ae(this,me,ve);if(!this.lastNeed)return me.toString("utf8",ve);this.lastTotal=ge;var pe=me.length-(ge-this.lastNeed);return me.copy(this.lastChar,0,pe),me.toString("utf8",ve,pe)}function y(me){var ve=me&&me.length?this.write(me):"";return this.lastNeed?ve+"\uFFFD":ve}function x(me,ve){if((me.length-ve)%2===0){var ge=me.toString("utf16le",ve);if(ge){var pe=ge.charCodeAt(ge.length-1);if(pe>=55296&&pe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=me[me.length-2],this.lastChar[1]=me[me.length-1],ge.slice(0,-1)}return ge}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=me[me.length-1],me.toString("utf16le",ve,me.length-1)}function b(me){var ve=me&&me.length?this.write(me):"";if(this.lastNeed){var ge=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,ge)}return ve}function z(me,ve){var ge=(me.length-ve)%3;return ge===0?me.toString("base64",ve):(this.lastNeed=3-ge,this.lastTotal=3,ge===1?this.lastChar[0]=me[me.length-1]:(this.lastChar[0]=me[me.length-2],this.lastChar[1]=me[me.length-1]),me.toString("base64",ve,me.length-ge))}function ee(me){var ve=me&&me.length?this.write(me):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function re(me){return me.toString(this.encoding)}function ce(me){return me&&me.length?this.write(me):""}},{"safe-buffer":396}],414:[function(E,Pe,be){(function(oe,te){(function(){var se=E("process/browser.js").nextTick,de=Function.prototype.apply,le=Array.prototype.slice,ue={},ae=0;be.setTimeout=function(){return new ie(de.call(setTimeout,window,arguments),clearTimeout)},be.setInterval=function(){return new ie(de.call(setInterval,window,arguments),clearInterval)},be.clearTimeout=be.clearInterval=function(ne){ne.close()};function ie(ne,a){this._id=ne,this._clearFn=a}ie.prototype.unref=ie.prototype.ref=function(){},ie.prototype.close=function(){this._clearFn.call(window,this._id)},be.enroll=function(ne,a){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=a},be.unenroll=function(ne){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=-1},be._unrefActive=be.active=function(ne){clearTimeout(ne._idleTimeoutId);var a=ne._idleTimeout;a>=0&&(ne._idleTimeoutId=setTimeout(function(){ne._onTimeout&&ne._onTimeout()},a))},be.setImmediate=typeof oe=="function"?oe:function(ne){var a=ae++,y=arguments.length<2?!1:le.call(arguments,1);return ue[a]=!0,se(function(){ue[a]&&(y?ne.apply(null,y):ne.call(null),be.clearImmediate(a))}),a},be.clearImmediate=typeof te=="function"?te:function(ne){delete ue[ne]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,Pe,be){var oe=E("buffer").Buffer;Pe.exports=function(te){if(te instanceof Uint8Array){if(te.byteOffset===0&&te.byteLength===te.buffer.byteLength)return te.buffer;if(typeof te.buffer.slice=="function")return te.buffer.slice(te.byteOffset,te.byteOffset+te.byteLength)}if(oe.isBuffer(te)){for(var se=new Uint8Array(te.length),de=te.length,le=0;le=_e)return Je;switch(Je){case"%s":return String(ut[$e++]);case"%d":return Number(ut[$e++]);case"%j":try{return JSON.stringify(ut[$e++])}catch(Fe){return"[Circular]"}default:return Je}}),Te=ut[$e];$e<_e;Te=ut[++$e])ve(Te)||!Ce(Te)?We+=" "+Te:We+=" "+ae(Te);return We},be.deprecate=function(ze,rt){if(typeof oe!="undefined"&&oe.noDeprecation===!0)return ze;if(typeof oe=="undefined")return function(){return be.deprecate(ze,rt).apply(this,arguments)};var $e=!1;function ut(){if(!$e){if(oe.throwDeprecation)throw new Error(rt);oe.traceDeprecation?console.trace(rt):console.error(rt),$e=!0}return ze.apply(this,arguments)}return ut};var de={},le=/^$/;if(oe.env.NODE_DEBUG){var ue=oe.env.NODE_DEBUG;ue=ue.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),le=new RegExp("^"+ue+"$","i")}be.debuglog=function(ze){if(ze=ze.toUpperCase(),!de[ze])if(le.test(ze)){var rt=oe.pid;de[ze]=function(){var $e=be.format.apply(be,arguments);console.error("%s %d: %s",ze,rt,$e)}}else de[ze]=function(){};return de[ze]};function ae(ze,rt){var $e={seen:[],stylize:ne};return arguments.length>=3&&($e.depth=arguments[2]),arguments.length>=4&&($e.colors=arguments[3]),me(rt)?$e.showHidden=rt:rt&&be._extend($e,rt),Se($e.showHidden)&&($e.showHidden=!1),Se($e.depth)&&($e.depth=2),Se($e.colors)&&($e.colors=!1),Se($e.customInspect)&&($e.customInspect=!0),$e.colors&&($e.stylize=ie),y($e,ze,$e.depth)}be.inspect=ae,ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ie(ze,rt){var $e=ae.styles[rt];return $e?"\x1B["+ae.colors[$e][0]+"m"+ze+"\x1B["+ae.colors[$e][1]+"m":ze}function ne(ze,rt){return ze}function a(ze){var rt={};return ze.forEach(function($e,ut){rt[$e]=!0}),rt}function y(ze,rt,$e){if(ze.customInspect&&rt&&ke(rt.inspect)&&rt.inspect!==be.inspect&&!(rt.constructor&&rt.constructor.prototype===rt)){var ut=rt.inspect($e,ze);return fe(ut)||(ut=y(ze,ut,$e)),ut}var _e=x(ze,rt);if(_e)return _e;var We=Object.keys(rt),Te=a(We);if(ze.showHidden&&(We=Object.getOwnPropertyNames(rt)),De(rt)&&(We.indexOf("message")>=0||We.indexOf("description")>=0))return b(rt);if(We.length===0){if(ke(rt)){var Je=rt.name?": "+rt.name:"";return ze.stylize("[Function"+Je+"]","special")}if(Oe(rt))return ze.stylize(RegExp.prototype.toString.call(rt),"regexp");if(Le(rt))return ze.stylize(Date.prototype.toString.call(rt),"date");if(De(rt))return b(rt)}var Fe="",Ie=!1,Xe=["{","}"];if(ce(rt)&&(Ie=!0,Xe=["[","]"]),ke(rt)){var He=rt.name?": "+rt.name:"";Fe=" [Function"+He+"]"}if(Oe(rt)&&(Fe=" "+RegExp.prototype.toString.call(rt)),Le(rt)&&(Fe=" "+Date.prototype.toUTCString.call(rt)),De(rt)&&(Fe=" "+b(rt)),We.length===0&&(!Ie||rt.length==0))return Xe[0]+Fe+Xe[1];if($e<0)return Oe(rt)?ze.stylize(RegExp.prototype.toString.call(rt),"regexp"):ze.stylize("[Object]","special");ze.seen.push(rt);var je;return Ie?je=z(ze,rt,$e,Te,We):je=We.map(function(Ee){return ee(ze,rt,$e,Te,Ee,Ie)}),ze.seen.pop(),re(je,Fe,Xe)}function x(ze,rt){if(Se(rt))return ze.stylize("undefined","undefined");if(fe(rt)){var $e="'"+JSON.stringify(rt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ze.stylize($e,"string")}if(pe(rt))return ze.stylize(""+rt,"number");if(me(rt))return ze.stylize(""+rt,"boolean");if(ve(rt))return ze.stylize("null","null")}function b(ze){return"["+Error.prototype.toString.call(ze)+"]"}function z(ze,rt,$e,ut,_e){for(var We=[],Te=0,Je=rt.length;Te-1&&(We?Je=Je.split(` -`).map(function(Ie){return" "+Ie}).join(` -`).slice(2):Je=` -`+Je.split(` -`).map(function(Ie){return" "+Ie}).join(` -`))):Je=ze.stylize("[Circular]","special")),Se(Te)){if(We&&_e.match(/^\d+$/))return Je;Te=JSON.stringify(""+_e),Te.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Te=Te.slice(1,-1),Te=ze.stylize(Te,"name")):(Te=Te.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Te=ze.stylize(Te,"string"))}return Te+": "+Je}function re(ze,rt,$e){var ut=0,_e=ze.reduce(function(We,Te){return ut++,Te.indexOf(` -`)>=0&&ut++,We+Te.replace(/\u001b\[\d\d?m/g,"").length+1},0);return _e>60?$e[0]+(rt===""?"":rt+` - `)+" "+ze.join(`, - `)+" "+$e[1]:$e[0]+rt+" "+ze.join(", ")+" "+$e[1]}be.types=E("./support/types");function ce(ze){return Array.isArray(ze)}be.isArray=ce;function me(ze){return typeof ze=="boolean"}be.isBoolean=me;function ve(ze){return ze===null}be.isNull=ve;function ge(ze){return ze==null}be.isNullOrUndefined=ge;function pe(ze){return typeof ze=="number"}be.isNumber=pe;function fe(ze){return typeof ze=="string"}be.isString=fe;function ye(ze){return typeof ze=="symbol"}be.isSymbol=ye;function Se(ze){return ze===void 0}be.isUndefined=Se;function Oe(ze){return Ce(ze)&&et(ze)==="[object RegExp]"}be.isRegExp=Oe,be.types.isRegExp=Oe;function Ce(ze){return typeof ze=="object"&&ze!==null}be.isObject=Ce;function Le(ze){return Ce(ze)&&et(ze)==="[object Date]"}be.isDate=Le,be.types.isDate=Le;function De(ze){return Ce(ze)&&(et(ze)==="[object Error]"||ze instanceof Error)}be.isError=De,be.types.isNativeError=De;function ke(ze){return typeof ze=="function"}be.isFunction=ke;function Ue(ze){return ze===null||typeof ze=="boolean"||typeof ze=="number"||typeof ze=="string"||typeof ze=="symbol"||typeof ze=="undefined"}be.isPrimitive=Ue,be.isBuffer=E("./support/isBuffer");function et(ze){return Object.prototype.toString.call(ze)}function Ge(ze){return ze<10?"0"+ze.toString(10):ze.toString(10)}var it=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qe(){var ze=new Date,rt=[Ge(ze.getHours()),Ge(ze.getMinutes()),Ge(ze.getSeconds())].join(":");return[ze.getDate(),it[ze.getMonth()],rt].join(" ")}be.log=function(){console.log("%s - %s",Qe(),be.format.apply(be,arguments))},be.inherits=E("inherits"),be._extend=function(ze,rt){if(!rt||!Ce(rt))return ze;for(var $e=Object.keys(rt),ut=$e.length;ut--;)ze[$e[ut]]=rt[$e[ut]];return ze};function Ye(ze,rt){return Object.prototype.hasOwnProperty.call(ze,rt)}var Ve=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;be.promisify=function(rt){if(typeof rt!="function")throw new TypeError('The "original" argument must be of type Function');if(Ve&&rt[Ve]){var $e=rt[Ve];if(typeof $e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty($e,Ve,{value:$e,enumerable:!1,writable:!1,configurable:!0}),$e}function $e(){for(var ut,_e,We=new Promise(function(Fe,Ie){ut=Fe,_e=Ie}),Te=[],Je=0;Je-1?ve:ve!=="Object"?!1:re(me)}return ue?ee(me):null}}).call(this)}).call(this,typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,Pe,be){(function(){"use strict";be.stripBOM=function(oe){return oe[0]==="\uFEFF"?oe.substring(1):oe}}).call(this)},{}],422:[function(E,Pe,be){(function(){"use strict";var oe,te,se,de,le,ue={}.hasOwnProperty;oe=E("xmlbuilder"),te=E("./defaults").defaults,de=function(ae){return typeof ae=="string"&&(ae.indexOf("&")>=0||ae.indexOf(">")>=0||ae.indexOf("<")>=0)},le=function(ae){return""},se=function(ae){return ae.replace("]]>","]]]]>")},be.Builder=function(){function ae(ie){var ne,a,y;this.options={},a=te["0.2"];for(ne in a)ue.call(a,ne)&&(y=a[ne],this.options[ne]=y);for(ne in ie)ue.call(ie,ne)&&(y=ie[ne],this.options[ne]=y)}return ae.prototype.buildObject=function(ie){var ne,a,y,x,b;return ne=this.options.attrkey,a=this.options.charkey,Object.keys(ie).length===1&&this.options.rootName===te["0.2"].rootName?(b=Object.keys(ie)[0],ie=ie[b]):b=this.options.rootName,y=function(z){return function(ee,re){var ce,me,ve,ge,pe,fe;if(typeof re!="object")z.options.cdata&&de(re)?ee.raw(le(re)):ee.txt(re);else if(Array.isArray(re)){for(ge in re)if(ue.call(re,ge)){me=re[ge];for(pe in me)ve=me[pe],ee=y(ee.ele(pe),ve).up()}}else for(pe in re)if(ue.call(re,pe))if(me=re[pe],pe===ne){if(typeof me=="object")for(ce in me)fe=me[ce],ee=ee.att(ce,fe)}else if(pe===a)z.options.cdata&&de(me)?ee=ee.raw(le(me)):ee=ee.txt(me);else if(Array.isArray(me))for(ge in me)ue.call(me,ge)&&(ve=me[ge],typeof ve=="string"?z.options.cdata&&de(ve)?ee=ee.ele(pe).raw(le(ve)).up():ee=ee.ele(pe,ve).up():ee=y(ee.ele(pe),ve).up());else typeof me=="object"?ee=y(ee.ele(pe),me).up():typeof me=="string"&&z.options.cdata&&de(me)?ee=ee.ele(pe).raw(le(me)).up():(me==null&&(me=""),ee=ee.ele(pe,me.toString()).up());return ee}}(this),x=oe.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ie).end(this.options.renderOpts)},ae}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,Pe,be){(function(){be.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` -`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,Pe,be){(function(){"use strict";var oe,te,se,de,le,ue,ae,ie,ne,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var ee in z)x.call(z,ee)&&(b[ee]=z[ee]);function re(){this.constructor=b}return re.prototype=z.prototype,b.prototype=new re,b.__super__=z.prototype,b},x={}.hasOwnProperty;ie=E("sax"),de=E("events"),oe=E("./bom"),ae=E("./processors"),ne=E("timers").setImmediate,te=E("./defaults").defaults,le=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ue=function(b,z,ee){var re,ce,me;for(re=0,ce=b.length;re0&&(ye[ve.options.childkey]=Oe),Oe=ye;else if(De){De[ve.options.childkey]=De[ve.options.childkey]||[],Ce={};for(fe in Oe)x.call(Oe,fe)&&se(Ce,fe,Oe[fe]);De[ve.options.childkey].push(Ce),delete Oe["#name"],Object.keys(Oe).length===1&&re in Oe&&!ve.EXPLICIT_CHARKEY&&(Oe=Oe[re])}}return me.length>0?ve.assignOrPush(De,Se,Oe):(ve.options.explicitRoot&&(Le=Oe,Oe={},se(Oe,Se,Le)),ve.resultObject=Oe,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),ce=function(ve){return function(ge){var pe,fe;if(fe=me[me.length-1],fe)return fe[re]+=ge,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||ge.replace(/\\n/g,"").trim()!=="")&&(fe[ve.options.childkey]=fe[ve.options.childkey]||[],pe={"#name":"__text__"},pe[re]=ge,ve.options.normalize&&(pe[re]=pe[re].replace(/\s{2,}/g," ").trim()),fe[ve.options.childkey].push(pe)),fe}}(this),this.saxParser.ontext=ce,this.saxParser.oncdata=function(ve){return function(ge){var pe;if(pe=ce(ge),pe)return pe.cdata=!0}}(this)},z.prototype.parseString=function(ee,re){var ce;re!=null&&typeof re=="function"&&(this.on("end",function(me){return this.reset(),re(null,me)}),this.on("error",function(me){return this.reset(),re(me)}));try{return ee=ee.toString(),ee.trim()===""?(this.emit("end",null),!0):(ee=oe.stripBOM(ee),this.options.async?(this.remaining=ee,ne(this.processAsync),this.saxParser):this.saxParser.write(ee).close())}catch(me){if(ce=me,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw ce}else return this.emit("error",ce),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(ee){return new Promise(function(re){return function(ce,me){return re.parseString(ee,function(ve,ge){return ve?me(ve):ce(ge)})}}(this))},z}(de),be.parseString=function(b,z,ee){var re,ce,me;return ee!=null?(typeof ee=="function"&&(re=ee),typeof z=="object"&&(ce=z)):(typeof z=="function"&&(re=z),ce={}),me=new be.Parser(ce),me.parseString(b,re)},be.parseStringPromise=function(b,z){var ee,re;return typeof z=="object"&&(ee=z),re=new be.Parser(ee),re.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,Pe,be){(function(){"use strict";var oe;oe=new RegExp(/(?!xmlns)^.*:/),be.normalize=function(te){return te.toLowerCase()},be.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},be.stripPrefix=function(te){return te.replace(oe,"")},be.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},be.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(E,Pe,be){(function(){"use strict";var oe,te,se,de,le=function(ae,ie){for(var ne in ie)ue.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ue={}.hasOwnProperty;te=E("./defaults"),oe=E("./builder"),se=E("./parser"),de=E("./processors"),be.defaults=te.defaults,be.processors=de,be.ValidationError=function(ae){le(ie,ae);function ie(ne){this.message=ne}return ie}(Error),be.Builder=oe.Builder,be.Parser=se.Parser,be.parseString=se.parseString,be.parseStringPromise=se.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,Pe,be){(function(){Pe.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,Pe,be){(function(){Pe.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,Pe,be){(function(){var oe,te,se,de,le,ue,ae,ie=[].slice,ne={}.hasOwnProperty;oe=function(){var a,y,x,b,z,ee;if(ee=arguments[0],z=2<=arguments.length?ie.call(arguments,1):[],le(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a":"attribute: {"+le+"}, parent: <"+this.parent.name+">"},de.prototype.isEqualNode=function(le){return!(le.namespaceURI!==this.namespaceURI||le.prefix!==this.prefix||le.localName!==this.localName||le.value!==this.value)},de}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,Pe,be){(function(){var oe,te,se,de=function(ue,ae){for(var ie in ae)le.call(ae,ie)&&(ue[ie]=ae[ie]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;oe=E("./NodeType"),se=E("./XMLCharacterData"),Pe.exports=te=function(ue){de(ae,ue);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=oe.CData,this.value=this.stringify.cdata(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.cdata(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,Pe,be){(function(){var oe,te,se=function(le,ue){for(var ae in ue)de.call(ue,ae)&&(le[ae]=ue[ae]);function ie(){this.constructor=le}return ie.prototype=ue.prototype,le.prototype=new ie,le.__super__=ue.prototype,le},de={}.hasOwnProperty;te=E("./XMLNode"),Pe.exports=oe=function(le){se(ue,le);function ue(ae){ue.__super__.constructor.call(this,ae),this.value=""}return Object.defineProperty(ue.prototype,"data",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),Object.defineProperty(ue.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ue.prototype,"textContent",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),ue.prototype.clone=function(){return Object.create(this)},ue.prototype.substringData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.appendData=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.insertData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.deleteData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.replaceData=function(ae,ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ue.prototype.isEqualNode=function(ae){return!(!ue.__super__.isEqualNode.apply(this,arguments).isEqualNode(ae)||ae.data!==this.data)},ue}(te)}).call(this)},{"./XMLNode":450}],434:[function(E,Pe,be){(function(){var oe,te,se,de=function(ue,ae){for(var ie in ae)le.call(ae,ie)&&(ue[ie]=ae[ie]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),Pe.exports=se=function(ue){de(ae,ue);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=oe.Comment,this.value=this.stringify.comment(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.comment(this,this.options.writer.filterOptions(ie))},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,Pe,be){(function(){var oe,te,se;te=E("./XMLDOMErrorHandler"),se=E("./XMLDOMStringList"),Pe.exports=oe=function(){function de(){var le;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new te,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=le=Object.create(this.defaultParams)}return Object.defineProperty(de.prototype,"parameterNames",{get:function(){return new se(Object.keys(this.defaultParams))}}),de.prototype.getParameter=function(le){return this.params.hasOwnProperty(le)?this.params[le]:null},de.prototype.canSetParameter=function(le,ue){return!0},de.prototype.setParameter=function(le,ue){return ue!=null?this.params[le]=ue:delete this.params[le]},de}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,Pe,be){(function(){var oe;Pe.exports=oe=function(){function te(){}return te.prototype.handleError=function(se){throw new Error(se)},te}()}).call(this)},{}],437:[function(E,Pe,be){(function(){var oe;Pe.exports=oe=function(){function te(){}return te.prototype.hasFeature=function(se,de){return!0},te.prototype.createDocumentType=function(se,de,le){throw new Error("This DOM method is not implemented.")},te.prototype.createDocument=function(se,de,le){throw new Error("This DOM method is not implemented.")},te.prototype.createHTMLDocument=function(se){throw new Error("This DOM method is not implemented.")},te.prototype.getFeature=function(se,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],438:[function(E,Pe,be){(function(){var oe;Pe.exports=oe=function(){function te(se){this.arr=se||[]}return Object.defineProperty(te.prototype,"length",{get:function(){return this.arr.length}}),te.prototype.item=function(se){return this.arr[se]||null},te.prototype.contains=function(se){return this.arr.indexOf(se)!==-1},te}()}).call(this)},{}],439:[function(E,Pe,be){(function(){var oe,te,se,de=function(ue,ae){for(var ie in ae)le.call(ae,ie)&&(ue[ie]=ae[ie]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Pe.exports=te=function(ue){de(ae,ue);function ae(ie,ne,a,y,x,b){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ne));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ne));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ne));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ne));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ne));this.elementName=this.stringify.name(ne),this.type=oe.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return ae.prototype.toString=function(ie){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,Pe,be){(function(){var oe,te,se,de=function(ue,ae){for(var ie in ae)le.call(ae,ie)&&(ue[ie]=ae[ie]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Pe.exports=te=function(ue){de(ae,ue);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ne),this.type=oe.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return ae.prototype.toString=function(ie){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,Pe,be){(function(){var oe,te,se,de,le=function(ae,ie){for(var ne in ie)ue.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ue={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),oe=E("./NodeType"),Pe.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){if(ie.__super__.constructor.call(this,ne),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=oe.EntityDeclaration,!de(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(ie.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ie.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ie.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ie.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlVersion",{get:function(){return null}}),ie.prototype.toString=function(ne){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ne))},ie}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,Pe,be){(function(){var oe,te,se,de=function(ue,ae){for(var ie in ae)le.call(ae,ie)&&(ue[ie]=ae[ie]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Pe.exports=te=function(ue){de(ae,ue);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ne));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ne));this.name=this.stringify.name(ne),this.type=oe.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(ae.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ae.prototype,"systemId",{get:function(){return this.sysID}}),ae.prototype.toString=function(ie){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,Pe,be){(function(){var oe,te,se,de,le=function(ae,ie){for(var ne in ie)ue.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ue={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),oe=E("./NodeType"),Pe.exports=te=function(ae){le(ie,ae);function ie(ne,a,y,x){var b;ie.__super__.constructor.call(this,ne),de(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=oe.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ie.prototype.toString=function(ne){return this.options.writer.declaration(this,this.options.writer.filterOptions(ne))},ie}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,Pe,be){(function(){var oe,te,se,de,le,ue,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility").isObject,ie=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLDTDAttList"),de=E("./XMLDTDEntity"),se=E("./XMLDTDElement"),le=E("./XMLDTDNotation"),ae=E("./XMLNamedNodeMap"),Pe.exports=ue=function(x){a(b,x);function b(z,ee,re){var ce,me,ve,ge,pe,fe;if(b.__super__.constructor.call(this,z),this.type=oe.DocType,z.children){for(ge=z.children,me=0,ve=ge.length;me=0;)this.up();return this.onEnd()},Ce.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ce.prototype.openNode=function(Le){var De,ke,Ue,et;if(!Le.isOpen){if(!this.root&&this.currentLevel===0&&Le.type===oe.Element&&(this.root=Le),ke="",Le.type===oe.Element){this.writerOptions.state=te.OpenTag,ke=this.writer.indent(Le,this.writerOptions,this.currentLevel)+"<"+Le.name,et=Le.attribs;for(Ue in et)Oe.call(et,Ue)&&(De=et[Ue],ke+=this.writer.attribute(De,this.writerOptions,this.currentLevel));ke+=(Le.children?">":"/>")+this.writer.endline(Le,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,ke=this.writer.indent(Le,this.writerOptions,this.currentLevel)+""),ke+=this.writer.endline(Le,this.writerOptions,this.currentLevel);return this.onData(ke,this.currentLevel),Le.isOpen=!0}},Ce.prototype.closeNode=function(Le){var De;if(!Le.isClosed)return De="",this.writerOptions.state=te.CloseTag,Le.type===oe.Element?De=this.writer.indent(Le,this.writerOptions,this.currentLevel)+""+this.writer.endline(Le,this.writerOptions,this.currentLevel):De=this.writer.indent(Le,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Le,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(De,this.currentLevel),Le.isClosed=!0},Ce.prototype.onData=function(Le,De){return this.documentStarted=!0,this.onDataCallback(Le,De+1)},Ce.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ce.prototype.debugInfo=function(Le){return Le==null?"":"node: <"+Le+">"},Ce.prototype.ele=function(){return this.element.apply(this,arguments)},Ce.prototype.nod=function(Le,De,ke){return this.node(Le,De,ke)},Ce.prototype.txt=function(Le){return this.text(Le)},Ce.prototype.dat=function(Le){return this.cdata(Le)},Ce.prototype.com=function(Le){return this.comment(Le)},Ce.prototype.ins=function(Le,De){return this.instruction(Le,De)},Ce.prototype.dec=function(Le,De,ke){return this.declaration(Le,De,ke)},Ce.prototype.dtd=function(Le,De,ke){return this.doctype(Le,De,ke)},Ce.prototype.e=function(Le,De,ke){return this.element(Le,De,ke)},Ce.prototype.n=function(Le,De,ke){return this.node(Le,De,ke)},Ce.prototype.t=function(Le){return this.text(Le)},Ce.prototype.d=function(Le){return this.cdata(Le)},Ce.prototype.c=function(Le){return this.comment(Le)},Ce.prototype.r=function(Le){return this.raw(Le)},Ce.prototype.i=function(Le,De){return this.instruction(Le,De)},Ce.prototype.att=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.a=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.ent=function(Le,De){return this.entity(Le,De)},Ce.prototype.pent=function(Le,De){return this.pEntity(Le,De)},Ce.prototype.not=function(Le,De){return this.notation(Le,De)},Ce}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,Pe,be){(function(){var oe,te,se,de=function(ue,ae){for(var ie in ae)le.call(ae,ie)&&(ue[ie]=ae[ie]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},le={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Pe.exports=te=function(ue){de(ae,ue);function ae(ie){ae.__super__.constructor.call(this,ie),this.type=oe.Dummy}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return""},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,Pe,be){(function(){var oe,te,se,de,le,ue,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility"),ie=ne.isObject,ae=ne.isFunction,ue=ne.getValue,le=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLAttribute"),de=E("./XMLNamedNodeMap"),Pe.exports=se=function(x){a(b,x);function b(z,ee,re){var ce,me,ve,ge;if(b.__super__.constructor.call(this,z),ee==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ee),this.type=oe.Element,this.attribs={},this.schemaTypeInfo=null,re!=null&&this.attribute(re),z.type===oe.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(ge=z.children,me=0,ve=ge.length;me=ce;ee=0<=ce?++re:--re)if(!this.attribs[ee].isEqualNode(z.attribs[ee]))return!1;return!0},b}(le)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,Pe,be){(function(){var oe;Pe.exports=oe=function(){function te(se){this.nodes=se}return Object.defineProperty(te.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.getNamedItem=function(se){return this.nodes[se]},te.prototype.setNamedItem=function(se){var de;return de=this.nodes[se.nodeName],this.nodes[se.nodeName]=se,de||null},te.prototype.removeNamedItem=function(se){var de;return de=this.nodes[se],delete this.nodes[se],de||null},te.prototype.item=function(se){return this.nodes[Object.keys(this.nodes)[se]]||null},te.prototype.getNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},te.prototype.setNamedItemNS=function(se){throw new Error("This DOM method is not implemented.")},te.prototype.removeNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],450:[function(E,Pe,be){(function(){var oe,te,se,de,le,ue,ae,ie,ne,a,y,x,b,z,ee,re,ce,me,ve,ge={}.hasOwnProperty;ve=E("./Utility"),me=ve.isObject,ce=ve.isFunction,re=ve.isEmpty,ee=ve.getValue,ie=null,se=null,de=null,le=null,ue=null,b=null,z=null,x=null,ae=null,te=null,y=null,ne=null,oe=null,Pe.exports=a=function(){function pe(fe){this.parent=fe,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ie||(ie=E("./XMLElement"),se=E("./XMLCData"),de=E("./XMLComment"),le=E("./XMLDeclaration"),ue=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),ae=E("./XMLDummy"),te=E("./NodeType"),y=E("./XMLNodeList"),ne=E("./XMLNamedNodeMap"),oe=E("./DocumentPosition"))}return Object.defineProperty(pe.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(pe.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(pe.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(pe.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(pe.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(pe.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(pe.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(pe.prototype,"previousSibling",{get:function(){var fe;return fe=this.parent.children.indexOf(this),this.parent.children[fe-1]||null}}),Object.defineProperty(pe.prototype,"nextSibling",{get:function(){var fe;return fe=this.parent.children.indexOf(this),this.parent.children[fe+1]||null}}),Object.defineProperty(pe.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(pe.prototype,"textContent",{get:function(){var fe,ye,Se,Oe,Ce;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(Ce="",Oe=this.children,ye=0,Se=Oe.length;ye":(Se=this.parent)!=null&&Se.name?"node: <"+fe+">, parent: <"+this.parent.name+">":"node: <"+fe+">"},pe.prototype.ele=function(fe,ye,Se){return this.element(fe,ye,Se)},pe.prototype.nod=function(fe,ye,Se){return this.node(fe,ye,Se)},pe.prototype.txt=function(fe){return this.text(fe)},pe.prototype.dat=function(fe){return this.cdata(fe)},pe.prototype.com=function(fe){return this.comment(fe)},pe.prototype.ins=function(fe,ye){return this.instruction(fe,ye)},pe.prototype.doc=function(){return this.document()},pe.prototype.dec=function(fe,ye,Se){return this.declaration(fe,ye,Se)},pe.prototype.e=function(fe,ye,Se){return this.element(fe,ye,Se)},pe.prototype.n=function(fe,ye,Se){return this.node(fe,ye,Se)},pe.prototype.t=function(fe){return this.text(fe)},pe.prototype.d=function(fe){return this.cdata(fe)},pe.prototype.c=function(fe){return this.comment(fe)},pe.prototype.r=function(fe){return this.raw(fe)},pe.prototype.i=function(fe,ye){return this.instruction(fe,ye)},pe.prototype.u=function(){return this.up()},pe.prototype.importXMLBuilder=function(fe){return this.importDocument(fe)},pe.prototype.replaceChild=function(fe,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.removeChild=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.appendChild=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.hasChildNodes=function(){return this.children.length!==0},pe.prototype.cloneNode=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isSupported=function(fe,ye){return!0},pe.prototype.hasAttributes=function(){return this.attribs.length!==0},pe.prototype.compareDocumentPosition=function(fe){var ye,Se;return ye=this,ye===fe?0:this.document()!==fe.document()?(Se=oe.Disconnected|oe.ImplementationSpecific,Math.random()<.5?Se|=oe.Preceding:Se|=oe.Following,Se):ye.isAncestor(fe)?oe.Contains|oe.Preceding:ye.isDescendant(fe)?oe.Contains|oe.Following:ye.isPreceding(fe)?oe.Preceding:oe.Following},pe.prototype.isSameNode=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupPrefix=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isDefaultNamespace=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.lookupNamespaceURI=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.isEqualNode=function(fe){var ye,Se,Oe;if(fe.nodeType!==this.nodeType||fe.children.length!==this.children.length)return!1;for(ye=Se=0,Oe=this.children.length-1;0<=Oe?Se<=Oe:Se>=Oe;ye=0<=Oe?++Se:--Se)if(!this.children[ye].isEqualNode(fe.children[ye]))return!1;return!0},pe.prototype.getFeature=function(fe,ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.setUserData=function(fe,ye,Se){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.getUserData=function(fe){throw new Error("This DOM method is not implemented."+this.debugInfo())},pe.prototype.contains=function(fe){return fe?fe===this||this.isDescendant(fe):!1},pe.prototype.isDescendant=function(fe){var ye,Se,Oe,Ce,Le;for(Le=this.children,Oe=0,Ce=Le.length;OeSe},pe.prototype.treePosition=function(fe){var ye,Se;return Se=0,ye=!1,this.foreachTreeNode(this.document(),function(Oe){if(Se++,!ye&&Oe===fe)return ye=!0}),ye?Se:-1},pe.prototype.foreachTreeNode=function(fe,ye){var Se,Oe,Ce,Le,De;for(fe||(fe=this.document()),Le=fe.children,Oe=0,Ce=Le.length;Oe0){for(this.stream.write(" ["),this.stream.write(this.endline(ne,a,y)),a.state=te.InsideTag,ee=ne.children,b=0,z=ee.length;b"),this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.element=function(ne,a,y){var x,b,z,ee,re,ce,me,ve,ge,pe;y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)+"<"+ne.name),ge=ne.attribs;for(me in ge)ue.call(ge,me)&&(x=ge[me],this.attribute(x,a,y));if(z=ne.children.length,ee=z===0?null:ne.children[0],z===0||ne.children.every(function(fe){return(fe.type===oe.Text||fe.type===oe.Raw)&&fe.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=te.CloseTag,this.stream.write("")):(a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(ee.type===oe.Text||ee.type===oe.Raw)&&ee.value!=null)this.stream.write(">"),a.state=te.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(ee,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=te.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ne,a,y)),a.state=te.InsideTag,pe=ne.children,re=0,ce=pe.length;re")}return this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.processingInstruction=function(ne,a,y){return this.stream.write(ie.__super__.processingInstruction.call(this,ne,a,y))},ie.prototype.raw=function(ne,a,y){return this.stream.write(ie.__super__.raw.call(this,ne,a,y))},ie.prototype.text=function(ne,a,y){return this.stream.write(ie.__super__.text.call(this,ne,a,y))},ie.prototype.dtdAttList=function(ne,a,y){return this.stream.write(ie.__super__.dtdAttList.call(this,ne,a,y))},ie.prototype.dtdElement=function(ne,a,y){return this.stream.write(ie.__super__.dtdElement.call(this,ne,a,y))},ie.prototype.dtdEntity=function(ne,a,y){return this.stream.write(ie.__super__.dtdEntity.call(this,ne,a,y))},ie.prototype.dtdNotation=function(ne,a,y){return this.stream.write(ie.__super__.dtdNotation.call(this,ne,a,y))},ie}(de)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,Pe,be){(function(){var oe,te,se=function(le,ue){for(var ae in ue)de.call(ue,ae)&&(le[ae]=ue[ae]);function ie(){this.constructor=le}return ie.prototype=ue.prototype,le.prototype=new ie,le.__super__=ue.prototype,le},de={}.hasOwnProperty;te=E("./XMLWriterBase"),Pe.exports=oe=function(le){se(ue,le);function ue(ae){ue.__super__.constructor.call(this,ae)}return ue.prototype.document=function(ae,ie){var ne,a,y,x,b;for(ie=this.filterOptions(ie),x="",b=ae.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(le))},de.prototype.comment=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+le);return this.assertLegalChar(le)},de.prototype.raw=function(le){return this.options.noValidation?le:""+le||""},de.prototype.attValue=function(le){return this.options.noValidation?le:this.assertLegalChar(this.attEscape(le=""+le||""))},de.prototype.insTarget=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.insValue=function(le){if(this.options.noValidation)return le;if(le=""+le||"",le.match(/\?>/))throw new Error("Invalid processing instruction value: "+le);return this.assertLegalChar(le)},de.prototype.xmlVersion=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+le);return le},de.prototype.xmlEncoding=function(le){if(this.options.noValidation)return le;if(le=""+le||"",!le.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+le);return this.assertLegalChar(le)},de.prototype.xmlStandalone=function(le){return this.options.noValidation?le:le?"yes":"no"},de.prototype.dtdPubID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdSysID=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdElementValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdAttType=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdAttDefault=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdEntityValue=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.dtdNData=function(le){return this.options.noValidation?le:this.assertLegalChar(""+le||"")},de.prototype.convertAttKey="@",de.prototype.convertPIKey="?",de.prototype.convertTextKey="#text",de.prototype.convertCDataKey="#cdata",de.prototype.convertCommentKey="#comment",de.prototype.convertRawKey="#raw",de.prototype.assertLegalChar=function(le){var ue,ae;if(this.options.noValidation)return le;if(ue="",this.options.version==="1.0"){if(ue=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(ue))throw new Error("Invalid character in string: "+le+" at index "+ae.index)}else if(this.options.version==="1.1"&&(ue=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=le.match(ue)))throw new Error("Invalid character in string: "+le+" at index "+ae.index);return le},de.prototype.assertLegalName=function(le){var ue;if(this.options.noValidation)return le;if(this.assertLegalChar(le),ue=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!le.match(ue))throw new Error("Invalid character in name");return le},de.prototype.textEscape=function(le){var ue;return this.options.noValidation?le:(ue=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(ue,"&").replace(//g,">").replace(/\r/g," "))},de.prototype.attEscape=function(le){var ue;return this.options.noValidation?le:(ue=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,le.replace(ue,"&").replace(/0)?new Array(ye).join(pe.indent):""},ve.prototype.endline=function(ge,pe,fe){return!pe.pretty||pe.suppressPrettyCount?"":pe.newline},ve.prototype.attribute=function(ge,pe,fe){var ye;return this.openAttribute(ge,pe,fe),ye=" "+ge.name+'="'+ge.value+'"',this.closeAttribute(ge,pe,fe),ye},ve.prototype.cdata=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+""+this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.comment=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+""+this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.declaration=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+"",ye+=this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.docType=function(ge,pe,fe){var ye,Se,Oe,Ce,Le;if(fe||(fe=0),this.openNode(ge,pe,fe),pe.state=te.OpenTag,Ce=this.indent(ge,pe,fe),Ce+="0){for(Ce+=" [",Ce+=this.endline(ge,pe,fe),pe.state=te.InsideTag,Le=ge.children,Se=0,Oe=Le.length;Se",Ce+=this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),Ce},ve.prototype.element=function(ge,pe,fe){var ye,Se,Oe,Ce,Le,De,ke,Ue,et,Ge,it,Qe,Ye,Ve;fe||(fe=0),Ge=!1,it="",this.openNode(ge,pe,fe),pe.state=te.OpenTag,it+=this.indent(ge,pe,fe)+"<"+ge.name,Qe=ge.attribs;for(et in Qe)me.call(Qe,et)&&(ye=Qe[et],it+=this.attribute(ye,pe,fe));if(Oe=ge.children.length,Ce=Oe===0?null:ge.children[0],Oe===0||ge.children.every(function(Me){return(Me.type===oe.Text||Me.type===oe.Raw)&&Me.value===""}))pe.allowEmpty?(it+=">",pe.state=te.CloseTag,it+=""+this.endline(ge,pe,fe)):(pe.state=te.CloseTag,it+=pe.spaceBeforeSlash+"/>"+this.endline(ge,pe,fe));else if(pe.pretty&&Oe===1&&(Ce.type===oe.Text||Ce.type===oe.Raw)&&Ce.value!=null)it+=">",pe.state=te.InsideTag,pe.suppressPrettyCount++,Ge=!0,it+=this.writeChildNode(Ce,pe,fe+1),pe.suppressPrettyCount--,Ge=!1,pe.state=te.CloseTag,it+=""+this.endline(ge,pe,fe);else{if(pe.dontPrettyTextNodes){for(Ye=ge.children,Le=0,ke=Ye.length;Le"+this.endline(ge,pe,fe),pe.state=te.InsideTag,Ve=ge.children,De=0,Ue=Ve.length;De",Ge&&pe.suppressPrettyCount--,it+=this.endline(ge,pe,fe),pe.state=te.None}return this.closeNode(ge,pe,fe),it},ve.prototype.writeChildNode=function(ge,pe,fe){switch(ge.type){case oe.CData:return this.cdata(ge,pe,fe);case oe.Comment:return this.comment(ge,pe,fe);case oe.Element:return this.element(ge,pe,fe);case oe.Raw:return this.raw(ge,pe,fe);case oe.Text:return this.text(ge,pe,fe);case oe.ProcessingInstruction:return this.processingInstruction(ge,pe,fe);case oe.Dummy:return"";case oe.Declaration:return this.declaration(ge,pe,fe);case oe.DocType:return this.docType(ge,pe,fe);case oe.AttributeDeclaration:return this.dtdAttList(ge,pe,fe);case oe.ElementDeclaration:return this.dtdElement(ge,pe,fe);case oe.EntityDeclaration:return this.dtdEntity(ge,pe,fe);case oe.NotationDeclaration:return this.dtdNotation(ge,pe,fe);default:throw new Error("Unknown XML node type: "+ge.constructor.name)}},ve.prototype.processingInstruction=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+"",ye+=this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.raw=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe),pe.state=te.InsideTag,ye+=ge.value,pe.state=te.CloseTag,ye+=this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.text=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe),pe.state=te.InsideTag,ye+=ge.value,pe.state=te.CloseTag,ye+=this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.dtdAttList=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+""+this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.dtdElement=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+""+this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.dtdEntity=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+""+this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.dtdNotation=function(ge,pe,fe){var ye;return this.openNode(ge,pe,fe),pe.state=te.OpenTag,ye=this.indent(ge,pe,fe)+""+this.endline(ge,pe,fe),pe.state=te.None,this.closeNode(ge,pe,fe),ye},ve.prototype.openNode=function(ge,pe,fe){},ve.prototype.closeNode=function(ge,pe,fe){},ve.prototype.openAttribute=function(ge,pe,fe){},ve.prototype.closeAttribute=function(ge,pe,fe){},ve}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,Pe,be){(function(){var oe,te,se,de,le,ue,ae,ie,ne,a;a=E("./Utility"),ie=a.assign,ne=a.isFunction,se=E("./XMLDOMImplementation"),de=E("./XMLDocument"),le=E("./XMLDocumentCB"),ae=E("./XMLStringWriter"),ue=E("./XMLStreamWriter"),oe=E("./NodeType"),te=E("./WriterState"),Pe.exports.create=function(y,x,b,z){var ee,re;if(y==null)throw new Error("Root element needs a name.");return z=ie({},x,b,z),ee=new de(z),re=ee.element(y),z.headless||(ee.declaration(z),(z.pubID!=null||z.sysID!=null)&&ee.dtd(z)),re},Pe.exports.begin=function(y,x,b){var z;return ne(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new le(y,x,b):new de(y)},Pe.exports.stringWriter=function(y){return new ae(y)},Pe.exports.streamWriter=function(y,x){return new ue(y,x)},Pe.exports.implementation=new se,Pe.exports.nodeType=oe,Pe.exports.writerState=te}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,Pe,be){Pe.exports=te;var oe=Object.prototype.hasOwnProperty;function te(){for(var se={},de=0;dele?y=a(y):y.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,ee=-1732584194,re=271733878,ce=0;ce>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<>>32-x}Pe.exports=function(x){return oe.hash(x,se,16)}},{"./helpers":462}],464:[function(E,Pe,be){"use strict";var oe=E("./helpers");function te(ae,ie){ae[ie>>5]|=128<<24-ie%32,ae[(ie+64>>9<<4)+15]=ie;for(var ne=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,ee=0;ee>16)+(ie>>16)+(ne>>16);return a<<16|ne&65535}function ue(ae,ie){return ae<>>32-ie}Pe.exports=function(ie){return oe.hash(ie,te,20,!0)}},{"./helpers":462}],465:[function(E,Pe,be){"use strict";Pe.exports=function(){return function(){}}},{}],466:[function(E,Pe,be){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),se=te(E("@babel/runtime/helpers/typeof")),de=E("stream"),le=de.Stream,ue=E("../lib/common/utils/isArray"),ae=ue.isArray;Pe.exports.string=function(a){return typeof a=="string"},Pe.exports.array=ae,Pe.exports.buffer=oe.isBuffer;function ie(ne){return ne instanceof le}Pe.exports.writableStream=function(a){return ie(a)&&typeof a._write=="function"&&(0,se.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,Pe,be){"use strict";var oe=E("immediate"),te=Pe.exports={};te.nextTick=oe,te.title="browser",te.browser=!0,te.env={},te.argv=[],te.version="",te.versions={};function se(){}te.on=se,te.addListener=se,te.once=se,te.off=se,te.removeListener=se,te.removeAllListeners=se,te.emit=se,te.prependListener=se,te.prependOnceListener=se,te.listeners=function(de){return[]},te.binding=function(de){throw new Error("process.binding is not supported")},te.cwd=function(){return"/"},te.chdir=function(de){throw new Error("process.chdir is not supported")},te.umask=function(){return 0}},{immediate:358}],468:[function(E,Pe,be){(function(oe){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var te=E("./lib/request"),se=E("./lib/response"),de=E("xtend"),le=E("builtin-status-codes"),ue=E("url"),ae=be;ae.request=function(ie,ne){typeof ie=="string"?ie=ue.parse(ie):ie=de(ie);var a=oe.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ie.protocol||a,x=ie.hostname||ie.host,b=ie.port,z=ie.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ie.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,ie.method=(ie.method||"GET").toUpperCase(),ie.headers=ie.headers||{};var ee=new te(ie);return ne&&ee.on("response",ne),ee},ae.get=function(ne,a){var y=ae.request(ne,a);return y.end(),y},ae.ClientRequest=te,ae.IncomingMessage=se.IncomingMessage,ae.Agent=function(){},ae.Agent.defaultMaxSockets=4,ae.globalAgent=new ae.Agent,ae.STATUS_CODES=le,ae.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,Pe,be){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),be.fetch=ae(oe.fetch)&&ae(oe.ReadableStream),be.writableStream=ae(oe.WritableStream),be.abortController=ae(oe.AbortController),be.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),be.blobConstructor=!0}catch(ie){}var te;function se(){if(te!==void 0)return te;if(oe.XMLHttpRequest){te=new oe.XMLHttpRequest;try{te.open("GET",oe.XDomainRequest?"/":"https://example.com")}catch(ie){te=null}}else te=null;return te}function de(ie){var ne=se();if(!ne)return!1;try{return ne.responseType=ie,ne.responseType===ie}catch(a){}return!1}var le=typeof oe.ArrayBuffer!="undefined",ue=le&&ae(oe.ArrayBuffer.prototype.slice);be.arraybuffer=be.fetch||le&&de("arraybuffer"),be.msstream=!be.fetch&&ue&&de("ms-stream"),be.mozchunkedarraybuffer=!be.fetch&&le&&de("moz-chunked-arraybuffer"),be.overrideMimeType=be.fetch||(se()?ae(se().overrideMimeType):!1),be.vbArray=ae(oe.VBArray);function ae(ie){return typeof ie=="function"}te=null}).call(this)}).call(this,typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,Pe,be){(function(oe,te,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var de=E("./capability"),le=E("inherits"),ue=E("./response"),ae=E("readable-stream"),ie=E("to-arraybuffer"),ne=ue.IncomingMessage,a=ue.readyStates;function y(ee,re){return de.fetch&&re?"fetch":de.mozchunkedarraybuffer?"moz-chunked-arraybuffer":de.msstream?"ms-stream":de.arraybuffer&&ee?"arraybuffer":de.vbArray&&ee?"text:vbarray":"text"}var x=Pe.exports=function(ee){var re=this;ae.Writable.call(re),re._opts=ee,re._body=[],re._headers={},ee.auth&&re.setHeader("Authorization","Basic "+new se(ee.auth).toString("base64")),Object.keys(ee.headers).forEach(function(ve){re.setHeader(ve,ee.headers[ve])});var ce,me=!0;if(ee.mode==="disable-fetch"||"requestTimeout"in ee&&!de.abortController)me=!1,ce=!0;else if(ee.mode==="prefer-streaming")ce=!1;else if(ee.mode==="allow-wrong-content-type")ce=!de.overrideMimeType;else if(!ee.mode||ee.mode==="default"||ee.mode==="prefer-fast")ce=!0;else throw new Error("Invalid value for opts.mode");re._mode=y(ce,me),re._fetchTimer=null,re.on("finish",function(){re._onFinish()})};le(x,ae.Writable),x.prototype.setHeader=function(ee,re){var ce=this,me=ee.toLowerCase();z.indexOf(me)===-1&&(ce._headers[me]={name:ee,value:re})},x.prototype.getHeader=function(ee){var re=this._headers[ee.toLowerCase()];return re?re.value:null},x.prototype.removeHeader=function(ee){var re=this;delete re._headers[ee.toLowerCase()]},x.prototype._onFinish=function(){var ee=this;if(!ee._destroyed){var re=ee._opts,ce=ee._headers,me=null;re.method!=="GET"&&re.method!=="HEAD"&&(de.arraybuffer?me=ie(se.concat(ee._body)):de.blobConstructor?me=new te.Blob(ee._body.map(function(Se){return ie(Se)}),{type:(ce["content-type"]||{}).value||""}):me=se.concat(ee._body).toString());var ve=[];if(Object.keys(ce).forEach(function(Se){var Oe=ce[Se].name,Ce=ce[Se].value;Array.isArray(Ce)?Ce.forEach(function(Le){ve.push([Oe,Le])}):ve.push([Oe,Ce])}),ee._mode==="fetch"){var ge=null,pe=null;if(de.abortController){var fe=new AbortController;ge=fe.signal,ee._fetchAbortController=fe,"requestTimeout"in re&&re.requestTimeout!==0&&(ee._fetchTimer=te.setTimeout(function(){ee.emit("requestTimeout"),ee._fetchAbortController&&ee._fetchAbortController.abort()},re.requestTimeout))}te.fetch(ee._opts.url,{method:ee._opts.method,headers:ve,body:me||void 0,mode:"cors",credentials:re.withCredentials?"include":"same-origin",signal:ge}).then(function(Se){ee._fetchResponse=Se,ee._connect()},function(Se){te.clearTimeout(ee._fetchTimer),ee._destroyed||ee.emit("error",Se)})}else{var ye=ee._xhr=new te.XMLHttpRequest;try{ye.open(ee._opts.method,ee._opts.url,!0)}catch(Se){oe.nextTick(function(){ee.emit("error",Se)});return}"responseType"in ye&&(ye.responseType=ee._mode.split(":")[0]),"withCredentials"in ye&&(ye.withCredentials=!!re.withCredentials),ee._mode==="text"&&"overrideMimeType"in ye&&ye.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in re&&(ye.timeout=re.requestTimeout,ye.ontimeout=function(){ee.emit("requestTimeout")}),ve.forEach(function(Se){ye.setRequestHeader(Se[0],Se[1])}),ee._response=null,ye.onreadystatechange=function(){switch(ye.readyState){case a.LOADING:case a.DONE:ee._onXHRProgress();break}},ee._mode==="moz-chunked-arraybuffer"&&(ye.onprogress=function(){ee._onXHRProgress()}),ye.onerror=function(){ee._destroyed||ee.emit("error",new Error("XHR error"))};try{ye.send(me)}catch(Se){oe.nextTick(function(){ee.emit("error",Se)});return}}}};function b(ee){try{var re=ee.status;return re!==null&&re!==0}catch(ce){return!1}}x.prototype._onXHRProgress=function(){var ee=this;!b(ee._xhr)||ee._destroyed||(ee._response||ee._connect(),ee._response._onXHRProgress())},x.prototype._connect=function(){var ee=this;ee._destroyed||(ee._response=new ne(ee._xhr,ee._fetchResponse,ee._mode,ee._fetchTimer),ee._response.on("error",function(re){ee.emit("error",re)}),ee.emit("response",ee._response))},x.prototype._write=function(ee,re,ce){var me=this;me._body.push(ee),ce()},x.prototype.abort=x.prototype.destroy=function(){var ee=this;ee._destroyed=!0,te.clearTimeout(ee._fetchTimer),ee._response&&(ee._response._destroyed=!0),ee._xhr?ee._xhr.abort():ee._fetchAbortController&&ee._fetchAbortController.abort()},x.prototype.end=function(ee,re,ce){var me=this;typeof ee=="function"&&(ce=ee,ee=void 0),ae.Writable.prototype.end.call(me,ee,re,ce)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,Pe,be){(function(oe,te,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var de=E("./capability"),le=E("inherits"),ue=E("readable-stream"),ae=be.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie=be.IncomingMessage=function(ne,a,y,x){var b=this;if(ue.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){oe.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function ge(){re.read().then(function(pe){if(!b._destroyed){if(pe.done){te.clearTimeout(x),b.push(null);return}b.push(new se(pe.value)),ge()}}).catch(function(pe){te.clearTimeout(x),b._destroyed||b.emit("error",pe)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(ge,pe){b.headers[pe.toLowerCase()]=ge,b.rawHeaders.push(pe,ge)}),de.writableStream){var ee=new WritableStream({write:function(pe){return new Promise(function(fe,ye){b._destroyed?ye():b.push(new se(pe))?fe():b._resumeFetch=fe})},close:function(){te.clearTimeout(x),b._destroyed||b.push(null)},abort:function(pe){b._destroyed||b.emit("error",pe)}});try{a.body.pipeTo(ee).catch(function(ge){te.clearTimeout(x),b._destroyed||b.emit("error",ge)});return}catch(ge){}}var re=a.body.getReader();z()}else{b._xhr=ne,b._pos=0,b.url=ne.responseURL,b.statusCode=ne.status,b.statusMessage=ne.statusText;var ce=ne.getAllResponseHeaders().split(/\r?\n/);if(ce.forEach(function(ge){var pe=ge.match(/^([^:]+):\s*(.*)/);if(pe){var fe=pe[1].toLowerCase();fe==="set-cookie"?(b.headers[fe]===void 0&&(b.headers[fe]=[]),b.headers[fe].push(pe[2])):b.headers[fe]!==void 0?b.headers[fe]+=", "+pe[2]:b.headers[fe]=pe[2],b.rawHeaders.push(pe[1],pe[2])}}),b._charset="x-user-defined",!de.overrideMimeType){var me=b.rawHeaders["mime-type"];if(me){var ve=me.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};le(ie,ue.Readable),ie.prototype._read=function(){var ne=this,a=ne._resumeFetch;a&&(ne._resumeFetch=null,a())},ie.prototype._onXHRProgress=function(){var ne=this,a=ne._xhr,y=null;switch(ne._mode){case"text:vbarray":if(a.readyState!==ae.DONE)break;try{y=new te.VBArray(a.responseBody).toArray()}catch(re){}if(y!==null){ne.push(new se(y));break}case"text":try{y=a.responseText}catch(re){ne._mode="text:vbarray";break}if(y.length>ne._pos){var x=y.substr(ne._pos);if(ne._charset==="x-user-defined"){for(var b=new se(x.length),z=0;zne._pos&&(ne.push(new se(new Uint8Array(ee.result.slice(ne._pos)))),ne._pos=ee.result.byteLength)},ee.onload=function(){ne.push(null)},ee.readAsArrayBuffer(y);break}ne._xhr.readyState===ae.DONE&&ne._mode!=="ms-stream"&&ne.push(null)}}).call(this)}).call(this,E("_process"),typeof Ft!="undefined"?Ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var se=E("punycode"),de=E("./util");be.parse=pe,be.resolve=ye,be.resolveObject=Se,be.format=fe,be.Url=le;function le(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ue=/^([a-z0-9.+-]+:)/i,ae=/:[0-9]*$/,ie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ne=["<",">",'"',"`"," ","\r",` -`," "],a=["{","}","|","\\","^","`"].concat(ne),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,ee=/^[+a-z0-9A-Z_-]{0,63}$/,re=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ce={javascript:!0,"javascript:":!0},me={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},ge=E("querystring");function pe(Oe,Ce,Le){if(Oe&&de.isObject(Oe)&&Oe instanceof le)return Oe;var De=new le;return De.parse(Oe,Ce,Le),De}le.prototype.parse=function(Oe,Ce,Le){if(!de.isString(Oe))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(Oe));var De=Oe.indexOf("?"),ke=De!==-1&&De127?Je+="x":Je+=Te[Fe];if(!Je.match(ee)){var Xe=_e.slice(0,Re),He=_e.slice(Re+1),je=Te.match(re);je&&(Xe.push(je[1]),He.unshift(je[2])),He.length&&(Ge="/"+He.join(".")+Ge),this.hostname=Xe.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),ut||(this.hostname=se.toASCII(this.hostname));var Ee=this.port?":"+this.port:"",xe=this.hostname||"";this.host=xe+Ee,this.href+=this.host,ut&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ge[0]!=="/"&&(Ge="/"+Ge))}if(!ce[Ye])for(var Re=0,We=y.length;Re0?Le.host.split("@"):!1;Je&&(Le.auth=Je.shift(),Le.host=Le.hostname=Je.shift())}return Le.search=Oe.search,Le.query=Oe.query,(!de.isNull(Le.pathname)||!de.isNull(Le.search))&&(Le.path=(Le.pathname?Le.pathname:"")+(Le.search?Le.search:"")),Le.href=Le.format(),Le}if(!_e.length)return Le.pathname=null,Le.search?Le.path="/"+Le.search:Le.path=null,Le.href=Le.format(),Le;for(var Fe=_e.slice(-1)[0],Ie=(Le.host||Oe.host||_e.length>1)&&(Fe==="."||Fe==="..")||Fe==="",Xe=0,He=_e.length;He>=0;He--)Fe=_e[He],Fe==="."?_e.splice(He,1):Fe===".."?(_e.splice(He,1),Xe++):Xe&&(_e.splice(He,1),Xe--);if(!$e&&!ut)for(;Xe--;Xe)_e.unshift("..");$e&&_e[0]!==""&&(!_e[0]||_e[0].charAt(0)!=="/")&&_e.unshift(""),Ie&&_e.join("/").substr(-1)!=="/"&&_e.push("");var je=_e[0]===""||_e[0]&&_e[0].charAt(0)==="/";if(Te){Le.hostname=Le.host=je?"":_e.length?_e.shift():"";var Je=Le.host&&Le.host.indexOf("@")>0?Le.host.split("@"):!1;Je&&(Le.auth=Je.shift(),Le.host=Le.hostname=Je.shift())}return $e=$e||Le.host&&_e.length,$e&&!je&&_e.unshift(""),_e.length?Le.pathname=_e.join("/"):(Le.pathname=null,Le.path=null),(!de.isNull(Le.pathname)||!de.isNull(Le.search))&&(Le.path=(Le.pathname?Le.pathname:"")+(Le.search?Le.search:"")),Le.auth=Oe.auth||Le.auth,Le.slashes=Le.slashes||Oe.slashes,Le.href=Le.format(),Le},le.prototype.parseHost=function(){var Oe=this.host,Ce=ae.exec(Oe);Ce&&(Ce=Ce[0],Ce!==":"&&(this.port=Ce.substr(1)),Oe=Oe.substr(0,Oe.length-Ce.length)),Oe&&(this.hostname=Oe)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,Pe,be){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));Pe.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return(0,te.default)(de)==="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,Pe,be){"use strict";E("core-js/modules/es.number.constructor.js"),be.encodeURIComponent=function(oe){try{return encodeURIComponent(oe)}catch(te){return oe}},be.escape=E("escape-html"),be.timestamp=function(te){if(te){var se=te;return typeof se=="string"&&(se=Number(se)),String(te).length===10&&(se*=1e3),new Date(se)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,Pe,be){(function(oe,te){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var le=E("util"),ue=E("url"),ae=E("http"),ie=E("https"),ne=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(me,ve){return me===void 0?ve:me}function ee(me){return me?me.split(";")[0].trim().toLowerCase():""}function re(me,ve){return function(ge,pe,fe){if(ge)return ve(ge);me({data:pe,status:fe.statusCode,headers:fe.headers,res:fe})}}be.TIMEOUTS=[a("300s"),a("300s")];var ce=["json","text"];be.request=function(ve,ge,pe){return arguments.length===2&&typeof ge=="function"&&(pe=ge,ge=null),typeof pe=="function"?be.requestWithCallback(ve,ge,pe):new Promise(function(fe,ye){be.requestWithCallback(ve,ge,re(fe,ye))})},be.requestWithCallback=function(ve,ge,pe){if(!ve||typeof ve!="string"&&(0,de.default)(ve)!=="object"){var fe=le.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(fe)}arguments.length===2&&typeof ge=="function"&&(pe=ge,ge=null),ge=ge||{},y>=x&&(y=0);var ye=++y;ge.requestUrls=ge.requestUrls||[];var Se={requestId:ye,url:ve,args:ge,ctx:ge.ctx};ge.emitter&&ge.emitter.emit("request",Se),ge.timeout=ge.timeout||be.TIMEOUTS,ge.maxRedirects=ge.maxRedirects||10,ge.streaming=ge.streaming||ge.customResponse;var Oe=Date.now(),Ce;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),Ce=ue.parse(ve)):Ce=ve;var Le=(ge.type||ge.method||Ce.method||"GET").toUpperCase(),De=Ce.port||80,ke=ae,Ue=z(ge.agent,be.agent),et=ge.fixJSONCtlChars;Ce.protocol==="https:"&&(ke=ie,Ue=z(ge.httpsAgent,be.httpsAgent),Ce.port||(De=443));var Ge={host:Ce.hostname||Ce.host||"localhost",path:Ce.path||"/",method:Le,port:De,agent:Ue,headers:ge.headers||{},lookup:ge.lookup};Array.isArray(ge.timeout)?Ge.requestTimeout=ge.timeout[ge.timeout.length-1]:typeof ge.timeout!="undefined"&&(Ge.requestTimeout=ge.timeout);var it=ge.auth||Ce.auth;it&&(Ge.auth=it);var Qe=ge.content||ge.data,Ye=Le==="GET"||Le==="HEAD"||ge.dataAsQueryString;if(!ge.content&&Qe&&!(typeof Qe=="string"||te.isBuffer(Qe)))if(Ye)Qe=ge.nestedQuerystring?qs.stringify(Qe):querystring.stringify(Qe);else{var Ve=Ge.headers["Content-Type"]||Ge.headers["content-type"];Ve||(ge.contentType==="json"?Ve="application/json":Ve="application/x-www-form-urlencoded",Ge.headers["Content-Type"]=Ve),ee(Ve)==="application/json"?Qe=JSON.stringify(Qe):Qe=ge.nestedQuerystring?qs.stringify(Qe):querystring.stringify(Qe)}Ye&&Qe&&(Ge.path+=(Ce.query?"&":"?")+Qe,Qe=null);var Me=0;if(Qe){var Re=Qe.length;te.isBuffer(Qe)||(Re=te.byteLength(Qe)),Me=Ge.headers["Content-Length"]=Re}ge.dataType==="json"&&(Ge.headers.Accept="application/json"),typeof ge.beforeRequest=="function"&&ge.beforeRequest(Ge);var ze=null,rt=null,$e=null,ut=!1,_e=!1,We=0,Te=-1,Je=!1,Fe="",Ie="",Xe=null;ge.timing&&(Xe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function He(){ze&&(clearTimeout(ze),ze=null)}function je(){rt&&(clearTimeout(rt),rt=null)}function Ee(st,pt,nt){if(je(),!pe){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),ye,oe.pid,Ge.method,ve),st&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s -stack: %s`,Date(),ye,oe.pid,st.name,st.message,st.stack);return}var lt=pe;pe=null;var dt={};nt&&(Te=nt.statusCode,dt=nt.headers);var gt=Date.now()-Oe;Xe&&(Xe.contentDownload=gt),ne("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",gt,We,Te,Ge.method,Ge.host,Ge.path,_e,Xe);var Pt={status:Te,statusCode:Te,headers:dt,size:We,aborted:Je,rt:gt,keepAliveSocket:_e,data:pt,requestUrls:ge.requestUrls,timing:Xe,remoteAddress:Fe,remotePort:Ie};if(st){var At="";Ue&&typeof Ue.getCurrentStatus=="function"&&(At=", agent status: "+JSON.stringify(Ue.getCurrentStatus())),st.message+=", "+Ge.method+" "+ve+" "+Te+" (connected: "+ut+", keepalive socket: "+_e+At+`) -headers: `+JSON.stringify(dt),st.data=pt,st.path=Ge.path,st.status=Te,st.headers=dt,st.res=Pt}lt(st,pt,ge.streaming?nt:Pt),ge.emitter&&(Se.url=ve,Se.socket=ft&&ft.connection,Se.options=Ge,Se.size=Me,ge.emitter.emit("response",{requestId:ye,error:st,ctx:ge.ctx,req:Se,res:Pt}))}function xe(st){var pt=null;if(ge.followRedirect&&statuses.redirect[st.statusCode]){ge._followRedirectCount=(ge._followRedirectCount||0)+1;var nt=st.headers.location;if(!nt)pt=new Error("Got statusCode "+st.statusCode+" but cannot resolve next location from headers"),pt.name="FollowRedirectError";else if(ge._followRedirectCount>ge.maxRedirects)pt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),pt.name="MaxRedirectError";else{var lt=ge.formatRedirectUrl?ge.formatRedirectUrl(ve,nt):ue.resolve(ve,nt);ne("Request#%d %s: `redirected` from %s to %s",ye,Ge.path,ve,lt),je(),ge.headers&&ge.headers.Host&&b.test(nt)&&(ge.headers.Host=null);var dt=pe;return pe=null,be.requestWithCallback(lt,ge,dt),{redirect:!0,error:null}}}return{redirect:!1,error:pt}}ge.gzip&&!Ge.headers["Accept-Encoding"]&&!Ge.headers["accept-encoding"]&&(Ge.headers["Accept-Encoding"]="gzip");function we(st,pt,nt){var lt=st.headers["content-encoding"];return nt(null,pt,lt)}var Be=ge.writeStream;ne("Request#%d %s %s with headers %j, options.path: %s",ye,Le,ve,Ge.headers,Ge.path),ge.requestUrls.push(ve);function Ze(st){if(Xe&&(Xe.waiting=Date.now()-Oe),ne("Request#%d %s `req response` event emit: status %d, headers: %j",ye,ve,st.statusCode,st.headers),ge.streaming){var pt=xe(st);if(pt.redirect){st.resume();return}return pt.error?(st.resume(),Ee(pt.error,null,st)):Ee(null,null,st)}if(st.on("close",function(){ne("Request#%d %s: `res close` event emit, total size %d",ye,ve,We)}),st.on("error",function(){ne("Request#%d %s: `res error` event emit, total size %d",ye,ve,We)}),st.on("aborted",function(){Je=!0,ne("Request#%d %s: `res aborted` event emit, total size %d",ye,ve,We)}),Be){var nt=xe(st);if(nt.redirect){st.resume();return}return nt.error?(st.resume(),Be.end(),Ee(nt.error,null,st)):(ge.consumeWriteStream===!1?st.on("end",Ee.bind(null,null,null,st)):Be.on("close",function(){ne("Request#%d %s: writeStream close event emitted",ye,ve),Ee($e||null,null,st)}),st.pipe(Be))}var lt=[];st.on("data",function(dt){ne("Request#%d %s: `res data` event emit, size %d",ye,ve,dt.length),We+=dt.length,lt.push(dt)}),st.on("end",function(){var dt=te.concat(lt,We);if(ne("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",ye,ve,We,st._dumped),$e)return Ee($e,dt,st);var gt=xe(st);if(gt.error)return Ee(gt.error,dt,st);gt.redirect||we(st,dt,function(Pt,At,It){if(Pt)return Ee(Pt,dt,st);if(!It&&ce.indexOf(ge.dataType)>=0){try{At=decodeBodyByCharset(At,st)}catch(tn){return ne("decodeBodyByCharset error: %s",tn),Ee(null,At,st)}if(ge.dataType==="json")if(We===0)At=null;else{var Gt=parseJSON(At,et);Gt.error?Pt=Gt.error:At=Gt.data}}Je&&ne("Request#%d %s: Remote socket was terminated before `response.end()` was called",ye,ve),Ee(Pt,At,st)})})}var Ke,Ne;Array.isArray(ge.timeout)?(Ke=a(ge.timeout[0]),Ne=a(ge.timeout[1])):Ke=Ne=a(ge.timeout),ne("ConnectTimeout: %d, ResponseTimeout: %d",Ke,Ne);function at(){ne("Connect timer ticking, timeout: %d",Ke),ze=setTimeout(function(){ze=null,Te===-1&&(Te=-2);var st="Connect timeout for "+Ke+"ms",pt="ConnectionTimeoutError";ft.socket||(pt="SocketAssignTimeoutError",st+=", working sockets is full"),$e=new Error(st),$e.name=pt,$e.requestId=ye,ne("ConnectTimeout: Request#%d %s %s: %s, connected: %s",ye,ve,$e.name,st,ut),yt()},Ke)}function ht(){ne("Response timer ticking, timeout: %d",Ne),rt=setTimeout(function(){rt=null;var st="Response timeout for "+Ne+"ms",pt="ResponseTimeoutError";$e=new Error(st),$e.name=pt,$e.requestId=ye,ne("ResponseTimeout: Request#%d %s %s: %s, connected: %s",ye,ve,$e.name,st,ut),yt()},Ne)}var ft;Ge.mode=ge.mode?ge.mode:"";try{ft=ke.request(Ge,Ze)}catch(st){return Ee(st)}typeof window=="undefined"?at():ft.on("requestTimeout",function(){Te===-1&&(Te=-2);var st="Connect timeout for "+Ke+"ms",pt="ConnectionTimeoutError";$e=new Error(st),$e.name=pt,$e.requestId=ye,yt()});function yt(){ne("Request#%d %s abort, connected: %s",ye,ve,ut),ft.socket||($e.noSocket=!0,Ee($e)),ft.abort()}return Xe&&ft.on("finish",function(){Xe.requestSent=Date.now()-Oe}),ft.once("socket",function(st){Xe&&(Xe.queuing=Date.now()-Oe);var pt=st.readyState;if(pt==="opening"){st.once("lookup",function(nt,lt,dt){ne("Request#%d %s lookup: %s, %s, %s",ye,ve,nt,lt,dt),Xe&&(Xe.dnslookup=Date.now()-Oe),lt&&(Fe=lt)}),st.once("connect",function(){Xe&&(Xe.connected=Date.now()-Oe),He(),ht(),ne("Request#%d %s new socket connected",ye,ve),ut=!0,Fe||(Fe=st.remoteAddress),Ie=st.remotePort});return}ne("Request#%d %s reuse socket connected, readyState: %s",ye,ve,pt),ut=!0,_e=!0,Fe||(Fe=st.remoteAddress),Ie=st.remotePort,He(),ht()}),ft.on("error",function(st){(st.name==="Error"||st.name==="TypeError")&&(st.name=ut?"ResponseError":"RequestError"),st.message+=' (req "error")',ne("Request#%d %s `req error` event emit, %s: %s",ye,ve,st.name,st.message),Ee($e||st)}),Be&&Be.once("error",function(st){st.message+=' (writeStream "error")',$e=st,ne("Request#%d %s `writeStream error` event emit, %s: %s",ye,ve,st.name,st.message),yt()}),ge.stream?(ge.stream.pipe(ft),ge.stream.once("error",function(st){st.message+=' (stream "error")',$e=st,ne("Request#%d %s `readStream error` event emit, %s: %s",ye,ve,st.name,st.message),yt()})):ft.end(Qe),ft.requestId=ye,ft}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(Ct,Ft){"use strict";function Ae(){const he=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ot=1;ot{const be=E[Pe];be!==void 0&&(he[Pe]=be)})}return he}Ft.Z=Ae},77578:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return he}});const he=ot=>ot?typeof ot=="function"?ot():ot:null},13845:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{F:function(){return he},Z:function(){return ot}});function he(E){return E!=null&&E===E.window}function ot(E,Pe){var be,oe;if(typeof window=="undefined")return 0;const te=Pe?"scrollTop":"scrollLeft";let se=0;return he(E)?se=E[Pe?"pageYOffset":"pageXOffset"]:E instanceof Document?se=E.documentElement[te]:(E instanceof HTMLElement||E)&&(se=E[te]),E&&!he(E)&&typeof se!="number"&&(se=(oe=((be=E.ownerDocument)!==null&&be!==void 0?be:E).documentElement)===null||oe===void 0?void 0:oe[te]),se}},56762:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return ot}});var he=Ae(59301);function ot(){const[,E]=he.useReducer(Pe=>Pe+1,0);return E}},68031:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return Pe}});var he=Ae(16089);function ot(be,oe,te,se){const de=te-oe;return be/=se/2,be<1?de/2*be*be*be+oe:de/2*((be-=2)*be*be+2)+oe}var E=Ae(13845);function Pe(be){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:te=()=>window,callback:se,duration:de=450}=oe,le=te(),ue=(0,E.Z)(le,!0),ae=Date.now(),ie=()=>{const a=Date.now()-ae,y=ot(a>de?de:a,ue,be,de);(0,E.F)(le)?le.scrollTo(window.pageXOffset,y):le instanceof Document||le.constructor.name==="HTMLDocument"?le.documentElement.scrollTop=y:le.scrollTop=y,a{var fe;const{prefixCls:ye,className:Se,rootClassName:Oe,children:Ce,indeterminate:Le=!1,style:De,onMouseEnter:ke,onMouseLeave:Ue,skipGroup:et=!1,disabled:Ge}=ge,it=ie(ge,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Qe,direction:Ye,checkbox:Ve}=Pe.useContext(be.E_),Me=Pe.useContext(de),{isFormItemInput:Re}=Pe.useContext(te.aM),ze=Pe.useContext(oe.Z),rt=(fe=(Me==null?void 0:Me.disabled)||Ge)!==null&&fe!==void 0?fe:ze,$e=Pe.useRef(it.value);Pe.useEffect(()=>{Me==null||Me.registerValue(it.value)},[]),Pe.useEffect(()=>{if(!et)return it.value!==$e.current&&(Me==null||Me.cancelValue($e.current),Me==null||Me.registerValue(it.value),$e.current=it.value),()=>Me==null?void 0:Me.cancelValue(it.value)},[it.value]);const ut=Qe("checkbox",ye),[_e,We]=(0,le.ZP)(ut),Te=Object.assign({},it);Me&&!et&&(Te.onChange=function(){it.onChange&&it.onChange.apply(it,arguments),Me.toggleOption&&Me.toggleOption({label:Ce,value:it.value})},Te.name=Me.name,Te.checked=Me.value.includes(it.value));const Je=ot()(`${ut}-wrapper`,{[`${ut}-rtl`]:Ye==="rtl",[`${ut}-wrapper-checked`]:Te.checked,[`${ut}-wrapper-disabled`]:rt,[`${ut}-wrapper-in-form-item`]:Re},Ve==null?void 0:Ve.className,Se,Oe,We),Fe=ot()({[`${ut}-indeterminate`]:Le},ae.A,We),Ie=Le?"mixed":void 0;return _e(Pe.createElement(ue.Z,{component:"Checkbox",disabled:rt},Pe.createElement("label",{className:Je,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),De),onMouseEnter:ke,onMouseLeave:Ue},Pe.createElement(E.Z,Object.assign({"aria-checked":Ie},Te,{prefixCls:ut,className:Fe,disabled:rt,ref:pe})),Ce!==void 0&&Pe.createElement("span",null,Ce))))};var y=Pe.forwardRef(ne),x=Ae(94480),b=Ae(2738),z=function(ge,pe){var fe={};for(var ye in ge)Object.prototype.hasOwnProperty.call(ge,ye)&&pe.indexOf(ye)<0&&(fe[ye]=ge[ye]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ye=Object.getOwnPropertySymbols(ge);Se{const{defaultValue:fe,children:ye,options:Se=[],prefixCls:Oe,className:Ce,rootClassName:Le,style:De,onChange:ke}=ge,Ue=z(ge,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:et,direction:Ge}=Pe.useContext(be.E_),[it,Qe]=Pe.useState(Ue.value||fe||[]),[Ye,Ve]=Pe.useState([]);Pe.useEffect(()=>{"value"in Ue&&Qe(Ue.value||[])},[Ue.value]);const Me=Pe.useMemo(()=>Se.map(Xe=>typeof Xe=="string"||typeof Xe=="number"?{label:Xe,value:Xe}:Xe),[Se]),Re=Xe=>{Ve(He=>He.filter(je=>je!==Xe))},ze=Xe=>{Ve(He=>[].concat((0,x.Z)(He),[Xe]))},rt=Xe=>{const He=it.indexOf(Xe.value),je=(0,x.Z)(it);He===-1?je.push(Xe.value):je.splice(He,1),"value"in Ue||Qe(je),ke==null||ke(je.filter(Ee=>Ye.includes(Ee)).sort((Ee,xe)=>{const we=Me.findIndex(Ze=>Ze.value===Ee),Be=Me.findIndex(Ze=>Ze.value===xe);return we-Be}))},$e=et("checkbox",Oe),ut=`${$e}-group`,[_e,We]=(0,le.ZP)($e),Te=(0,b.Z)(Ue,["value","disabled"]),Je=Se.length?Me.map(Xe=>Pe.createElement(y,{prefixCls:$e,key:Xe.value.toString(),disabled:"disabled"in Xe?Xe.disabled:Ue.disabled,value:Xe.value,checked:it.includes(Xe.value),onChange:Xe.onChange,className:`${ut}-item`,style:Xe.style,title:Xe.title},Xe.label)):ye,Fe={toggleOption:rt,value:it,disabled:Ue.disabled,name:Ue.name,registerValue:ze,cancelValue:Re},Ie=ot()(ut,{[`${ut}-rtl`]:Ge==="rtl"},Ce,Le,We);return _e(Pe.createElement("div",Object.assign({className:Ie,style:De},Te,{ref:pe}),Pe.createElement(de.Provider,{value:Fe},Je)))},re=Pe.forwardRef(ee);var ce=Pe.memo(re);const me=y;me.Group=ce,me.__ANT_CHECKBOX=!0;var ve=me},98447:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{C2:function(){return be}});var he=Ae(17313),ot=Ae(37613),E=Ae(83116);const Pe=oe=>{const{checkboxCls:te}=oe,se=`${te}-wrapper`;return[{[`${te}-group`]:Object.assign(Object.assign({},(0,he.Wf)(oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:oe.marginXS,[`> ${oe.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,he.Wf)(oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${se}`]:{marginInlineStart:0},[`&${se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[te]:Object.assign(Object.assign({},(0,he.Wf)(oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:oe.borderRadiusSM,alignSelf:"center",[`${te}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${te}-inner`]:Object.assign({},(0,he.oN)(oe))},[`${te}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:oe.checkboxSize,height:oe.checkboxSize,direction:"ltr",backgroundColor:oe.colorBgContainer,border:`${oe.lineWidth}px ${oe.lineType} ${oe.colorBorder}`,borderRadius:oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:oe.checkboxSize/14*5,height:oe.checkboxSize/14*8,border:`${oe.lineWidthBold}px solid ${oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${oe.motionDurationFast} ${oe.motionEaseInBack}, opacity ${oe.motionDurationFast}`}},"& + span":{paddingInlineStart:oe.paddingXS,paddingInlineEnd:oe.paddingXS}})},{[` +Char: `+We.c),Oe=new Error(Oe),We.error=Oe,Ie(We,"onerror",Oe),We}function ot(We){return We.sawRoot&&!We.closedRoot&&Ve(We,"Unclosed root tag"),We.state!==Ce.BEGIN&&We.state!==Ce.BEGIN_WHITESPACE&&We.state!==Ce.TEXT&&Ge(We,"Unexpected end"),Ue(We),We.c="",We.closed=!0,Ie(We,"onend"),de.call(We,We.strict,We.opt),We}function Ve(We,Oe){if(typeof We!="object"||!(We instanceof de))throw new Error("bad call to strictFail");We.strict&&Ge(We,Oe)}function Xe(We){We.strict||(We.tagName=We.tagName[We.looseCase]());var Oe=We.tags[We.tags.length-1]||We,Ye=We.tag={name:We.tagName,attributes:{}};We.opt.xmlns&&(Ye.ns=Oe.ns),We.attribList.length=0,Me(We,"onopentagstart",Ye)}function Ze(We,Oe){var Ye=We.indexOf(":"),Fe=Ye<0?["",We]:We.split(":"),Ne=Fe[0],et=Fe[1];return Oe&&We==="xmlns"&&(Ne="xmlns",et=""),{prefix:Ne,local:et}}function ze(We){if(We.strict||(We.attribName=We.attribName[We.looseCase]()),We.attribList.indexOf(We.attribName)!==-1||We.tag.attributes.hasOwnProperty(We.attribName)){We.attribName=We.attribValue="";return}if(We.opt.xmlns){var Oe=Ze(We.attribName,!0),Ye=Oe.prefix,Fe=Oe.local;if(Ye==="xmlns")if(Fe==="xml"&&We.attribValue!==z)Ve(We,"xml: prefix must be bound to "+z+` +Actual: `+We.attribValue);else if(Fe==="xmlns"&&We.attribValue!==ee)Ve(We,"xmlns: prefix must be bound to "+ee+` +Actual: `+We.attribValue);else{var Ne=We.tag,et=We.tags[We.tags.length-1]||We;Ne.ns===et.ns&&(Ne.ns=Object.create(et.ns)),Ne.ns[Fe]=We.attribValue}We.attribList.push([We.attribName,We.attribValue])}else We.tag.attributes[We.attribName]=We.attribValue,Me(We,"onattribute",{name:We.attribName,value:We.attribValue});We.attribName=We.attribValue=""}function Re(We,Oe){if(We.opt.xmlns){var Ye=We.tag,Fe=Ze(We.tagName);Ye.prefix=Fe.prefix,Ye.local=Fe.local,Ye.uri=Ye.ns[Fe.prefix]||"",Ye.prefix&&!Ye.uri&&(Ve(We,"Unbound namespace prefix: "+JSON.stringify(We.tagName)),Ye.uri=Fe.prefix);var Ne=We.tags[We.tags.length-1]||We;Ye.ns&&Ne.ns!==Ye.ns&&Object.keys(Ye.ns).forEach(function($e){Me(We,"onopennamespace",{prefix:$e,uri:Ye.ns[$e]})});for(var et=0,De=We.attribList.length;et",We.tagName="",We.state=Ce.SCRIPT;return}Me(We,"onscript",We.script),We.script=""}var Oe=We.tags.length,Ye=We.tagName;We.strict||(Ye=Ye[We.looseCase]());for(var Fe=Ye;Oe--;){var Ne=We.tags[Oe];if(Ne.name!==Fe)Ve(We,"Unexpected close tag");else break}if(Oe<0){Ve(We,"Unmatched closing tag: "+We.tagName),We.textNode+="",We.state=Ce.TEXT;return}We.tagName=Ye;for(var et=We.tags.length;et-- >Oe;){var De=We.tag=We.tags.pop();We.tagName=We.tag.name,Me(We,"onclosetag",We.tagName);var je={};for(var Ee in De.ns)je[Ee]=De.ns[Ee];var xe=We.tags[We.tags.length-1]||We;We.opt.xmlns&&De.ns!==xe.ns&&Object.keys(De.ns).forEach(function(we){var Be=De.ns[we];Me(We,"onclosenamespace",{prefix:we,uri:Be})})}Oe===0&&(We.closedRoot=!0),We.tagName=We.attribValue=We.attribName="",We.attribList.length=0,We.state=Ce.TEXT}function rt(We){var Oe=We.entity,Ye=Oe.toLowerCase(),Fe,Ne="";return We.ENTITIES[Oe]?We.ENTITIES[Oe]:We.ENTITIES[Ye]?We.ENTITIES[Ye]:(Oe=Ye,Oe.charAt(0)==="#"&&(Oe.charAt(1)==="x"?(Oe=Oe.slice(2),Fe=parseInt(Oe,16),Ne=Fe.toString(16)):(Oe=Oe.slice(1),Fe=parseInt(Oe,10),Ne=Fe.toString(10))),Oe=Oe.replace(/^0+/,""),isNaN(Fe)||Ne.toLowerCase()!==Oe?(Ve(We,"Invalid character entity"),"&"+We.entity+";"):String.fromCodePoint(Fe))}function qe(We,Oe){Oe==="<"?(We.state=Ce.OPEN_WAKA,We.startTagPosition=We.position):me(Oe)||(Ve(We,"Non-whitespace before first tag."),We.textNode=Oe,We.state=Ce.TEXT)}function ut(We,Oe){var Ye="";return Oe"?(Me(Oe,"onsgmldeclaration",Oe.sgmlDecl),Oe.sgmlDecl="",Oe.state=Ce.TEXT):(ge(Fe)&&(Oe.state=Ce.SGML_DECL_QUOTED),Oe.sgmlDecl+=Fe);continue;case Ce.SGML_DECL_QUOTED:Fe===Oe.q&&(Oe.state=Ce.SGML_DECL,Oe.q=""),Oe.sgmlDecl+=Fe;continue;case Ce.DOCTYPE:Fe===">"?(Oe.state=Ce.TEXT,Me(Oe,"ondoctype",Oe.doctype),Oe.doctype=!0):(Oe.doctype+=Fe,Fe==="["?Oe.state=Ce.DOCTYPE_DTD:ge(Fe)&&(Oe.state=Ce.DOCTYPE_QUOTED,Oe.q=Fe));continue;case Ce.DOCTYPE_QUOTED:Oe.doctype+=Fe,Fe===Oe.q&&(Oe.q="",Oe.state=Ce.DOCTYPE);continue;case Ce.DOCTYPE_DTD:Oe.doctype+=Fe,Fe==="]"?Oe.state=Ce.DOCTYPE:ge(Fe)&&(Oe.state=Ce.DOCTYPE_DTD_QUOTED,Oe.q=Fe);continue;case Ce.DOCTYPE_DTD_QUOTED:Oe.doctype+=Fe,Fe===Oe.q&&(Oe.state=Ce.DOCTYPE_DTD,Oe.q="");continue;case Ce.COMMENT:Fe==="-"?Oe.state=Ce.COMMENT_ENDING:Oe.comment+=Fe;continue;case Ce.COMMENT_ENDING:Fe==="-"?(Oe.state=Ce.COMMENT_ENDED,Oe.comment=Qe(Oe.opt,Oe.comment),Oe.comment&&Me(Oe,"oncomment",Oe.comment),Oe.comment=""):(Oe.comment+="-"+Fe,Oe.state=Ce.COMMENT);continue;case Ce.COMMENT_ENDED:Fe!==">"?(Ve(Oe,"Malformed comment"),Oe.comment+="--"+Fe,Oe.state=Ce.COMMENT):Oe.state=Ce.TEXT;continue;case Ce.CDATA:Fe==="]"?Oe.state=Ce.CDATA_ENDING:Oe.cdata+=Fe;continue;case Ce.CDATA_ENDING:Fe==="]"?Oe.state=Ce.CDATA_ENDING_2:(Oe.cdata+="]"+Fe,Oe.state=Ce.CDATA);continue;case Ce.CDATA_ENDING_2:Fe===">"?(Oe.cdata&&Me(Oe,"oncdata",Oe.cdata),Me(Oe,"onclosecdata"),Oe.cdata="",Oe.state=Ce.TEXT):Fe==="]"?Oe.cdata+="]":(Oe.cdata+="]]"+Fe,Oe.state=Ce.CDATA);continue;case Ce.PROC_INST:Fe==="?"?Oe.state=Ce.PROC_INST_ENDING:me(Fe)?Oe.state=Ce.PROC_INST_BODY:Oe.procInstName+=Fe;continue;case Ce.PROC_INST_BODY:if(!Oe.procInstBody&&me(Fe))continue;Fe==="?"?Oe.state=Ce.PROC_INST_ENDING:Oe.procInstBody+=Fe;continue;case Ce.PROC_INST_ENDING:Fe===">"?(Me(Oe,"onprocessinginstruction",{name:Oe.procInstName,body:Oe.procInstBody}),Oe.procInstName=Oe.procInstBody="",Oe.state=Ce.TEXT):(Oe.procInstBody+="?"+Fe,Oe.state=Ce.PROC_INST_BODY);continue;case Ce.OPEN_TAG:Pe(he,Fe)?Oe.tagName+=Fe:(Xe(Oe),Fe===">"?Re(Oe):Fe==="/"?Oe.state=Ce.OPEN_TAG_SLASH:(me(Fe)||Ve(Oe,"Invalid character in tag name"),Oe.state=Ce.ATTRIB));continue;case Ce.OPEN_TAG_SLASH:Fe===">"?(Re(Oe,!0),He(Oe)):(Ve(Oe,"Forward-slash in opening tag not followed by >"),Oe.state=Ce.ATTRIB);continue;case Ce.ATTRIB:if(me(Fe))continue;Fe===">"?Re(Oe):Fe==="/"?Oe.state=Ce.OPEN_TAG_SLASH:Pe(le,Fe)?(Oe.attribName=Fe,Oe.attribValue="",Oe.state=Ce.ATTRIB_NAME):Ve(Oe,"Invalid attribute name");continue;case Ce.ATTRIB_NAME:Fe==="="?Oe.state=Ce.ATTRIB_VALUE:Fe===">"?(Ve(Oe,"Attribute without value"),Oe.attribValue=Oe.attribName,ze(Oe),Re(Oe)):me(Fe)?Oe.state=Ce.ATTRIB_NAME_SAW_WHITE:Pe(he,Fe)?Oe.attribName+=Fe:Ve(Oe,"Invalid attribute name");continue;case Ce.ATTRIB_NAME_SAW_WHITE:if(Fe==="=")Oe.state=Ce.ATTRIB_VALUE;else{if(me(Fe))continue;Ve(Oe,"Attribute without value"),Oe.tag.attributes[Oe.attribName]="",Oe.attribValue="",Me(Oe,"onattribute",{name:Oe.attribName,value:""}),Oe.attribName="",Fe===">"?Re(Oe):Pe(le,Fe)?(Oe.attribName=Fe,Oe.state=Ce.ATTRIB_NAME):(Ve(Oe,"Invalid attribute name"),Oe.state=Ce.ATTRIB)}continue;case Ce.ATTRIB_VALUE:if(me(Fe))continue;ge(Fe)?(Oe.q=Fe,Oe.state=Ce.ATTRIB_VALUE_QUOTED):(Ve(Oe,"Unquoted attribute value"),Oe.state=Ce.ATTRIB_VALUE_UNQUOTED,Oe.attribValue=Fe);continue;case Ce.ATTRIB_VALUE_QUOTED:if(Fe!==Oe.q){Fe==="&"?Oe.state=Ce.ATTRIB_VALUE_ENTITY_Q:Oe.attribValue+=Fe;continue}ze(Oe),Oe.q="",Oe.state=Ce.ATTRIB_VALUE_CLOSED;continue;case Ce.ATTRIB_VALUE_CLOSED:me(Fe)?Oe.state=Ce.ATTRIB:Fe===">"?Re(Oe):Fe==="/"?Oe.state=Ce.OPEN_TAG_SLASH:Pe(le,Fe)?(Ve(Oe,"No whitespace between attributes"),Oe.attribName=Fe,Oe.attribValue="",Oe.state=Ce.ATTRIB_NAME):Ve(Oe,"Invalid attribute name");continue;case Ce.ATTRIB_VALUE_UNQUOTED:if(!be(Fe)){Fe==="&"?Oe.state=Ce.ATTRIB_VALUE_ENTITY_U:Oe.attribValue+=Fe;continue}ze(Oe),Fe===">"?Re(Oe):Oe.state=Ce.ATTRIB;continue;case Ce.CLOSE_TAG:if(Oe.tagName)Fe===">"?He(Oe):Pe(he,Fe)?Oe.tagName+=Fe:Oe.script?(Oe.script+=""?He(Oe):Ve(Oe,"Invalid characters in closing tag");continue;case Ce.TEXT_ENTITY:case Ce.ATTRIB_VALUE_ENTITY_Q:case Ce.ATTRIB_VALUE_ENTITY_U:var De,je;switch(Oe.state){case Ce.TEXT_ENTITY:De=Ce.TEXT,je="textNode";break;case Ce.ATTRIB_VALUE_ENTITY_Q:De=Ce.ATTRIB_VALUE_QUOTED,je="attribValue";break;case Ce.ATTRIB_VALUE_ENTITY_U:De=Ce.ATTRIB_VALUE_UNQUOTED,je="attribValue";break}Fe===";"?(Oe[je]+=rt(Oe),Oe.entity="",Oe.state=De):Pe(Oe.entity.length?fe:ve,Fe)?Oe.entity+=Fe:(Ve(Oe,"Invalid character in entity name"),Oe[je]+="&"+Oe.entity+Fe,Oe.entity="",Oe.state=De);continue;default:throw new Error(Oe,"Unknown state: "+Oe.state)}return Oe.position>=Oe.bufferCheckPosition&&ue(Oe),Oe}String.fromCodePoint||function(){var We=String.fromCharCode,Oe=Math.floor,Ye=function(){var Fe=16384,Ne=[],et,De,je=-1,Ee=arguments.length;if(!Ee)return"";for(var xe="";++je1114111||Oe(we)!==we)throw RangeError("Invalid code point: "+we);we<=65535?Ne.push(we):(we-=65536,et=(we>>10)+55296,De=we%1024+56320,Ne.push(et,De)),(je+1===Ee||Ne.length>Fe)&&(xe+=We.apply(null,Ne),Ne.length=0)}return xe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ye,configurable:!0,writable:!0}):String.fromCodePoint=Ye}()})(typeof ye=="undefined"?this.sax={}:ye)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,Se,ye){Se.exports=se;var oe=E("events").EventEmitter,te=E("inherits");te(se,oe),se.Readable=E("readable-stream/lib/_stream_readable.js"),se.Writable=E("readable-stream/lib/_stream_writable.js"),se.Duplex=E("readable-stream/lib/_stream_duplex.js"),se.Transform=E("readable-stream/lib/_stream_transform.js"),se.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),se.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),se.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),se.Stream=se;function se(){oe.call(this)}se.prototype.pipe=function(de,ue){var ce=this;function ae(z){de.writable&&de.write(z)===!1&&ce.pause&&ce.pause()}ce.on("data",ae);function ie(){ce.readable&&ce.resume&&ce.resume()}de.on("drain",ie),!de._isStdio&&(!ue||ue.end!==!1)&&(ce.on("end",a),ce.on("close",y));var ne=!1;function a(){ne||(ne=!0,de.end())}function y(){ne||(ne=!0,typeof de.destroy=="function"&&de.destroy())}function x(z){if(b(),oe.listenerCount(this,"error")===0)throw z}ce.on("error",x),de.on("error",x);function b(){ce.removeListener("data",ae),de.removeListener("drain",ie),ce.removeListener("end",a),ce.removeListener("close",y),ce.removeListener("error",x),de.removeListener("error",x),ce.removeListener("end",b),ce.removeListener("close",b),de.removeListener("close",b)}return ce.on("end",b),ce.on("close",b),de.on("close",b),de.emit("pipe",ce),de}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,Se,ye){"use strict";function oe(ie,ne){ie.prototype=Object.create(ne.prototype),ie.prototype.constructor=ie,ie.__proto__=ne}var te={};function se(ie,ne,a){a||(a=Error);function y(b,z,ee){return typeof ne=="string"?ne:ne(b,z,ee)}var x=function(b){oe(z,b);function z(ee,re,le){return b.call(this,y(ee,re,le))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=ie,te[ie]=x}function de(ie,ne){if(Array.isArray(ie)){var a=ie.length;return ie=ie.map(function(y){return String(y)}),a>2?"one of ".concat(ne," ").concat(ie.slice(0,a-1).join(", "),", or ")+ie[a-1]:a===2?"one of ".concat(ne," ").concat(ie[0]," or ").concat(ie[1]):"of ".concat(ne," ").concat(ie[0])}else return"of ".concat(ne," ").concat(String(ie))}function ue(ie,ne,a){return ie.substr(!a||a<0?0:+a,ne.length)===ne}function ce(ie,ne,a){return(a===void 0||a>ie.length)&&(a=ie.length),ie.substring(a-ne.length,a)===ne}function ae(ie,ne,a){return typeof a!="number"&&(a=0),a+ne.length>ie.length?!1:ie.indexOf(ne,a)!==-1}se("ERR_INVALID_OPT_VALUE",function(ie,ne){return'The value "'+ne+'" is invalid for option "'+ie+'"'},TypeError),se("ERR_INVALID_ARG_TYPE",function(ie,ne,a){var y;typeof ne=="string"&&ue(ne,"not ")?(y="must not be",ne=ne.replace(/^not /,"")):y="must be";var x;if(ce(ie," argument"))x="The ".concat(ie," ").concat(y," ").concat(de(ne,"type"));else{var b=ae(ie,".")?"property":"argument";x='The "'.concat(ie,'" ').concat(b," ").concat(y," ").concat(de(ne,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),se("ERR_METHOD_NOT_IMPLEMENTED",function(ie){return"The "+ie+" method is not implemented"}),se("ERR_STREAM_PREMATURE_CLOSE","Premature close"),se("ERR_STREAM_DESTROYED",function(ie){return"Cannot call "+ie+" after a stream was destroyed"}),se("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),se("ERR_STREAM_WRITE_AFTER_END","write after end"),se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),se("ERR_UNKNOWN_ENCODING",function(ie){return"Unknown encoding: "+ie},TypeError),se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Se.exports.codes=te},{}],400:[function(E,Se,ye){(function(oe){(function(){"use strict";var te=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};Se.exports=ie;var se=E("./_stream_readable"),de=E("./_stream_writable");E("inherits")(ie,se);for(var ue=te(de.prototype),ce=0;ce0)if(typeof Ee!="string"&&!Ke.objectMode&&Object.getPrototypeOf(Ee)!==ae.prototype&&(Ee=ne(Ee)),we)Ke.endEmitted?Te(je,new me):Qe(je,Ke,Ee,!0);else if(Ke.ended)Te(je,new ve);else{if(Ke.destroyed)return!1;Ke.reading=!1,Ke.decoder&&!xe?(Ee=Ke.decoder.write(Ee),Ke.objectMode||Ee.length!==0?Qe(je,Ke,Ee,!1):He(je,Ke)):Qe(je,Ke,Ee,!1)}else we||(Ke.reading=!1,He(je,Ke))}return!Ke.ended&&(Ke.length=ot?je=ot:(je--,je|=je>>>1,je|=je>>>2,je|=je>>>4,je|=je>>>8,je|=je>>>16,je++),je}function Xe(je,Ee){return je<=0||Ee.length===0&&Ee.ended?0:Ee.objectMode?1:je!==je?Ee.flowing&&Ee.length?Ee.buffer.head.data.length:Ee.length:(je>Ee.highWaterMark&&(Ee.highWaterMark=Ve(je)),je<=Ee.length?je:Ee.ended?Ee.length:(Ee.needReadable=!0,0))}Me.prototype.read=function(je){x("read",je),je=parseInt(je,10);var Ee=this._readableState,xe=je;if(je!==0&&(Ee.emittedReadable=!1),je===0&&Ee.needReadable&&((Ee.highWaterMark!==0?Ee.length>=Ee.highWaterMark:Ee.length>0)||Ee.ended))return x("read: emitReadable",Ee.length,Ee.ended),Ee.length===0&&Ee.ended?Ne(this):ze(this),null;if(je=Xe(je,Ee),je===0&&Ee.ended)return Ee.length===0&&Ne(this),null;var we=Ee.needReadable;x("need readable",we),(Ee.length===0||Ee.length-je0?Be=Fe(je,Ee):Be=null,Be===null?(Ee.needReadable=Ee.length<=Ee.highWaterMark,je=0):(Ee.length-=je,Ee.awaitDrain=0),Ee.length===0&&(Ee.ended||(Ee.needReadable=!0),xe!==je&&Ee.ended&&Ne(this)),Be!==null&&this.emit("data",Be),Be};function Ze(je,Ee){if(x("onEofChunk"),!Ee.ended){if(Ee.decoder){var xe=Ee.decoder.end();xe&&xe.length&&(Ee.buffer.push(xe),Ee.length+=Ee.objectMode?1:xe.length)}Ee.ended=!0,Ee.sync?ze(je):(Ee.needReadable=!1,Ee.emittedReadable||(Ee.emittedReadable=!0,Re(je)))}}function ze(je){var Ee=je._readableState;x("emitReadable",Ee.needReadable,Ee.emittedReadable),Ee.needReadable=!1,Ee.emittedReadable||(x("emitReadable",Ee.flowing),Ee.emittedReadable=!0,oe.nextTick(Re,je))}function Re(je){var Ee=je._readableState;x("emitReadable_",Ee.destroyed,Ee.length,Ee.ended),!Ee.destroyed&&(Ee.length||Ee.ended)&&(je.emit("readable"),Ee.emittedReadable=!1),Ee.needReadable=!Ee.flowing&&!Ee.ended&&Ee.length<=Ee.highWaterMark,Ye(je)}function He(je,Ee){Ee.readingMore||(Ee.readingMore=!0,oe.nextTick(rt,je,Ee))}function rt(je,Ee){for(;!Ee.reading&&!Ee.ended&&(Ee.length1&&De(we.pipes,je)!==-1)&&!gt&&(x("false write response, pause",we.awaitDrain),we.awaitDrain++),xe.pause())}function st(ft){x("onerror",ft),lt(),je.removeListener("error",st),ue(je,"error")===0&&Te(je,ft)}Le(je,"error",st);function ht(){je.removeListener("finish",at),lt()}je.once("close",ht);function at(){x("onfinish"),je.removeListener("close",ht),lt()}je.once("finish",at);function lt(){x("unpipe"),xe.unpipe(je)}return je.emit("pipe",xe),we.flowing||(x("pipe resume"),xe.resume()),je};function qe(je){return function(){var xe=je._readableState;x("pipeOnDrain",xe.awaitDrain),xe.awaitDrain&&xe.awaitDrain--,xe.awaitDrain===0&&ue(je,"data")&&(xe.flowing=!0,Ye(je))}}Me.prototype.unpipe=function(je){var Ee=this._readableState,xe={hasUnpiped:!1};if(Ee.pipesCount===0)return this;if(Ee.pipesCount===1)return je&&je!==Ee.pipes?this:(je||(je=Ee.pipes),Ee.pipes=null,Ee.pipesCount=0,Ee.flowing=!1,je&&je.emit("unpipe",this,xe),this);if(!je){var we=Ee.pipes,Be=Ee.pipesCount;Ee.pipes=null,Ee.pipesCount=0,Ee.flowing=!1;for(var Ke=0;Ke0,we.flowing!==!1&&this.resume()):je==="readable"&&!we.endEmitted&&!we.readableListening&&(we.readableListening=we.needReadable=!0,we.flowing=!1,we.emittedReadable=!1,x("on readable",we.length,we.reading),we.length?ze(this):we.reading||oe.nextTick(_e,this)),xe},Me.prototype.addListener=Me.prototype.on,Me.prototype.removeListener=function(je,Ee){var xe=ce.prototype.removeListener.call(this,je,Ee);return je==="readable"&&oe.nextTick(ut,this),xe},Me.prototype.removeAllListeners=function(je){var Ee=ce.prototype.removeAllListeners.apply(this,arguments);return(je==="readable"||je===void 0)&&oe.nextTick(ut,this),Ee};function ut(je){var Ee=je._readableState;Ee.readableListening=je.listenerCount("readable")>0,Ee.resumeScheduled&&!Ee.paused?Ee.flowing=!0:je.listenerCount("data")>0&&je.resume()}function _e(je){x("readable nexttick read 0"),je.read(0)}Me.prototype.resume=function(){var je=this._readableState;return je.flowing||(x("resume"),je.flowing=!je.readableListening,We(this,je)),je.paused=!1,this};function We(je,Ee){Ee.resumeScheduled||(Ee.resumeScheduled=!0,oe.nextTick(Oe,je,Ee))}function Oe(je,Ee){x("resume",Ee.reading),Ee.reading||je.read(0),Ee.resumeScheduled=!1,je.emit("resume"),Ye(je),Ee.flowing&&!Ee.reading&&je.read(0)}Me.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ye(je){var Ee=je._readableState;for(x("flow",Ee.flowing);Ee.flowing&&je.read()!==null;);}Me.prototype.wrap=function(je){var Ee=this,xe=this._readableState,we=!1;je.on("end",function(){if(x("wrapped end"),xe.decoder&&!xe.ended){var nt=xe.decoder.end();nt&&nt.length&&Ee.push(nt)}Ee.push(null)}),je.on("data",function(nt){if(x("wrapped data"),xe.decoder&&(nt=xe.decoder.write(nt)),!(xe.objectMode&&nt==null)&&!(!xe.objectMode&&(!nt||!nt.length))){var ke=Ee.push(nt);ke||(we=!0,je.pause())}});for(var Be in je)this[Be]===void 0&&typeof je[Be]=="function"&&(this[Be]=function(ke){return function(){return je[ke].apply(je,arguments)}}(Be));for(var Ke=0;Ke=Ee.length?(Ee.decoder?xe=Ee.buffer.join(""):Ee.buffer.length===1?xe=Ee.buffer.first():xe=Ee.buffer.concat(Ee.length),Ee.buffer.clear()):xe=Ee.buffer.consume(je,Ee.decoder),xe}function Ne(je){var Ee=je._readableState;x("endReadable",Ee.endEmitted),Ee.endEmitted||(Ee.ended=!0,oe.nextTick(et,Ee,je))}function et(je,Ee){if(x("endReadableNT",je.endEmitted,je.length),!je.endEmitted&&je.length===0&&(je.endEmitted=!0,Ee.readable=!1,Ee.emit("end"),je.autoDestroy)){var xe=Ee._writableState;(!xe||xe.autoDestroy&&xe.finished)&&Ee.destroy()}}typeof Symbol=="function"&&(Me.from=function(je,Ee){return Pe===void 0&&(Pe=E("./internal/streams/from")),Pe(Me,je,Ee)});function De(je,Ee){for(var xe=0,we=je.length;xe-1))throw new be(Fe);return this._writableState.defaultEncoding=Fe,this},Object.defineProperty(Ie.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Qe(Ye,Fe,Ne){return!Ye.objectMode&&Ye.decodeStrings!==!1&&typeof Fe=="string"&&(Fe=ie.from(Fe,Ne)),Fe}Object.defineProperty(Ie.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ge(Ye,Fe,Ne,et,De,je){if(!Ne){var Ee=Qe(Fe,et,De);et!==Ee&&(Ne=!0,De="buffer",et=Ee)}var xe=Fe.objectMode?1:et.length;Fe.length+=xe;var we=Fe.length0?this.tail.next=he:this.head=he,this.tail=he,++this.length}},{key:"unshift",value:function(le){var he={data:le,next:this.head};this.length===0&&(this.tail=he),this.head=he,++this.length}},{key:"shift",value:function(){if(this.length!==0){var le=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,le}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(le){if(this.length===0)return"";for(var he=this.head,ve=""+he.data;he=he.next;)ve+=le+he.data;return ve}},{key:"concat",value:function(le){if(this.length===0)return a.alloc(0);for(var he=a.allocUnsafe(le>>>0),ve=this.head,fe=0;ve;)z(ve.data,he,fe),fe+=ve.data.length,ve=ve.next;return he}},{key:"consume",value:function(le,he){var ve;return leme.length?me.length:le;if(ge===me.length?fe+=me:fe+=me.slice(0,le),le-=ge,le===0){ge===me.length?(++ve,he.next?this.head=he.next:this.head=this.tail=null):(this.head=he,he.data=me.slice(ge));break}++ve}return this.length-=ve,fe}},{key:"_getBuffer",value:function(le){var he=a.allocUnsafe(le),ve=this.head,fe=1;for(ve.data.copy(he),le-=ve.data.length;ve=ve.next;){var me=ve.data,ge=le>me.length?me.length:le;if(me.copy(he,he.length-le,0,ge),le-=ge,le===0){ge===me.length?(++fe,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=me.slice(ge));break}++fe}return this.length-=fe,he}},{key:b,value:function(le,he){return x(this,te(te({},he),{},{depth:0,customInspect:!1}))}}]),ee}()},{buffer:90,util:89}],407:[function(E,Se,ye){(function(oe){(function(){"use strict";function te(ie,ne){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ne?ne(ie):ie&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,oe.nextTick(ce,this,ie)):oe.nextTick(ce,this,ie)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ie||null,function(b){!ne&&b?a._writableState?a._writableState.errorEmitted?oe.nextTick(de,a):(a._writableState.errorEmitted=!0,oe.nextTick(se,a,b)):oe.nextTick(se,a,b):ne?(oe.nextTick(de,a),ne(b)):oe.nextTick(de,a)}),this)}function se(ie,ne){ce(ie,ne),de(ie)}function de(ie){ie._writableState&&!ie._writableState.emitClose||ie._readableState&&!ie._readableState.emitClose||ie.emit("close")}function ue(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ce(ie,ne){ie.emit("error",ne)}function ae(ie,ne){var a=ie._readableState,y=ie._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ie.destroy(ne):ie.emit("error",ne)}Se.exports={destroy:te,undestroy:ue,errorOrDestroy:ae}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,Se,ye){"use strict";var oe=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function te(ce){var ae=!1;return function(){if(!ae){ae=!0;for(var ie=arguments.length,ne=new Array(ie),a=0;a0;return ie(ve,me,ge,function(be){le||(le=be),be&&he.forEach(ne),!me&&(he.forEach(ne),re(le))})});return z.reduce(a)}Se.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,Se,ye){"use strict";var oe=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function te(de,ue,ce){return de.highWaterMark!=null?de.highWaterMark:ue?de[ce]:null}function se(de,ue,ce,ae){var ie=te(ue,ae,ce);if(ie!=null){if(!(isFinite(ie)&&Math.floor(ie)===ie)||ie<0){var ne=ae?ce:"highWaterMark";throw new oe(ne,ie)}return Math.floor(ie)}return de.objectMode?16:16*1024}Se.exports={getHighWaterMark:se}},{"../../../errors":399}],412:[function(E,Se,ye){arguments[4][393][0].apply(ye,arguments)},{dup:393,events:344}],413:[function(E,Se,ye){"use strict";var oe=E("safe-buffer").Buffer,te=oe.isEncoding||function(he){switch(he=""+he,he&&he.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function se(he){if(!he)return"utf8";for(var ve;;)switch(he){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return he;default:if(ve)return;he=(""+he).toLowerCase(),ve=!0}}function de(he){var ve=se(he);if(typeof ve!="string"&&(oe.isEncoding===te||!te(he)))throw new Error("Unknown encoding: "+he);return ve||he}ye.StringDecoder=ue;function ue(he){this.encoding=de(he);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=ne,ve=4;break;case"base64":this.text=z,this.end=ee,ve=3;break;default:this.write=re,this.end=le;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=oe.allocUnsafe(ve)}ue.prototype.write=function(he){if(he.length===0)return"";var ve,fe;if(this.lastNeed){if(ve=this.fillLast(he),ve===void 0)return"";fe=this.lastNeed,this.lastNeed=0}else fe=0;return fe>5===6?2:he>>4===14?3:he>>3===30?4:he>>6===2?-1:-2}function ae(he,ve,fe){var me=ve.length-1;if(me=0?(ge>0&&(he.lastNeed=ge-1),ge):--me=0?(ge>0&&(he.lastNeed=ge-2),ge):--me=0?(ge>0&&(ge===2?ge=0:he.lastNeed=ge-3),ge):0))}function ie(he,ve,fe){if((ve[0]&192)!==128)return he.lastNeed=0,"\uFFFD";if(he.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return he.lastNeed=1,"\uFFFD";if(he.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return he.lastNeed=2,"\uFFFD"}}function ne(he){var ve=this.lastTotal-this.lastNeed,fe=ie(this,he,ve);if(fe!==void 0)return fe;if(this.lastNeed<=he.length)return he.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);he.copy(this.lastChar,ve,0,he.length),this.lastNeed-=he.length}function a(he,ve){var fe=ae(this,he,ve);if(!this.lastNeed)return he.toString("utf8",ve);this.lastTotal=fe;var me=he.length-(fe-this.lastNeed);return he.copy(this.lastChar,0,me),he.toString("utf8",ve,me)}function y(he){var ve=he&&he.length?this.write(he):"";return this.lastNeed?ve+"\uFFFD":ve}function x(he,ve){if((he.length-ve)%2===0){var fe=he.toString("utf16le",ve);if(fe){var me=fe.charCodeAt(fe.length-1);if(me>=55296&&me<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1],fe.slice(0,-1)}return fe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=he[he.length-1],he.toString("utf16le",ve,he.length-1)}function b(he){var ve=he&&he.length?this.write(he):"";if(this.lastNeed){var fe=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,fe)}return ve}function z(he,ve){var fe=(he.length-ve)%3;return fe===0?he.toString("base64",ve):(this.lastNeed=3-fe,this.lastTotal=3,fe===1?this.lastChar[0]=he[he.length-1]:(this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1]),he.toString("base64",ve,he.length-fe))}function ee(he){var ve=he&&he.length?this.write(he):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function re(he){return he.toString(this.encoding)}function le(he){return he&&he.length?this.write(he):""}},{"safe-buffer":396}],414:[function(E,Se,ye){(function(oe,te){(function(){var se=E("process/browser.js").nextTick,de=Function.prototype.apply,ue=Array.prototype.slice,ce={},ae=0;ye.setTimeout=function(){return new ie(de.call(setTimeout,window,arguments),clearTimeout)},ye.setInterval=function(){return new ie(de.call(setInterval,window,arguments),clearInterval)},ye.clearTimeout=ye.clearInterval=function(ne){ne.close()};function ie(ne,a){this._id=ne,this._clearFn=a}ie.prototype.unref=ie.prototype.ref=function(){},ie.prototype.close=function(){this._clearFn.call(window,this._id)},ye.enroll=function(ne,a){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=a},ye.unenroll=function(ne){clearTimeout(ne._idleTimeoutId),ne._idleTimeout=-1},ye._unrefActive=ye.active=function(ne){clearTimeout(ne._idleTimeoutId);var a=ne._idleTimeout;a>=0&&(ne._idleTimeoutId=setTimeout(function(){ne._onTimeout&&ne._onTimeout()},a))},ye.setImmediate=typeof oe=="function"?oe:function(ne){var a=ae++,y=arguments.length<2?!1:ue.call(arguments,1);return ce[a]=!0,se(function(){ce[a]&&(y?ne.apply(null,y):ne.call(null),ye.clearImmediate(a))}),a},ye.clearImmediate=typeof te=="function"?te:function(ne){delete ce[ne]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,Se,ye){var oe=E("buffer").Buffer;Se.exports=function(te){if(te instanceof Uint8Array){if(te.byteOffset===0&&te.byteLength===te.buffer.byteLength)return te.buffer;if(typeof te.buffer.slice=="function")return te.buffer.slice(te.byteOffset,te.byteOffset+te.byteLength)}if(oe.isBuffer(te)){for(var se=new Uint8Array(te.length),de=te.length,ue=0;ue=_e)return Ye;switch(Ye){case"%s":return String(ut[qe++]);case"%d":return Number(ut[qe++]);case"%j":try{return JSON.stringify(ut[qe++])}catch(Fe){return"[Circular]"}default:return Ye}}),Oe=ut[qe];qe<_e;Oe=ut[++qe])ve(Oe)||!Ce(Oe)?We+=" "+Oe:We+=" "+ae(Oe);return We},ye.deprecate=function(He,rt){if(typeof oe!="undefined"&&oe.noDeprecation===!0)return He;if(typeof oe=="undefined")return function(){return ye.deprecate(He,rt).apply(this,arguments)};var qe=!1;function ut(){if(!qe){if(oe.throwDeprecation)throw new Error(rt);oe.traceDeprecation?console.trace(rt):console.error(rt),qe=!0}return He.apply(this,arguments)}return ut};var de={},ue=/^$/;if(oe.env.NODE_DEBUG){var ce=oe.env.NODE_DEBUG;ce=ce.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ue=new RegExp("^"+ce+"$","i")}ye.debuglog=function(He){if(He=He.toUpperCase(),!de[He])if(ue.test(He)){var rt=oe.pid;de[He]=function(){var qe=ye.format.apply(ye,arguments);console.error("%s %d: %s",He,rt,qe)}}else de[He]=function(){};return de[He]};function ae(He,rt){var qe={seen:[],stylize:ne};return arguments.length>=3&&(qe.depth=arguments[2]),arguments.length>=4&&(qe.colors=arguments[3]),he(rt)?qe.showHidden=rt:rt&&ye._extend(qe,rt),Pe(qe.showHidden)&&(qe.showHidden=!1),Pe(qe.depth)&&(qe.depth=2),Pe(qe.colors)&&(qe.colors=!1),Pe(qe.customInspect)&&(qe.customInspect=!0),qe.colors&&(qe.stylize=ie),y(qe,He,qe.depth)}ye.inspect=ae,ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ie(He,rt){var qe=ae.styles[rt];return qe?"\x1B["+ae.colors[qe][0]+"m"+He+"\x1B["+ae.colors[qe][1]+"m":He}function ne(He,rt){return He}function a(He){var rt={};return He.forEach(function(qe,ut){rt[qe]=!0}),rt}function y(He,rt,qe){if(He.customInspect&&rt&&Me(rt.inspect)&&rt.inspect!==ye.inspect&&!(rt.constructor&&rt.constructor.prototype===rt)){var ut=rt.inspect(qe,He);return ge(ut)||(ut=y(He,ut,qe)),ut}var _e=x(He,rt);if(_e)return _e;var We=Object.keys(rt),Oe=a(We);if(He.showHidden&&(We=Object.getOwnPropertyNames(rt)),Ie(rt)&&(We.indexOf("message")>=0||We.indexOf("description")>=0))return b(rt);if(We.length===0){if(Me(rt)){var Ye=rt.name?": "+rt.name:"";return He.stylize("[Function"+Ye+"]","special")}if(Te(rt))return He.stylize(RegExp.prototype.toString.call(rt),"regexp");if(Le(rt))return He.stylize(Date.prototype.toString.call(rt),"date");if(Ie(rt))return b(rt)}var Fe="",Ne=!1,et=["{","}"];if(le(rt)&&(Ne=!0,et=["[","]"]),Me(rt)){var De=rt.name?": "+rt.name:"";Fe=" [Function"+De+"]"}if(Te(rt)&&(Fe=" "+RegExp.prototype.toString.call(rt)),Le(rt)&&(Fe=" "+Date.prototype.toUTCString.call(rt)),Ie(rt)&&(Fe=" "+b(rt)),We.length===0&&(!Ne||rt.length==0))return et[0]+Fe+et[1];if(qe<0)return Te(rt)?He.stylize(RegExp.prototype.toString.call(rt),"regexp"):He.stylize("[Object]","special");He.seen.push(rt);var je;return Ne?je=z(He,rt,qe,Oe,We):je=We.map(function(Ee){return ee(He,rt,qe,Oe,Ee,Ne)}),He.seen.pop(),re(je,Fe,et)}function x(He,rt){if(Pe(rt))return He.stylize("undefined","undefined");if(ge(rt)){var qe="'"+JSON.stringify(rt).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return He.stylize(qe,"string")}if(me(rt))return He.stylize(""+rt,"number");if(he(rt))return He.stylize(""+rt,"boolean");if(ve(rt))return He.stylize("null","null")}function b(He){return"["+Error.prototype.toString.call(He)+"]"}function z(He,rt,qe,ut,_e){for(var We=[],Oe=0,Ye=rt.length;Oe-1&&(We?Ye=Ye.split(` +`).map(function(Ne){return" "+Ne}).join(` +`).slice(2):Ye=` +`+Ye.split(` +`).map(function(Ne){return" "+Ne}).join(` +`))):Ye=He.stylize("[Circular]","special")),Pe(Oe)){if(We&&_e.match(/^\d+$/))return Ye;Oe=JSON.stringify(""+_e),Oe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Oe=Oe.slice(1,-1),Oe=He.stylize(Oe,"name")):(Oe=Oe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Oe=He.stylize(Oe,"string"))}return Oe+": "+Ye}function re(He,rt,qe){var ut=0,_e=He.reduce(function(We,Oe){return ut++,Oe.indexOf(` +`)>=0&&ut++,We+Oe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return _e>60?qe[0]+(rt===""?"":rt+` + `)+" "+He.join(`, + `)+" "+qe[1]:qe[0]+rt+" "+He.join(", ")+" "+qe[1]}ye.types=E("./support/types");function le(He){return Array.isArray(He)}ye.isArray=le;function he(He){return typeof He=="boolean"}ye.isBoolean=he;function ve(He){return He===null}ye.isNull=ve;function fe(He){return He==null}ye.isNullOrUndefined=fe;function me(He){return typeof He=="number"}ye.isNumber=me;function ge(He){return typeof He=="string"}ye.isString=ge;function be(He){return typeof He=="symbol"}ye.isSymbol=be;function Pe(He){return He===void 0}ye.isUndefined=Pe;function Te(He){return Ce(He)&&Qe(He)==="[object RegExp]"}ye.isRegExp=Te,ye.types.isRegExp=Te;function Ce(He){return typeof He=="object"&&He!==null}ye.isObject=Ce;function Le(He){return Ce(He)&&Qe(He)==="[object Date]"}ye.isDate=Le,ye.types.isDate=Le;function Ie(He){return Ce(He)&&(Qe(He)==="[object Error]"||He instanceof Error)}ye.isError=Ie,ye.types.isNativeError=Ie;function Me(He){return typeof He=="function"}ye.isFunction=Me;function Ue(He){return He===null||typeof He=="boolean"||typeof He=="number"||typeof He=="string"||typeof He=="symbol"||typeof He=="undefined"}ye.isPrimitive=Ue,ye.isBuffer=E("./support/isBuffer");function Qe(He){return Object.prototype.toString.call(He)}function Ge(He){return He<10?"0"+He.toString(10):He.toString(10)}var ot=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ve(){var He=new Date,rt=[Ge(He.getHours()),Ge(He.getMinutes()),Ge(He.getSeconds())].join(":");return[He.getDate(),ot[He.getMonth()],rt].join(" ")}ye.log=function(){console.log("%s - %s",Ve(),ye.format.apply(ye,arguments))},ye.inherits=E("inherits"),ye._extend=function(He,rt){if(!rt||!Ce(rt))return He;for(var qe=Object.keys(rt),ut=qe.length;ut--;)He[qe[ut]]=rt[qe[ut]];return He};function Xe(He,rt){return Object.prototype.hasOwnProperty.call(He,rt)}var Ze=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;ye.promisify=function(rt){if(typeof rt!="function")throw new TypeError('The "original" argument must be of type Function');if(Ze&&rt[Ze]){var qe=rt[Ze];if(typeof qe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(qe,Ze,{value:qe,enumerable:!1,writable:!1,configurable:!0}),qe}function qe(){for(var ut,_e,We=new Promise(function(Fe,Ne){ut=Fe,_e=Ne}),Oe=[],Ye=0;Ye-1?ve:ve!=="Object"?!1:re(he)}return ce?ee(he):null}}).call(this)}).call(this,typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,Se,ye){(function(){"use strict";ye.stripBOM=function(oe){return oe[0]==="\uFEFF"?oe.substring(1):oe}}).call(this)},{}],422:[function(E,Se,ye){(function(){"use strict";var oe,te,se,de,ue,ce={}.hasOwnProperty;oe=E("xmlbuilder"),te=E("./defaults").defaults,de=function(ae){return typeof ae=="string"&&(ae.indexOf("&")>=0||ae.indexOf(">")>=0||ae.indexOf("<")>=0)},ue=function(ae){return""},se=function(ae){return ae.replace("]]>","]]]]>")},ye.Builder=function(){function ae(ie){var ne,a,y;this.options={},a=te["0.2"];for(ne in a)ce.call(a,ne)&&(y=a[ne],this.options[ne]=y);for(ne in ie)ce.call(ie,ne)&&(y=ie[ne],this.options[ne]=y)}return ae.prototype.buildObject=function(ie){var ne,a,y,x,b;return ne=this.options.attrkey,a=this.options.charkey,Object.keys(ie).length===1&&this.options.rootName===te["0.2"].rootName?(b=Object.keys(ie)[0],ie=ie[b]):b=this.options.rootName,y=function(z){return function(ee,re){var le,he,ve,fe,me,ge;if(typeof re!="object")z.options.cdata&&de(re)?ee.raw(ue(re)):ee.txt(re);else if(Array.isArray(re)){for(fe in re)if(ce.call(re,fe)){he=re[fe];for(me in he)ve=he[me],ee=y(ee.ele(me),ve).up()}}else for(me in re)if(ce.call(re,me))if(he=re[me],me===ne){if(typeof he=="object")for(le in he)ge=he[le],ee=ee.att(le,ge)}else if(me===a)z.options.cdata&&de(he)?ee=ee.raw(ue(he)):ee=ee.txt(he);else if(Array.isArray(he))for(fe in he)ce.call(he,fe)&&(ve=he[fe],typeof ve=="string"?z.options.cdata&&de(ve)?ee=ee.ele(me).raw(ue(ve)).up():ee=ee.ele(me,ve).up():ee=y(ee.ele(me),ve).up());else typeof he=="object"?ee=y(ee.ele(me),he).up():typeof he=="string"&&z.options.cdata&&de(he)?ee=ee.ele(me).raw(ue(he)).up():(he==null&&(he=""),ee=ee.ele(me,he.toString()).up());return ee}}(this),x=oe.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ie).end(this.options.renderOpts)},ae}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,Se,ye){(function(){ye.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` +`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,Se,ye){(function(){"use strict";var oe,te,se,de,ue,ce,ae,ie,ne,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var ee in z)x.call(z,ee)&&(b[ee]=z[ee]);function re(){this.constructor=b}return re.prototype=z.prototype,b.prototype=new re,b.__super__=z.prototype,b},x={}.hasOwnProperty;ie=E("sax"),de=E("events"),oe=E("./bom"),ae=E("./processors"),ne=E("timers").setImmediate,te=E("./defaults").defaults,ue=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ce=function(b,z,ee){var re,le,he;for(re=0,le=b.length;re0&&(be[ve.options.childkey]=Te),Te=be;else if(Ie){Ie[ve.options.childkey]=Ie[ve.options.childkey]||[],Ce={};for(ge in Te)x.call(Te,ge)&&se(Ce,ge,Te[ge]);Ie[ve.options.childkey].push(Ce),delete Te["#name"],Object.keys(Te).length===1&&re in Te&&!ve.EXPLICIT_CHARKEY&&(Te=Te[re])}}return he.length>0?ve.assignOrPush(Ie,Pe,Te):(ve.options.explicitRoot&&(Le=Te,Te={},se(Te,Pe,Le)),ve.resultObject=Te,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),le=function(ve){return function(fe){var me,ge;if(ge=he[he.length-1],ge)return ge[re]+=fe,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||fe.replace(/\\n/g,"").trim()!=="")&&(ge[ve.options.childkey]=ge[ve.options.childkey]||[],me={"#name":"__text__"},me[re]=fe,ve.options.normalize&&(me[re]=me[re].replace(/\s{2,}/g," ").trim()),ge[ve.options.childkey].push(me)),ge}}(this),this.saxParser.ontext=le,this.saxParser.oncdata=function(ve){return function(fe){var me;if(me=le(fe),me)return me.cdata=!0}}(this)},z.prototype.parseString=function(ee,re){var le;re!=null&&typeof re=="function"&&(this.on("end",function(he){return this.reset(),re(null,he)}),this.on("error",function(he){return this.reset(),re(he)}));try{return ee=ee.toString(),ee.trim()===""?(this.emit("end",null),!0):(ee=oe.stripBOM(ee),this.options.async?(this.remaining=ee,ne(this.processAsync),this.saxParser):this.saxParser.write(ee).close())}catch(he){if(le=he,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw le}else return this.emit("error",le),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(ee){return new Promise(function(re){return function(le,he){return re.parseString(ee,function(ve,fe){return ve?he(ve):le(fe)})}}(this))},z}(de),ye.parseString=function(b,z,ee){var re,le,he;return ee!=null?(typeof ee=="function"&&(re=ee),typeof z=="object"&&(le=z)):(typeof z=="function"&&(re=z),le={}),he=new ye.Parser(le),he.parseString(b,re)},ye.parseStringPromise=function(b,z){var ee,re;return typeof z=="object"&&(ee=z),re=new ye.Parser(ee),re.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,Se,ye){(function(){"use strict";var oe;oe=new RegExp(/(?!xmlns)^.*:/),ye.normalize=function(te){return te.toLowerCase()},ye.firstCharLowerCase=function(te){return te.charAt(0).toLowerCase()+te.slice(1)},ye.stripPrefix=function(te){return te.replace(oe,"")},ye.parseNumbers=function(te){return isNaN(te)||(te=te%1===0?parseInt(te,10):parseFloat(te)),te},ye.parseBooleans=function(te){return/^(?:true|false)$/i.test(te)&&(te=te.toLowerCase()==="true"),te}}).call(this)},{}],426:[function(E,Se,ye){(function(){"use strict";var oe,te,se,de,ue=function(ae,ie){for(var ne in ie)ce.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ce={}.hasOwnProperty;te=E("./defaults"),oe=E("./builder"),se=E("./parser"),de=E("./processors"),ye.defaults=te.defaults,ye.processors=de,ye.ValidationError=function(ae){ue(ie,ae);function ie(ne){this.message=ne}return ie}(Error),ye.Builder=oe.Builder,ye.Parser=se.Parser,ye.parseString=se.parseString,ye.parseStringPromise=se.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,Se,ye){(function(){Se.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,Se,ye){(function(){Se.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,Se,ye){(function(){var oe,te,se,de,ue,ce,ae,ie=[].slice,ne={}.hasOwnProperty;oe=function(){var a,y,x,b,z,ee;if(ee=arguments[0],z=2<=arguments.length?ie.call(arguments,1):[],ue(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a":"attribute: {"+ue+"}, parent: <"+this.parent.name+">"},de.prototype.isEqualNode=function(ue){return!(ue.namespaceURI!==this.namespaceURI||ue.prefix!==this.prefix||ue.localName!==this.localName||ue.value!==this.value)},de}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,Se,ye){(function(){var oe,te,se,de=function(ce,ae){for(var ie in ae)ue.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},ue={}.hasOwnProperty;oe=E("./NodeType"),se=E("./XMLCharacterData"),Se.exports=te=function(ce){de(ae,ce);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=oe.CData,this.value=this.stringify.cdata(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.cdata(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,Se,ye){(function(){var oe,te,se=function(ue,ce){for(var ae in ce)de.call(ce,ae)&&(ue[ae]=ce[ae]);function ie(){this.constructor=ue}return ie.prototype=ce.prototype,ue.prototype=new ie,ue.__super__=ce.prototype,ue},de={}.hasOwnProperty;te=E("./XMLNode"),Se.exports=oe=function(ue){se(ce,ue);function ce(ae){ce.__super__.constructor.call(this,ae),this.value=""}return Object.defineProperty(ce.prototype,"data",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),Object.defineProperty(ce.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ce.prototype,"textContent",{get:function(){return this.value},set:function(ae){return this.value=ae||""}}),ce.prototype.clone=function(){return Object.create(this)},ce.prototype.substringData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.appendData=function(ae){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.insertData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.deleteData=function(ae,ie){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.replaceData=function(ae,ie,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ce.prototype.isEqualNode=function(ae){return!(!ce.__super__.isEqualNode.apply(this,arguments).isEqualNode(ae)||ae.data!==this.data)},ce}(te)}).call(this)},{"./XMLNode":450}],434:[function(E,Se,ye){(function(){var oe,te,se,de=function(ce,ae){for(var ie in ae)ue.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},ue={}.hasOwnProperty;oe=E("./NodeType"),te=E("./XMLCharacterData"),Se.exports=se=function(ce){de(ae,ce);function ae(ie,ne){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=oe.Comment,this.value=this.stringify.comment(ne)}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return this.options.writer.comment(this,this.options.writer.filterOptions(ie))},ae}(te)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,Se,ye){(function(){var oe,te,se;te=E("./XMLDOMErrorHandler"),se=E("./XMLDOMStringList"),Se.exports=oe=function(){function de(){var ue;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new te,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ue=Object.create(this.defaultParams)}return Object.defineProperty(de.prototype,"parameterNames",{get:function(){return new se(Object.keys(this.defaultParams))}}),de.prototype.getParameter=function(ue){return this.params.hasOwnProperty(ue)?this.params[ue]:null},de.prototype.canSetParameter=function(ue,ce){return!0},de.prototype.setParameter=function(ue,ce){return ce!=null?this.params[ue]=ce:delete this.params[ue]},de}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,Se,ye){(function(){var oe;Se.exports=oe=function(){function te(){}return te.prototype.handleError=function(se){throw new Error(se)},te}()}).call(this)},{}],437:[function(E,Se,ye){(function(){var oe;Se.exports=oe=function(){function te(){}return te.prototype.hasFeature=function(se,de){return!0},te.prototype.createDocumentType=function(se,de,ue){throw new Error("This DOM method is not implemented.")},te.prototype.createDocument=function(se,de,ue){throw new Error("This DOM method is not implemented.")},te.prototype.createHTMLDocument=function(se){throw new Error("This DOM method is not implemented.")},te.prototype.getFeature=function(se,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],438:[function(E,Se,ye){(function(){var oe;Se.exports=oe=function(){function te(se){this.arr=se||[]}return Object.defineProperty(te.prototype,"length",{get:function(){return this.arr.length}}),te.prototype.item=function(se){return this.arr[se]||null},te.prototype.contains=function(se){return this.arr.indexOf(se)!==-1},te}()}).call(this)},{}],439:[function(E,Se,ye){(function(){var oe,te,se,de=function(ce,ae){for(var ie in ae)ue.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},ue={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ce){de(ae,ce);function ae(ie,ne,a,y,x,b){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ne));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ne));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ne));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(ne));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ne));this.elementName=this.stringify.name(ne),this.type=oe.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return ae.prototype.toString=function(ie){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,Se,ye){(function(){var oe,te,se,de=function(ce,ae){for(var ie in ae)ue.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},ue={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ce){de(ae,ce);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ne),this.type=oe.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return ae.prototype.toString=function(ie){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,Se,ye){(function(){var oe,te,se,de,ue=function(ae,ie){for(var ne in ie)ce.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ce={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ae){ue(ie,ae);function ie(ne,a,y,x){if(ie.__super__.constructor.call(this,ne),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=oe.EntityDeclaration,!de(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(ie.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ie.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ie.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ie.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ie.prototype,"xmlVersion",{get:function(){return null}}),ie.prototype.toString=function(ne){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ne))},ie}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,Se,ye){(function(){var oe,te,se,de=function(ce,ae){for(var ie in ae)ue.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},ue={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ce){de(ae,ce);function ae(ie,ne,a){if(ae.__super__.constructor.call(this,ie),ne==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ne));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ne));this.name=this.stringify.name(ne),this.type=oe.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(ae.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ae.prototype,"systemId",{get:function(){return this.sysID}}),ae.prototype.toString=function(ie){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ie))},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,Se,ye){(function(){var oe,te,se,de,ue=function(ae,ie){for(var ne in ie)ce.call(ie,ne)&&(ae[ne]=ie[ne]);function a(){this.constructor=ae}return a.prototype=ie.prototype,ae.prototype=new a,ae.__super__=ie.prototype,ae},ce={}.hasOwnProperty;de=E("./Utility").isObject,se=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ae){ue(ie,ae);function ie(ne,a,y,x){var b;ie.__super__.constructor.call(this,ne),de(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=oe.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ie.prototype.toString=function(ne){return this.options.writer.declaration(this,this.options.writer.filterOptions(ne))},ie}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,Se,ye){(function(){var oe,te,se,de,ue,ce,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility").isObject,ie=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLDTDAttList"),de=E("./XMLDTDEntity"),se=E("./XMLDTDElement"),ue=E("./XMLDTDNotation"),ae=E("./XMLNamedNodeMap"),Se.exports=ce=function(x){a(b,x);function b(z,ee,re){var le,he,ve,fe,me,ge;if(b.__super__.constructor.call(this,z),this.type=oe.DocType,z.children){for(fe=z.children,he=0,ve=fe.length;he=0;)this.up();return this.onEnd()},Ce.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ce.prototype.openNode=function(Le){var Ie,Me,Ue,Qe;if(!Le.isOpen){if(!this.root&&this.currentLevel===0&&Le.type===oe.Element&&(this.root=Le),Me="",Le.type===oe.Element){this.writerOptions.state=te.OpenTag,Me=this.writer.indent(Le,this.writerOptions,this.currentLevel)+"<"+Le.name,Qe=Le.attribs;for(Ue in Qe)Te.call(Qe,Ue)&&(Ie=Qe[Ue],Me+=this.writer.attribute(Ie,this.writerOptions,this.currentLevel));Me+=(Le.children?">":"/>")+this.writer.endline(Le,this.writerOptions,this.currentLevel),this.writerOptions.state=te.InsideTag}else this.writerOptions.state=te.OpenTag,Me=this.writer.indent(Le,this.writerOptions,this.currentLevel)+""),Me+=this.writer.endline(Le,this.writerOptions,this.currentLevel);return this.onData(Me,this.currentLevel),Le.isOpen=!0}},Ce.prototype.closeNode=function(Le){var Ie;if(!Le.isClosed)return Ie="",this.writerOptions.state=te.CloseTag,Le.type===oe.Element?Ie=this.writer.indent(Le,this.writerOptions,this.currentLevel)+""+this.writer.endline(Le,this.writerOptions,this.currentLevel):Ie=this.writer.indent(Le,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Le,this.writerOptions,this.currentLevel),this.writerOptions.state=te.None,this.onData(Ie,this.currentLevel),Le.isClosed=!0},Ce.prototype.onData=function(Le,Ie){return this.documentStarted=!0,this.onDataCallback(Le,Ie+1)},Ce.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ce.prototype.debugInfo=function(Le){return Le==null?"":"node: <"+Le+">"},Ce.prototype.ele=function(){return this.element.apply(this,arguments)},Ce.prototype.nod=function(Le,Ie,Me){return this.node(Le,Ie,Me)},Ce.prototype.txt=function(Le){return this.text(Le)},Ce.prototype.dat=function(Le){return this.cdata(Le)},Ce.prototype.com=function(Le){return this.comment(Le)},Ce.prototype.ins=function(Le,Ie){return this.instruction(Le,Ie)},Ce.prototype.dec=function(Le,Ie,Me){return this.declaration(Le,Ie,Me)},Ce.prototype.dtd=function(Le,Ie,Me){return this.doctype(Le,Ie,Me)},Ce.prototype.e=function(Le,Ie,Me){return this.element(Le,Ie,Me)},Ce.prototype.n=function(Le,Ie,Me){return this.node(Le,Ie,Me)},Ce.prototype.t=function(Le){return this.text(Le)},Ce.prototype.d=function(Le){return this.cdata(Le)},Ce.prototype.c=function(Le){return this.comment(Le)},Ce.prototype.r=function(Le){return this.raw(Le)},Ce.prototype.i=function(Le,Ie){return this.instruction(Le,Ie)},Ce.prototype.att=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.a=function(){return this.currentNode&&this.currentNode.type===oe.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.ent=function(Le,Ie){return this.entity(Le,Ie)},Ce.prototype.pent=function(Le,Ie){return this.pEntity(Le,Ie)},Ce.prototype.not=function(Le,Ie){return this.notation(Le,Ie)},Ce}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,Se,ye){(function(){var oe,te,se,de=function(ce,ae){for(var ie in ae)ue.call(ae,ie)&&(ce[ie]=ae[ie]);function ne(){this.constructor=ce}return ne.prototype=ae.prototype,ce.prototype=new ne,ce.__super__=ae.prototype,ce},ue={}.hasOwnProperty;se=E("./XMLNode"),oe=E("./NodeType"),Se.exports=te=function(ce){de(ae,ce);function ae(ie){ae.__super__.constructor.call(this,ie),this.type=oe.Dummy}return ae.prototype.clone=function(){return Object.create(this)},ae.prototype.toString=function(ie){return""},ae}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,Se,ye){(function(){var oe,te,se,de,ue,ce,ae,ie,ne,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function ee(){this.constructor=x}return ee.prototype=b.prototype,x.prototype=new ee,x.__super__=b.prototype,x},y={}.hasOwnProperty;ne=E("./Utility"),ie=ne.isObject,ae=ne.isFunction,ce=ne.getValue,ue=E("./XMLNode"),oe=E("./NodeType"),te=E("./XMLAttribute"),de=E("./XMLNamedNodeMap"),Se.exports=se=function(x){a(b,x);function b(z,ee,re){var le,he,ve,fe;if(b.__super__.constructor.call(this,z),ee==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(ee),this.type=oe.Element,this.attribs={},this.schemaTypeInfo=null,re!=null&&this.attribute(re),z.type===oe.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(fe=z.children,he=0,ve=fe.length;he=le;ee=0<=le?++re:--re)if(!this.attribs[ee].isEqualNode(z.attribs[ee]))return!1;return!0},b}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,Se,ye){(function(){var oe;Se.exports=oe=function(){function te(se){this.nodes=se}return Object.defineProperty(te.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),te.prototype.clone=function(){return this.nodes=null},te.prototype.getNamedItem=function(se){return this.nodes[se]},te.prototype.setNamedItem=function(se){var de;return de=this.nodes[se.nodeName],this.nodes[se.nodeName]=se,de||null},te.prototype.removeNamedItem=function(se){var de;return de=this.nodes[se],delete this.nodes[se],de||null},te.prototype.item=function(se){return this.nodes[Object.keys(this.nodes)[se]]||null},te.prototype.getNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},te.prototype.setNamedItemNS=function(se){throw new Error("This DOM method is not implemented.")},te.prototype.removeNamedItemNS=function(se,de){throw new Error("This DOM method is not implemented.")},te}()}).call(this)},{}],450:[function(E,Se,ye){(function(){var oe,te,se,de,ue,ce,ae,ie,ne,a,y,x,b,z,ee,re,le,he,ve,fe={}.hasOwnProperty;ve=E("./Utility"),he=ve.isObject,le=ve.isFunction,re=ve.isEmpty,ee=ve.getValue,ie=null,se=null,de=null,ue=null,ce=null,b=null,z=null,x=null,ae=null,te=null,y=null,ne=null,oe=null,Se.exports=a=function(){function me(ge){this.parent=ge,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ie||(ie=E("./XMLElement"),se=E("./XMLCData"),de=E("./XMLComment"),ue=E("./XMLDeclaration"),ce=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),ae=E("./XMLDummy"),te=E("./NodeType"),y=E("./XMLNodeList"),ne=E("./XMLNamedNodeMap"),oe=E("./DocumentPosition"))}return Object.defineProperty(me.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(me.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(me.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(me.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(me.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(me.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(me.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(me.prototype,"previousSibling",{get:function(){var ge;return ge=this.parent.children.indexOf(this),this.parent.children[ge-1]||null}}),Object.defineProperty(me.prototype,"nextSibling",{get:function(){var ge;return ge=this.parent.children.indexOf(this),this.parent.children[ge+1]||null}}),Object.defineProperty(me.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(me.prototype,"textContent",{get:function(){var ge,be,Pe,Te,Ce;if(this.nodeType===te.Element||this.nodeType===te.DocumentFragment){for(Ce="",Te=this.children,be=0,Pe=Te.length;be":(Pe=this.parent)!=null&&Pe.name?"node: <"+ge+">, parent: <"+this.parent.name+">":"node: <"+ge+">"},me.prototype.ele=function(ge,be,Pe){return this.element(ge,be,Pe)},me.prototype.nod=function(ge,be,Pe){return this.node(ge,be,Pe)},me.prototype.txt=function(ge){return this.text(ge)},me.prototype.dat=function(ge){return this.cdata(ge)},me.prototype.com=function(ge){return this.comment(ge)},me.prototype.ins=function(ge,be){return this.instruction(ge,be)},me.prototype.doc=function(){return this.document()},me.prototype.dec=function(ge,be,Pe){return this.declaration(ge,be,Pe)},me.prototype.e=function(ge,be,Pe){return this.element(ge,be,Pe)},me.prototype.n=function(ge,be,Pe){return this.node(ge,be,Pe)},me.prototype.t=function(ge){return this.text(ge)},me.prototype.d=function(ge){return this.cdata(ge)},me.prototype.c=function(ge){return this.comment(ge)},me.prototype.r=function(ge){return this.raw(ge)},me.prototype.i=function(ge,be){return this.instruction(ge,be)},me.prototype.u=function(){return this.up()},me.prototype.importXMLBuilder=function(ge){return this.importDocument(ge)},me.prototype.replaceChild=function(ge,be){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.removeChild=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.appendChild=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.hasChildNodes=function(){return this.children.length!==0},me.prototype.cloneNode=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.isSupported=function(ge,be){return!0},me.prototype.hasAttributes=function(){return this.attribs.length!==0},me.prototype.compareDocumentPosition=function(ge){var be,Pe;return be=this,be===ge?0:this.document()!==ge.document()?(Pe=oe.Disconnected|oe.ImplementationSpecific,Math.random()<.5?Pe|=oe.Preceding:Pe|=oe.Following,Pe):be.isAncestor(ge)?oe.Contains|oe.Preceding:be.isDescendant(ge)?oe.Contains|oe.Following:be.isPreceding(ge)?oe.Preceding:oe.Following},me.prototype.isSameNode=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.lookupPrefix=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.isDefaultNamespace=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.lookupNamespaceURI=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.isEqualNode=function(ge){var be,Pe,Te;if(ge.nodeType!==this.nodeType||ge.children.length!==this.children.length)return!1;for(be=Pe=0,Te=this.children.length-1;0<=Te?Pe<=Te:Pe>=Te;be=0<=Te?++Pe:--Pe)if(!this.children[be].isEqualNode(ge.children[be]))return!1;return!0},me.prototype.getFeature=function(ge,be){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.setUserData=function(ge,be,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.getUserData=function(ge){throw new Error("This DOM method is not implemented."+this.debugInfo())},me.prototype.contains=function(ge){return ge?ge===this||this.isDescendant(ge):!1},me.prototype.isDescendant=function(ge){var be,Pe,Te,Ce,Le;for(Le=this.children,Te=0,Ce=Le.length;TePe},me.prototype.treePosition=function(ge){var be,Pe;return Pe=0,be=!1,this.foreachTreeNode(this.document(),function(Te){if(Pe++,!be&&Te===ge)return be=!0}),be?Pe:-1},me.prototype.foreachTreeNode=function(ge,be){var Pe,Te,Ce,Le,Ie;for(ge||(ge=this.document()),Le=ge.children,Te=0,Ce=Le.length;Te0){for(this.stream.write(" ["),this.stream.write(this.endline(ne,a,y)),a.state=te.InsideTag,ee=ne.children,b=0,z=ee.length;b"),this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.element=function(ne,a,y){var x,b,z,ee,re,le,he,ve,fe,me;y||(y=0),this.openNode(ne,a,y),a.state=te.OpenTag,this.stream.write(this.indent(ne,a,y)+"<"+ne.name),fe=ne.attribs;for(he in fe)ce.call(fe,he)&&(x=fe[he],this.attribute(x,a,y));if(z=ne.children.length,ee=z===0?null:ne.children[0],z===0||ne.children.every(function(ge){return(ge.type===oe.Text||ge.type===oe.Raw)&&ge.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=te.CloseTag,this.stream.write("")):(a.state=te.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(ee.type===oe.Text||ee.type===oe.Raw)&&ee.value!=null)this.stream.write(">"),a.state=te.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(ee,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=te.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ne,a,y)),a.state=te.InsideTag,me=ne.children,re=0,le=me.length;re")}return this.stream.write(this.endline(ne,a,y)),a.state=te.None,this.closeNode(ne,a,y)},ie.prototype.processingInstruction=function(ne,a,y){return this.stream.write(ie.__super__.processingInstruction.call(this,ne,a,y))},ie.prototype.raw=function(ne,a,y){return this.stream.write(ie.__super__.raw.call(this,ne,a,y))},ie.prototype.text=function(ne,a,y){return this.stream.write(ie.__super__.text.call(this,ne,a,y))},ie.prototype.dtdAttList=function(ne,a,y){return this.stream.write(ie.__super__.dtdAttList.call(this,ne,a,y))},ie.prototype.dtdElement=function(ne,a,y){return this.stream.write(ie.__super__.dtdElement.call(this,ne,a,y))},ie.prototype.dtdEntity=function(ne,a,y){return this.stream.write(ie.__super__.dtdEntity.call(this,ne,a,y))},ie.prototype.dtdNotation=function(ne,a,y){return this.stream.write(ie.__super__.dtdNotation.call(this,ne,a,y))},ie}(de)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,Se,ye){(function(){var oe,te,se=function(ue,ce){for(var ae in ce)de.call(ce,ae)&&(ue[ae]=ce[ae]);function ie(){this.constructor=ue}return ie.prototype=ce.prototype,ue.prototype=new ie,ue.__super__=ce.prototype,ue},de={}.hasOwnProperty;te=E("./XMLWriterBase"),Se.exports=oe=function(ue){se(ce,ue);function ce(ae){ce.__super__.constructor.call(this,ae)}return ce.prototype.document=function(ae,ie){var ne,a,y,x,b;for(ie=this.filterOptions(ie),x="",b=ae.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(ue))},de.prototype.comment=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ue);return this.assertLegalChar(ue)},de.prototype.raw=function(ue){return this.options.noValidation?ue:""+ue||""},de.prototype.attValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.attEscape(ue=""+ue||""))},de.prototype.insTarget=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.insValue=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/\?>/))throw new Error("Invalid processing instruction value: "+ue);return this.assertLegalChar(ue)},de.prototype.xmlVersion=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ue);return ue},de.prototype.xmlEncoding=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ue);return this.assertLegalChar(ue)},de.prototype.xmlStandalone=function(ue){return this.options.noValidation?ue:ue?"yes":"no"},de.prototype.dtdPubID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdSysID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdElementValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdAttType=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdAttDefault=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdEntityValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.dtdNData=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},de.prototype.convertAttKey="@",de.prototype.convertPIKey="?",de.prototype.convertTextKey="#text",de.prototype.convertCDataKey="#cdata",de.prototype.convertCommentKey="#comment",de.prototype.convertRawKey="#raw",de.prototype.assertLegalChar=function(ue){var ce,ae;if(this.options.noValidation)return ue;if(ce="",this.options.version==="1.0"){if(ce=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=ue.match(ce))throw new Error("Invalid character in string: "+ue+" at index "+ae.index)}else if(this.options.version==="1.1"&&(ce=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ae=ue.match(ce)))throw new Error("Invalid character in string: "+ue+" at index "+ae.index);return ue},de.prototype.assertLegalName=function(ue){var ce;if(this.options.noValidation)return ue;if(this.assertLegalChar(ue),ce=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ue.match(ce))throw new Error("Invalid character in name");return ue},de.prototype.textEscape=function(ue){var ce;return this.options.noValidation?ue:(ce=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ce,"&").replace(//g,">").replace(/\r/g," "))},de.prototype.attEscape=function(ue){var ce;return this.options.noValidation?ue:(ce=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ce,"&").replace(/0)?new Array(be).join(me.indent):""},ve.prototype.endline=function(fe,me,ge){return!me.pretty||me.suppressPrettyCount?"":me.newline},ve.prototype.attribute=function(fe,me,ge){var be;return this.openAttribute(fe,me,ge),be=" "+fe.name+'="'+fe.value+'"',this.closeAttribute(fe,me,ge),be},ve.prototype.cdata=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+""+this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.comment=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+""+this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.declaration=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+"",be+=this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.docType=function(fe,me,ge){var be,Pe,Te,Ce,Le;if(ge||(ge=0),this.openNode(fe,me,ge),me.state=te.OpenTag,Ce=this.indent(fe,me,ge),Ce+="0){for(Ce+=" [",Ce+=this.endline(fe,me,ge),me.state=te.InsideTag,Le=fe.children,Pe=0,Te=Le.length;Pe",Ce+=this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),Ce},ve.prototype.element=function(fe,me,ge){var be,Pe,Te,Ce,Le,Ie,Me,Ue,Qe,Ge,ot,Ve,Xe,Ze;ge||(ge=0),Ge=!1,ot="",this.openNode(fe,me,ge),me.state=te.OpenTag,ot+=this.indent(fe,me,ge)+"<"+fe.name,Ve=fe.attribs;for(Qe in Ve)he.call(Ve,Qe)&&(be=Ve[Qe],ot+=this.attribute(be,me,ge));if(Te=fe.children.length,Ce=Te===0?null:fe.children[0],Te===0||fe.children.every(function(ze){return(ze.type===oe.Text||ze.type===oe.Raw)&&ze.value===""}))me.allowEmpty?(ot+=">",me.state=te.CloseTag,ot+=""+this.endline(fe,me,ge)):(me.state=te.CloseTag,ot+=me.spaceBeforeSlash+"/>"+this.endline(fe,me,ge));else if(me.pretty&&Te===1&&(Ce.type===oe.Text||Ce.type===oe.Raw)&&Ce.value!=null)ot+=">",me.state=te.InsideTag,me.suppressPrettyCount++,Ge=!0,ot+=this.writeChildNode(Ce,me,ge+1),me.suppressPrettyCount--,Ge=!1,me.state=te.CloseTag,ot+=""+this.endline(fe,me,ge);else{if(me.dontPrettyTextNodes){for(Xe=fe.children,Le=0,Me=Xe.length;Le"+this.endline(fe,me,ge),me.state=te.InsideTag,Ze=fe.children,Ie=0,Ue=Ze.length;Ie",Ge&&me.suppressPrettyCount--,ot+=this.endline(fe,me,ge),me.state=te.None}return this.closeNode(fe,me,ge),ot},ve.prototype.writeChildNode=function(fe,me,ge){switch(fe.type){case oe.CData:return this.cdata(fe,me,ge);case oe.Comment:return this.comment(fe,me,ge);case oe.Element:return this.element(fe,me,ge);case oe.Raw:return this.raw(fe,me,ge);case oe.Text:return this.text(fe,me,ge);case oe.ProcessingInstruction:return this.processingInstruction(fe,me,ge);case oe.Dummy:return"";case oe.Declaration:return this.declaration(fe,me,ge);case oe.DocType:return this.docType(fe,me,ge);case oe.AttributeDeclaration:return this.dtdAttList(fe,me,ge);case oe.ElementDeclaration:return this.dtdElement(fe,me,ge);case oe.EntityDeclaration:return this.dtdEntity(fe,me,ge);case oe.NotationDeclaration:return this.dtdNotation(fe,me,ge);default:throw new Error("Unknown XML node type: "+fe.constructor.name)}},ve.prototype.processingInstruction=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+"",be+=this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.raw=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge),me.state=te.InsideTag,be+=fe.value,me.state=te.CloseTag,be+=this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.text=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge),me.state=te.InsideTag,be+=fe.value,me.state=te.CloseTag,be+=this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.dtdAttList=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+""+this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.dtdElement=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+""+this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.dtdEntity=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+""+this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.dtdNotation=function(fe,me,ge){var be;return this.openNode(fe,me,ge),me.state=te.OpenTag,be=this.indent(fe,me,ge)+""+this.endline(fe,me,ge),me.state=te.None,this.closeNode(fe,me,ge),be},ve.prototype.openNode=function(fe,me,ge){},ve.prototype.closeNode=function(fe,me,ge){},ve.prototype.openAttribute=function(fe,me,ge){},ve.prototype.closeAttribute=function(fe,me,ge){},ve}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,Se,ye){(function(){var oe,te,se,de,ue,ce,ae,ie,ne,a;a=E("./Utility"),ie=a.assign,ne=a.isFunction,se=E("./XMLDOMImplementation"),de=E("./XMLDocument"),ue=E("./XMLDocumentCB"),ae=E("./XMLStringWriter"),ce=E("./XMLStreamWriter"),oe=E("./NodeType"),te=E("./WriterState"),Se.exports.create=function(y,x,b,z){var ee,re;if(y==null)throw new Error("Root element needs a name.");return z=ie({},x,b,z),ee=new de(z),re=ee.element(y),z.headless||(ee.declaration(z),(z.pubID!=null||z.sysID!=null)&&ee.dtd(z)),re},Se.exports.begin=function(y,x,b){var z;return ne(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new ue(y,x,b):new de(y)},Se.exports.stringWriter=function(y){return new ae(y)},Se.exports.streamWriter=function(y,x){return new ce(y,x)},Se.exports.implementation=new se,Se.exports.nodeType=oe,Se.exports.writerState=te}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,Se,ye){Se.exports=te;var oe=Object.prototype.hasOwnProperty;function te(){for(var se={},de=0;deue?y=a(y):y.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,ee=-1732584194,re=271733878,le=0;le>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<>>32-x}Se.exports=function(x){return oe.hash(x,se,16)}},{"./helpers":462}],464:[function(E,Se,ye){"use strict";var oe=E("./helpers");function te(ae,ie){ae[ie>>5]|=128<<24-ie%32,ae[(ie+64>>9<<4)+15]=ie;for(var ne=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,ee=0;ee>16)+(ie>>16)+(ne>>16);return a<<16|ne&65535}function ce(ae,ie){return ae<>>32-ie}Se.exports=function(ie){return oe.hash(ie,te,20,!0)}},{"./helpers":462}],465:[function(E,Se,ye){"use strict";Se.exports=function(){return function(){}}},{}],466:[function(E,Se,ye){(function(oe){(function(){"use strict";var te=E("@babel/runtime/helpers/interopRequireDefault"),se=te(E("@babel/runtime/helpers/typeof")),de=E("stream"),ue=de.Stream,ce=E("../lib/common/utils/isArray"),ae=ce.isArray;Se.exports.string=function(a){return typeof a=="string"},Se.exports.array=ae,Se.exports.buffer=oe.isBuffer;function ie(ne){return ne instanceof ue}Se.exports.writableStream=function(a){return ie(a)&&typeof a._write=="function"&&(0,se.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,Se,ye){"use strict";var oe=E("immediate"),te=Se.exports={};te.nextTick=oe,te.title="browser",te.browser=!0,te.env={},te.argv=[],te.version="",te.versions={};function se(){}te.on=se,te.addListener=se,te.once=se,te.off=se,te.removeListener=se,te.removeAllListeners=se,te.emit=se,te.prependListener=se,te.prependOnceListener=se,te.listeners=function(de){return[]},te.binding=function(de){throw new Error("process.binding is not supported")},te.cwd=function(){return"/"},te.chdir=function(de){throw new Error("process.chdir is not supported")},te.umask=function(){return 0}},{immediate:358}],468:[function(E,Se,ye){(function(oe){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var te=E("./lib/request"),se=E("./lib/response"),de=E("xtend"),ue=E("builtin-status-codes"),ce=E("url"),ae=ye;ae.request=function(ie,ne){typeof ie=="string"?ie=ce.parse(ie):ie=de(ie);var a=oe.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ie.protocol||a,x=ie.hostname||ie.host,b=ie.port,z=ie.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ie.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,ie.method=(ie.method||"GET").toUpperCase(),ie.headers=ie.headers||{};var ee=new te(ie);return ne&&ee.on("response",ne),ee},ae.get=function(ne,a){var y=ae.request(ne,a);return y.end(),y},ae.ClientRequest=te,ae.IncomingMessage=se.IncomingMessage,ae.Agent=function(){},ae.Agent.defaultMaxSockets=4,ae.globalAgent=new ae.Agent,ae.STATUS_CODES=ue,ae.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this)}).call(this,typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,Se,ye){(function(oe){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),ye.fetch=ae(oe.fetch)&&ae(oe.ReadableStream),ye.writableStream=ae(oe.WritableStream),ye.abortController=ae(oe.AbortController),ye.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),ye.blobConstructor=!0}catch(ie){}var te;function se(){if(te!==void 0)return te;if(oe.XMLHttpRequest){te=new oe.XMLHttpRequest;try{te.open("GET",oe.XDomainRequest?"/":"https://example.com")}catch(ie){te=null}}else te=null;return te}function de(ie){var ne=se();if(!ne)return!1;try{return ne.responseType=ie,ne.responseType===ie}catch(a){}return!1}var ue=typeof oe.ArrayBuffer!="undefined",ce=ue&&ae(oe.ArrayBuffer.prototype.slice);ye.arraybuffer=ye.fetch||ue&&de("arraybuffer"),ye.msstream=!ye.fetch&&ce&&de("ms-stream"),ye.mozchunkedarraybuffer=!ye.fetch&&ue&&de("moz-chunked-arraybuffer"),ye.overrideMimeType=ye.fetch||(se()?ae(se().overrideMimeType):!1),ye.vbArray=ae(oe.VBArray);function ae(ie){return typeof ie=="function"}te=null}).call(this)}).call(this,typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,Se,ye){(function(oe,te,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var de=E("./capability"),ue=E("inherits"),ce=E("./response"),ae=E("readable-stream"),ie=E("to-arraybuffer"),ne=ce.IncomingMessage,a=ce.readyStates;function y(ee,re){return de.fetch&&re?"fetch":de.mozchunkedarraybuffer?"moz-chunked-arraybuffer":de.msstream?"ms-stream":de.arraybuffer&&ee?"arraybuffer":de.vbArray&&ee?"text:vbarray":"text"}var x=Se.exports=function(ee){var re=this;ae.Writable.call(re),re._opts=ee,re._body=[],re._headers={},ee.auth&&re.setHeader("Authorization","Basic "+new se(ee.auth).toString("base64")),Object.keys(ee.headers).forEach(function(ve){re.setHeader(ve,ee.headers[ve])});var le,he=!0;if(ee.mode==="disable-fetch"||"requestTimeout"in ee&&!de.abortController)he=!1,le=!0;else if(ee.mode==="prefer-streaming")le=!1;else if(ee.mode==="allow-wrong-content-type")le=!de.overrideMimeType;else if(!ee.mode||ee.mode==="default"||ee.mode==="prefer-fast")le=!0;else throw new Error("Invalid value for opts.mode");re._mode=y(le,he),re._fetchTimer=null,re.on("finish",function(){re._onFinish()})};ue(x,ae.Writable),x.prototype.setHeader=function(ee,re){var le=this,he=ee.toLowerCase();z.indexOf(he)===-1&&(le._headers[he]={name:ee,value:re})},x.prototype.getHeader=function(ee){var re=this._headers[ee.toLowerCase()];return re?re.value:null},x.prototype.removeHeader=function(ee){var re=this;delete re._headers[ee.toLowerCase()]},x.prototype._onFinish=function(){var ee=this;if(!ee._destroyed){var re=ee._opts,le=ee._headers,he=null;re.method!=="GET"&&re.method!=="HEAD"&&(de.arraybuffer?he=ie(se.concat(ee._body)):de.blobConstructor?he=new te.Blob(ee._body.map(function(Pe){return ie(Pe)}),{type:(le["content-type"]||{}).value||""}):he=se.concat(ee._body).toString());var ve=[];if(Object.keys(le).forEach(function(Pe){var Te=le[Pe].name,Ce=le[Pe].value;Array.isArray(Ce)?Ce.forEach(function(Le){ve.push([Te,Le])}):ve.push([Te,Ce])}),ee._mode==="fetch"){var fe=null,me=null;if(de.abortController){var ge=new AbortController;fe=ge.signal,ee._fetchAbortController=ge,"requestTimeout"in re&&re.requestTimeout!==0&&(ee._fetchTimer=te.setTimeout(function(){ee.emit("requestTimeout"),ee._fetchAbortController&&ee._fetchAbortController.abort()},re.requestTimeout))}te.fetch(ee._opts.url,{method:ee._opts.method,headers:ve,body:he||void 0,mode:"cors",credentials:re.withCredentials?"include":"same-origin",signal:fe}).then(function(Pe){ee._fetchResponse=Pe,ee._connect()},function(Pe){te.clearTimeout(ee._fetchTimer),ee._destroyed||ee.emit("error",Pe)})}else{var be=ee._xhr=new te.XMLHttpRequest;try{be.open(ee._opts.method,ee._opts.url,!0)}catch(Pe){oe.nextTick(function(){ee.emit("error",Pe)});return}"responseType"in be&&(be.responseType=ee._mode.split(":")[0]),"withCredentials"in be&&(be.withCredentials=!!re.withCredentials),ee._mode==="text"&&"overrideMimeType"in be&&be.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in re&&(be.timeout=re.requestTimeout,be.ontimeout=function(){ee.emit("requestTimeout")}),ve.forEach(function(Pe){be.setRequestHeader(Pe[0],Pe[1])}),ee._response=null,be.onreadystatechange=function(){switch(be.readyState){case a.LOADING:case a.DONE:ee._onXHRProgress();break}},ee._mode==="moz-chunked-arraybuffer"&&(be.onprogress=function(){ee._onXHRProgress()}),be.onerror=function(){ee._destroyed||ee.emit("error",new Error("XHR error"))};try{be.send(he)}catch(Pe){oe.nextTick(function(){ee.emit("error",Pe)});return}}}};function b(ee){try{var re=ee.status;return re!==null&&re!==0}catch(le){return!1}}x.prototype._onXHRProgress=function(){var ee=this;!b(ee._xhr)||ee._destroyed||(ee._response||ee._connect(),ee._response._onXHRProgress())},x.prototype._connect=function(){var ee=this;ee._destroyed||(ee._response=new ne(ee._xhr,ee._fetchResponse,ee._mode,ee._fetchTimer),ee._response.on("error",function(re){ee.emit("error",re)}),ee.emit("response",ee._response))},x.prototype._write=function(ee,re,le){var he=this;he._body.push(ee),le()},x.prototype.abort=x.prototype.destroy=function(){var ee=this;ee._destroyed=!0,te.clearTimeout(ee._fetchTimer),ee._response&&(ee._response._destroyed=!0),ee._xhr?ee._xhr.abort():ee._fetchAbortController&&ee._fetchAbortController.abort()},x.prototype.end=function(ee,re,le){var he=this;typeof ee=="function"&&(le=ee,ee=void 0),ae.Writable.prototype.end.call(he,ee,re,le)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,Se,ye){(function(oe,te,se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var de=E("./capability"),ue=E("inherits"),ce=E("readable-stream"),ae=ye.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ie=ye.IncomingMessage=function(ne,a,y,x){var b=this;if(ce.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){oe.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function fe(){re.read().then(function(me){if(!b._destroyed){if(me.done){te.clearTimeout(x),b.push(null);return}b.push(new se(me.value)),fe()}}).catch(function(me){te.clearTimeout(x),b._destroyed||b.emit("error",me)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(fe,me){b.headers[me.toLowerCase()]=fe,b.rawHeaders.push(me,fe)}),de.writableStream){var ee=new WritableStream({write:function(me){return new Promise(function(ge,be){b._destroyed?be():b.push(new se(me))?ge():b._resumeFetch=ge})},close:function(){te.clearTimeout(x),b._destroyed||b.push(null)},abort:function(me){b._destroyed||b.emit("error",me)}});try{a.body.pipeTo(ee).catch(function(fe){te.clearTimeout(x),b._destroyed||b.emit("error",fe)});return}catch(fe){}}var re=a.body.getReader();z()}else{b._xhr=ne,b._pos=0,b.url=ne.responseURL,b.statusCode=ne.status,b.statusMessage=ne.statusText;var le=ne.getAllResponseHeaders().split(/\r?\n/);if(le.forEach(function(fe){var me=fe.match(/^([^:]+):\s*(.*)/);if(me){var ge=me[1].toLowerCase();ge==="set-cookie"?(b.headers[ge]===void 0&&(b.headers[ge]=[]),b.headers[ge].push(me[2])):b.headers[ge]!==void 0?b.headers[ge]+=", "+me[2]:b.headers[ge]=me[2],b.rawHeaders.push(me[1],me[2])}}),b._charset="x-user-defined",!de.overrideMimeType){var he=b.rawHeaders["mime-type"];if(he){var ve=he.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ue(ie,ce.Readable),ie.prototype._read=function(){var ne=this,a=ne._resumeFetch;a&&(ne._resumeFetch=null,a())},ie.prototype._onXHRProgress=function(){var ne=this,a=ne._xhr,y=null;switch(ne._mode){case"text:vbarray":if(a.readyState!==ae.DONE)break;try{y=new te.VBArray(a.responseBody).toArray()}catch(re){}if(y!==null){ne.push(new se(y));break}case"text":try{y=a.responseText}catch(re){ne._mode="text:vbarray";break}if(y.length>ne._pos){var x=y.substr(ne._pos);if(ne._charset==="x-user-defined"){for(var b=new se(x.length),z=0;zne._pos&&(ne.push(new se(new Uint8Array(ee.result.slice(ne._pos)))),ne._pos=ee.result.byteLength)},ee.onload=function(){ne.push(null)},ee.readAsArrayBuffer(y);break}ne._xhr.readyState===ae.DONE&&ne._mode!=="ms-stream"&&ne.push(null)}}).call(this)}).call(this,E("_process"),typeof At!="undefined"?At:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var se=E("punycode"),de=E("./util");ye.parse=me,ye.resolve=be,ye.resolveObject=Pe,ye.format=ge,ye.Url=ue;function ue(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ce=/^([a-z0-9.+-]+:)/i,ae=/:[0-9]*$/,ie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ne=["<",">",'"',"`"," ","\r",` +`," "],a=["{","}","|","\\","^","`"].concat(ne),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,ee=/^[+a-z0-9A-Z_-]{0,63}$/,re=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,le={javascript:!0,"javascript:":!0},he={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},fe=E("querystring");function me(Te,Ce,Le){if(Te&&de.isObject(Te)&&Te instanceof ue)return Te;var Ie=new ue;return Ie.parse(Te,Ce,Le),Ie}ue.prototype.parse=function(Te,Ce,Le){if(!de.isString(Te))throw new TypeError("Parameter 'url' must be a string, not "+(0,te.default)(Te));var Ie=Te.indexOf("?"),Me=Ie!==-1&&Ie127?Ye+="x":Ye+=Oe[Fe];if(!Ye.match(ee)){var et=_e.slice(0,Re),De=_e.slice(Re+1),je=Oe.match(re);je&&(et.push(je[1]),De.unshift(je[2])),De.length&&(Ge="/"+De.join(".")+Ge),this.hostname=et.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),ut||(this.hostname=se.toASCII(this.hostname));var Ee=this.port?":"+this.port:"",xe=this.hostname||"";this.host=xe+Ee,this.href+=this.host,ut&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ge[0]!=="/"&&(Ge="/"+Ge))}if(!le[Xe])for(var Re=0,We=y.length;Re0?Le.host.split("@"):!1;Ye&&(Le.auth=Ye.shift(),Le.host=Le.hostname=Ye.shift())}return Le.search=Te.search,Le.query=Te.query,(!de.isNull(Le.pathname)||!de.isNull(Le.search))&&(Le.path=(Le.pathname?Le.pathname:"")+(Le.search?Le.search:"")),Le.href=Le.format(),Le}if(!_e.length)return Le.pathname=null,Le.search?Le.path="/"+Le.search:Le.path=null,Le.href=Le.format(),Le;for(var Fe=_e.slice(-1)[0],Ne=(Le.host||Te.host||_e.length>1)&&(Fe==="."||Fe==="..")||Fe==="",et=0,De=_e.length;De>=0;De--)Fe=_e[De],Fe==="."?_e.splice(De,1):Fe===".."?(_e.splice(De,1),et++):et&&(_e.splice(De,1),et--);if(!qe&&!ut)for(;et--;et)_e.unshift("..");qe&&_e[0]!==""&&(!_e[0]||_e[0].charAt(0)!=="/")&&_e.unshift(""),Ne&&_e.join("/").substr(-1)!=="/"&&_e.push("");var je=_e[0]===""||_e[0]&&_e[0].charAt(0)==="/";if(Oe){Le.hostname=Le.host=je?"":_e.length?_e.shift():"";var Ye=Le.host&&Le.host.indexOf("@")>0?Le.host.split("@"):!1;Ye&&(Le.auth=Ye.shift(),Le.host=Le.hostname=Ye.shift())}return qe=qe||Le.host&&_e.length,qe&&!je&&_e.unshift(""),_e.length?Le.pathname=_e.join("/"):(Le.pathname=null,Le.path=null),(!de.isNull(Le.pathname)||!de.isNull(Le.search))&&(Le.path=(Le.pathname?Le.pathname:"")+(Le.search?Le.search:"")),Le.auth=Te.auth||Le.auth,Le.slashes=Le.slashes||Te.slashes,Le.href=Le.format(),Le},ue.prototype.parseHost=function(){var Te=this.host,Ce=ae.exec(Te);Ce&&(Ce=Ce[0],Ce!==":"&&(this.port=Ce.substr(1)),Te=Te.substr(0,Te.length-Ce.length)),Te&&(this.hostname=Te)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,Se,ye){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),te=oe(E("@babel/runtime/helpers/typeof"));Se.exports={isString:function(de){return typeof de=="string"},isObject:function(de){return(0,te.default)(de)==="object"&&de!==null},isNull:function(de){return de===null},isNullOrUndefined:function(de){return de==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,Se,ye){"use strict";E("core-js/modules/es.number.constructor.js"),ye.encodeURIComponent=function(oe){try{return encodeURIComponent(oe)}catch(te){return oe}},ye.escape=E("escape-html"),ye.timestamp=function(te){if(te){var se=te;return typeof se=="string"&&(se=Number(se)),String(te).length===10&&(se*=1e3),new Date(se)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,Se,ye){(function(oe,te){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),de=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var ue=E("util"),ce=E("url"),ae=E("http"),ie=E("https"),ne=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(he,ve){return he===void 0?ve:he}function ee(he){return he?he.split(";")[0].trim().toLowerCase():""}function re(he,ve){return function(fe,me,ge){if(fe)return ve(fe);he({data:me,status:ge.statusCode,headers:ge.headers,res:ge})}}ye.TIMEOUTS=[a("300s"),a("300s")];var le=["json","text"];ye.request=function(ve,fe,me){return arguments.length===2&&typeof fe=="function"&&(me=fe,fe=null),typeof me=="function"?ye.requestWithCallback(ve,fe,me):new Promise(function(ge,be){ye.requestWithCallback(ve,fe,re(ge,be))})},ye.requestWithCallback=function(ve,fe,me){if(!ve||typeof ve!="string"&&(0,de.default)(ve)!=="object"){var ge=ue.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(ge)}arguments.length===2&&typeof fe=="function"&&(me=fe,fe=null),fe=fe||{},y>=x&&(y=0);var be=++y;fe.requestUrls=fe.requestUrls||[];var Pe={requestId:be,url:ve,args:fe,ctx:fe.ctx};fe.emitter&&fe.emitter.emit("request",Pe),fe.timeout=fe.timeout||ye.TIMEOUTS,fe.maxRedirects=fe.maxRedirects||10,fe.streaming=fe.streaming||fe.customResponse;var Te=Date.now(),Ce;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),Ce=ce.parse(ve)):Ce=ve;var Le=(fe.type||fe.method||Ce.method||"GET").toUpperCase(),Ie=Ce.port||80,Me=ae,Ue=z(fe.agent,ye.agent),Qe=fe.fixJSONCtlChars;Ce.protocol==="https:"&&(Me=ie,Ue=z(fe.httpsAgent,ye.httpsAgent),Ce.port||(Ie=443));var Ge={host:Ce.hostname||Ce.host||"localhost",path:Ce.path||"/",method:Le,port:Ie,agent:Ue,headers:fe.headers||{},lookup:fe.lookup};Array.isArray(fe.timeout)?Ge.requestTimeout=fe.timeout[fe.timeout.length-1]:typeof fe.timeout!="undefined"&&(Ge.requestTimeout=fe.timeout);var ot=fe.auth||Ce.auth;ot&&(Ge.auth=ot);var Ve=fe.content||fe.data,Xe=Le==="GET"||Le==="HEAD"||fe.dataAsQueryString;if(!fe.content&&Ve&&!(typeof Ve=="string"||te.isBuffer(Ve)))if(Xe)Ve=fe.nestedQuerystring?qs.stringify(Ve):querystring.stringify(Ve);else{var Ze=Ge.headers["Content-Type"]||Ge.headers["content-type"];Ze||(fe.contentType==="json"?Ze="application/json":Ze="application/x-www-form-urlencoded",Ge.headers["Content-Type"]=Ze),ee(Ze)==="application/json"?Ve=JSON.stringify(Ve):Ve=fe.nestedQuerystring?qs.stringify(Ve):querystring.stringify(Ve)}Xe&&Ve&&(Ge.path+=(Ce.query?"&":"?")+Ve,Ve=null);var ze=0;if(Ve){var Re=Ve.length;te.isBuffer(Ve)||(Re=te.byteLength(Ve)),ze=Ge.headers["Content-Length"]=Re}fe.dataType==="json"&&(Ge.headers.Accept="application/json"),typeof fe.beforeRequest=="function"&&fe.beforeRequest(Ge);var He=null,rt=null,qe=null,ut=!1,_e=!1,We=0,Oe=-1,Ye=!1,Fe="",Ne="",et=null;fe.timing&&(et={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function De(){He&&(clearTimeout(He),He=null)}function je(){rt&&(clearTimeout(rt),rt=null)}function Ee(st,ht,at){if(je(),!me){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),be,oe.pid,Ge.method,ve),st&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s +stack: %s`,Date(),be,oe.pid,st.name,st.message,st.stack);return}var lt=me;me=null;var ft={};at&&(Oe=at.statusCode,ft=at.headers);var mt=Date.now()-Te;et&&(et.contentDownload=mt),ne("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",mt,We,Oe,Ge.method,Ge.host,Ge.path,_e,et);var Pt={status:Oe,statusCode:Oe,headers:ft,size:We,aborted:Ye,rt:mt,keepAliveSocket:_e,data:ht,requestUrls:fe.requestUrls,timing:et,remoteAddress:Fe,remotePort:Ne};if(st){var Et="";Ue&&typeof Ue.getCurrentStatus=="function"&&(Et=", agent status: "+JSON.stringify(Ue.getCurrentStatus())),st.message+=", "+Ge.method+" "+ve+" "+Oe+" (connected: "+ut+", keepalive socket: "+_e+Et+`) +headers: `+JSON.stringify(ft),st.data=ht,st.path=Ge.path,st.status=Oe,st.headers=ft,st.res=Pt}lt(st,ht,fe.streaming?at:Pt),fe.emitter&&(Pe.url=ve,Pe.socket=ct&&ct.connection,Pe.options=Ge,Pe.size=ze,fe.emitter.emit("response",{requestId:be,error:st,ctx:fe.ctx,req:Pe,res:Pt}))}function xe(st){var ht=null;if(fe.followRedirect&&statuses.redirect[st.statusCode]){fe._followRedirectCount=(fe._followRedirectCount||0)+1;var at=st.headers.location;if(!at)ht=new Error("Got statusCode "+st.statusCode+" but cannot resolve next location from headers"),ht.name="FollowRedirectError";else if(fe._followRedirectCount>fe.maxRedirects)ht=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),ht.name="MaxRedirectError";else{var lt=fe.formatRedirectUrl?fe.formatRedirectUrl(ve,at):ce.resolve(ve,at);ne("Request#%d %s: `redirected` from %s to %s",be,Ge.path,ve,lt),je(),fe.headers&&fe.headers.Host&&b.test(at)&&(fe.headers.Host=null);var ft=me;return me=null,ye.requestWithCallback(lt,fe,ft),{redirect:!0,error:null}}}return{redirect:!1,error:ht}}fe.gzip&&!Ge.headers["Accept-Encoding"]&&!Ge.headers["accept-encoding"]&&(Ge.headers["Accept-Encoding"]="gzip");function we(st,ht,at){var lt=st.headers["content-encoding"];return at(null,ht,lt)}var Be=fe.writeStream;ne("Request#%d %s %s with headers %j, options.path: %s",be,Le,ve,Ge.headers,Ge.path),fe.requestUrls.push(ve);function Ke(st){if(et&&(et.waiting=Date.now()-Te),ne("Request#%d %s `req response` event emit: status %d, headers: %j",be,ve,st.statusCode,st.headers),fe.streaming){var ht=xe(st);if(ht.redirect){st.resume();return}return ht.error?(st.resume(),Ee(ht.error,null,st)):Ee(null,null,st)}if(st.on("close",function(){ne("Request#%d %s: `res close` event emit, total size %d",be,ve,We)}),st.on("error",function(){ne("Request#%d %s: `res error` event emit, total size %d",be,ve,We)}),st.on("aborted",function(){Ye=!0,ne("Request#%d %s: `res aborted` event emit, total size %d",be,ve,We)}),Be){var at=xe(st);if(at.redirect){st.resume();return}return at.error?(st.resume(),Be.end(),Ee(at.error,null,st)):(fe.consumeWriteStream===!1?st.on("end",Ee.bind(null,null,null,st)):Be.on("close",function(){ne("Request#%d %s: writeStream close event emitted",be,ve),Ee(qe||null,null,st)}),st.pipe(Be))}var lt=[];st.on("data",function(ft){ne("Request#%d %s: `res data` event emit, size %d",be,ve,ft.length),We+=ft.length,lt.push(ft)}),st.on("end",function(){var ft=te.concat(lt,We);if(ne("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",be,ve,We,st._dumped),qe)return Ee(qe,ft,st);var mt=xe(st);if(mt.error)return Ee(mt.error,ft,st);mt.redirect||we(st,ft,function(Pt,Et,Lt){if(Pt)return Ee(Pt,ft,st);if(!Lt&&le.indexOf(fe.dataType)>=0){try{Et=decodeBodyByCharset(Et,st)}catch(tn){return ne("decodeBodyByCharset error: %s",tn),Ee(null,Et,st)}if(fe.dataType==="json")if(We===0)Et=null;else{var zt=parseJSON(Et,Qe);zt.error?Pt=zt.error:Et=zt.data}}Ye&&ne("Request#%d %s: Remote socket was terminated before `response.end()` was called",be,ve),Ee(Pt,Et,st)})})}var nt,ke;Array.isArray(fe.timeout)?(nt=a(fe.timeout[0]),ke=a(fe.timeout[1])):nt=ke=a(fe.timeout),ne("ConnectTimeout: %d, ResponseTimeout: %d",nt,ke);function $e(){ne("Connect timer ticking, timeout: %d",nt),He=setTimeout(function(){He=null,Oe===-1&&(Oe=-2);var st="Connect timeout for "+nt+"ms",ht="ConnectionTimeoutError";ct.socket||(ht="SocketAssignTimeoutError",st+=", working sockets is full"),qe=new Error(st),qe.name=ht,qe.requestId=be,ne("ConnectTimeout: Request#%d %s %s: %s, connected: %s",be,ve,qe.name,st,ut),vt()},nt)}function gt(){ne("Response timer ticking, timeout: %d",ke),rt=setTimeout(function(){rt=null;var st="Response timeout for "+ke+"ms",ht="ResponseTimeoutError";qe=new Error(st),qe.name=ht,qe.requestId=be,ne("ResponseTimeout: Request#%d %s %s: %s, connected: %s",be,ve,qe.name,st,ut),vt()},ke)}var ct;Ge.mode=fe.mode?fe.mode:"";try{ct=Me.request(Ge,Ke)}catch(st){return Ee(st)}typeof window=="undefined"?$e():ct.on("requestTimeout",function(){Oe===-1&&(Oe=-2);var st="Connect timeout for "+nt+"ms",ht="ConnectionTimeoutError";qe=new Error(st),qe.name=ht,qe.requestId=be,vt()});function vt(){ne("Request#%d %s abort, connected: %s",be,ve,ut),ct.socket||(qe.noSocket=!0,Ee(qe)),ct.abort()}return et&&ct.on("finish",function(){et.requestSent=Date.now()-Te}),ct.once("socket",function(st){et&&(et.queuing=Date.now()-Te);var ht=st.readyState;if(ht==="opening"){st.once("lookup",function(at,lt,ft){ne("Request#%d %s lookup: %s, %s, %s",be,ve,at,lt,ft),et&&(et.dnslookup=Date.now()-Te),lt&&(Fe=lt)}),st.once("connect",function(){et&&(et.connected=Date.now()-Te),De(),gt(),ne("Request#%d %s new socket connected",be,ve),ut=!0,Fe||(Fe=st.remoteAddress),Ne=st.remotePort});return}ne("Request#%d %s reuse socket connected, readyState: %s",be,ve,ht),ut=!0,_e=!0,Fe||(Fe=st.remoteAddress),Ne=st.remotePort,De(),gt()}),ct.on("error",function(st){(st.name==="Error"||st.name==="TypeError")&&(st.name=ut?"ResponseError":"RequestError"),st.message+=' (req "error")',ne("Request#%d %s `req error` event emit, %s: %s",be,ve,st.name,st.message),Ee(qe||st)}),Be&&Be.once("error",function(st){st.message+=' (writeStream "error")',qe=st,ne("Request#%d %s `writeStream error` event emit, %s: %s",be,ve,st.name,st.message),vt()}),fe.stream?(fe.stream.pipe(ct),fe.stream.once("error",function(st){st.message+=' (stream "error")',qe=st,ne("Request#%d %s `readStream error` event emit, %s: %s",be,ve,st.name,st.message),vt()})):ct.end(Ve),ct.requestId=be,ct}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(xt,At){"use strict";function Ae(){const pe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let it=1;it{const ye=E[Se];ye!==void 0&&(pe[Se]=ye)})}return pe}At.Z=Ae},77578:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return pe}});const pe=it=>it?typeof it=="function"?it():it:null},13845:function(xt,At,Ae){"use strict";Ae.d(At,{F:function(){return pe},Z:function(){return it}});function pe(E){return E!=null&&E===E.window}function it(E,Se){var ye,oe;if(typeof window=="undefined")return 0;const te=Se?"scrollTop":"scrollLeft";let se=0;return pe(E)?se=E[Se?"pageYOffset":"pageXOffset"]:E instanceof Document?se=E.documentElement[te]:(E instanceof HTMLElement||E)&&(se=E[te]),E&&!pe(E)&&typeof se!="number"&&(se=(oe=((ye=E.ownerDocument)!==null&&ye!==void 0?ye:E).documentElement)===null||oe===void 0?void 0:oe[te]),se}},56762:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return it}});var pe=Ae(59301);function it(){const[,E]=pe.useReducer(Se=>Se+1,0);return E}},68031:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return Se}});var pe=Ae(16089);function it(ye,oe,te,se){const de=te-oe;return ye/=se/2,ye<1?de/2*ye*ye*ye+oe:de/2*((ye-=2)*ye*ye+2)+oe}var E=Ae(13845);function Se(ye){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:te=()=>window,callback:se,duration:de=450}=oe,ue=te(),ce=(0,E.Z)(ue,!0),ae=Date.now(),ie=()=>{const a=Date.now()-ae,y=it(a>de?de:a,ce,ye,de);(0,E.F)(ue)?ue.scrollTo(window.pageXOffset,y):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=y:ue.scrollTop=y,a{var ge;const{prefixCls:be,className:Pe,rootClassName:Te,children:Ce,indeterminate:Le=!1,style:Ie,onMouseEnter:Me,onMouseLeave:Ue,skipGroup:Qe=!1,disabled:Ge}=fe,ot=ie(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ve,direction:Xe,checkbox:Ze}=Se.useContext(ye.E_),ze=Se.useContext(de),{isFormItemInput:Re}=Se.useContext(te.aM),He=Se.useContext(oe.Z),rt=(ge=(ze==null?void 0:ze.disabled)||Ge)!==null&&ge!==void 0?ge:He,qe=Se.useRef(ot.value);Se.useEffect(()=>{ze==null||ze.registerValue(ot.value)},[]),Se.useEffect(()=>{if(!Qe)return ot.value!==qe.current&&(ze==null||ze.cancelValue(qe.current),ze==null||ze.registerValue(ot.value),qe.current=ot.value),()=>ze==null?void 0:ze.cancelValue(ot.value)},[ot.value]);const ut=Ve("checkbox",be),[_e,We]=(0,ue.ZP)(ut),Oe=Object.assign({},ot);ze&&!Qe&&(Oe.onChange=function(){ot.onChange&&ot.onChange.apply(ot,arguments),ze.toggleOption&&ze.toggleOption({label:Ce,value:ot.value})},Oe.name=ze.name,Oe.checked=ze.value.includes(ot.value));const Ye=it()(`${ut}-wrapper`,{[`${ut}-rtl`]:Xe==="rtl",[`${ut}-wrapper-checked`]:Oe.checked,[`${ut}-wrapper-disabled`]:rt,[`${ut}-wrapper-in-form-item`]:Re},Ze==null?void 0:Ze.className,Pe,Te,We),Fe=it()({[`${ut}-indeterminate`]:Le},ae.A,We),Ne=Le?"mixed":void 0;return _e(Se.createElement(ce.Z,{component:"Checkbox",disabled:rt},Se.createElement("label",{className:Ye,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),Ie),onMouseEnter:Me,onMouseLeave:Ue},Se.createElement(E.Z,Object.assign({"aria-checked":Ne},Oe,{prefixCls:ut,className:Fe,disabled:rt,ref:me})),Ce!==void 0&&Se.createElement("span",null,Ce))))};var y=Se.forwardRef(ne),x=Ae(94480),b=Ae(2738),z=function(fe,me){var ge={};for(var be in fe)Object.prototype.hasOwnProperty.call(fe,be)&&me.indexOf(be)<0&&(ge[be]=fe[be]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,be=Object.getOwnPropertySymbols(fe);Pe{const{defaultValue:ge,children:be,options:Pe=[],prefixCls:Te,className:Ce,rootClassName:Le,style:Ie,onChange:Me}=fe,Ue=z(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Qe,direction:Ge}=Se.useContext(ye.E_),[ot,Ve]=Se.useState(Ue.value||ge||[]),[Xe,Ze]=Se.useState([]);Se.useEffect(()=>{"value"in Ue&&Ve(Ue.value||[])},[Ue.value]);const ze=Se.useMemo(()=>Pe.map(et=>typeof et=="string"||typeof et=="number"?{label:et,value:et}:et),[Pe]),Re=et=>{Ze(De=>De.filter(je=>je!==et))},He=et=>{Ze(De=>[].concat((0,x.Z)(De),[et]))},rt=et=>{const De=ot.indexOf(et.value),je=(0,x.Z)(ot);De===-1?je.push(et.value):je.splice(De,1),"value"in Ue||Ve(je),Me==null||Me(je.filter(Ee=>Xe.includes(Ee)).sort((Ee,xe)=>{const we=ze.findIndex(Ke=>Ke.value===Ee),Be=ze.findIndex(Ke=>Ke.value===xe);return we-Be}))},qe=Qe("checkbox",Te),ut=`${qe}-group`,[_e,We]=(0,ue.ZP)(qe),Oe=(0,b.Z)(Ue,["value","disabled"]),Ye=Pe.length?ze.map(et=>Se.createElement(y,{prefixCls:qe,key:et.value.toString(),disabled:"disabled"in et?et.disabled:Ue.disabled,value:et.value,checked:ot.includes(et.value),onChange:et.onChange,className:`${ut}-item`,style:et.style,title:et.title},et.label)):be,Fe={toggleOption:rt,value:ot,disabled:Ue.disabled,name:Ue.name,registerValue:He,cancelValue:Re},Ne=it()(ut,{[`${ut}-rtl`]:Ge==="rtl"},Ce,Le,We);return _e(Se.createElement("div",Object.assign({className:Ne,style:Ie},Oe,{ref:me}),Se.createElement(de.Provider,{value:Fe},Ye)))},re=Se.forwardRef(ee);var le=Se.memo(re);const he=y;he.Group=le,he.__ANT_CHECKBOX=!0;var ve=he},98447:function(xt,At,Ae){"use strict";Ae.d(At,{C2:function(){return ye}});var pe=Ae(17313),it=Ae(37613),E=Ae(83116);const Se=oe=>{const{checkboxCls:te}=oe,se=`${te}-wrapper`;return[{[`${te}-group`]:Object.assign(Object.assign({},(0,pe.Wf)(oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:oe.marginXS,[`> ${oe.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,pe.Wf)(oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${se}`]:{marginInlineStart:0},[`&${se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[te]:Object.assign(Object.assign({},(0,pe.Wf)(oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:oe.borderRadiusSM,alignSelf:"center",[`${te}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${te}-inner`]:Object.assign({},(0,pe.oN)(oe))},[`${te}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:oe.checkboxSize,height:oe.checkboxSize,direction:"ltr",backgroundColor:oe.colorBgContainer,border:`${oe.lineWidth}px ${oe.lineType} ${oe.colorBorder}`,borderRadius:oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:oe.checkboxSize/14*5,height:oe.checkboxSize/14*8,border:`${oe.lineWidthBold}px solid ${oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${oe.motionDurationFast} ${oe.motionEaseInBack}, opacity ${oe.motionDurationFast}`}},"& + span":{paddingInlineStart:oe.paddingXS,paddingInlineEnd:oe.paddingXS}})},{[` ${se}:not(${se}-disabled), ${te}:not(${te}-disabled) `]:{[`&:hover ${te}-inner`]:{borderColor:oe.colorPrimary}},[`${se}:not(${se}-disabled)`]:{[`&:hover ${te}-checked:not(${te}-disabled) ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${te}-checked:not(${te}-disabled):after`]:{borderColor:oe.colorPrimaryHover}}},{[`${te}-checked`]:{[`${te}-inner`]:{backgroundColor:oe.colorPrimary,borderColor:oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${oe.motionDurationMid} ${oe.motionEaseOutBack} ${oe.motionDurationFast}`}}},[` ${se}-checked:not(${se}-disabled), ${te}-checked:not(${te}-disabled) - `]:{[`&:hover ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"}}},{[te]:{"&-indeterminate":{[`${te}-inner`]:{backgroundColor:oe.colorBgContainer,borderColor:oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:oe.fontSizeLG/2,height:oe.fontSizeLG/2,backgroundColor:oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${se}-disabled`]:{cursor:"not-allowed"},[`${te}-disabled`]:{[`&, ${te}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${te}-inner`]:{background:oe.colorBgContainerDisabled,borderColor:oe.colorBorder,"&:after":{borderColor:oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:oe.colorTextDisabled},[`&${te}-indeterminate ${te}-inner::after`]:{background:oe.colorTextDisabled}}}]};function be(oe,te){const se=(0,ot.TS)(te,{checkboxCls:`.${oe}`,checkboxSize:te.controlInteractiveSize});return[Pe(se)]}Ft.ZP=(0,E.Z)("Checkbox",(oe,te)=>{let{prefixCls:se}=te;return[be(se,oe)]})},36381:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{default:function(){return Te}});var he=Ae(38819),ot=Ae(92310),E=Ae.n(ot),Pe=Ae(54476),be=Ae(94480),oe=Ae(42978),te=Ae(76190),se=Ae(18929),de=Ae(48736),le=Ae(59301),ue=Ae(75931),ae=Ae(11592),ie=Ae(20068),ne=Ae(77900),a=Ae(10228),y=le.forwardRef(function(Je,Fe){var Ie=Je.prefixCls,Xe=Je.forceRender,He=Je.className,je=Je.style,Ee=Je.children,xe=Je.isActive,we=Je.role,Be=le.useState(xe||Xe),Ze=(0,oe.Z)(Be,2),Ke=Ze[0],Ne=Ze[1];return le.useEffect(function(){(Xe||xe)&&Ne(!0)},[Xe,xe]),Ke?le.createElement("div",{ref:Fe,className:E()("".concat(Ie,"-content"),(0,ie.Z)((0,ie.Z)({},"".concat(Ie,"-content-active"),xe),"".concat(Ie,"-content-inactive"),!xe),He),style:je,role:we},le.createElement("div",{className:"".concat(Ie,"-content-box")},Ee)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=le.forwardRef(function(Je,Fe){var Ie=Je.showArrow,Xe=Ie===void 0?!0:Ie,He=Je.headerClass,je=Je.isActive,Ee=Je.onItemClick,xe=Je.forceRender,we=Je.className,Be=Je.prefixCls,Ze=Je.collapsible,Ke=Je.accordion,Ne=Je.panelKey,at=Je.extra,ht=Je.header,ft=Je.expandIcon,yt=Je.openMotion,st=Je.destroyInactivePanel,pt=Je.children,nt=(0,ue.Z)(Je,b),lt=Ze==="disabled",dt=Ze==="header",gt=Ze==="icon",Pt=at!=null&&typeof at!="boolean",At=function(){Ee==null||Ee(Ne)},It=function(En){(En.key==="Enter"||En.keyCode===a.Z.ENTER||En.which===a.Z.ENTER)&&At()},Gt=typeof ft=="function"?ft(Je):le.createElement("i",{className:"arrow"});Gt&&(Gt=le.createElement("div",{className:"".concat(Be,"-expand-icon"),onClick:["header","icon"].includes(Ze)?At:void 0},Gt));var tn=E()((0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(Be,"-item"),!0),"".concat(Be,"-item-active"),je),"".concat(Be,"-item-disabled"),lt),we),pn=E()(He,(0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(Be,"-header"),!0),"".concat(Be,"-header-collapsible-only"),dt),"".concat(Be,"-icon-collapsible-only"),gt)),gn={className:pn,"aria-expanded":je,"aria-disabled":lt,onKeyDown:It};return!dt&&!gt&&(gn.onClick=At,gn.role=Ke?"tab":"button",gn.tabIndex=lt?-1:0),le.createElement("div",(0,Pe.Z)({},nt,{ref:Fe,className:tn}),le.createElement("div",gn,Xe&&Gt,le.createElement("span",{className:"".concat(Be,"-header-text"),onClick:Ze==="header"?At:void 0},ht),Pt&&le.createElement("div",{className:"".concat(Be,"-extra")},at)),le.createElement(ne.default,(0,Pe.Z)({visible:je,leavedClassName:"".concat(Be,"-content-hidden")},yt,{forceRender:xe,removeOnLeave:st}),function(sn,En){var Dn=sn.className,un=sn.style;return le.createElement(x,{ref:En,prefixCls:Be,className:Dn,style:un,isActive:je,forceRender:xe,role:Ke?"tabpanel":void 0},pt)}))}),ee=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ce=function(Fe,Ie){var Xe=Ie.prefixCls,He=Ie.accordion,je=Ie.collapsible,Ee=Ie.destroyInactivePanel,xe=Ie.onItemClick,we=Ie.activeKey,Be=Ie.openMotion,Ze=Ie.expandIcon;return Fe.map(function(Ke,Ne){var at=Ke.children,ht=Ke.label,ft=Ke.key,yt=Ke.collapsible,st=Ke.onItemClick,pt=Ke.destroyInactivePanel,nt=(0,ue.Z)(Ke,re),lt=String(ft!=null?ft:Ne),dt=yt!=null?yt:je,gt=pt!=null?pt:Ee,Pt=function(Gt){dt!=="disabled"&&(xe(Gt),st==null||st(Gt))},At=!1;return He?At=we[0]===lt:At=we.indexOf(lt)>-1,le.createElement(ee,(0,Pe.Z)({},nt,{prefixCls:Xe,key:lt,panelKey:lt,isActive:At,accordion:He,openMotion:Be,expandIcon:Ze,header:ht,collapsible:dt,onItemClick:Pt,destroyInactivePanel:gt}),at)})},me=function(Fe,Ie,Xe){if(!Fe)return null;var He=Xe.prefixCls,je=Xe.accordion,Ee=Xe.collapsible,xe=Xe.destroyInactivePanel,we=Xe.onItemClick,Be=Xe.activeKey,Ze=Xe.openMotion,Ke=Xe.expandIcon,Ne=Fe.key||String(Ie),at=Fe.props,ht=at.header,ft=at.headerClass,yt=at.destroyInactivePanel,st=at.collapsible,pt=at.onItemClick,nt=!1;je?nt=Be[0]===Ne:nt=Be.indexOf(Ne)>-1;var lt=st!=null?st:Ee,dt=function(At){lt!=="disabled"&&(we(At),pt==null||pt(At))},gt={key:Ne,panelKey:Ne,header:ht,headerClass:ft,isActive:nt,prefixCls:He,destroyInactivePanel:yt!=null?yt:xe,openMotion:Ze,accordion:je,children:Fe.props.children,onItemClick:dt,expandIcon:Ke,collapsible:lt};return typeof Fe.type=="string"?Fe:(Object.keys(gt).forEach(function(Pt){typeof gt[Pt]=="undefined"&&delete gt[Pt]}),le.cloneElement(Fe,gt))};function ve(Je,Fe,Ie){return Array.isArray(Je)?ce(Je,Ie):(0,ae.Z)(Fe).map(function(Xe,He){return me(Xe,He,Ie)})}var ge=ve,pe=Ae(26112);function fe(Je){var Fe=Je;if(!Array.isArray(Fe)){var Ie=(0,te.Z)(Fe);Fe=Ie==="number"||Ie==="string"?[Fe]:[]}return Fe.map(function(Xe){return String(Xe)})}var ye=le.forwardRef(function(Je,Fe){var Ie=Je.prefixCls,Xe=Ie===void 0?"rc-collapse":Ie,He=Je.destroyInactivePanel,je=He===void 0?!1:He,Ee=Je.style,xe=Je.accordion,we=Je.className,Be=Je.children,Ze=Je.collapsible,Ke=Je.openMotion,Ne=Je.expandIcon,at=Je.activeKey,ht=Je.defaultActiveKey,ft=Je.onChange,yt=Je.items,st=E()(Xe,we),pt=(0,se.Z)([],{value:at,onChange:function(It){return ft==null?void 0:ft(It)},defaultValue:ht,postState:fe}),nt=(0,oe.Z)(pt,2),lt=nt[0],dt=nt[1],gt=function(It){return dt(function(){if(xe)return lt[0]===It?[]:[It];var Gt=lt.indexOf(It),tn=Gt>-1;return tn?lt.filter(function(pn){return pn!==It}):[].concat((0,be.Z)(lt),[It])})};(0,de.ZP)(!Be,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Pt=ge(yt,Be,{prefixCls:Xe,accordion:xe,openMotion:Ke,expandIcon:Ne,collapsible:Ze,destroyInactivePanel:je,onItemClick:gt,activeKey:lt});return le.createElement("div",(0,Pe.Z)({ref:Fe,className:st,style:Ee,role:xe?"tablist":void 0},(0,pe.Z)(Je,{aria:!0,data:!0})),Pt)}),Se=Object.assign(ye,{Panel:ee}),Oe=Se,Ce=Se.Panel,Le=Ae(2738),De=Ae(62892),ke=Ae(92343),Ue=Ae(36355),et=Ae(19716),it=le.forwardRef((Je,Fe)=>{const{getPrefixCls:Ie}=le.useContext(Ue.E_),{prefixCls:Xe,className:He,showArrow:je=!0}=Je,Ee=Ie("collapse",Xe),xe=E()({[`${Ee}-no-arrow`]:!je},He);return le.createElement(Oe.Panel,Object.assign({ref:Fe},Je,{prefixCls:Ee,className:xe}))}),Qe=Ae(17313),Ye=Ae(8378),Ve=Ae(83116),Me=Ae(37613);const Re=Je=>{const{componentCls:Fe,contentBg:Ie,padding:Xe,headerBg:He,headerPadding:je,collapseHeaderPaddingSM:Ee,collapseHeaderPaddingLG:xe,collapsePanelBorderRadius:we,lineWidth:Be,lineType:Ze,colorBorder:Ke,colorText:Ne,colorTextHeading:at,colorTextDisabled:ht,fontSize:ft,fontSizeLG:yt,lineHeight:st,marginSM:pt,paddingSM:nt,paddingLG:lt,paddingXS:dt,motionDurationSlow:gt,fontSizeIcon:Pt,contentPadding:At}=Je,It=`${Be}px ${Ze} ${Ke}`;return{[Fe]:Object.assign(Object.assign({},(0,Qe.Wf)(Je)),{backgroundColor:He,border:It,borderBottom:0,borderRadius:`${we}px`,"&-rtl":{direction:"rtl"},[`& > ${Fe}-item`]:{borderBottom:It,"&:last-child":{[` + `]:{[`&:hover ${te}-inner`]:{backgroundColor:oe.colorPrimaryHover,borderColor:"transparent"}}},{[te]:{"&-indeterminate":{[`${te}-inner`]:{backgroundColor:oe.colorBgContainer,borderColor:oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:oe.fontSizeLG/2,height:oe.fontSizeLG/2,backgroundColor:oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${se}-disabled`]:{cursor:"not-allowed"},[`${te}-disabled`]:{[`&, ${te}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${te}-inner`]:{background:oe.colorBgContainerDisabled,borderColor:oe.colorBorder,"&:after":{borderColor:oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:oe.colorTextDisabled},[`&${te}-indeterminate ${te}-inner::after`]:{background:oe.colorTextDisabled}}}]};function ye(oe,te){const se=(0,it.TS)(te,{checkboxCls:`.${oe}`,checkboxSize:te.controlInteractiveSize});return[Se(se)]}At.ZP=(0,E.Z)("Checkbox",(oe,te)=>{let{prefixCls:se}=te;return[ye(se,oe)]})},36381:function(xt,At,Ae){"use strict";Ae.d(At,{default:function(){return Oe}});var pe=Ae(38819),it=Ae(92310),E=Ae.n(it),Se=Ae(54476),ye=Ae(94480),oe=Ae(42978),te=Ae(76190),se=Ae(18929),de=Ae(48736),ue=Ae(59301),ce=Ae(75931),ae=Ae(11592),ie=Ae(20068),ne=Ae(77900),a=Ae(10228),y=ue.forwardRef(function(Ye,Fe){var Ne=Ye.prefixCls,et=Ye.forceRender,De=Ye.className,je=Ye.style,Ee=Ye.children,xe=Ye.isActive,we=Ye.role,Be=ue.useState(xe||et),Ke=(0,oe.Z)(Be,2),nt=Ke[0],ke=Ke[1];return ue.useEffect(function(){(et||xe)&&ke(!0)},[et,xe]),nt?ue.createElement("div",{ref:Fe,className:E()("".concat(Ne,"-content"),(0,ie.Z)((0,ie.Z)({},"".concat(Ne,"-content-active"),xe),"".concat(Ne,"-content-inactive"),!xe),De),style:je,role:we},ue.createElement("div",{className:"".concat(Ne,"-content-box")},Ee)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=ue.forwardRef(function(Ye,Fe){var Ne=Ye.showArrow,et=Ne===void 0?!0:Ne,De=Ye.headerClass,je=Ye.isActive,Ee=Ye.onItemClick,xe=Ye.forceRender,we=Ye.className,Be=Ye.prefixCls,Ke=Ye.collapsible,nt=Ye.accordion,ke=Ye.panelKey,$e=Ye.extra,gt=Ye.header,ct=Ye.expandIcon,vt=Ye.openMotion,st=Ye.destroyInactivePanel,ht=Ye.children,at=(0,ce.Z)(Ye,b),lt=Ke==="disabled",ft=Ke==="header",mt=Ke==="icon",Pt=$e!=null&&typeof $e!="boolean",Et=function(){Ee==null||Ee(ke)},Lt=function(En){(En.key==="Enter"||En.keyCode===a.Z.ENTER||En.which===a.Z.ENTER)&&Et()},zt=typeof ct=="function"?ct(Ye):ue.createElement("i",{className:"arrow"});zt&&(zt=ue.createElement("div",{className:"".concat(Be,"-expand-icon"),onClick:["header","icon"].includes(Ke)?Et:void 0},zt));var tn=E()((0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(Be,"-item"),!0),"".concat(Be,"-item-active"),je),"".concat(Be,"-item-disabled"),lt),we),gn=E()(De,(0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(Be,"-header"),!0),"".concat(Be,"-header-collapsible-only"),ft),"".concat(Be,"-icon-collapsible-only"),mt)),dn={className:gn,"aria-expanded":je,"aria-disabled":lt,onKeyDown:Lt};return!ft&&!mt&&(dn.onClick=Et,dn.role=nt?"tab":"button",dn.tabIndex=lt?-1:0),ue.createElement("div",(0,Se.Z)({},at,{ref:Fe,className:tn}),ue.createElement("div",dn,et&&zt,ue.createElement("span",{className:"".concat(Be,"-header-text"),onClick:Ke==="header"?Et:void 0},gt),Pt&&ue.createElement("div",{className:"".concat(Be,"-extra")},$e)),ue.createElement(ne.default,(0,Se.Z)({visible:je,leavedClassName:"".concat(Be,"-content-hidden")},vt,{forceRender:xe,removeOnLeave:st}),function(on,En){var Rn=on.className,sn=on.style;return ue.createElement(x,{ref:En,prefixCls:Be,className:Rn,style:sn,isActive:je,forceRender:xe,role:nt?"tabpanel":void 0},ht)}))}),ee=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],le=function(Fe,Ne){var et=Ne.prefixCls,De=Ne.accordion,je=Ne.collapsible,Ee=Ne.destroyInactivePanel,xe=Ne.onItemClick,we=Ne.activeKey,Be=Ne.openMotion,Ke=Ne.expandIcon;return Fe.map(function(nt,ke){var $e=nt.children,gt=nt.label,ct=nt.key,vt=nt.collapsible,st=nt.onItemClick,ht=nt.destroyInactivePanel,at=(0,ce.Z)(nt,re),lt=String(ct!=null?ct:ke),ft=vt!=null?vt:je,mt=ht!=null?ht:Ee,Pt=function(zt){ft!=="disabled"&&(xe(zt),st==null||st(zt))},Et=!1;return De?Et=we[0]===lt:Et=we.indexOf(lt)>-1,ue.createElement(ee,(0,Se.Z)({},at,{prefixCls:et,key:lt,panelKey:lt,isActive:Et,accordion:De,openMotion:Be,expandIcon:Ke,header:gt,collapsible:ft,onItemClick:Pt,destroyInactivePanel:mt}),$e)})},he=function(Fe,Ne,et){if(!Fe)return null;var De=et.prefixCls,je=et.accordion,Ee=et.collapsible,xe=et.destroyInactivePanel,we=et.onItemClick,Be=et.activeKey,Ke=et.openMotion,nt=et.expandIcon,ke=Fe.key||String(Ne),$e=Fe.props,gt=$e.header,ct=$e.headerClass,vt=$e.destroyInactivePanel,st=$e.collapsible,ht=$e.onItemClick,at=!1;je?at=Be[0]===ke:at=Be.indexOf(ke)>-1;var lt=st!=null?st:Ee,ft=function(Et){lt!=="disabled"&&(we(Et),ht==null||ht(Et))},mt={key:ke,panelKey:ke,header:gt,headerClass:ct,isActive:at,prefixCls:De,destroyInactivePanel:vt!=null?vt:xe,openMotion:Ke,accordion:je,children:Fe.props.children,onItemClick:ft,expandIcon:nt,collapsible:lt};return typeof Fe.type=="string"?Fe:(Object.keys(mt).forEach(function(Pt){typeof mt[Pt]=="undefined"&&delete mt[Pt]}),ue.cloneElement(Fe,mt))};function ve(Ye,Fe,Ne){return Array.isArray(Ye)?le(Ye,Ne):(0,ae.Z)(Fe).map(function(et,De){return he(et,De,Ne)})}var fe=ve,me=Ae(26112);function ge(Ye){var Fe=Ye;if(!Array.isArray(Fe)){var Ne=(0,te.Z)(Fe);Fe=Ne==="number"||Ne==="string"?[Fe]:[]}return Fe.map(function(et){return String(et)})}var be=ue.forwardRef(function(Ye,Fe){var Ne=Ye.prefixCls,et=Ne===void 0?"rc-collapse":Ne,De=Ye.destroyInactivePanel,je=De===void 0?!1:De,Ee=Ye.style,xe=Ye.accordion,we=Ye.className,Be=Ye.children,Ke=Ye.collapsible,nt=Ye.openMotion,ke=Ye.expandIcon,$e=Ye.activeKey,gt=Ye.defaultActiveKey,ct=Ye.onChange,vt=Ye.items,st=E()(et,we),ht=(0,se.Z)([],{value:$e,onChange:function(Lt){return ct==null?void 0:ct(Lt)},defaultValue:gt,postState:ge}),at=(0,oe.Z)(ht,2),lt=at[0],ft=at[1],mt=function(Lt){return ft(function(){if(xe)return lt[0]===Lt?[]:[Lt];var zt=lt.indexOf(Lt),tn=zt>-1;return tn?lt.filter(function(gn){return gn!==Lt}):[].concat((0,ye.Z)(lt),[Lt])})};(0,de.ZP)(!Be,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Pt=fe(vt,Be,{prefixCls:et,accordion:xe,openMotion:nt,expandIcon:ke,collapsible:Ke,destroyInactivePanel:je,onItemClick:mt,activeKey:lt});return ue.createElement("div",(0,Se.Z)({ref:Fe,className:st,style:Ee,role:xe?"tablist":void 0},(0,me.Z)(Ye,{aria:!0,data:!0})),Pt)}),Pe=Object.assign(be,{Panel:ee}),Te=Pe,Ce=Pe.Panel,Le=Ae(2738),Ie=Ae(62892),Me=Ae(92343),Ue=Ae(36355),Qe=Ae(19716),ot=ue.forwardRef((Ye,Fe)=>{const{getPrefixCls:Ne}=ue.useContext(Ue.E_),{prefixCls:et,className:De,showArrow:je=!0}=Ye,Ee=Ne("collapse",et),xe=E()({[`${Ee}-no-arrow`]:!je},De);return ue.createElement(Te.Panel,Object.assign({ref:Fe},Ye,{prefixCls:Ee,className:xe}))}),Ve=Ae(17313),Xe=Ae(8378),Ze=Ae(83116),ze=Ae(37613);const Re=Ye=>{const{componentCls:Fe,contentBg:Ne,padding:et,headerBg:De,headerPadding:je,collapseHeaderPaddingSM:Ee,collapseHeaderPaddingLG:xe,collapsePanelBorderRadius:we,lineWidth:Be,lineType:Ke,colorBorder:nt,colorText:ke,colorTextHeading:$e,colorTextDisabled:gt,fontSize:ct,fontSizeLG:vt,lineHeight:st,marginSM:ht,paddingSM:at,paddingLG:lt,paddingXS:ft,motionDurationSlow:mt,fontSizeIcon:Pt,contentPadding:Et}=Ye,Lt=`${Be}px ${Ke} ${nt}`;return{[Fe]:Object.assign(Object.assign({},(0,Ve.Wf)(Ye)),{backgroundColor:De,border:Lt,borderBottom:0,borderRadius:`${we}px`,"&-rtl":{direction:"rtl"},[`& > ${Fe}-item`]:{borderBottom:Lt,"&:last-child":{[` &, - & > ${Fe}-header`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`> ${Fe}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:je,color:at,lineHeight:st,cursor:"pointer",transition:`all ${gt}, visibility 0s`,[`> ${Fe}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Fe}-expand-icon`]:{height:ft*st,display:"flex",alignItems:"center",paddingInlineEnd:pt},[`${Fe}-arrow`]:Object.assign(Object.assign({},(0,Qe.Ro)()),{fontSize:Pt,svg:{transition:`transform ${gt}`}}),[`${Fe}-header-text`]:{marginInlineEnd:"auto"}},[`${Fe}-header-collapsible-only`]:{cursor:"default",[`${Fe}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Fe}-icon-collapsible-only`]:{cursor:"default",[`${Fe}-expand-icon`]:{cursor:"pointer"}}},[`${Fe}-content`]:{color:Ne,backgroundColor:Ie,borderTop:It,[`& > ${Fe}-content-box`]:{padding:At},"&-hidden":{display:"none"}},"&-small":{[`> ${Fe}-item`]:{[`> ${Fe}-header`]:{padding:Ee,paddingInlineStart:dt,[`> ${Fe}-expand-icon`]:{marginInlineStart:nt-dt}},[`> ${Fe}-content > ${Fe}-content-box`]:{padding:nt}}},"&-large":{[`> ${Fe}-item`]:{fontSize:yt,[`> ${Fe}-header`]:{padding:xe,paddingInlineStart:Xe,[`> ${Fe}-expand-icon`]:{height:yt*st,marginInlineStart:lt-Xe}},[`> ${Fe}-content > ${Fe}-content-box`]:{padding:lt}}},[`${Fe}-item:last-child`]:{[`> ${Fe}-content`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`& ${Fe}-item-disabled > ${Fe}-header`]:{"\n &,\n & > .arrow\n ":{color:ht,cursor:"not-allowed"}},[`&${Fe}-icon-position-end`]:{[`& > ${Fe}-item`]:{[`> ${Fe}-header`]:{[`${Fe}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:pt}}}}})}},ze=Je=>{const{componentCls:Fe}=Je,Ie=`> ${Fe}-item > ${Fe}-header ${Fe}-arrow svg`;return{[`${Fe}-rtl`]:{[Ie]:{transform:"rotate(180deg)"}}}},rt=Je=>{const{componentCls:Fe,headerBg:Ie,paddingXXS:Xe,colorBorder:He}=Je;return{[`${Fe}-borderless`]:{backgroundColor:Ie,border:0,[`> ${Fe}-item`]:{borderBottom:`1px solid ${He}`},[` + & > ${Fe}-header`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`> ${Fe}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:je,color:$e,lineHeight:st,cursor:"pointer",transition:`all ${mt}, visibility 0s`,[`> ${Fe}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Fe}-expand-icon`]:{height:ct*st,display:"flex",alignItems:"center",paddingInlineEnd:ht},[`${Fe}-arrow`]:Object.assign(Object.assign({},(0,Ve.Ro)()),{fontSize:Pt,svg:{transition:`transform ${mt}`}}),[`${Fe}-header-text`]:{marginInlineEnd:"auto"}},[`${Fe}-header-collapsible-only`]:{cursor:"default",[`${Fe}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Fe}-icon-collapsible-only`]:{cursor:"default",[`${Fe}-expand-icon`]:{cursor:"pointer"}}},[`${Fe}-content`]:{color:ke,backgroundColor:Ne,borderTop:Lt,[`& > ${Fe}-content-box`]:{padding:Et},"&-hidden":{display:"none"}},"&-small":{[`> ${Fe}-item`]:{[`> ${Fe}-header`]:{padding:Ee,paddingInlineStart:ft,[`> ${Fe}-expand-icon`]:{marginInlineStart:at-ft}},[`> ${Fe}-content > ${Fe}-content-box`]:{padding:at}}},"&-large":{[`> ${Fe}-item`]:{fontSize:vt,[`> ${Fe}-header`]:{padding:xe,paddingInlineStart:et,[`> ${Fe}-expand-icon`]:{height:vt*st,marginInlineStart:lt-et}},[`> ${Fe}-content > ${Fe}-content-box`]:{padding:lt}}},[`${Fe}-item:last-child`]:{[`> ${Fe}-content`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`& ${Fe}-item-disabled > ${Fe}-header`]:{"\n &,\n & > .arrow\n ":{color:gt,cursor:"not-allowed"}},[`&${Fe}-icon-position-end`]:{[`& > ${Fe}-item`]:{[`> ${Fe}-header`]:{[`${Fe}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ht}}}}})}},He=Ye=>{const{componentCls:Fe}=Ye,Ne=`> ${Fe}-item > ${Fe}-header ${Fe}-arrow svg`;return{[`${Fe}-rtl`]:{[Ne]:{transform:"rotate(180deg)"}}}},rt=Ye=>{const{componentCls:Fe,headerBg:Ne,paddingXXS:et,colorBorder:De}=Ye;return{[`${Fe}-borderless`]:{backgroundColor:Ne,border:0,[`> ${Fe}-item`]:{borderBottom:`1px solid ${De}`},[` > ${Fe}-item:last-child, > ${Fe}-item:last-child ${Fe}-header - `]:{borderRadius:0},[`> ${Fe}-item:last-child`]:{borderBottom:0},[`> ${Fe}-item > ${Fe}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Fe}-item > ${Fe}-content > ${Fe}-content-box`]:{paddingTop:Xe}}}},$e=Je=>{const{componentCls:Fe,paddingSM:Ie}=Je;return{[`${Fe}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Fe}-item`]:{borderBottom:0,[`> ${Fe}-content`]:{backgroundColor:"transparent",border:0,[`> ${Fe}-content-box`]:{paddingBlock:Ie}}}}}};var ut=(0,Ve.Z)("Collapse",Je=>{const Fe=(0,Me.TS)(Je,{collapseHeaderPaddingSM:`${Je.paddingXS}px ${Je.paddingSM}px`,collapseHeaderPaddingLG:`${Je.padding}px ${Je.paddingLG}px`,collapsePanelBorderRadius:Je.borderRadiusLG});return[Re(Fe),rt(Fe),$e(Fe),ze(Fe),(0,Ye.Z)(Fe)]},Je=>({headerPadding:`${Je.paddingSM}px ${Je.padding}px`,headerBg:Je.colorFillAlter,contentPadding:`${Je.padding}px 16px`,contentBg:Je.colorBgContainer})),We=Object.assign(le.forwardRef((Je,Fe)=>{const{getPrefixCls:Ie,direction:Xe,collapse:He}=le.useContext(Ue.E_),{prefixCls:je,className:Ee,rootClassName:xe,style:we,bordered:Be=!0,ghost:Ze,size:Ke,expandIconPosition:Ne="start",children:at,expandIcon:ht}=Je,ft=(0,et.Z)(It=>{var Gt;return(Gt=Ke!=null?Ke:It)!==null&&Gt!==void 0?Gt:"middle"}),yt=Ie("collapse",je),st=Ie(),[pt,nt]=ut(yt),lt=le.useMemo(()=>Ne==="left"?"start":Ne==="right"?"end":Ne,[Ne]),dt=function(){let It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Gt=ht?ht(It):le.createElement(he.Z,{rotate:It.isActive?90:void 0});return(0,ke.Tm)(Gt,()=>({className:E()(Gt.props.className,`${yt}-arrow`)}))},gt=E()(`${yt}-icon-position-${lt}`,{[`${yt}-borderless`]:!Be,[`${yt}-rtl`]:Xe==="rtl",[`${yt}-ghost`]:!!Ze,[`${yt}-${ft}`]:ft!=="middle"},He==null?void 0:He.className,Ee,xe,nt),Pt=Object.assign(Object.assign({},(0,De.Z)(st)),{motionAppear:!1,leavedClassName:`${yt}-content-hidden`}),At=le.useMemo(()=>at?(0,ae.Z)(at).map((It,Gt)=>{var tn,pn;if(!((tn=It.props)===null||tn===void 0)&&tn.disabled){const gn=(pn=It.key)!==null&&pn!==void 0?pn:String(Gt),{disabled:sn,collapsible:En}=It.props,Dn=Object.assign(Object.assign({},(0,Le.Z)(It.props,["disabled"])),{key:gn,collapsible:En!=null?En:sn?"disabled":void 0});return(0,ke.Tm)(It,Dn)}return It}):null,[at]);return pt(le.createElement(Oe,Object.assign({ref:Fe,openMotion:Pt},(0,Le.Z)(Je,["rootClassName"]),{expandIcon:dt,prefixCls:yt,className:gt,style:Object.assign(Object.assign({},He==null?void 0:He.style),we)}),At))}),{Panel:it}),Te=We},91857:function(Ct,Ft,Ae){"use strict";var he=Ae(59301),ot=Ae(38819),E=Ae(92310),Pe=Ae.n(E),be=Ae(31561),oe=Ae(70425),te=Ae(18929),se=Ae(2738),de=Ae(79676),le=Ae(53487),ue=Ae(92343),ae=Ae(36355),ie=Ae(20834),ne=Ae(40875),a=Ae(88088),y=Ae(47211);const x=null,b=ce=>{const{menu:me,arrow:ve,prefixCls:ge,children:pe,trigger:fe,disabled:ye,dropdownRender:Se,getPopupContainer:Oe,overlayClassName:Ce,rootClassName:Le,open:De,onOpenChange:ke,visible:Ue,onVisibleChange:et,mouseEnterDelay:Ge=.15,mouseLeaveDelay:it=.1,autoAdjustOverflow:Qe=!0,placement:Ye="",overlay:Ve,transitionName:Me}=ce,{getPopupContainer:Re,getPrefixCls:ze,direction:rt}=he.useContext(ae.E_),$e=he.useMemo(()=>{const Ne=ze();return Me!==void 0?Me:Ye.includes("top")?`${Ne}-slide-down`:`${Ne}-slide-up`},[ze,Ye,Me]),ut=he.useMemo(()=>Ye?Ye.includes("Center")?Ye.slice(0,Ye.indexOf("Center")):Ye:rt==="rtl"?"bottomRight":"bottomLeft",[Ye,rt]),_e=ze("dropdown",ge),[We,Te]=(0,y.Z)(_e),[,Je]=(0,a.Z)(),Fe=he.Children.only(pe),Ie=(0,ue.Tm)(Fe,{className:Pe()(`${_e}-trigger`,{[`${_e}-rtl`]:rt==="rtl"},Fe.props.className),disabled:ye}),Xe=ye?[]:fe;let He;Xe&&Xe.includes("contextMenu")&&(He=!0);const[je,Ee]=(0,te.Z)(!1,{value:De!=null?De:Ue}),xe=(0,oe.useEvent)(Ne=>{ke==null||ke(Ne),et==null||et(Ne),Ee(Ne)}),we=Pe()(Ce,Le,Te,{[`${_e}-rtl`]:rt==="rtl"}),Be=(0,de.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:Qe,offset:Je.marginXXS,arrowWidth:ve?Je.sizePopupArrow:0,borderRadius:Je.borderRadius}),Ze=he.useCallback(()=>{Ee(!1)},[]),Ke=()=>{let Ne;return me!=null&&me.items?Ne=he.createElement(ie.default,Object.assign({},me)):typeof Ve=="function"?Ne=Ve():Ne=Ve,Se&&(Ne=Se(Ne)),Ne=he.Children.only(typeof Ne=="string"?he.createElement("span",null,Ne):Ne),he.createElement(ne.J,{prefixCls:`${_e}-menu`,expandIcon:he.createElement("span",{className:`${_e}-menu-submenu-arrow`},he.createElement(ot.Z,{className:`${_e}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ze,validator:at=>{let{mode:ht}=at}},Ne)};return We(he.createElement(be.Z,Object.assign({alignPoint:He},(0,se.Z)(ce,["rootClassName"]),{mouseEnterDelay:Ge,mouseLeaveDelay:it,visible:je,builtinPlacements:Be,arrow:!!ve,overlayClassName:we,prefixCls:_e,getPopupContainer:Oe||Re,transitionName:$e,trigger:Xe,overlay:Ke,placement:ut,onVisibleChange:xe}),Ie))};function z(ce){return Object.assign(Object.assign({},ce),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,le.Z)(b,"dropdown",ce=>ce,z),re=ce=>he.createElement(ee,Object.assign({},ce),he.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=re,Ft.Z=b},38854:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return a}});var he=Ae(91857),ot=Ae(92310),E=Ae.n(ot),Pe=Ae(59301),be=Ae(18785),oe=Ae(3113),te=Ae(36355),se=Ae(81327),de=Ae(33234),le=Ae(47211),ue=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,z=Object.getOwnPropertySymbols(y);ee{const{getPopupContainer:x,getPrefixCls:b,direction:z}=Pe.useContext(te.E_),{prefixCls:ee,type:re="default",danger:ce,disabled:me,loading:ve,onClick:ge,htmlType:pe,children:fe,className:ye,menu:Se,arrow:Oe,autoFocus:Ce,overlay:Le,trigger:De,align:ke,open:Ue,onOpenChange:et,placement:Ge,getPopupContainer:it,href:Qe,icon:Ye=Pe.createElement(be.Z,null),title:Ve,buttonsRender:Me=Ke=>Ke,mouseEnterDelay:Re,mouseLeaveDelay:ze,overlayClassName:rt,overlayStyle:$e,destroyPopupOnHide:ut,dropdownRender:_e}=y,We=ue(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Te=b("dropdown",ee),Je=`${Te}-button`,[Fe,Ie]=(0,le.Z)(Te),Xe={menu:Se,arrow:Oe,autoFocus:Ce,align:ke,disabled:me,trigger:me?[]:De,onOpenChange:et,getPopupContainer:it||x,mouseEnterDelay:Re,mouseLeaveDelay:ze,overlayClassName:rt,overlayStyle:$e,destroyPopupOnHide:ut,dropdownRender:_e},{compactSize:He,compactItemClassnames:je}=(0,de.ri)(Te,z),Ee=E()(Je,je,ye,Ie);"overlay"in y&&(Xe.overlay=Le),"open"in y&&(Xe.open=Ue),"placement"in y?Xe.placement=Ge:Xe.placement=z==="rtl"?"bottomLeft":"bottomRight";const xe=Pe.createElement(oe.ZP,{type:re,danger:ce,disabled:me,loading:ve,onClick:ge,htmlType:pe,href:Qe,title:Ve},fe),we=Pe.createElement(oe.ZP,{type:re,danger:ce,icon:Ye}),[Be,Ze]=Me([xe,we]);return Fe(Pe.createElement(se.Z.Compact,Object.assign({className:Ee,size:He,block:!0},We),Be,Pe.createElement(he.Z,Object.assign({},Xe),Ze)))};ae.__ANT_BUTTON=!0;var ie=ae;const ne=he.Z;ne.Button=ie;var a=ne},47211:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return ue}});var he=Ae(17313),ot=Ae(13826),E=Ae(92899),Pe=Ae(29878),be=Ae(19447),oe=Ae(83116),te=Ae(37613),de=ae=>{const{componentCls:ie,menuCls:ne,colorError:a,colorTextLightSolid:y}=ae,x=`${ne}-item`;return{[`${ie}, ${ie}-menu-submenu`]:{[`${ne} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const le=ae=>{const{componentCls:ie,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:ee,dropdownPaddingVertical:re,fontSize:ce,dropdownEdgeChildPadding:me,colorTextDisabled:ve,fontSizeIcon:ge,controlPaddingHorizontal:pe,colorBgElevated:fe}=ae;return[{[ie]:Object.assign(Object.assign({},(0,he.Wf)(ae)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:ge}},[`${ie}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:ge},[`${z}-down::before`]:{transition:`transform ${ee}`}},[`${ie}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomLeft, + `]:{borderRadius:0},[`> ${Fe}-item:last-child`]:{borderBottom:0},[`> ${Fe}-item > ${Fe}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Fe}-item > ${Fe}-content > ${Fe}-content-box`]:{paddingTop:et}}}},qe=Ye=>{const{componentCls:Fe,paddingSM:Ne}=Ye;return{[`${Fe}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Fe}-item`]:{borderBottom:0,[`> ${Fe}-content`]:{backgroundColor:"transparent",border:0,[`> ${Fe}-content-box`]:{paddingBlock:Ne}}}}}};var ut=(0,Ze.Z)("Collapse",Ye=>{const Fe=(0,ze.TS)(Ye,{collapseHeaderPaddingSM:`${Ye.paddingXS}px ${Ye.paddingSM}px`,collapseHeaderPaddingLG:`${Ye.padding}px ${Ye.paddingLG}px`,collapsePanelBorderRadius:Ye.borderRadiusLG});return[Re(Fe),rt(Fe),qe(Fe),He(Fe),(0,Xe.Z)(Fe)]},Ye=>({headerPadding:`${Ye.paddingSM}px ${Ye.padding}px`,headerBg:Ye.colorFillAlter,contentPadding:`${Ye.padding}px 16px`,contentBg:Ye.colorBgContainer})),We=Object.assign(ue.forwardRef((Ye,Fe)=>{const{getPrefixCls:Ne,direction:et,collapse:De}=ue.useContext(Ue.E_),{prefixCls:je,className:Ee,rootClassName:xe,style:we,bordered:Be=!0,ghost:Ke,size:nt,expandIconPosition:ke="start",children:$e,expandIcon:gt}=Ye,ct=(0,Qe.Z)(Lt=>{var zt;return(zt=nt!=null?nt:Lt)!==null&&zt!==void 0?zt:"middle"}),vt=Ne("collapse",je),st=Ne(),[ht,at]=ut(vt),lt=ue.useMemo(()=>ke==="left"?"start":ke==="right"?"end":ke,[ke]),ft=function(){let Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const zt=gt?gt(Lt):ue.createElement(pe.Z,{rotate:Lt.isActive?90:void 0});return(0,Me.Tm)(zt,()=>({className:E()(zt.props.className,`${vt}-arrow`)}))},mt=E()(`${vt}-icon-position-${lt}`,{[`${vt}-borderless`]:!Be,[`${vt}-rtl`]:et==="rtl",[`${vt}-ghost`]:!!Ke,[`${vt}-${ct}`]:ct!=="middle"},De==null?void 0:De.className,Ee,xe,at),Pt=Object.assign(Object.assign({},(0,Ie.Z)(st)),{motionAppear:!1,leavedClassName:`${vt}-content-hidden`}),Et=ue.useMemo(()=>$e?(0,ae.Z)($e).map((Lt,zt)=>{var tn,gn;if(!((tn=Lt.props)===null||tn===void 0)&&tn.disabled){const dn=(gn=Lt.key)!==null&&gn!==void 0?gn:String(zt),{disabled:on,collapsible:En}=Lt.props,Rn=Object.assign(Object.assign({},(0,Le.Z)(Lt.props,["disabled"])),{key:dn,collapsible:En!=null?En:on?"disabled":void 0});return(0,Me.Tm)(Lt,Rn)}return Lt}):null,[$e]);return ht(ue.createElement(Te,Object.assign({ref:Fe,openMotion:Pt},(0,Le.Z)(Ye,["rootClassName"]),{expandIcon:ft,prefixCls:vt,className:mt,style:Object.assign(Object.assign({},De==null?void 0:De.style),we)}),Et))}),{Panel:ot}),Oe=We},91857:function(xt,At,Ae){"use strict";var pe=Ae(59301),it=Ae(38819),E=Ae(92310),Se=Ae.n(E),ye=Ae(31561),oe=Ae(70425),te=Ae(18929),se=Ae(2738),de=Ae(79676),ue=Ae(53487),ce=Ae(92343),ae=Ae(36355),ie=Ae(20834),ne=Ae(40875),a=Ae(88088),y=Ae(47211);const x=null,b=le=>{const{menu:he,arrow:ve,prefixCls:fe,children:me,trigger:ge,disabled:be,dropdownRender:Pe,getPopupContainer:Te,overlayClassName:Ce,rootClassName:Le,open:Ie,onOpenChange:Me,visible:Ue,onVisibleChange:Qe,mouseEnterDelay:Ge=.15,mouseLeaveDelay:ot=.1,autoAdjustOverflow:Ve=!0,placement:Xe="",overlay:Ze,transitionName:ze}=le,{getPopupContainer:Re,getPrefixCls:He,direction:rt}=pe.useContext(ae.E_),qe=pe.useMemo(()=>{const ke=He();return ze!==void 0?ze:Xe.includes("top")?`${ke}-slide-down`:`${ke}-slide-up`},[He,Xe,ze]),ut=pe.useMemo(()=>Xe?Xe.includes("Center")?Xe.slice(0,Xe.indexOf("Center")):Xe:rt==="rtl"?"bottomRight":"bottomLeft",[Xe,rt]),_e=He("dropdown",fe),[We,Oe]=(0,y.Z)(_e),[,Ye]=(0,a.Z)(),Fe=pe.Children.only(me),Ne=(0,ce.Tm)(Fe,{className:Se()(`${_e}-trigger`,{[`${_e}-rtl`]:rt==="rtl"},Fe.props.className),disabled:be}),et=be?[]:ge;let De;et&&et.includes("contextMenu")&&(De=!0);const[je,Ee]=(0,te.Z)(!1,{value:Ie!=null?Ie:Ue}),xe=(0,oe.useEvent)(ke=>{Me==null||Me(ke),Qe==null||Qe(ke),Ee(ke)}),we=Se()(Ce,Le,Oe,{[`${_e}-rtl`]:rt==="rtl"}),Be=(0,de.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:Ve,offset:Ye.marginXXS,arrowWidth:ve?Ye.sizePopupArrow:0,borderRadius:Ye.borderRadius}),Ke=pe.useCallback(()=>{Ee(!1)},[]),nt=()=>{let ke;return he!=null&&he.items?ke=pe.createElement(ie.default,Object.assign({},he)):typeof Ze=="function"?ke=Ze():ke=Ze,Pe&&(ke=Pe(ke)),ke=pe.Children.only(typeof ke=="string"?pe.createElement("span",null,ke):ke),pe.createElement(ne.J,{prefixCls:`${_e}-menu`,expandIcon:pe.createElement("span",{className:`${_e}-menu-submenu-arrow`},pe.createElement(it.Z,{className:`${_e}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ke,validator:$e=>{let{mode:gt}=$e}},ke)};return We(pe.createElement(ye.Z,Object.assign({alignPoint:De},(0,se.Z)(le,["rootClassName"]),{mouseEnterDelay:Ge,mouseLeaveDelay:ot,visible:je,builtinPlacements:Be,arrow:!!ve,overlayClassName:we,prefixCls:_e,getPopupContainer:Te||Re,transitionName:qe,trigger:et,overlay:nt,placement:ut,onVisibleChange:xe}),Ne))};function z(le){return Object.assign(Object.assign({},le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ee=(0,ue.Z)(b,"dropdown",le=>le,z),re=le=>pe.createElement(ee,Object.assign({},le),pe.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=re,At.Z=b},38854:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return a}});var pe=Ae(91857),it=Ae(92310),E=Ae.n(it),Se=Ae(59301),ye=Ae(18785),oe=Ae(3113),te=Ae(36355),se=Ae(81327),de=Ae(33234),ue=Ae(47211),ce=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,z=Object.getOwnPropertySymbols(y);ee{const{getPopupContainer:x,getPrefixCls:b,direction:z}=Se.useContext(te.E_),{prefixCls:ee,type:re="default",danger:le,disabled:he,loading:ve,onClick:fe,htmlType:me,children:ge,className:be,menu:Pe,arrow:Te,autoFocus:Ce,overlay:Le,trigger:Ie,align:Me,open:Ue,onOpenChange:Qe,placement:Ge,getPopupContainer:ot,href:Ve,icon:Xe=Se.createElement(ye.Z,null),title:Ze,buttonsRender:ze=nt=>nt,mouseEnterDelay:Re,mouseLeaveDelay:He,overlayClassName:rt,overlayStyle:qe,destroyPopupOnHide:ut,dropdownRender:_e}=y,We=ce(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Oe=b("dropdown",ee),Ye=`${Oe}-button`,[Fe,Ne]=(0,ue.Z)(Oe),et={menu:Pe,arrow:Te,autoFocus:Ce,align:Me,disabled:he,trigger:he?[]:Ie,onOpenChange:Qe,getPopupContainer:ot||x,mouseEnterDelay:Re,mouseLeaveDelay:He,overlayClassName:rt,overlayStyle:qe,destroyPopupOnHide:ut,dropdownRender:_e},{compactSize:De,compactItemClassnames:je}=(0,de.ri)(Oe,z),Ee=E()(Ye,je,be,Ne);"overlay"in y&&(et.overlay=Le),"open"in y&&(et.open=Ue),"placement"in y?et.placement=Ge:et.placement=z==="rtl"?"bottomLeft":"bottomRight";const xe=Se.createElement(oe.ZP,{type:re,danger:le,disabled:he,loading:ve,onClick:fe,htmlType:me,href:Ve,title:Ze},ge),we=Se.createElement(oe.ZP,{type:re,danger:le,icon:Xe}),[Be,Ke]=ze([xe,we]);return Fe(Se.createElement(se.Z.Compact,Object.assign({className:Ee,size:De,block:!0},We),Be,Se.createElement(pe.Z,Object.assign({},et),Ke)))};ae.__ANT_BUTTON=!0;var ie=ae;const ne=pe.Z;ne.Button=ie;var a=ne},47211:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ce}});var pe=Ae(17313),it=Ae(13826),E=Ae(92899),Se=Ae(29878),ye=Ae(19447),oe=Ae(83116),te=Ae(37613),de=ae=>{const{componentCls:ie,menuCls:ne,colorError:a,colorTextLightSolid:y}=ae,x=`${ne}-item`;return{[`${ie}, ${ie}-menu-submenu`]:{[`${ne} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ue=ae=>{const{componentCls:ie,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:ee,dropdownPaddingVertical:re,fontSize:le,dropdownEdgeChildPadding:he,colorTextDisabled:ve,fontSizeIcon:fe,controlPaddingHorizontal:me,colorBgElevated:ge}=ae;return[{[ie]:Object.assign(Object.assign({},(0,pe.Wf)(ae)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:fe}},[`${ie}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:fe},[`${z}-down::before`]:{transition:`transform ${ee}`}},[`${ie}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${ie}-placement-bottomRight, - &${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomRight`]:{animationName:ot.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topLeft, + &${b}-slide-down-appear${b}-slide-down-appear-active${ie}-placement-bottomRight`]:{animationName:it.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${ie}-placement-topRight, - &${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topRight`]:{animationName:ot.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomLeft, + &${b}-slide-up-appear${b}-slide-up-appear-active${ie}-placement-topRight`]:{animationName:it.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottom, - &${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomRight`]:{animationName:ot.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topLeft, + &${b}-slide-down-leave${b}-slide-down-leave-active${ie}-placement-bottomRight`]:{animationName:it.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-top, - &${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topRight`]:{animationName:ot.ly}})},(0,be.ZP)(ae,{colorBg:fe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ie} ${ne}`]:{position:"relative",margin:0},[`${ne}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ie}, ${ie}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:me,listStyleType:"none",backgroundColor:fe,backgroundClip:"padding-box",borderRadius:ae.borderRadiusLG,outline:"none",boxShadow:ae.boxShadowSecondary},(0,he.Qy)(ae)),{[`${ne}-item-group-title`]:{padding:`${re}px ${pe}px`,color:ae.colorTextDescription,transition:`all ${ee}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:ce,marginInlineEnd:ae.marginXS,fontSize:ae.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${pe}px`,color:ae.colorText,fontWeight:"normal",fontSize:ce,lineHeight:ae.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:ae.borderRadiusSM,"&:hover, &-active":{backgroundColor:ae.controlItemBgHover}},(0,he.Qy)(ae)),{"&-selected":{color:ae.colorPrimary,backgroundColor:ae.controlItemBgActive,"&:hover, &-active":{backgroundColor:ae.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:fe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ae.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ae.colorSplit},[`${ie}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ae.paddingXS,[`${ie}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ae.colorTextDescription,fontSize:ge,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${ae.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:pe+ae.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ie}-menu-submenu-title`]:{[`&, ${ie}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:fe,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ie}-menu-submenu-title`]:{color:ae.colorPrimary}})}},[(0,ot.oN)(ae,"slide-up"),(0,ot.oN)(ae,"slide-down"),(0,E.Fm)(ae,"move-up"),(0,E.Fm)(ae,"move-down"),(0,Pe._y)(ae,"zoom-big")]]};var ue=(0,oe.Z)("Dropdown",(ae,ie)=>{let{rootPrefixCls:ne}=ie;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:ee,componentCls:re,borderRadiusLG:ce}=ae,me=(x-b*z)/2,{dropdownArrowOffset:ve}=(0,be.fS)({contentRadius:ce}),ge=(0,te.TS)(ae,{menuCls:`${re}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:me,dropdownEdgeChildPadding:ee});return[le(ge),de(ge)]},ae=>({zIndexPopup:ae.zIndexPopupBase+50}))},8628:function(Ct,Ft,Ae){"use strict";var he=Ae(59301),ot=Ae(34280),E=Ae(56762),Pe=Ae(69507);function be(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const te=(0,he.useRef)({}),se=(0,E.Z)(),de=(0,Pe.ZP)();return(0,ot.Z)(()=>{const le=de.subscribe(ue=>{te.current=ue,oe&&se()});return()=>de.unsubscribe(le)},[]),te.current}Ft.Z=be},45818:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{D:function(){return ee},Z:function(){return me}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(ge,pe){return ot.createElement(be.Z,(0,he.Z)({},ge,{ref:pe,icon:Pe}))},te=ot.forwardRef(oe),se=te,de=Ae(33853),le=Ae(38819),ue=Ae(92310),ae=Ae.n(ue),ie=Ae(2738),a=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),y=Ae(36355),x=Ae(84966),b=function(ve,ge){var pe={};for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&ge.indexOf(fe)<0&&(pe[fe]=ve[fe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,fe=Object.getOwnPropertySymbols(ve);ye{let ve=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${ge}${ve}`}})();var me=ot.forwardRef((ve,ge)=>{const{prefixCls:pe,className:fe,trigger:ye,children:Se,defaultCollapsed:Oe=!1,theme:Ce="dark",style:Le={},collapsible:De=!1,reverseArrow:ke=!1,width:Ue=200,collapsedWidth:et=80,zeroWidthTriggerStyle:Ge,breakpoint:it,onCollapse:Qe,onBreakpoint:Ye}=ve,Ve=b(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Me}=(0,ot.useContext)(x.Gs),[Re,ze]=(0,ot.useState)("collapsed"in ve?ve.collapsed:Oe),[rt,$e]=(0,ot.useState)(!1);(0,ot.useEffect)(()=>{"collapsed"in ve&&ze(ve.collapsed)},[ve.collapsed]);const ut=(Ie,Xe)=>{"collapsed"in ve||ze(Ie),Qe==null||Qe(Ie,Xe)},_e=(0,ot.useRef)();_e.current=Ie=>{$e(Ie.matches),Ye==null||Ye(Ie.matches),Re!==Ie.matches&&ut(Ie.matches,"responsive")},(0,ot.useEffect)(()=>{function Ie(He){return _e.current(He)}let Xe;if(typeof window!="undefined"){const{matchMedia:He}=window;if(He&&it&&it in z){Xe=He(`(max-width: ${z[it]})`);try{Xe.addEventListener("change",Ie)}catch(je){Xe.addListener(Ie)}Ie(Xe)}}return()=>{try{Xe==null||Xe.removeEventListener("change",Ie)}catch(He){Xe==null||Xe.removeListener(Ie)}}},[it]),(0,ot.useEffect)(()=>{const Ie=re("ant-sider-");return Me.addSider(Ie),()=>Me.removeSider(Ie)},[]);const We=()=>{ut(!Re,"clickTrigger")},{getPrefixCls:Te}=(0,ot.useContext)(y.E_),Je=()=>{const Ie=Te("layout-sider",pe),Xe=(0,ie.Z)(Ve,["collapsed"]),He=Re?et:Ue,je=a(He)?`${He}px`:String(He),Ee=parseFloat(String(et||0))===0?ot.createElement("span",{onClick:We,className:ae()(`${Ie}-zero-width-trigger`,`${Ie}-zero-width-trigger-${ke?"right":"left"}`),style:Ge},ye||ot.createElement(se,null)):null,Be={expanded:ke?ot.createElement(le.Z,null):ot.createElement(de.Z,null),collapsed:ke?ot.createElement(de.Z,null):ot.createElement(le.Z,null)}[Re?"collapsed":"expanded"],Ze=ye!==null?Ee||ot.createElement("div",{className:`${Ie}-trigger`,onClick:We,style:{width:je}},ye||Be):null,Ke=Object.assign(Object.assign({},Le),{flex:`0 0 ${je}`,maxWidth:je,minWidth:je,width:je}),Ne=ae()(Ie,`${Ie}-${Ce}`,{[`${Ie}-collapsed`]:!!Re,[`${Ie}-has-trigger`]:De&&ye!==null&&!Ee,[`${Ie}-below`]:!!rt,[`${Ie}-zero-width`]:parseFloat(je)===0},fe);return ot.createElement("aside",Object.assign({className:Ne},Xe,{style:Ke,ref:ge}),ot.createElement("div",{className:`${Ie}-children`},Se),De||rt&&Ee?Ze:null)},Fe=ot.useMemo(()=>({siderCollapsed:Re}),[Re]);return ot.createElement(ee.Provider,{value:Fe},Je())})},84966:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{VY:function(){return ee},$_:function(){return z},h4:function(){return b},Gs:function(){return ie},ZP:function(){return re}});var he=Ae(94480),ot=Ae(92310),E=Ae.n(ot),Pe=Ae(2738),be=Ae(59301),oe=Ae(36355),te=Ae(83116),de=ce=>{const{componentCls:me,bodyBg:ve,lightSiderBg:ge,lightTriggerBg:pe,lightTriggerColor:fe}=ce;return{[`${me}-sider-light`]:{background:ge,[`${me}-sider-trigger`]:{color:fe,background:pe},[`${me}-sider-zero-width-trigger`]:{color:fe,background:pe,border:`1px solid ${ve}`,borderInlineStart:0}}}};const le=ce=>{const{antCls:me,componentCls:ve,colorText:ge,triggerColor:pe,footerBg:fe,triggerBg:ye,headerHeight:Se,headerPadding:Oe,headerColor:Ce,footerPadding:Le,triggerHeight:De,zeroTriggerHeight:ke,zeroTriggerWidth:Ue,motionDurationMid:et,motionDurationSlow:Ge,fontSize:it,borderRadius:Qe,bodyBg:Ye,headerBg:Ve,siderBg:Me}=ce;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ye,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:Me,transition:`all ${et}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${me}-menu${me}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:De},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:De,color:pe,lineHeight:`${De}px`,textAlign:"center",background:ye,cursor:"pointer",transition:`all ${et}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Se,insetInlineEnd:-Ue,zIndex:1,width:Ue,height:ke,color:pe,fontSize:ce.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Me,borderStartStartRadius:0,borderStartEndRadius:Qe,borderEndEndRadius:Qe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ge} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ge}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ue,borderStartStartRadius:Qe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Qe}}}}},de(ce)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:Se,padding:Oe,color:Ce,lineHeight:`${Se}px`,background:Ve,[`${me}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Le,color:ge,fontSize:it,background:fe},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ue=(0,te.Z)("Layout",ce=>[le(ce)],ce=>{const{colorBgLayout:me,controlHeight:ve,controlHeightLG:ge,colorText:pe,controlHeightSM:fe,marginXXS:ye,colorTextLightSolid:Se,colorBgContainer:Oe}=ce,Ce=ge*1.25;return{colorBgHeader:"#001529",colorBgBody:me,colorBgTrigger:"#002140",bodyBg:me,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ce}px`,headerColor:pe,footerPadding:`${fe}px ${Ce}px`,footerBg:me,siderBg:"#001529",triggerHeight:ge+ye*2,triggerBg:"#002140",triggerColor:Se,zeroTriggerWidth:ge,zeroTriggerHeight:ge,lightSiderBg:Oe,lightTriggerBg:Oe,lightTriggerColor:pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ae=function(ce,me){var ve={};for(var ge in ce)Object.prototype.hasOwnProperty.call(ce,ge)&&me.indexOf(ge)<0&&(ve[ge]=ce[ge]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,ge=Object.getOwnPropertySymbols(ce);penull,removeSider:()=>null}});function ne(ce){let{suffixCls:me,tagName:ve,displayName:ge}=ce;return pe=>be.forwardRef((ye,Se)=>be.createElement(pe,Object.assign({ref:Se,suffixCls:me,tagName:ve},ye)))}const a=be.forwardRef((ce,me)=>{const{prefixCls:ve,suffixCls:ge,className:pe,tagName:fe}=ce,ye=ae(ce,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=be.useContext(oe.E_),Oe=Se("layout",ve),[Ce,Le]=ue(Oe),De=ge?`${Oe}-${ge}`:Oe;return Ce(be.createElement(fe,Object.assign({className:E()(ve||De,pe,Le),ref:me},ye)))}),y=be.forwardRef((ce,me)=>{const{direction:ve}=be.useContext(oe.E_),[ge,pe]=be.useState([]),{prefixCls:fe,className:ye,rootClassName:Se,children:Oe,hasSider:Ce,tagName:Le,style:De}=ce,ke=ae(ce,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ue=(0,Pe.Z)(ke,["suffixCls"]),{getPrefixCls:et,layout:Ge}=be.useContext(oe.E_),it=et("layout",fe),[Qe,Ye]=ue(it),Ve=E()(it,{[`${it}-has-sider`]:typeof Ce=="boolean"?Ce:ge.length>0,[`${it}-rtl`]:ve==="rtl"},Ge==null?void 0:Ge.className,ye,Se,Ye),Me=be.useMemo(()=>({siderHook:{addSider:Re=>{pe(ze=>[].concat((0,he.Z)(ze),[Re]))},removeSider:Re=>{pe(ze=>ze.filter(rt=>rt!==Re))}}}),[]);return Qe(be.createElement(ie.Provider,{value:Me},be.createElement(Le,Object.assign({ref:me,className:Ve,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),De)},Ue),Oe)))}),x=ne({tagName:"div",displayName:"Layout"})(y),b=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=x},40875:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{J:function(){return oe}});var he=Ae(59301),ot=Ae(33234),E=Ae(70425),Pe=function(te,se){var de={};for(var le in te)Object.prototype.hasOwnProperty.call(te,le)&&se.indexOf(le)<0&&(de[le]=te[le]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,le=Object.getOwnPropertySymbols(te);ue{const{children:de}=te,le=Pe(te,["children"]),ue=he.useContext(be),ae=he.useMemo(()=>Object.assign(Object.assign({},ue),le),[ue,le.prefixCls,le.mode,le.selectable]);return he.createElement(be.Provider,{value:ae},he.createElement(ot.BR,null,(0,E.supportNodeRef)(de)?he.cloneElement(de,{ref:se}):de))});Ft.Z=be},20834:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{default:function(){return Fe}});var he=Ae(15285),ot=Ae(59301),E=Ae(45818),Pe=Ae(92310),be=Ae.n(Pe),oe=Ae(36355),te=function(Ie,Xe){var He={};for(var je in Ie)Object.prototype.hasOwnProperty.call(Ie,je)&&Xe.indexOf(je)<0&&(He[je]=Ie[je]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,je=Object.getOwnPropertySymbols(Ie);Ee{const{prefixCls:Xe,className:He,dashed:je}=Ie,Ee=te(Ie,["prefixCls","className","dashed"]),{getPrefixCls:xe}=ot.useContext(oe.E_),we=xe("menu",Xe),Be=be()({[`${we}-item-divider-dashed`]:!!je},He);return ot.createElement(he.iz,Object.assign({className:Be},Ee))},le=Ae(11592),ue=Ae(2738),ae=Ae(6848),ie=Ae(92343),a=(0,ot.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ie=>{var Xe;const{className:He,children:je,icon:Ee,title:xe,danger:we}=Ie,{prefixCls:Be,firstLevel:Ze,direction:Ke,disableMenuItemTitleTooltip:Ne,inlineCollapsed:at}=ot.useContext(a),ht=lt=>{const dt=ot.createElement("span",{className:`${Be}-title-content`},je);return(!Ee||(0,ie.l$)(je)&&je.type==="span")&&je&<&&Ze&&typeof je=="string"?ot.createElement("div",{className:`${Be}-inline-collapsed-noicon`},je.charAt(0)):dt},{siderCollapsed:ft}=ot.useContext(E.D);let yt=xe;typeof xe=="undefined"?yt=Ze?je:"":xe===!1&&(yt="");const st={title:yt};!ft&&!at&&(st.title=null,st.open=!1);const pt=(0,le.Z)(je).length;let nt=ot.createElement(he.ck,Object.assign({},(0,ue.Z)(Ie,["title","icon","danger"]),{className:be()({[`${Be}-item-danger`]:we,[`${Be}-item-only-child`]:(Ee?pt+1:pt)===1},He),title:typeof xe=="string"?xe:void 0}),(0,ie.Tm)(Ee,{className:be()((0,ie.l$)(Ee)?(Xe=Ee.props)===null||Xe===void 0?void 0:Xe.className:"",`${Be}-item-icon`)}),ht(at));return Ne||(nt=ot.createElement(ae.Z,Object.assign({},st,{placement:Ke==="rtl"?"left":"right",overlayClassName:`${Be}-inline-collapsed-tooltip`}),nt)),nt},z=Ie=>{var Xe;const{popupClassName:He,icon:je,title:Ee,theme:xe}=Ie,we=ot.useContext(a),{prefixCls:Be,inlineCollapsed:Ze,theme:Ke}=we,Ne=(0,he.Xl)();let at;if(!je)at=Ze&&!Ne.length&&Ee&&typeof Ee=="string"?ot.createElement("div",{className:`${Be}-inline-collapsed-noicon`},Ee.charAt(0)):ot.createElement("span",{className:`${Be}-title-content`},Ee);else{const ft=(0,ie.l$)(Ee)&&Ee.type==="span";at=ot.createElement(ot.Fragment,null,(0,ie.Tm)(je,{className:be()((0,ie.l$)(je)?(Xe=je.props)===null||Xe===void 0?void 0:Xe.className:"",`${Be}-item-icon`)}),ft?Ee:ot.createElement("span",{className:`${Be}-title-content`},Ee))}const ht=ot.useMemo(()=>Object.assign(Object.assign({},we),{firstLevel:!1}),[we]);return ot.createElement(a.Provider,{value:ht},ot.createElement(he.Wd,Object.assign({},(0,ue.Z)(Ie,["icon"]),{title:at,popupClassName:be()(Be,He,`${Be}-${xe||Ke}`)})))},ee=Ae(18785),re=Ae(70425),ce=Ae(62892),me=Ae(40875),ve=function(Ie,Xe){var He={};for(var je in Ie)Object.prototype.hasOwnProperty.call(Ie,je)&&Xe.indexOf(je)<0&&(He[je]=Ie[je]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,je=Object.getOwnPropertySymbols(Ie);Ee{if(Xe&&typeof Xe=="object"){const je=Xe,{label:Ee,children:xe,key:we,type:Be}=je,Ze=ve(je,["label","children","key","type"]),Ke=we!=null?we:`tmp-${He}`;return xe||Be==="group"?Be==="group"?ot.createElement(he.BW,Object.assign({key:Ke},Ze,{title:Ee}),ge(xe)):ot.createElement(z,Object.assign({key:Ke},Ze,{title:Ee}),ge(xe)):Be==="divider"?ot.createElement(de,Object.assign({key:Ke},Ze)):ot.createElement(x,Object.assign({key:Ke},Ze),Ee)}return null}).filter(Xe=>Xe)}function pe(Ie){return ot.useMemo(()=>Ie&&ge(Ie),[Ie])}var fe=Ae(64993),ye=Ae(17313),Se=Ae(8378),Oe=Ae(13826),Ce=Ae(29878),Le=Ae(83116),De=Ae(37613),Ue=Ie=>{const{componentCls:Xe,motionDurationSlow:He,horizontalLineHeight:je,colorSplit:Ee,lineWidth:xe,lineType:we,itemPaddingInline:Be}=Ie;return{[`${Xe}-horizontal`]:{lineHeight:je,border:0,borderBottom:`${xe}px ${we} ${Ee}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Xe}-item, ${Xe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Be},[`> ${Xe}-item:hover, - > ${Xe}-item-active, - > ${Xe}-submenu ${Xe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Xe}-item, ${Xe}-submenu-title`]:{transition:[`border-color ${He}`,`background ${He}`].join(",")},[`${Xe}-submenu-arrow`]:{display:"none"}}}},Ge=Ie=>{let{componentCls:Xe,menuArrowOffset:He}=Ie;return{[`${Xe}-rtl`]:{direction:"rtl"},[`${Xe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Xe}-rtl${Xe}-vertical, - ${Xe}-submenu-rtl ${Xe}-vertical`]:{[`${Xe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${He})`},"&::after":{transform:`rotate(45deg) translateY(${He})`}}}}};const it=Ie=>Object.assign({},(0,ye.oN)(Ie));var Ye=(Ie,Xe)=>{const{componentCls:He,itemColor:je,itemSelectedColor:Ee,groupTitleColor:xe,itemBg:we,subMenuItemBg:Be,itemSelectedBg:Ze,activeBarHeight:Ke,activeBarWidth:Ne,activeBarBorderWidth:at,motionDurationSlow:ht,motionEaseInOut:ft,motionEaseOut:yt,itemPaddingInline:st,motionDurationMid:pt,itemHoverColor:nt,lineType:lt,colorSplit:dt,itemDisabledColor:gt,dangerItemColor:Pt,dangerItemHoverColor:At,dangerItemSelectedColor:It,dangerItemActiveBg:Gt,dangerItemSelectedBg:tn,itemHoverBg:pn,itemActiveBg:gn,menuSubMenuBg:sn,horizontalItemSelectedColor:En,horizontalItemSelectedBg:Dn,horizontalItemBorderRadius:un,horizontalItemHoverBg:qn,popupBg:Nn}=Ie;return{[`${He}-${Xe}, ${He}-${Xe} > ${He}`]:{color:je,background:we,[`&${He}-root:focus-visible`]:Object.assign({},it(Ie)),[`${He}-item-group-title`]:{color:xe},[`${He}-submenu-selected`]:{[`> ${He}-submenu-title`]:{color:Ee}},[`${He}-item-disabled, ${He}-submenu-disabled`]:{color:`${gt} !important`},[`${He}-item:not(${He}-item-selected):not(${He}-submenu-selected)`]:{[`&:hover, > ${He}-submenu-title:hover`]:{color:nt}},[`&:not(${He}-horizontal)`]:{[`${He}-item:not(${He}-item-selected)`]:{"&:hover":{backgroundColor:pn},"&:active":{backgroundColor:gn}},[`${He}-submenu-title`]:{"&:hover":{backgroundColor:pn},"&:active":{backgroundColor:gn}}},[`${He}-item-danger`]:{color:Pt,[`&${He}-item:hover`]:{[`&:not(${He}-item-selected):not(${He}-submenu-selected)`]:{color:At}},[`&${He}-item:active`]:{background:Gt}},[`${He}-item a`]:{"&, &:hover":{color:"inherit"}},[`${He}-item-selected`]:{color:Ee,[`&${He}-item-danger`]:{color:It},"a, a:hover":{color:"inherit"}},[`& ${He}-item-selected`]:{backgroundColor:Ze,[`&${He}-item-danger`]:{backgroundColor:tn}},[`${He}-item, ${He}-submenu-title`]:{[`&:not(${He}-item-disabled):focus-visible`]:Object.assign({},it(Ie))},[`&${He}-submenu > ${He}`]:{backgroundColor:sn},[`&${He}-popup > ${He}`]:{backgroundColor:Nn},[`&${He}-horizontal`]:Object.assign(Object.assign({},Xe==="dark"?{borderBottom:0}:{}),{[`> ${He}-item, > ${He}-submenu`]:{top:at,marginTop:-at,marginBottom:0,borderRadius:un,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${Ke}px solid transparent`,transition:`border-color ${ht} ${ft}`,content:'""'},"&:hover, &-active, &-open":{background:qn,"&::after":{borderBottomWidth:Ke,borderBottomColor:En}},"&-selected":{color:En,backgroundColor:Dn,"&:hover":{backgroundColor:Dn},"&::after":{borderBottomWidth:Ke,borderBottomColor:En}}}}),[`&${He}-root`]:{[`&${He}-inline, &${He}-vertical`]:{borderInlineEnd:`${at}px ${lt} ${dt}`}},[`&${He}-inline`]:{[`${He}-sub${He}-inline`]:{background:Be},[`${He}-item, ${He}-submenu-title`]:at&&Ne?{width:`calc(100% + ${at}px)`}:{},[`${He}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ne}px solid ${Ee}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${pt} ${yt}`,`opacity ${pt} ${yt}`].join(","),content:'""'},[`&${He}-item-danger`]:{"&::after":{borderInlineEndColor:It}}},[`${He}-selected, ${He}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${pt} ${ft}`,`opacity ${pt} ${ft}`].join(",")}}}}}};const Ve=Ie=>{const{componentCls:Xe,itemHeight:He,itemMarginInline:je,padding:Ee,menuArrowSize:xe,marginXS:we,itemMarginBlock:Be}=Ie,Ze=Ee+xe+we;return{[`${Xe}-item`]:{position:"relative",overflow:"hidden"},[`${Xe}-item, ${Xe}-submenu-title`]:{height:He,lineHeight:`${He}px`,paddingInline:Ee,overflow:"hidden",textOverflow:"ellipsis",marginInline:je,marginBlock:Be,width:`calc(100% - ${je*2}px)`},[`> ${Xe}-item, - > ${Xe}-submenu > ${Xe}-submenu-title`]:{height:He,lineHeight:`${He}px`},[`${Xe}-item-group-list ${Xe}-submenu-title, - ${Xe}-submenu-title`]:{paddingInlineEnd:Ze}}};var Re=Ie=>{const{componentCls:Xe,iconCls:He,itemHeight:je,colorTextLightSolid:Ee,dropdownWidth:xe,controlHeightLG:we,motionDurationMid:Be,motionEaseOut:Ze,paddingXL:Ke,itemMarginInline:Ne,fontSizeLG:at,motionDurationSlow:ht,paddingXS:ft,boxShadowSecondary:yt,collapsedWidth:st,collapsedIconSize:pt}=Ie,nt={height:je,lineHeight:`${je}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Xe]:{"&-inline, &-vertical":Object.assign({[`&${Xe}-root`]:{boxShadow:"none"}},Ve(Ie))},[`${Xe}-submenu-popup`]:{[`${Xe}-vertical`]:Object.assign(Object.assign({},Ve(Ie)),{boxShadow:yt})}},{[`${Xe}-submenu-popup ${Xe}-vertical${Xe}-sub`]:{minWidth:xe,maxHeight:`calc(100vh - ${we*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Xe}-inline`]:{width:"100%",[`&${Xe}-root`]:{[`${Xe}-item, ${Xe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ht}`,`background ${ht}`,`padding ${Be} ${Ze}`].join(","),[`> ${Xe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Xe}-sub${Xe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Xe}-submenu > ${Xe}-submenu-title`]:nt,[`& ${Xe}-item-group-title`]:{paddingInlineStart:Ke}},[`${Xe}-item`]:nt}},{[`${Xe}-inline-collapsed`]:{width:st,[`&${Xe}-root`]:{[`${Xe}-item, ${Xe}-submenu ${Xe}-submenu-title`]:{[`> ${Xe}-inline-collapsed-noicon`]:{fontSize:at,textAlign:"center"}}},[`> ${Xe}-item, - > ${Xe}-item-group > ${Xe}-item-group-list > ${Xe}-item, - > ${Xe}-item-group > ${Xe}-item-group-list > ${Xe}-submenu > ${Xe}-submenu-title, - > ${Xe}-submenu > ${Xe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${at/2}px - ${Ne}px)`,textOverflow:"clip",[` - ${Xe}-submenu-arrow, - ${Xe}-submenu-expand-icon - `]:{opacity:0},[`${Xe}-item-icon, ${He}`]:{margin:0,fontSize:pt,lineHeight:`${je}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Xe}-item-icon, ${He}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Xe}-item-icon, ${He}`]:{display:"none"},"a, a:hover":{color:Ee}},[`${Xe}-item-group-title`]:Object.assign(Object.assign({},ye.vS),{paddingInline:ft})}}]};const ze=Ie=>{const{componentCls:Xe,motionDurationSlow:He,motionDurationMid:je,motionEaseInOut:Ee,motionEaseOut:xe,iconCls:we,iconSize:Be,iconMarginInlineEnd:Ze}=Ie;return{[`${Xe}-item, ${Xe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${He}`,`background ${He}`,`padding ${He} ${Ee}`].join(","),[`${Xe}-item-icon, ${we}`]:{minWidth:Be,fontSize:Be,transition:[`font-size ${je} ${xe}`,`margin ${He} ${Ee}`,`color ${He}`].join(","),"+ span":{marginInlineStart:Ze,opacity:1,transition:[`opacity ${He} ${Ee}`,`margin ${He}`,`color ${He}`].join(",")}},[`${Xe}-item-icon`]:Object.assign({},(0,ye.Ro)()),[`&${Xe}-item-only-child`]:{[`> ${we}, > ${Xe}-item-icon`]:{marginInlineEnd:0}}},[`${Xe}-item-disabled, ${Xe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Xe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},rt=Ie=>{const{componentCls:Xe,motionDurationSlow:He,motionEaseInOut:je,borderRadius:Ee,menuArrowSize:xe,menuArrowOffset:we}=Ie;return{[`${Xe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ie.margin,width:xe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${He} ${je}, opacity ${He}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:xe*.6,height:xe*.15,backgroundColor:"currentcolor",borderRadius:Ee,transition:[`background ${He} ${je}`,`transform ${He} ${je}`,`top ${He} ${je}`,`color ${He} ${je}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${we})`},"&::after":{transform:`rotate(-45deg) translateY(${we})`}}}}},$e=Ie=>{const{antCls:Xe,componentCls:He,fontSize:je,motionDurationSlow:Ee,motionDurationMid:xe,motionEaseInOut:we,paddingXS:Be,padding:Ze,colorSplit:Ke,lineWidth:Ne,zIndexPopup:at,borderRadiusLG:ht,subMenuItemBorderRadius:ft,menuArrowSize:yt,menuArrowOffset:st,lineType:pt,menuPanelMaskInset:nt,groupTitleLineHeight:lt,groupTitleFontSize:dt}=Ie;return[{"":{[`${He}`]:Object.assign(Object.assign({},(0,ye.dF)()),{"&-hidden":{display:"none"}})},[`${He}-submenu-hidden`]:{display:"none"}},{[He]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(Ie)),(0,ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:je,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ee} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${He}-item`]:{flex:"none"}},[`${He}-item, ${He}-submenu, ${He}-submenu-title`]:{borderRadius:Ie.itemBorderRadius},[`${He}-item-group-title`]:{padding:`${Be}px ${Ze}px`,fontSize:dt,lineHeight:lt,transition:`all ${Ee}`},[`&-horizontal ${He}-submenu`]:{transition:[`border-color ${Ee} ${we}`,`background ${Ee} ${we}`].join(",")},[`${He}-submenu, ${He}-submenu-inline`]:{transition:[`border-color ${Ee} ${we}`,`background ${Ee} ${we}`,`padding ${xe} ${we}`].join(",")},[`${He}-submenu ${He}-sub`]:{cursor:"initial",transition:[`background ${Ee} ${we}`,`padding ${Ee} ${we}`].join(",")},[`${He}-title-content`]:{transition:`color ${Ee}`},[`${He}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${He}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ke,borderStyle:pt,borderWidth:0,borderTopWidth:Ne,marginBlock:Ne,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ze(Ie)),{[`${He}-item-group`]:{[`${He}-item-group-list`]:{margin:0,padding:0,[`${He}-item, ${He}-submenu-title`]:{paddingInline:`${je*2}px ${Ze}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:at,borderRadius:ht,boxShadow:"none",transformOrigin:"0 0",[`&${He}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${nt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:nt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Ie.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ie.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ie.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ie.paddingXS},[`> ${He}`]:Object.assign(Object.assign(Object.assign({borderRadius:ht},ze(Ie)),rt(Ie)),{[`${He}-item, ${He}-submenu > ${He}-submenu-title`]:{borderRadius:ft},[`${He}-submenu-title::after`]:{transition:`transform ${Ee} ${we}`}})}}),rt(Ie)),{[`&-inline-collapsed ${He}-submenu-arrow, - &-inline ${He}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${st})`},"&::after":{transform:`rotate(45deg) translateX(-${st})`}},[`${He}-submenu-open${He}-submenu-inline > ${He}-submenu-title > ${He}-submenu-arrow`]:{transform:`translateY(-${yt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${st})`},"&::before":{transform:`rotate(45deg) translateX(${st})`}}})},{[`${Xe}-layout-header`]:{[He]:{lineHeight:"inherit"}}}]};var ut=(Ie,Xe)=>(0,Le.Z)("Menu",je=>{if(Xe===!1)return[];const{colorBgElevated:Ee,colorPrimary:xe,colorTextLightSolid:we,controlHeightLG:Be,fontSize:Ze,darkItemColor:Ke,darkDangerItemColor:Ne,darkItemBg:at,darkSubMenuItemBg:ht,darkItemSelectedColor:ft,darkItemSelectedBg:yt,darkDangerItemSelectedBg:st,darkItemHoverBg:pt,darkGroupTitleColor:nt,darkItemHoverColor:lt,darkItemDisabledColor:dt,darkDangerItemHoverColor:gt,darkDangerItemSelectedColor:Pt,darkDangerItemActiveBg:At}=je,It=Ze/7*5,Gt=(0,De.TS)(je,{menuArrowSize:It,menuHorizontalHeight:Be*1.15,menuArrowOffset:`${It*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ee}),tn=(0,De.TS)(Gt,{itemColor:Ke,itemHoverColor:lt,groupTitleColor:nt,itemSelectedColor:ft,itemBg:at,popupBg:at,subMenuItemBg:ht,itemActiveBg:"transparent",itemSelectedBg:yt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:pt,itemDisabledColor:dt,dangerItemColor:Ne,dangerItemHoverColor:gt,dangerItemSelectedColor:Pt,dangerItemActiveBg:At,dangerItemSelectedBg:st,menuSubMenuBg:ht,horizontalItemSelectedColor:we,horizontalItemSelectedBg:xe});return[$e(Gt),Ue(Gt),Re(Gt),Ye(Gt,"light"),Ye(tn,"dark"),Ge(Gt),(0,Se.Z)(Gt),(0,Oe.oN)(Gt,"slide-up"),(0,Oe.oN)(Gt,"slide-down"),(0,Ce._y)(Gt,"zoom-big")]},je=>{const{colorPrimary:Ee,colorError:xe,colorTextDisabled:we,colorErrorBg:Be,colorText:Ze,colorTextDescription:Ke,colorBgContainer:Ne,colorFillAlter:at,colorFillContent:ht,lineWidth:ft,lineWidthBold:yt,controlItemBgActive:st,colorBgTextHover:pt,controlHeightLG:nt,lineHeight:lt,colorBgElevated:dt,marginXXS:gt,padding:Pt,fontSize:At,controlHeightSM:It,fontSizeLG:Gt,colorTextLightSolid:tn,colorErrorHover:pn}=je,gn=new fe.C(tn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:je.zIndexPopupBase+50,radiusItem:je.borderRadiusLG,itemBorderRadius:je.borderRadiusLG,radiusSubMenuItem:je.borderRadiusSM,subMenuItemBorderRadius:je.borderRadiusSM,colorItemText:Ze,itemColor:Ze,colorItemTextHover:Ze,itemHoverColor:Ze,colorItemTextHoverHorizontal:Ee,horizontalItemHoverColor:Ee,colorGroupTitle:Ke,groupTitleColor:Ke,colorItemTextSelected:Ee,itemSelectedColor:Ee,colorItemTextSelectedHorizontal:Ee,horizontalItemSelectedColor:Ee,colorItemBg:Ne,itemBg:Ne,colorItemBgHover:pt,itemHoverBg:pt,colorItemBgActive:ht,itemActiveBg:st,colorSubItemBg:at,subMenuItemBg:at,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:yt,activeBarHeight:yt,colorActiveBarBorderSize:ft,activeBarBorderWidth:ft,colorItemTextDisabled:we,itemDisabledColor:we,colorDangerItemText:xe,dangerItemColor:xe,colorDangerItemTextHover:xe,dangerItemHoverColor:xe,colorDangerItemTextSelected:xe,dangerItemSelectedColor:xe,colorDangerItemBgActive:Be,dangerItemActiveBg:Be,colorDangerItemBgSelected:Be,dangerItemSelectedBg:Be,itemMarginInline:je.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:nt,groupTitleLineHeight:lt,collapsedWidth:nt*2,popupBg:dt,itemMarginBlock:gt,itemPaddingInline:Pt,horizontalLineHeight:`${nt*1.15}px`,iconSize:At,iconMarginInlineEnd:It-At,collapsedIconSize:Gt,groupTitleFontSize:At,darkItemDisabledColor:new fe.C(tn).setAlpha(.25).toRgbString(),darkItemColor:gn,darkDangerItemColor:xe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:tn,darkItemSelectedBg:Ee,darkDangerItemSelectedBg:xe,darkItemHoverBg:"transparent",darkGroupTitleColor:gn,darkItemHoverColor:tn,darkDangerItemHoverColor:pn,darkDangerItemSelectedColor:tn,darkDangerItemActiveBg:xe}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ie),_e=function(Ie,Xe){var He={};for(var je in Ie)Object.prototype.hasOwnProperty.call(Ie,je)&&Xe.indexOf(je)<0&&(He[je]=Ie[je]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,je=Object.getOwnPropertySymbols(Ie);Ee{var He,je;const Ee=ot.useContext(me.Z),xe=Ee||{},{getPrefixCls:we,getPopupContainer:Be,direction:Ze,menu:Ke}=ot.useContext(oe.E_),Ne=we(),{prefixCls:at,className:ht,style:ft,theme:yt="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:pt,inlineCollapsed:nt,siderCollapsed:lt,items:dt,children:gt,rootClassName:Pt,mode:At,selectable:It,onClick:Gt,overflowedIndicatorPopupClassName:tn}=Ie,pn=_e(Ie,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),gn=(0,ue.Z)(pn,["collapsedWidth"]),sn=pe(dt)||gt;(He=xe.validator)===null||He===void 0||He.call(xe,{mode:At});const En=(0,re.useEvent)(function(){var xr;Gt==null||Gt.apply(void 0,arguments),(xr=xe.onClick)===null||xr===void 0||xr.call(xe)}),Dn=xe.mode||At,un=It!=null?It:xe.selectable,qn=ot.useMemo(()=>lt!==void 0?lt:nt,[nt,lt]),Nn={horizontal:{motionName:`${Ne}-slide-up`},inline:(0,ce.Z)(Ne),other:{motionName:`${Ne}-zoom-big`}},bn=we("menu",at||xe.prefixCls),[Wn,jn]=ut(bn,!Ee),Jt=be()(`${bn}-${yt}`,Ke==null?void 0:Ke.className,ht);let ir;if(typeof st=="function")ir=st;else if(st===null||st===!1)ir=null;else if(xe.expandIcon===null||xe.expandIcon===!1)ir=null;else{const xr=st!=null?st:xe.expandIcon;ir=(0,ie.Tm)(xr,{className:be()(`${bn}-submenu-expand-icon`,(0,ie.l$)(xr)?(je=xr.props)===null||je===void 0?void 0:je.className:"")})}const Wr=ot.useMemo(()=>({prefixCls:bn,inlineCollapsed:qn||!1,direction:Ze,firstLevel:!0,theme:yt,mode:Dn,disableMenuItemTitleTooltip:pt}),[bn,qn,Ze,pt,yt]);return Wn(ot.createElement(me.Z.Provider,{value:null},ot.createElement(a.Provider,{value:Wr},ot.createElement(he.ZP,Object.assign({getPopupContainer:Be,overflowedIndicator:ot.createElement(ee.Z,null),overflowedIndicatorPopupClassName:be()(bn,`${bn}-${yt}`,tn),mode:Dn,selectable:un,onClick:En},gn,{inlineCollapsed:qn,style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),ft),className:Jt,prefixCls:bn,direction:Ze,defaultMotions:Nn,expandIcon:ir,ref:Xe,rootClassName:be()(Pt,jn)}),sn))))});const Je=(0,ot.forwardRef)((Ie,Xe)=>{const He=(0,ot.useRef)(null),je=ot.useContext(E.D);return(0,ot.useImperativeHandle)(Xe,()=>({menu:He.current,focus:Ee=>{var xe;(xe=He.current)===null||xe===void 0||xe.focus(Ee)}})),ot.createElement(Te,Object.assign({ref:He},Ie,je))});Je.Item=x,Je.SubMenu=z,Je.Divider=de,Je.ItemGroup=he.BW;var Fe=Je},58421:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return xe}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Pe=E,be=Ae(7657),oe=function(Be,Ze){return ot.createElement(be.Z,(0,he.Z)({},Be,{ref:Ze,icon:Pe}))},te=ot.forwardRef(oe),se=te,de=Ae(49198),le=Ae(33853),ue=Ae(38819),ae=Ae(92310),ie=Ae.n(ae),ne=Ae(20068),a=Ae(33885),y=Ae(67732),x=Ae(83652),b=Ae(42403),z=Ae(158),ee=Ae(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ce=re,me=Ae(91735),ve=function(we){(0,b.Z)(Ze,we);var Be=(0,z.Z)(Ze);function Ze(){var Ke;(0,y.Z)(this,Ze);for(var Ne=arguments.length,at=new Array(Ne),ht=0;ht=0||ft.relatedTarget.className.indexOf("".concat(nt,"-item"))>=0))&&pt(Ke.getValidValue()))},Ke.go=function(ft){var yt=Ke.state.goInputText;yt!==""&&(ft.keyCode===ce.ENTER||ft.type==="click")&&(Ke.setState({goInputText:""}),Ke.props.quickGo(Ke.getValidValue()))},Ke}return(0,x.Z)(Ze,[{key:"getPageSizeOptions",value:function(){var Ne=this.props,at=Ne.pageSize,ht=Ne.pageSizeOptions;return ht.some(function(ft){return ft.toString()===at.toString()})?ht:ht.concat([at.toString()]).sort(function(ft,yt){var st=Number.isNaN(Number(ft))?0:Number(ft),pt=Number.isNaN(Number(yt))?0:Number(yt);return st-pt})}},{key:"render",value:function(){var Ne=this,at=this.props,ht=at.pageSize,ft=at.locale,yt=at.rootPrefixCls,st=at.changeSize,pt=at.quickGo,nt=at.goButton,lt=at.selectComponentClass,dt=at.buildOptionText,gt=at.selectPrefixCls,Pt=at.disabled,At=this.state.goInputText,It="".concat(yt,"-options"),Gt=lt,tn=null,pn=null,gn=null;if(!st&&!pt)return null;var sn=this.getPageSizeOptions();if(st&&Gt){var En=sn.map(function(Dn,un){return ot.createElement(Gt.Option,{key:un,value:Dn.toString()},(dt||Ne.buildOptionText)(Dn))});tn=ot.createElement(Gt,{disabled:Pt,prefixCls:gt,showSearch:!1,className:"".concat(It,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ht||sn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(un){return un.parentNode},"aria-label":ft.page_size,defaultOpen:!1},En)}return pt&&(nt&&(gn=typeof nt=="boolean"?ot.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Pt,className:"".concat(It,"-quick-jumper-button")},ft.jump_to_confirm):ot.createElement("span",{onClick:this.go,onKeyUp:this.go},nt)),pn=ot.createElement("div",{className:"".concat(It,"-quick-jumper")},ft.jump_to,ot.createElement("input",{disabled:Pt,type:"text",value:At,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ft.page}),ft.page,gn)),ot.createElement("li",{className:"".concat(It)},tn,pn)}}]),Ze}(ot.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var ge=ve,pe=function(Be){var Ze,Ke=Be.rootPrefixCls,Ne=Be.page,at=Be.active,ht=Be.className,ft=Be.showTitle,yt=Be.onClick,st=Be.onKeyPress,pt=Be.itemRender,nt="".concat(Ke,"-item"),lt=ie()(nt,"".concat(nt,"-").concat(Ne),(Ze={},(0,ne.Z)(Ze,"".concat(nt,"-active"),at),(0,ne.Z)(Ze,"".concat(nt,"-disabled"),!Ne),(0,ne.Z)(Ze,Be.className,ht),Ze)),dt=function(){yt(Ne)},gt=function(It){st(It,yt,Ne)},Pt=pt(Ne,"page",ot.createElement("a",{rel:"nofollow"},Ne));return Pt?ot.createElement("li",{title:ft?Ne.toString():null,className:lt,onClick:dt,onKeyPress:gt,tabIndex:0},Pt):null},fe=pe;function ye(){}function Se(we){var Be=Number(we);return typeof Be=="number"&&!Number.isNaN(Be)&&isFinite(Be)&&Math.floor(Be)===Be}var Oe=function(Be,Ze,Ke){return Ke};function Ce(we,Be,Ze){var Ke=typeof we=="undefined"?Be.pageSize:we;return Math.floor((Ze.total-1)/Ke)+1}var Le=function(we){(0,b.Z)(Ze,we);var Be=(0,z.Z)(Ze);function Ze(Ke){var Ne;(0,y.Z)(this,Ze),Ne=Be.call(this,Ke),Ne.paginationNode=ot.createRef(),Ne.getJumpPrevPage=function(){return Math.max(1,Ne.state.current-(Ne.props.showLessItems?3:5))},Ne.getJumpNextPage=function(){return Math.min(Ce(void 0,Ne.state,Ne.props),Ne.state.current+(Ne.props.showLessItems?3:5))},Ne.getItemIcon=function(st,pt){var nt=Ne.props.prefixCls,lt=st||ot.createElement("button",{type:"button","aria-label":pt,className:"".concat(nt,"-item-link")});return typeof st=="function"&&(lt=ot.createElement(st,(0,a.Z)({},Ne.props))),lt},Ne.isValid=function(st){var pt=Ne.props.total;return Se(st)&&st!==Ne.state.current&&Se(pt)&&pt>0},Ne.shouldDisplayQuickJumper=function(){var st=Ne.props,pt=st.showQuickJumper,nt=st.total,lt=Ne.state.pageSize;return nt<=lt?!1:pt},Ne.handleKeyDown=function(st){(st.keyCode===ce.ARROW_UP||st.keyCode===ce.ARROW_DOWN)&&st.preventDefault()},Ne.handleKeyUp=function(st){var pt=Ne.getValidValue(st),nt=Ne.state.currentInputValue;pt!==nt&&Ne.setState({currentInputValue:pt}),st.keyCode===ce.ENTER?Ne.handleChange(pt):st.keyCode===ce.ARROW_UP?Ne.handleChange(pt-1):st.keyCode===ce.ARROW_DOWN&&Ne.handleChange(pt+1)},Ne.handleBlur=function(st){var pt=Ne.getValidValue(st);Ne.handleChange(pt)},Ne.changePageSize=function(st){var pt=Ne.state.current,nt=Ce(st,Ne.state,Ne.props);pt=pt>nt?nt:pt,nt===0&&(pt=Ne.state.current),typeof st=="number"&&("pageSize"in Ne.props||Ne.setState({pageSize:st}),"current"in Ne.props||Ne.setState({current:pt,currentInputValue:pt})),Ne.props.onShowSizeChange(pt,st),"onChange"in Ne.props&&Ne.props.onChange&&Ne.props.onChange(pt,st)},Ne.handleChange=function(st){var pt=Ne.props,nt=pt.disabled,lt=pt.onChange,dt=Ne.state,gt=dt.pageSize,Pt=dt.current,At=dt.currentInputValue;if(Ne.isValid(st)&&!nt){var It=Ce(void 0,Ne.state,Ne.props),Gt=st;return st>It?Gt=It:st<1&&(Gt=1),"current"in Ne.props||Ne.setState({current:Gt}),Gt!==At&&Ne.setState({currentInputValue:Gt}),lt(Gt,gt),Gt}return Pt},Ne.prev=function(){Ne.hasPrev()&&Ne.handleChange(Ne.state.current-1)},Ne.next=function(){Ne.hasNext()&&Ne.handleChange(Ne.state.current+1)},Ne.jumpPrev=function(){Ne.handleChange(Ne.getJumpPrevPage())},Ne.jumpNext=function(){Ne.handleChange(Ne.getJumpNextPage())},Ne.hasPrev=function(){return Ne.state.current>1},Ne.hasNext=function(){return Ne.state.current2?nt-2:0),dt=2;dt=ht?yt=ht:yt=Number(at),yt}},{key:"getShowSizeChanger",value:function(){var Ne=this.props,at=Ne.showSizeChanger,ht=Ne.total,ft=Ne.totalBoundaryShowSizeChanger;return typeof at!="undefined"?at:ht>ft}},{key:"render",value:function(){var Ne=this.props,at=Ne.prefixCls,ht=Ne.className,ft=Ne.style,yt=Ne.disabled,st=Ne.hideOnSinglePage,pt=Ne.total,nt=Ne.locale,lt=Ne.showQuickJumper,dt=Ne.showLessItems,gt=Ne.showTitle,Pt=Ne.showTotal,At=Ne.simple,It=Ne.itemRender,Gt=Ne.showPrevNextJumpers,tn=Ne.jumpPrevIcon,pn=Ne.jumpNextIcon,gn=Ne.selectComponentClass,sn=Ne.selectPrefixCls,En=Ne.pageSizeOptions,Dn=this.state,un=Dn.current,qn=Dn.pageSize,Nn=Dn.currentInputValue;if(st===!0&&pt<=qn)return null;var bn=Ce(void 0,this.state,this.props),Wn=[],jn=null,Jt=null,ir=null,Wr=null,xr=null,sr=lt&<.goButton,Rr=dt?1:2,Jr=un-1>0?un-1:0,Tt=un+1pt?pt:un*qn]));if(At){sr&&(typeof sr=="boolean"?xr=ot.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},nt.jump_to_confirm):xr=ot.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},sr),xr=ot.createElement("li",{title:gt?"".concat(nt.jump_to).concat(un,"/").concat(bn):null,className:"".concat(at,"-simple-pager")},xr));var Vt=this.renderPrev(Jr);return ot.createElement("ul",(0,he.Z)({className:ie()(at,"".concat(at,"-simple"),(0,ne.Z)({},"".concat(at,"-disabled"),yt),ht),style:ft,ref:this.paginationNode},xt),Et,Vt?ot.createElement("li",{title:gt?nt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ie()("".concat(at,"-prev"),(0,ne.Z)({},"".concat(at,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Vt):null,ot.createElement("li",{title:gt?"".concat(un,"/").concat(bn):null,className:"".concat(at,"-simple-pager")},ot.createElement("input",{type:"text",value:Nn,disabled:yt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ot.createElement("span",{className:"".concat(at,"-slash")},"/"),bn),ot.createElement("li",{title:gt?nt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ie()("".concat(at,"-next"),(0,ne.Z)({},"".concat(at,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Tt)),xr)}if(bn<=3+Rr*2){var Sn={locale:nt,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:gt,itemRender:It};bn||Wn.push(ot.createElement(fe,(0,he.Z)({},Sn,{key:"noPager",page:1,className:"".concat(at,"-item-disabled")})));for(var $t=1;$t<=bn;$t+=1){var $n=un===$t;Wn.push(ot.createElement(fe,(0,he.Z)({},Sn,{key:$t,page:$t,active:$n})))}}else{var Hn=dt?nt.prev_3:nt.prev_5,Rn=dt?nt.next_3:nt.next_5,Er=It(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(tn,"prev page")),ra=It(this.getJumpNextPage(),"jump-next",this.getItemIcon(pn,"next page"));Gt&&(jn=Er?ot.createElement("li",{title:gt?Hn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ie()("".concat(at,"-jump-prev"),(0,ne.Z)({},"".concat(at,"-jump-prev-custom-icon"),!!tn))},Er):null,Jt=ra?ot.createElement("li",{title:gt?Rn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ie()("".concat(at,"-jump-next"),(0,ne.Z)({},"".concat(at,"-jump-next-custom-icon"),!!pn))},ra):null),Wr=ot.createElement(fe,{locale:nt,last:!0,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:bn,page:bn,active:!1,showTitle:gt,itemRender:It}),ir=ot.createElement(fe,{locale:nt,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:gt,itemRender:It});var Qt=Math.max(1,un-Rr),yr=Math.min(un+Rr,bn);un-1<=Rr&&(yr=1+Rr*2),bn-un<=Rr&&(Qt=bn-Rr*2);for(var Yr=Qt;Yr<=yr;Yr+=1){var Cr=un===Yr;Wn.push(ot.createElement(fe,{locale:nt,rootPrefixCls:at,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Yr,page:Yr,active:Cr,showTitle:gt,itemRender:It}))}un-1>=Rr*2&&un!==3&&(Wn[0]=(0,ot.cloneElement)(Wn[0],{className:"".concat(at,"-item-after-jump-prev")}),Wn.unshift(jn)),bn-un>=Rr*2&&un!==bn-2&&(Wn[Wn.length-1]=(0,ot.cloneElement)(Wn[Wn.length-1],{className:"".concat(at,"-item-before-jump-next")}),Wn.push(Jt)),Qt!==1&&Wn.unshift(ir),yr!==bn&&Wn.push(Wr)}var Or=!this.hasPrev()||!bn,wt=!this.hasNext()||!bn,Ht=this.renderPrev(Jr),Rt=this.renderNext(Tt);return ot.createElement("ul",(0,he.Z)({className:ie()(at,ht,(0,ne.Z)({},"".concat(at,"-disabled"),yt)),style:ft,ref:this.paginationNode},xt),Et,Ht?ot.createElement("li",{title:gt?nt.prev_page:null,onClick:this.prev,tabIndex:Or?null:0,onKeyPress:this.runIfEnterPrev,className:ie()("".concat(at,"-prev"),(0,ne.Z)({},"".concat(at,"-disabled"),Or)),"aria-disabled":Or},Ht):null,Wn,Rt?ot.createElement("li",{title:gt?nt.next_page:null,onClick:this.next,tabIndex:wt?null:0,onKeyPress:this.runIfEnterNext,className:ie()("".concat(at,"-next"),(0,ne.Z)({},"".concat(at,"-disabled"),wt)),"aria-disabled":wt},Rt):null,ot.createElement(ge,{disabled:yt,locale:nt,rootPrefixCls:at,selectComponentClass:gn,selectPrefixCls:sn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:un,pageSize:qn,pageSizeOptions:En,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:sr}))}}],[{key:"getDerivedStateFromProps",value:function(Ne,at){var ht={};if("current"in Ne&&(ht.current=Ne.current,Ne.current!==at.current&&(ht.currentInputValue=ht.current)),"pageSize"in Ne&&Ne.pageSize!==at.pageSize){var ft=at.current,yt=Ce(Ne.pageSize,at,Ne);ft=ft>yt?yt:ft,"current"in Ne||(ht.current=ft,ht.currentInputValue=ft),ht.pageSize=Ne.pageSize}return ht}}]),Ze}(ot.Component);Le.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ye,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ye,locale:me.Z,style:{},itemRender:Oe,totalBoundaryShowSizeChanger:50};var De=Le,ke=Ae(22075),Ue=Ae(36355),et=Ae(19716),Ge=Ae(8628),it=Ae(9763),Qe=Ae(57809);const Ye=we=>ot.createElement(Qe.default,Object.assign({},we,{showSearch:!0,size:"small"})),Ve=we=>ot.createElement(Qe.default,Object.assign({},we,{showSearch:!0,size:"middle"}));Ye.Option=Qe.default.Option,Ve.Option=Qe.default.Option;var Me=Ae(9937),Re=Ae(17313),ze=Ae(83116),rt=Ae(37613);const $e=we=>{const{componentCls:Be}=we;return{[`${Be}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}}},[`&${Be}-disabled`]:{cursor:"not-allowed",[`${Be}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:we.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:we.colorBorder,backgroundColor:we.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:we.itemActiveBgDisabled},a:{color:we.itemActiveColorDisabled}}},[`${Be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Be}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Be}-simple-pager`]:{color:we.colorTextDisabled},[`${Be}-jump-prev, ${Be}-jump-next`]:{[`${Be}-item-link-icon`]:{opacity:0},[`${Be}-item-ellipsis`]:{opacity:1}}},[`&${Be}-simple`]:{[`${Be}-prev, ${Be}-next`]:{[`&${Be}-disabled ${Be}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ut=we=>{const{componentCls:Be}=we;return{[`&${Be}-mini ${Be}-total-text, &${Be}-mini ${Be}-simple-pager`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`},[`&${Be}-mini ${Be}-item`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM-2}px`},[`&${Be}-mini:not(${Be}-disabled) ${Be}-item:not(${Be}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},[`&${Be}-mini ${Be}-prev, &${Be}-mini ${Be}-next`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM}px`},[`&${Be}-mini:not(${Be}-disabled)`]:{[`${Be}-prev, ${Be}-next`]:{[`&:hover ${Be}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Be}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Be}-disabled:hover ${Be}-item-link`]:{backgroundColor:"transparent"}}},[` + &${b}-slide-up-leave${b}-slide-up-leave-active${ie}-placement-topRight`]:{animationName:it.ly}})},(0,ye.ZP)(ae,{colorBg:ge,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ie} ${ne}`]:{position:"relative",margin:0},[`${ne}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ie}, ${ie}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:he,listStyleType:"none",backgroundColor:ge,backgroundClip:"padding-box",borderRadius:ae.borderRadiusLG,outline:"none",boxShadow:ae.boxShadowSecondary},(0,pe.Qy)(ae)),{[`${ne}-item-group-title`]:{padding:`${re}px ${me}px`,color:ae.colorTextDescription,transition:`all ${ee}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:le,marginInlineEnd:ae.marginXS,fontSize:ae.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ee}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${me}px`,color:ae.colorText,fontWeight:"normal",fontSize:le,lineHeight:ae.lineHeight,cursor:"pointer",transition:`all ${ee}`,borderRadius:ae.borderRadiusSM,"&:hover, &-active":{backgroundColor:ae.controlItemBgHover}},(0,pe.Qy)(ae)),{"&-selected":{color:ae.colorPrimary,backgroundColor:ae.controlItemBgActive,"&:hover, &-active":{backgroundColor:ae.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:ge,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ae.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ae.colorSplit},[`${ie}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ae.paddingXS,[`${ie}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ae.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${ae.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:me+ae.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${ie}-menu-submenu-title`]:{[`&, ${ie}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:ge,cursor:"not-allowed"}},[`${ne}-submenu-selected ${ie}-menu-submenu-title`]:{color:ae.colorPrimary}})}},[(0,it.oN)(ae,"slide-up"),(0,it.oN)(ae,"slide-down"),(0,E.Fm)(ae,"move-up"),(0,E.Fm)(ae,"move-down"),(0,Se._y)(ae,"zoom-big")]]};var ce=(0,oe.Z)("Dropdown",(ae,ie)=>{let{rootPrefixCls:ne}=ie;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:ee,componentCls:re,borderRadiusLG:le}=ae,he=(x-b*z)/2,{dropdownArrowOffset:ve}=(0,ye.fS)({contentRadius:le}),fe=(0,te.TS)(ae,{menuCls:`${re}-menu`,rootPrefixCls:ne,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:he,dropdownEdgeChildPadding:ee});return[ue(fe),de(fe)]},ae=>({zIndexPopup:ae.zIndexPopupBase+50}))},8628:function(xt,At,Ae){"use strict";var pe=Ae(59301),it=Ae(34280),E=Ae(56762),Se=Ae(69507);function ye(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const te=(0,pe.useRef)({}),se=(0,E.Z)(),de=(0,Se.ZP)();return(0,it.Z)(()=>{const ue=de.subscribe(ce=>{te.current=ce,oe&&se()});return()=>de.unsubscribe(ue)},[]),te.current}At.Z=ye},45818:function(xt,At,Ae){"use strict";Ae.d(At,{D:function(){return ee},Z:function(){return he}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(fe,me){return it.createElement(ye.Z,(0,pe.Z)({},fe,{ref:me,icon:Se}))},te=it.forwardRef(oe),se=te,de=Ae(33853),ue=Ae(38819),ce=Ae(92310),ae=Ae.n(ce),ie=Ae(2738),a=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),y=Ae(36355),x=Ae(84966),b=function(ve,fe){var me={};for(var ge in ve)Object.prototype.hasOwnProperty.call(ve,ge)&&fe.indexOf(ge)<0&&(me[ge]=ve[ge]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,ge=Object.getOwnPropertySymbols(ve);be{let ve=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${fe}${ve}`}})();var he=it.forwardRef((ve,fe)=>{const{prefixCls:me,className:ge,trigger:be,children:Pe,defaultCollapsed:Te=!1,theme:Ce="dark",style:Le={},collapsible:Ie=!1,reverseArrow:Me=!1,width:Ue=200,collapsedWidth:Qe=80,zeroWidthTriggerStyle:Ge,breakpoint:ot,onCollapse:Ve,onBreakpoint:Xe}=ve,Ze=b(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ze}=(0,it.useContext)(x.Gs),[Re,He]=(0,it.useState)("collapsed"in ve?ve.collapsed:Te),[rt,qe]=(0,it.useState)(!1);(0,it.useEffect)(()=>{"collapsed"in ve&&He(ve.collapsed)},[ve.collapsed]);const ut=(Ne,et)=>{"collapsed"in ve||He(Ne),Ve==null||Ve(Ne,et)},_e=(0,it.useRef)();_e.current=Ne=>{qe(Ne.matches),Xe==null||Xe(Ne.matches),Re!==Ne.matches&&ut(Ne.matches,"responsive")},(0,it.useEffect)(()=>{function Ne(De){return _e.current(De)}let et;if(typeof window!="undefined"){const{matchMedia:De}=window;if(De&&ot&&ot in z){et=De(`(max-width: ${z[ot]})`);try{et.addEventListener("change",Ne)}catch(je){et.addListener(Ne)}Ne(et)}}return()=>{try{et==null||et.removeEventListener("change",Ne)}catch(De){et==null||et.removeListener(Ne)}}},[ot]),(0,it.useEffect)(()=>{const Ne=re("ant-sider-");return ze.addSider(Ne),()=>ze.removeSider(Ne)},[]);const We=()=>{ut(!Re,"clickTrigger")},{getPrefixCls:Oe}=(0,it.useContext)(y.E_),Ye=()=>{const Ne=Oe("layout-sider",me),et=(0,ie.Z)(Ze,["collapsed"]),De=Re?Qe:Ue,je=a(De)?`${De}px`:String(De),Ee=parseFloat(String(Qe||0))===0?it.createElement("span",{onClick:We,className:ae()(`${Ne}-zero-width-trigger`,`${Ne}-zero-width-trigger-${Me?"right":"left"}`),style:Ge},be||it.createElement(se,null)):null,Be={expanded:Me?it.createElement(ue.Z,null):it.createElement(de.Z,null),collapsed:Me?it.createElement(de.Z,null):it.createElement(ue.Z,null)}[Re?"collapsed":"expanded"],Ke=be!==null?Ee||it.createElement("div",{className:`${Ne}-trigger`,onClick:We,style:{width:je}},be||Be):null,nt=Object.assign(Object.assign({},Le),{flex:`0 0 ${je}`,maxWidth:je,minWidth:je,width:je}),ke=ae()(Ne,`${Ne}-${Ce}`,{[`${Ne}-collapsed`]:!!Re,[`${Ne}-has-trigger`]:Ie&&be!==null&&!Ee,[`${Ne}-below`]:!!rt,[`${Ne}-zero-width`]:parseFloat(je)===0},ge);return it.createElement("aside",Object.assign({className:ke},et,{style:nt,ref:fe}),it.createElement("div",{className:`${Ne}-children`},Pe),Ie||rt&&Ee?Ke:null)},Fe=it.useMemo(()=>({siderCollapsed:Re}),[Re]);return it.createElement(ee.Provider,{value:Fe},Ye())})},84966:function(xt,At,Ae){"use strict";Ae.d(At,{VY:function(){return ee},$_:function(){return z},h4:function(){return b},Gs:function(){return ie},ZP:function(){return re}});var pe=Ae(94480),it=Ae(92310),E=Ae.n(it),Se=Ae(2738),ye=Ae(59301),oe=Ae(36355),te=Ae(83116),de=le=>{const{componentCls:he,bodyBg:ve,lightSiderBg:fe,lightTriggerBg:me,lightTriggerColor:ge}=le;return{[`${he}-sider-light`]:{background:fe,[`${he}-sider-trigger`]:{color:ge,background:me},[`${he}-sider-zero-width-trigger`]:{color:ge,background:me,border:`1px solid ${ve}`,borderInlineStart:0}}}};const ue=le=>{const{antCls:he,componentCls:ve,colorText:fe,triggerColor:me,footerBg:ge,triggerBg:be,headerHeight:Pe,headerPadding:Te,headerColor:Ce,footerPadding:Le,triggerHeight:Ie,zeroTriggerHeight:Me,zeroTriggerWidth:Ue,motionDurationMid:Qe,motionDurationSlow:Ge,fontSize:ot,borderRadius:Ve,bodyBg:Xe,headerBg:Ze,siderBg:ze}=le;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Xe,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:ze,transition:`all ${Qe}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${he}-menu${he}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ie},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ie,color:me,lineHeight:`${Ie}px`,textAlign:"center",background:be,cursor:"pointer",transition:`all ${Qe}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Pe,insetInlineEnd:-Ue,zIndex:1,width:Ue,height:Me,color:me,fontSize:le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ze,borderStartStartRadius:0,borderStartEndRadius:Ve,borderEndEndRadius:Ve,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ge} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ge}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ue,borderStartStartRadius:Ve,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ve}}}}},de(le)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:Pe,padding:Te,color:Ce,lineHeight:`${Pe}px`,background:Ze,[`${he}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Le,color:fe,fontSize:ot,background:ge},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ce=(0,te.Z)("Layout",le=>[ue(le)],le=>{const{colorBgLayout:he,controlHeight:ve,controlHeightLG:fe,colorText:me,controlHeightSM:ge,marginXXS:be,colorTextLightSolid:Pe,colorBgContainer:Te}=le,Ce=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:he,colorBgTrigger:"#002140",bodyBg:he,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ce}px`,headerColor:me,footerPadding:`${ge}px ${Ce}px`,footerBg:he,siderBg:"#001529",triggerHeight:fe+be*2,triggerBg:"#002140",triggerColor:Pe,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:Te,lightTriggerBg:Te,lightTriggerColor:me}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ae=function(le,he){var ve={};for(var fe in le)Object.prototype.hasOwnProperty.call(le,fe)&&he.indexOf(fe)<0&&(ve[fe]=le[fe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,fe=Object.getOwnPropertySymbols(le);menull,removeSider:()=>null}});function ne(le){let{suffixCls:he,tagName:ve,displayName:fe}=le;return me=>ye.forwardRef((be,Pe)=>ye.createElement(me,Object.assign({ref:Pe,suffixCls:he,tagName:ve},be)))}const a=ye.forwardRef((le,he)=>{const{prefixCls:ve,suffixCls:fe,className:me,tagName:ge}=le,be=ae(le,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Pe}=ye.useContext(oe.E_),Te=Pe("layout",ve),[Ce,Le]=ce(Te),Ie=fe?`${Te}-${fe}`:Te;return Ce(ye.createElement(ge,Object.assign({className:E()(ve||Ie,me,Le),ref:he},be)))}),y=ye.forwardRef((le,he)=>{const{direction:ve}=ye.useContext(oe.E_),[fe,me]=ye.useState([]),{prefixCls:ge,className:be,rootClassName:Pe,children:Te,hasSider:Ce,tagName:Le,style:Ie}=le,Me=ae(le,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ue=(0,Se.Z)(Me,["suffixCls"]),{getPrefixCls:Qe,layout:Ge}=ye.useContext(oe.E_),ot=Qe("layout",ge),[Ve,Xe]=ce(ot),Ze=E()(ot,{[`${ot}-has-sider`]:typeof Ce=="boolean"?Ce:fe.length>0,[`${ot}-rtl`]:ve==="rtl"},Ge==null?void 0:Ge.className,be,Pe,Xe),ze=ye.useMemo(()=>({siderHook:{addSider:Re=>{me(He=>[].concat((0,pe.Z)(He),[Re]))},removeSider:Re=>{me(He=>He.filter(rt=>rt!==Re))}}}),[]);return Ve(ye.createElement(ie.Provider,{value:ze},ye.createElement(Le,Object.assign({ref:he,className:Ze,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Ie)},Ue),Te)))}),x=ne({tagName:"div",displayName:"Layout"})(y),b=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ee=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var re=x},40875:function(xt,At,Ae){"use strict";Ae.d(At,{J:function(){return oe}});var pe=Ae(59301),it=Ae(33234),E=Ae(70425),Se=function(te,se){var de={};for(var ue in te)Object.prototype.hasOwnProperty.call(te,ue)&&se.indexOf(ue)<0&&(de[ue]=te[ue]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,ue=Object.getOwnPropertySymbols(te);ce{const{children:de}=te,ue=Se(te,["children"]),ce=pe.useContext(ye),ae=pe.useMemo(()=>Object.assign(Object.assign({},ce),ue),[ce,ue.prefixCls,ue.mode,ue.selectable]);return pe.createElement(ye.Provider,{value:ae},pe.createElement(it.BR,null,(0,E.supportNodeRef)(de)?pe.cloneElement(de,{ref:se}):de))});At.Z=ye},20834:function(xt,At,Ae){"use strict";Ae.d(At,{default:function(){return Fe}});var pe=Ae(15285),it=Ae(59301),E=Ae(45818),Se=Ae(92310),ye=Ae.n(Se),oe=Ae(36355),te=function(Ne,et){var De={};for(var je in Ne)Object.prototype.hasOwnProperty.call(Ne,je)&&et.indexOf(je)<0&&(De[je]=Ne[je]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,je=Object.getOwnPropertySymbols(Ne);Ee{const{prefixCls:et,className:De,dashed:je}=Ne,Ee=te(Ne,["prefixCls","className","dashed"]),{getPrefixCls:xe}=it.useContext(oe.E_),we=xe("menu",et),Be=ye()({[`${we}-item-divider-dashed`]:!!je},De);return it.createElement(pe.iz,Object.assign({className:Be},Ee))},ue=Ae(11592),ce=Ae(2738),ae=Ae(6848),ie=Ae(92343),a=(0,it.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ne=>{var et;const{className:De,children:je,icon:Ee,title:xe,danger:we}=Ne,{prefixCls:Be,firstLevel:Ke,direction:nt,disableMenuItemTitleTooltip:ke,inlineCollapsed:$e}=it.useContext(a),gt=lt=>{const ft=it.createElement("span",{className:`${Be}-title-content`},je);return(!Ee||(0,ie.l$)(je)&&je.type==="span")&&je&<&&Ke&&typeof je=="string"?it.createElement("div",{className:`${Be}-inline-collapsed-noicon`},je.charAt(0)):ft},{siderCollapsed:ct}=it.useContext(E.D);let vt=xe;typeof xe=="undefined"?vt=Ke?je:"":xe===!1&&(vt="");const st={title:vt};!ct&&!$e&&(st.title=null,st.open=!1);const ht=(0,ue.Z)(je).length;let at=it.createElement(pe.ck,Object.assign({},(0,ce.Z)(Ne,["title","icon","danger"]),{className:ye()({[`${Be}-item-danger`]:we,[`${Be}-item-only-child`]:(Ee?ht+1:ht)===1},De),title:typeof xe=="string"?xe:void 0}),(0,ie.Tm)(Ee,{className:ye()((0,ie.l$)(Ee)?(et=Ee.props)===null||et===void 0?void 0:et.className:"",`${Be}-item-icon`)}),gt($e));return ke||(at=it.createElement(ae.Z,Object.assign({},st,{placement:nt==="rtl"?"left":"right",overlayClassName:`${Be}-inline-collapsed-tooltip`}),at)),at},z=Ne=>{var et;const{popupClassName:De,icon:je,title:Ee,theme:xe}=Ne,we=it.useContext(a),{prefixCls:Be,inlineCollapsed:Ke,theme:nt}=we,ke=(0,pe.Xl)();let $e;if(!je)$e=Ke&&!ke.length&&Ee&&typeof Ee=="string"?it.createElement("div",{className:`${Be}-inline-collapsed-noicon`},Ee.charAt(0)):it.createElement("span",{className:`${Be}-title-content`},Ee);else{const ct=(0,ie.l$)(Ee)&&Ee.type==="span";$e=it.createElement(it.Fragment,null,(0,ie.Tm)(je,{className:ye()((0,ie.l$)(je)?(et=je.props)===null||et===void 0?void 0:et.className:"",`${Be}-item-icon`)}),ct?Ee:it.createElement("span",{className:`${Be}-title-content`},Ee))}const gt=it.useMemo(()=>Object.assign(Object.assign({},we),{firstLevel:!1}),[we]);return it.createElement(a.Provider,{value:gt},it.createElement(pe.Wd,Object.assign({},(0,ce.Z)(Ne,["icon"]),{title:$e,popupClassName:ye()(Be,De,`${Be}-${xe||nt}`)})))},ee=Ae(18785),re=Ae(70425),le=Ae(62892),he=Ae(40875),ve=function(Ne,et){var De={};for(var je in Ne)Object.prototype.hasOwnProperty.call(Ne,je)&&et.indexOf(je)<0&&(De[je]=Ne[je]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,je=Object.getOwnPropertySymbols(Ne);Ee{if(et&&typeof et=="object"){const je=et,{label:Ee,children:xe,key:we,type:Be}=je,Ke=ve(je,["label","children","key","type"]),nt=we!=null?we:`tmp-${De}`;return xe||Be==="group"?Be==="group"?it.createElement(pe.BW,Object.assign({key:nt},Ke,{title:Ee}),fe(xe)):it.createElement(z,Object.assign({key:nt},Ke,{title:Ee}),fe(xe)):Be==="divider"?it.createElement(de,Object.assign({key:nt},Ke)):it.createElement(x,Object.assign({key:nt},Ke),Ee)}return null}).filter(et=>et)}function me(Ne){return it.useMemo(()=>Ne&&fe(Ne),[Ne])}var ge=Ae(64993),be=Ae(17313),Pe=Ae(8378),Te=Ae(13826),Ce=Ae(29878),Le=Ae(83116),Ie=Ae(37613),Ue=Ne=>{const{componentCls:et,motionDurationSlow:De,horizontalLineHeight:je,colorSplit:Ee,lineWidth:xe,lineType:we,itemPaddingInline:Be}=Ne;return{[`${et}-horizontal`]:{lineHeight:je,border:0,borderBottom:`${xe}px ${we} ${Ee}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${et}-item, ${et}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Be},[`> ${et}-item:hover, + > ${et}-item-active, + > ${et}-submenu ${et}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${et}-item, ${et}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${et}-submenu-arrow`]:{display:"none"}}}},Ge=Ne=>{let{componentCls:et,menuArrowOffset:De}=Ne;return{[`${et}-rtl`]:{direction:"rtl"},[`${et}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${et}-rtl${et}-vertical, + ${et}-submenu-rtl ${et}-vertical`]:{[`${et}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${De})`},"&::after":{transform:`rotate(45deg) translateY(${De})`}}}}};const ot=Ne=>Object.assign({},(0,be.oN)(Ne));var Xe=(Ne,et)=>{const{componentCls:De,itemColor:je,itemSelectedColor:Ee,groupTitleColor:xe,itemBg:we,subMenuItemBg:Be,itemSelectedBg:Ke,activeBarHeight:nt,activeBarWidth:ke,activeBarBorderWidth:$e,motionDurationSlow:gt,motionEaseInOut:ct,motionEaseOut:vt,itemPaddingInline:st,motionDurationMid:ht,itemHoverColor:at,lineType:lt,colorSplit:ft,itemDisabledColor:mt,dangerItemColor:Pt,dangerItemHoverColor:Et,dangerItemSelectedColor:Lt,dangerItemActiveBg:zt,dangerItemSelectedBg:tn,itemHoverBg:gn,itemActiveBg:dn,menuSubMenuBg:on,horizontalItemSelectedColor:En,horizontalItemSelectedBg:Rn,horizontalItemBorderRadius:sn,horizontalItemHoverBg:$n,popupBg:_n}=Ne;return{[`${De}-${et}, ${De}-${et} > ${De}`]:{color:je,background:we,[`&${De}-root:focus-visible`]:Object.assign({},ot(Ne)),[`${De}-item-group-title`]:{color:xe},[`${De}-submenu-selected`]:{[`> ${De}-submenu-title`]:{color:Ee}},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${mt} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:at}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:gn},"&:active":{backgroundColor:dn}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:gn},"&:active":{backgroundColor:dn}}},[`${De}-item-danger`]:{color:Pt,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:Et}},[`&${De}-item:active`]:{background:zt}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:Ee,[`&${De}-item-danger`]:{color:Lt},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:Ke,[`&${De}-item-danger`]:{backgroundColor:tn}},[`${De}-item, ${De}-submenu-title`]:{[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},ot(Ne))},[`&${De}-submenu > ${De}`]:{backgroundColor:on},[`&${De}-popup > ${De}`]:{backgroundColor:_n},[`&${De}-horizontal`]:Object.assign(Object.assign({},et==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:$e,marginTop:-$e,marginBottom:0,borderRadius:sn,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${nt}px solid transparent`,transition:`border-color ${gt} ${ct}`,content:'""'},"&:hover, &-active, &-open":{background:$n,"&::after":{borderBottomWidth:nt,borderBottomColor:En}},"&-selected":{color:En,backgroundColor:Rn,"&:hover":{backgroundColor:Rn},"&::after":{borderBottomWidth:nt,borderBottomColor:En}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${$e}px ${lt} ${ft}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:Be},[`${De}-item, ${De}-submenu-title`]:$e&&ke?{width:`calc(100% + ${$e}px)`}:{},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ke}px solid ${Ee}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${ht} ${vt}`,`opacity ${ht} ${vt}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:Lt}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${ht} ${ct}`,`opacity ${ht} ${ct}`].join(",")}}}}}};const Ze=Ne=>{const{componentCls:et,itemHeight:De,itemMarginInline:je,padding:Ee,menuArrowSize:xe,marginXS:we,itemMarginBlock:Be}=Ne,Ke=Ee+xe+we;return{[`${et}-item`]:{position:"relative",overflow:"hidden"},[`${et}-item, ${et}-submenu-title`]:{height:De,lineHeight:`${De}px`,paddingInline:Ee,overflow:"hidden",textOverflow:"ellipsis",marginInline:je,marginBlock:Be,width:`calc(100% - ${je*2}px)`},[`> ${et}-item, + > ${et}-submenu > ${et}-submenu-title`]:{height:De,lineHeight:`${De}px`},[`${et}-item-group-list ${et}-submenu-title, + ${et}-submenu-title`]:{paddingInlineEnd:Ke}}};var Re=Ne=>{const{componentCls:et,iconCls:De,itemHeight:je,colorTextLightSolid:Ee,dropdownWidth:xe,controlHeightLG:we,motionDurationMid:Be,motionEaseOut:Ke,paddingXL:nt,itemMarginInline:ke,fontSizeLG:$e,motionDurationSlow:gt,paddingXS:ct,boxShadowSecondary:vt,collapsedWidth:st,collapsedIconSize:ht}=Ne,at={height:je,lineHeight:`${je}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[et]:{"&-inline, &-vertical":Object.assign({[`&${et}-root`]:{boxShadow:"none"}},Ze(Ne))},[`${et}-submenu-popup`]:{[`${et}-vertical`]:Object.assign(Object.assign({},Ze(Ne)),{boxShadow:vt})}},{[`${et}-submenu-popup ${et}-vertical${et}-sub`]:{minWidth:xe,maxHeight:`calc(100vh - ${we*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${et}-inline`]:{width:"100%",[`&${et}-root`]:{[`${et}-item, ${et}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${gt}`,`background ${gt}`,`padding ${Be} ${Ke}`].join(","),[`> ${et}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${et}-sub${et}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${et}-submenu > ${et}-submenu-title`]:at,[`& ${et}-item-group-title`]:{paddingInlineStart:nt}},[`${et}-item`]:at}},{[`${et}-inline-collapsed`]:{width:st,[`&${et}-root`]:{[`${et}-item, ${et}-submenu ${et}-submenu-title`]:{[`> ${et}-inline-collapsed-noicon`]:{fontSize:$e,textAlign:"center"}}},[`> ${et}-item, + > ${et}-item-group > ${et}-item-group-list > ${et}-item, + > ${et}-item-group > ${et}-item-group-list > ${et}-submenu > ${et}-submenu-title, + > ${et}-submenu > ${et}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${$e/2}px - ${ke}px)`,textOverflow:"clip",[` + ${et}-submenu-arrow, + ${et}-submenu-expand-icon + `]:{opacity:0},[`${et}-item-icon, ${De}`]:{margin:0,fontSize:ht,lineHeight:`${je}px`,"+ span":{display:"inline-block",opacity:0}}},[`${et}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${et}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:Ee}},[`${et}-item-group-title`]:Object.assign(Object.assign({},be.vS),{paddingInline:ct})}}]};const He=Ne=>{const{componentCls:et,motionDurationSlow:De,motionDurationMid:je,motionEaseInOut:Ee,motionEaseOut:xe,iconCls:we,iconSize:Be,iconMarginInlineEnd:Ke}=Ne;return{[`${et}-item, ${et}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding ${De} ${Ee}`].join(","),[`${et}-item-icon, ${we}`]:{minWidth:Be,fontSize:Be,transition:[`font-size ${je} ${xe}`,`margin ${De} ${Ee}`,`color ${De}`].join(","),"+ span":{marginInlineStart:Ke,opacity:1,transition:[`opacity ${De} ${Ee}`,`margin ${De}`,`color ${De}`].join(",")}},[`${et}-item-icon`]:Object.assign({},(0,be.Ro)()),[`&${et}-item-only-child`]:{[`> ${we}, > ${et}-item-icon`]:{marginInlineEnd:0}}},[`${et}-item-disabled, ${et}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${et}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},rt=Ne=>{const{componentCls:et,motionDurationSlow:De,motionEaseInOut:je,borderRadius:Ee,menuArrowSize:xe,menuArrowOffset:we}=Ne;return{[`${et}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ne.margin,width:xe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${je}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:xe*.6,height:xe*.15,backgroundColor:"currentcolor",borderRadius:Ee,transition:[`background ${De} ${je}`,`transform ${De} ${je}`,`top ${De} ${je}`,`color ${De} ${je}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${we})`},"&::after":{transform:`rotate(-45deg) translateY(${we})`}}}}},qe=Ne=>{const{antCls:et,componentCls:De,fontSize:je,motionDurationSlow:Ee,motionDurationMid:xe,motionEaseInOut:we,paddingXS:Be,padding:Ke,colorSplit:nt,lineWidth:ke,zIndexPopup:$e,borderRadiusLG:gt,subMenuItemBorderRadius:ct,menuArrowSize:vt,menuArrowOffset:st,lineType:ht,menuPanelMaskInset:at,groupTitleLineHeight:lt,groupTitleFontSize:ft}=Ne;return[{"":{[`${De}`]:Object.assign(Object.assign({},(0,be.dF)()),{"&-hidden":{display:"none"}})},[`${De}-submenu-hidden`]:{display:"none"}},{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(Ne)),(0,be.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:je,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ee} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:Ne.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${Be}px ${Ke}px`,fontSize:ft,lineHeight:lt,transition:`all ${Ee}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${Ee} ${we}`,`background ${Ee} ${we}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${Ee} ${we}`,`background ${Ee} ${we}`,`padding ${xe} ${we}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${Ee} ${we}`,`padding ${Ee} ${we}`].join(",")},[`${De}-title-content`]:{transition:`color ${Ee}`},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nt,borderStyle:ht,borderWidth:0,borderTopWidth:ke,marginBlock:ke,padding:0,"&-dashed":{borderStyle:"dashed"}}}),He(Ne)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${je*2}px ${Ke}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:$e,borderRadius:gt,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${at}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:at},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Ne.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ne.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ne.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ne.paddingXS},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:gt},He(Ne)),rt(Ne)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:ct},[`${De}-submenu-title::after`]:{transition:`transform ${Ee} ${we}`}})}}),rt(Ne)),{[`&-inline-collapsed ${De}-submenu-arrow, + &-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${st})`},"&::after":{transform:`rotate(45deg) translateX(-${st})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${vt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${st})`},"&::before":{transform:`rotate(45deg) translateX(${st})`}}})},{[`${et}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var ut=(Ne,et)=>(0,Le.Z)("Menu",je=>{if(et===!1)return[];const{colorBgElevated:Ee,colorPrimary:xe,colorTextLightSolid:we,controlHeightLG:Be,fontSize:Ke,darkItemColor:nt,darkDangerItemColor:ke,darkItemBg:$e,darkSubMenuItemBg:gt,darkItemSelectedColor:ct,darkItemSelectedBg:vt,darkDangerItemSelectedBg:st,darkItemHoverBg:ht,darkGroupTitleColor:at,darkItemHoverColor:lt,darkItemDisabledColor:ft,darkDangerItemHoverColor:mt,darkDangerItemSelectedColor:Pt,darkDangerItemActiveBg:Et}=je,Lt=Ke/7*5,zt=(0,Ie.TS)(je,{menuArrowSize:Lt,menuHorizontalHeight:Be*1.15,menuArrowOffset:`${Lt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ee}),tn=(0,Ie.TS)(zt,{itemColor:nt,itemHoverColor:lt,groupTitleColor:at,itemSelectedColor:ct,itemBg:$e,popupBg:$e,subMenuItemBg:gt,itemActiveBg:"transparent",itemSelectedBg:vt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ht,itemDisabledColor:ft,dangerItemColor:ke,dangerItemHoverColor:mt,dangerItemSelectedColor:Pt,dangerItemActiveBg:Et,dangerItemSelectedBg:st,menuSubMenuBg:gt,horizontalItemSelectedColor:we,horizontalItemSelectedBg:xe});return[qe(zt),Ue(zt),Re(zt),Xe(zt,"light"),Xe(tn,"dark"),Ge(zt),(0,Pe.Z)(zt),(0,Te.oN)(zt,"slide-up"),(0,Te.oN)(zt,"slide-down"),(0,Ce._y)(zt,"zoom-big")]},je=>{const{colorPrimary:Ee,colorError:xe,colorTextDisabled:we,colorErrorBg:Be,colorText:Ke,colorTextDescription:nt,colorBgContainer:ke,colorFillAlter:$e,colorFillContent:gt,lineWidth:ct,lineWidthBold:vt,controlItemBgActive:st,colorBgTextHover:ht,controlHeightLG:at,lineHeight:lt,colorBgElevated:ft,marginXXS:mt,padding:Pt,fontSize:Et,controlHeightSM:Lt,fontSizeLG:zt,colorTextLightSolid:tn,colorErrorHover:gn}=je,dn=new ge.C(tn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:je.zIndexPopupBase+50,radiusItem:je.borderRadiusLG,itemBorderRadius:je.borderRadiusLG,radiusSubMenuItem:je.borderRadiusSM,subMenuItemBorderRadius:je.borderRadiusSM,colorItemText:Ke,itemColor:Ke,colorItemTextHover:Ke,itemHoverColor:Ke,colorItemTextHoverHorizontal:Ee,horizontalItemHoverColor:Ee,colorGroupTitle:nt,groupTitleColor:nt,colorItemTextSelected:Ee,itemSelectedColor:Ee,colorItemTextSelectedHorizontal:Ee,horizontalItemSelectedColor:Ee,colorItemBg:ke,itemBg:ke,colorItemBgHover:ht,itemHoverBg:ht,colorItemBgActive:gt,itemActiveBg:st,colorSubItemBg:$e,subMenuItemBg:$e,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:vt,activeBarHeight:vt,colorActiveBarBorderSize:ct,activeBarBorderWidth:ct,colorItemTextDisabled:we,itemDisabledColor:we,colorDangerItemText:xe,dangerItemColor:xe,colorDangerItemTextHover:xe,dangerItemHoverColor:xe,colorDangerItemTextSelected:xe,dangerItemSelectedColor:xe,colorDangerItemBgActive:Be,dangerItemActiveBg:Be,colorDangerItemBgSelected:Be,dangerItemSelectedBg:Be,itemMarginInline:je.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:at,groupTitleLineHeight:lt,collapsedWidth:at*2,popupBg:ft,itemMarginBlock:mt,itemPaddingInline:Pt,horizontalLineHeight:`${at*1.15}px`,iconSize:Et,iconMarginInlineEnd:Lt-Et,collapsedIconSize:zt,groupTitleFontSize:Et,darkItemDisabledColor:new ge.C(tn).setAlpha(.25).toRgbString(),darkItemColor:dn,darkDangerItemColor:xe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:tn,darkItemSelectedBg:Ee,darkDangerItemSelectedBg:xe,darkItemHoverBg:"transparent",darkGroupTitleColor:dn,darkItemHoverColor:tn,darkDangerItemHoverColor:gn,darkDangerItemSelectedColor:tn,darkDangerItemActiveBg:xe}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ne),_e=function(Ne,et){var De={};for(var je in Ne)Object.prototype.hasOwnProperty.call(Ne,je)&&et.indexOf(je)<0&&(De[je]=Ne[je]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,je=Object.getOwnPropertySymbols(Ne);Ee{var De,je;const Ee=it.useContext(he.Z),xe=Ee||{},{getPrefixCls:we,getPopupContainer:Be,direction:Ke,menu:nt}=it.useContext(oe.E_),ke=we(),{prefixCls:$e,className:gt,style:ct,theme:vt="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:ht,inlineCollapsed:at,siderCollapsed:lt,items:ft,children:mt,rootClassName:Pt,mode:Et,selectable:Lt,onClick:zt,overflowedIndicatorPopupClassName:tn}=Ne,gn=_e(Ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dn=(0,ce.Z)(gn,["collapsedWidth"]),on=me(ft)||mt;(De=xe.validator)===null||De===void 0||De.call(xe,{mode:Et});const En=(0,re.useEvent)(function(){var or;zt==null||zt.apply(void 0,arguments),(or=xe.onClick)===null||or===void 0||or.call(xe)}),Rn=xe.mode||Et,sn=Lt!=null?Lt:xe.selectable,$n=it.useMemo(()=>lt!==void 0?lt:at,[at,lt]),_n={horizontal:{motionName:`${ke}-slide-up`},inline:(0,le.Z)(ke),other:{motionName:`${ke}-zoom-big`}},Mn=we("menu",$e||xe.prefixCls),[Qn,dr]=ut(Mn,!Ee),ir=ye()(`${Mn}-${vt}`,nt==null?void 0:nt.className,gt);let Cn;if(typeof st=="function")Cn=st;else if(st===null||st===!1)Cn=null;else if(xe.expandIcon===null||xe.expandIcon===!1)Cn=null;else{const or=st!=null?st:xe.expandIcon;Cn=(0,ie.Tm)(or,{className:ye()(`${Mn}-submenu-expand-icon`,(0,ie.l$)(or)?(je=or.props)===null||je===void 0?void 0:je.className:"")})}const fr=it.useMemo(()=>({prefixCls:Mn,inlineCollapsed:$n||!1,direction:Ke,firstLevel:!0,theme:vt,mode:Rn,disableMenuItemTitleTooltip:ht}),[Mn,$n,Ke,ht,vt]);return Qn(it.createElement(he.Z.Provider,{value:null},it.createElement(a.Provider,{value:fr},it.createElement(pe.ZP,Object.assign({getPopupContainer:Be,overflowedIndicator:it.createElement(ee.Z,null),overflowedIndicatorPopupClassName:ye()(Mn,`${Mn}-${vt}`,tn),mode:Rn,selectable:sn,onClick:En},dn,{inlineCollapsed:$n,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),ct),className:ir,prefixCls:Mn,direction:Ke,defaultMotions:_n,expandIcon:Cn,ref:et,rootClassName:ye()(Pt,dr)}),on))))});const Ye=(0,it.forwardRef)((Ne,et)=>{const De=(0,it.useRef)(null),je=it.useContext(E.D);return(0,it.useImperativeHandle)(et,()=>({menu:De.current,focus:Ee=>{var xe;(xe=De.current)===null||xe===void 0||xe.focus(Ee)}})),it.createElement(Oe,Object.assign({ref:De},Ne,je))});Ye.Item=x,Ye.SubMenu=z,Ye.Divider=de,Ye.ItemGroup=pe.BW;var Fe=Ye},58421:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return xe}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Se=E,ye=Ae(7657),oe=function(Be,Ke){return it.createElement(ye.Z,(0,pe.Z)({},Be,{ref:Ke,icon:Se}))},te=it.forwardRef(oe),se=te,de=Ae(49198),ue=Ae(33853),ce=Ae(38819),ae=Ae(92310),ie=Ae.n(ae),ne=Ae(20068),a=Ae(33885),y=Ae(67732),x=Ae(83652),b=Ae(42403),z=Ae(158),ee=Ae(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},le=re,he=Ae(91735),ve=function(we){(0,b.Z)(Ke,we);var Be=(0,z.Z)(Ke);function Ke(){var nt;(0,y.Z)(this,Ke);for(var ke=arguments.length,$e=new Array(ke),gt=0;gt=0||ct.relatedTarget.className.indexOf("".concat(at,"-item"))>=0))&&ht(nt.getValidValue()))},nt.go=function(ct){var vt=nt.state.goInputText;vt!==""&&(ct.keyCode===le.ENTER||ct.type==="click")&&(nt.setState({goInputText:""}),nt.props.quickGo(nt.getValidValue()))},nt}return(0,x.Z)(Ke,[{key:"getPageSizeOptions",value:function(){var ke=this.props,$e=ke.pageSize,gt=ke.pageSizeOptions;return gt.some(function(ct){return ct.toString()===$e.toString()})?gt:gt.concat([$e.toString()]).sort(function(ct,vt){var st=Number.isNaN(Number(ct))?0:Number(ct),ht=Number.isNaN(Number(vt))?0:Number(vt);return st-ht})}},{key:"render",value:function(){var ke=this,$e=this.props,gt=$e.pageSize,ct=$e.locale,vt=$e.rootPrefixCls,st=$e.changeSize,ht=$e.quickGo,at=$e.goButton,lt=$e.selectComponentClass,ft=$e.buildOptionText,mt=$e.selectPrefixCls,Pt=$e.disabled,Et=this.state.goInputText,Lt="".concat(vt,"-options"),zt=lt,tn=null,gn=null,dn=null;if(!st&&!ht)return null;var on=this.getPageSizeOptions();if(st&&zt){var En=on.map(function(Rn,sn){return it.createElement(zt.Option,{key:sn,value:Rn.toString()},(ft||ke.buildOptionText)(Rn))});tn=it.createElement(zt,{disabled:Pt,prefixCls:mt,showSearch:!1,className:"".concat(Lt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(gt||on[0]).toString(),onChange:this.changeSize,getPopupContainer:function(sn){return sn.parentNode},"aria-label":ct.page_size,defaultOpen:!1},En)}return ht&&(at&&(dn=typeof at=="boolean"?it.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Pt,className:"".concat(Lt,"-quick-jumper-button")},ct.jump_to_confirm):it.createElement("span",{onClick:this.go,onKeyUp:this.go},at)),gn=it.createElement("div",{className:"".concat(Lt,"-quick-jumper")},ct.jump_to,it.createElement("input",{disabled:Pt,type:"text",value:Et,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ct.page}),ct.page,dn)),it.createElement("li",{className:"".concat(Lt)},tn,gn)}}]),Ke}(it.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=ve,me=function(Be){var Ke,nt=Be.rootPrefixCls,ke=Be.page,$e=Be.active,gt=Be.className,ct=Be.showTitle,vt=Be.onClick,st=Be.onKeyPress,ht=Be.itemRender,at="".concat(nt,"-item"),lt=ie()(at,"".concat(at,"-").concat(ke),(Ke={},(0,ne.Z)(Ke,"".concat(at,"-active"),$e),(0,ne.Z)(Ke,"".concat(at,"-disabled"),!ke),(0,ne.Z)(Ke,Be.className,gt),Ke)),ft=function(){vt(ke)},mt=function(Lt){st(Lt,vt,ke)},Pt=ht(ke,"page",it.createElement("a",{rel:"nofollow"},ke));return Pt?it.createElement("li",{title:ct?ke.toString():null,className:lt,onClick:ft,onKeyPress:mt,tabIndex:0},Pt):null},ge=me;function be(){}function Pe(we){var Be=Number(we);return typeof Be=="number"&&!Number.isNaN(Be)&&isFinite(Be)&&Math.floor(Be)===Be}var Te=function(Be,Ke,nt){return nt};function Ce(we,Be,Ke){var nt=typeof we=="undefined"?Be.pageSize:we;return Math.floor((Ke.total-1)/nt)+1}var Le=function(we){(0,b.Z)(Ke,we);var Be=(0,z.Z)(Ke);function Ke(nt){var ke;(0,y.Z)(this,Ke),ke=Be.call(this,nt),ke.paginationNode=it.createRef(),ke.getJumpPrevPage=function(){return Math.max(1,ke.state.current-(ke.props.showLessItems?3:5))},ke.getJumpNextPage=function(){return Math.min(Ce(void 0,ke.state,ke.props),ke.state.current+(ke.props.showLessItems?3:5))},ke.getItemIcon=function(st,ht){var at=ke.props.prefixCls,lt=st||it.createElement("button",{type:"button","aria-label":ht,className:"".concat(at,"-item-link")});return typeof st=="function"&&(lt=it.createElement(st,(0,a.Z)({},ke.props))),lt},ke.isValid=function(st){var ht=ke.props.total;return Pe(st)&&st!==ke.state.current&&Pe(ht)&&ht>0},ke.shouldDisplayQuickJumper=function(){var st=ke.props,ht=st.showQuickJumper,at=st.total,lt=ke.state.pageSize;return at<=lt?!1:ht},ke.handleKeyDown=function(st){(st.keyCode===le.ARROW_UP||st.keyCode===le.ARROW_DOWN)&&st.preventDefault()},ke.handleKeyUp=function(st){var ht=ke.getValidValue(st),at=ke.state.currentInputValue;ht!==at&&ke.setState({currentInputValue:ht}),st.keyCode===le.ENTER?ke.handleChange(ht):st.keyCode===le.ARROW_UP?ke.handleChange(ht-1):st.keyCode===le.ARROW_DOWN&&ke.handleChange(ht+1)},ke.handleBlur=function(st){var ht=ke.getValidValue(st);ke.handleChange(ht)},ke.changePageSize=function(st){var ht=ke.state.current,at=Ce(st,ke.state,ke.props);ht=ht>at?at:ht,at===0&&(ht=ke.state.current),typeof st=="number"&&("pageSize"in ke.props||ke.setState({pageSize:st}),"current"in ke.props||ke.setState({current:ht,currentInputValue:ht})),ke.props.onShowSizeChange(ht,st),"onChange"in ke.props&&ke.props.onChange&&ke.props.onChange(ht,st)},ke.handleChange=function(st){var ht=ke.props,at=ht.disabled,lt=ht.onChange,ft=ke.state,mt=ft.pageSize,Pt=ft.current,Et=ft.currentInputValue;if(ke.isValid(st)&&!at){var Lt=Ce(void 0,ke.state,ke.props),zt=st;return st>Lt?zt=Lt:st<1&&(zt=1),"current"in ke.props||ke.setState({current:zt}),zt!==Et&&ke.setState({currentInputValue:zt}),lt(zt,mt),zt}return Pt},ke.prev=function(){ke.hasPrev()&&ke.handleChange(ke.state.current-1)},ke.next=function(){ke.hasNext()&&ke.handleChange(ke.state.current+1)},ke.jumpPrev=function(){ke.handleChange(ke.getJumpPrevPage())},ke.jumpNext=function(){ke.handleChange(ke.getJumpNextPage())},ke.hasPrev=function(){return ke.state.current>1},ke.hasNext=function(){return ke.state.current2?at-2:0),ft=2;ft=gt?vt=gt:vt=Number($e),vt}},{key:"getShowSizeChanger",value:function(){var ke=this.props,$e=ke.showSizeChanger,gt=ke.total,ct=ke.totalBoundaryShowSizeChanger;return typeof $e!="undefined"?$e:gt>ct}},{key:"render",value:function(){var ke=this.props,$e=ke.prefixCls,gt=ke.className,ct=ke.style,vt=ke.disabled,st=ke.hideOnSinglePage,ht=ke.total,at=ke.locale,lt=ke.showQuickJumper,ft=ke.showLessItems,mt=ke.showTitle,Pt=ke.showTotal,Et=ke.simple,Lt=ke.itemRender,zt=ke.showPrevNextJumpers,tn=ke.jumpPrevIcon,gn=ke.jumpNextIcon,dn=ke.selectComponentClass,on=ke.selectPrefixCls,En=ke.pageSizeOptions,Rn=this.state,sn=Rn.current,$n=Rn.pageSize,_n=Rn.currentInputValue;if(st===!0&&ht<=$n)return null;var Mn=Ce(void 0,this.state,this.props),Qn=[],dr=null,ir=null,Cn=null,fr=null,or=null,fn=lt&<.goButton,Or=ft?1:2,ia=sn-1>0?sn-1:0,Tt=sn+1ht?ht:sn*$n]));if(Et){fn&&(typeof fn=="boolean"?or=it.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},at.jump_to_confirm):or=it.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},fn),or=it.createElement("li",{title:mt?"".concat(at.jump_to).concat(sn,"/").concat(Mn):null,className:"".concat($e,"-simple-pager")},or));var nn=this.renderPrev(ia);return it.createElement("ul",(0,pe.Z)({className:ie()($e,"".concat($e,"-simple"),(0,ne.Z)({},"".concat($e,"-disabled"),vt),gt),style:ct,ref:this.paginationNode},Ft),Ct,nn?it.createElement("li",{title:mt?at.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ie()("".concat($e,"-prev"),(0,ne.Z)({},"".concat($e,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},nn):null,it.createElement("li",{title:mt?"".concat(sn,"/").concat(Mn):null,className:"".concat($e,"-simple-pager")},it.createElement("input",{type:"text",value:_n,disabled:vt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),it.createElement("span",{className:"".concat($e,"-slash")},"/"),Mn),it.createElement("li",{title:mt?at.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ie()("".concat($e,"-next"),(0,ne.Z)({},"".concat($e,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Tt)),or)}if(Mn<=3+Or*2){var xn={locale:at,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:mt,itemRender:Lt};Mn||Qn.push(it.createElement(ge,(0,pe.Z)({},xn,{key:"noPager",page:1,className:"".concat($e,"-item-disabled")})));for(var Kt=1;Kt<=Mn;Kt+=1){var Hn=sn===Kt;Qn.push(it.createElement(ge,(0,pe.Z)({},xn,{key:Kt,page:Kt,active:Hn})))}}else{var bn=ft?at.prev_3:at.prev_5,Ln=ft?at.next_3:at.next_5,gr=Lt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(tn,"prev page")),Mr=Lt(this.getJumpNextPage(),"jump-next",this.getItemIcon(gn,"next page"));zt&&(dr=gr?it.createElement("li",{title:mt?bn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ie()("".concat($e,"-jump-prev"),(0,ne.Z)({},"".concat($e,"-jump-prev-custom-icon"),!!tn))},gr):null,ir=Mr?it.createElement("li",{title:mt?Ln:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ie()("".concat($e,"-jump-next"),(0,ne.Z)({},"".concat($e,"-jump-next-custom-icon"),!!gn))},Mr):null),fr=it.createElement(ge,{locale:at,last:!0,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Mn,page:Mn,active:!1,showTitle:mt,itemRender:Lt}),Cn=it.createElement(ge,{locale:at,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:mt,itemRender:Lt});var rn=Math.max(1,sn-Or),hr=Math.min(sn+Or,Mn);sn-1<=Or&&(hr=1+Or*2),Mn-sn<=Or&&(rn=Mn-Or*2);for(var Zr=rn;Zr<=hr;Zr+=1){var Ar=sn===Zr;Qn.push(it.createElement(ge,{locale:at,rootPrefixCls:$e,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Zr,page:Zr,active:Ar,showTitle:mt,itemRender:Lt}))}sn-1>=Or*2&&sn!==3&&(Qn[0]=(0,it.cloneElement)(Qn[0],{className:"".concat($e,"-item-after-jump-prev")}),Qn.unshift(dr)),Mn-sn>=Or*2&&sn!==Mn-2&&(Qn[Qn.length-1]=(0,it.cloneElement)(Qn[Qn.length-1],{className:"".concat($e,"-item-before-jump-next")}),Qn.push(ir)),rn!==1&&Qn.unshift(Cn),hr!==Mn&&Qn.push(fr)}var vr=!this.hasPrev()||!Mn,wt=!this.hasNext()||!Mn,Gt=this.renderPrev(ia),Rt=this.renderNext(Tt);return it.createElement("ul",(0,pe.Z)({className:ie()($e,gt,(0,ne.Z)({},"".concat($e,"-disabled"),vt)),style:ct,ref:this.paginationNode},Ft),Ct,Gt?it.createElement("li",{title:mt?at.prev_page:null,onClick:this.prev,tabIndex:vr?null:0,onKeyPress:this.runIfEnterPrev,className:ie()("".concat($e,"-prev"),(0,ne.Z)({},"".concat($e,"-disabled"),vr)),"aria-disabled":vr},Gt):null,Qn,Rt?it.createElement("li",{title:mt?at.next_page:null,onClick:this.next,tabIndex:wt?null:0,onKeyPress:this.runIfEnterNext,className:ie()("".concat($e,"-next"),(0,ne.Z)({},"".concat($e,"-disabled"),wt)),"aria-disabled":wt},Rt):null,it.createElement(fe,{disabled:vt,locale:at,rootPrefixCls:$e,selectComponentClass:dn,selectPrefixCls:on,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:sn,pageSize:$n,pageSizeOptions:En,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:fn}))}}],[{key:"getDerivedStateFromProps",value:function(ke,$e){var gt={};if("current"in ke&&(gt.current=ke.current,ke.current!==$e.current&&(gt.currentInputValue=gt.current)),"pageSize"in ke&&ke.pageSize!==$e.pageSize){var ct=$e.current,vt=Ce(ke.pageSize,$e,ke);ct=ct>vt?vt:ct,"current"in ke||(gt.current=ct,gt.currentInputValue=ct),gt.pageSize=ke.pageSize}return gt}}]),Ke}(it.Component);Le.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:be,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:be,locale:he.Z,style:{},itemRender:Te,totalBoundaryShowSizeChanger:50};var Ie=Le,Me=Ae(22075),Ue=Ae(36355),Qe=Ae(19716),Ge=Ae(8628),ot=Ae(9763),Ve=Ae(57809);const Xe=we=>it.createElement(Ve.default,Object.assign({},we,{showSearch:!0,size:"small"})),Ze=we=>it.createElement(Ve.default,Object.assign({},we,{showSearch:!0,size:"middle"}));Xe.Option=Ve.default.Option,Ze.Option=Ve.default.Option;var ze=Ae(9937),Re=Ae(17313),He=Ae(83116),rt=Ae(37613);const qe=we=>{const{componentCls:Be}=we;return{[`${Be}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}}},[`&${Be}-disabled`]:{cursor:"not-allowed",[`${Be}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:we.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:we.colorBorder,backgroundColor:we.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:we.itemActiveBgDisabled},a:{color:we.itemActiveColorDisabled}}},[`${Be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Be}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Be}-simple-pager`]:{color:we.colorTextDisabled},[`${Be}-jump-prev, ${Be}-jump-next`]:{[`${Be}-item-link-icon`]:{opacity:0},[`${Be}-item-ellipsis`]:{opacity:1}}},[`&${Be}-simple`]:{[`${Be}-prev, ${Be}-next`]:{[`&${Be}-disabled ${Be}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ut=we=>{const{componentCls:Be}=we;return{[`&${Be}-mini ${Be}-total-text, &${Be}-mini ${Be}-simple-pager`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`},[`&${Be}-mini ${Be}-item`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM-2}px`},[`&${Be}-mini:not(${Be}-disabled) ${Be}-item:not(${Be}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},[`&${Be}-mini ${Be}-prev, &${Be}-mini ${Be}-next`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM}px`},[`&${Be}-mini:not(${Be}-disabled)`]:{[`${Be}-prev, ${Be}-next`]:{[`&:hover ${Be}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Be}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Be}-disabled:hover ${Be}-item-link`]:{backgroundColor:"transparent"}}},[` &${Be}-mini ${Be}-prev ${Be}-item-link, &${Be}-mini ${Be}-next ${Be}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}},[`&${Be}-mini ${Be}-jump-prev, &${Be}-mini ${Be}-jump-next`]:{height:we.itemSizeSM,marginInlineEnd:0,lineHeight:`${we.itemSizeSM}px`},[`&${Be}-mini ${Be}-options`]:{marginInlineStart:we.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:we.miniOptionsSizeChangerTop},"&-quick-jumper":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Me.x0)(we)),{width:we.paginationMiniQuickJumperInputWidth,height:we.controlHeightSM})}}}},_e=we=>{const{componentCls:Be}=we;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}},[`&${Be}-mini ${Be}-jump-prev, &${Be}-mini ${Be}-jump-next`]:{height:we.itemSizeSM,marginInlineEnd:0,lineHeight:`${we.itemSizeSM}px`},[`&${Be}-mini ${Be}-options`]:{marginInlineStart:we.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:we.miniOptionsSizeChangerTop},"&-quick-jumper":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ze.x0)(we)),{width:we.paginationMiniQuickJumperInputWidth,height:we.controlHeightSM})}}}},_e=we=>{const{componentCls:Be}=we;return{[` &${Be}-simple ${Be}-prev, &${Be}-simple ${Be}-next `]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,verticalAlign:"top",[`${Be}-item-link`]:{height:we.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive},"&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}}},[`&${Be}-simple ${Be}-simple-pager`]:{display:"inline-block",height:we.itemSizeSM,marginInlineEnd:we.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:we.marginXS,padding:`0 ${we.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:we.itemInputBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadius,outline:"none",transition:`border-color ${we.motionDurationMid}`,color:"inherit","&:hover":{borderColor:we.colorPrimary},"&:focus":{borderColor:we.colorPrimaryHover,boxShadow:`${we.inputOutlineOffset}px 0 ${we.controlOutlineWidth}px ${we.controlOutline}`},"&[disabled]":{color:we.colorTextDisabled,backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,cursor:"not-allowed"}}}}},We=we=>{const{componentCls:Be}=we;return{[`${Be}-jump-prev, ${Be}-jump-next`]:{outline:0,[`${Be}-item-container`]:{position:"relative",[`${Be}-item-link-icon`]:{color:we.colorPrimary,fontSize:we.fontSizeSM,opacity:0,transition:`all ${we.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Be}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:we.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:we.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:we.paginationEllipsisTextIndent,opacity:1,transition:`all ${we.motionDurationMid}`}},"&:hover":{[`${Be}-item-link-icon`]:{opacity:1},[`${Be}-item-ellipsis`]:{opacity:0}}},[` @@ -211,44 +211,44 @@ headers: `+JSON.stringify(dt),st.data=pt,st.path=Ge.path,st.status=Te,st.headers ${Be}-next, ${Be}-jump-prev, ${Be}-jump-next - `]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,color:we.colorText,fontFamily:we.fontFamily,lineHeight:`${we.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}`},[`${Be}-prev, ${Be}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:we.colorText,cursor:"pointer",userSelect:"none"},[`${Be}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:we.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:"none",transition:`all ${we.motionDurationMid}`},[`&:hover ${Be}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Be}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Be}-disabled:hover`]:{[`${Be}-item-link`]:{backgroundColor:"transparent"}}},[`${Be}-slash`]:{marginInlineEnd:we.paginationSlashMarginInlineEnd,marginInlineStart:we.paginationSlashMarginInlineStart},[`${Be}-options`]:{display:"inline-block",marginInlineStart:we.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:we.controlHeight,marginInlineStart:we.marginXS,lineHeight:`${we.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Me.ik)(we)),{width:we.controlHeightLG*1.25,height:we.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:we.marginXS,marginInlineEnd:we.marginXS})}}}},Te=we=>{const{componentCls:Be}=we;return{[`${Be}-item`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,marginInlineEnd:we.marginXS,fontFamily:we.fontFamily,lineHeight:`${we.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${we.paginationItemPaddingInline}px`,color:we.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Be}-item-active)`]:{"&:hover":{transition:`all ${we.motionDurationMid}`,backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},"&-active":{fontWeight:we.fontWeightStrong,backgroundColor:we.itemActiveBg,borderColor:we.colorPrimary,a:{color:we.colorPrimary},"&:hover":{borderColor:we.colorPrimaryHover},"&:hover a":{color:we.colorPrimaryHover}}}}},Je=we=>{const{componentCls:Be}=we;return{[Be]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(we)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Be}-total-text`]:{display:"inline-block",height:we.itemSize,marginInlineEnd:we.marginXS,lineHeight:`${we.itemSize-2}px`,verticalAlign:"middle"}}),Te(we)),We(we)),_e(we)),ut(we)),$e(we)),{[`@media only screen and (max-width: ${we.screenLG}px)`]:{[`${Be}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${we.screenSM}px)`]:{[`${Be}-options`]:{display:"none"}}}),[`&${we.componentCls}-rtl`]:{direction:"rtl"}}},Fe=we=>{const{componentCls:Be}=we;return{[`${Be}${Be}-disabled:not(${Be}-mini)`]:{"&, &:hover":{[`${Be}-item-link`]:{borderColor:we.colorBorder}},"&:focus-visible":{[`${Be}-item-link`]:{borderColor:we.colorBorder}},[`${Be}-item, ${Be}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,[`&:hover:not(${Be}-item-active)`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,a:{color:we.colorTextDisabled}},[`&${Be}-item-active`]:{backgroundColor:we.itemActiveBgDisabled}},[`${Be}-prev, ${Be}-next`]:{"&:hover button":{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,color:we.colorTextDisabled},[`${Be}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder}}},[`${Be}:not(${Be}-mini)`]:{[`${Be}-prev, ${Be}-next`]:{"&:hover button":{borderColor:we.colorPrimaryHover,backgroundColor:we.itemBg},[`${Be}-item-link`]:{backgroundColor:we.itemLinkBg,borderColor:we.colorBorder},[`&:hover ${Be}-item-link`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,color:we.colorPrimary},[`&${Be}-disabled`]:{[`${Be}-item-link`]:{borderColor:we.colorBorder,color:we.colorTextDisabled}}},[`${Be}-item`]:{backgroundColor:we.itemBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,[`&:hover:not(${Be}-item-active)`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,a:{color:we.colorPrimary}},"&-active":{borderColor:we.colorPrimary}}}}},Ie=we=>{const{componentCls:Be}=we;return{[`${Be}:not(${Be}-disabled)`]:{[`${Be}-item`]:Object.assign({},(0,Re.Qy)(we)),[`${Be}-jump-prev, ${Be}-jump-next`]:{"&:focus-visible":Object.assign({[`${Be}-item-link-icon`]:{opacity:1},[`${Be}-item-ellipsis`]:{opacity:0}},(0,Re.oN)(we))},[`${Be}-prev, ${Be}-next`]:{[`&:focus-visible ${Be}-item-link`]:Object.assign({},(0,Re.oN)(we))}}}};var Xe=(0,ze.Z)("Pagination",we=>{const Be=(0,rt.TS)(we,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:we.marginXXS/2,paginationMiniQuickJumperInputWidth:we.controlHeightLG*1.1,paginationItemPaddingInline:we.marginXXS*1.5,paginationEllipsisLetterSpacing:we.marginXXS/2,paginationSlashMarginInlineStart:we.marginXXS,paginationSlashMarginInlineEnd:we.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Me.e5)(we),(0,Me.TM)(we));return[Je(Be),Ie(Be),we.wireframe&&Fe(Be)]},we=>({itemBg:we.colorBgContainer,itemSize:we.controlHeight,itemSizeSM:we.controlHeightSM,itemActiveBg:we.colorBgContainer,itemLinkBg:we.colorBgContainer,itemActiveColorDisabled:we.colorTextDisabled,itemActiveBgDisabled:we.controlItemBgActiveDisabled,itemInputBg:we.colorBgContainer,miniOptionsSizeChangerTop:0})),He=function(we,Be){var Ze={};for(var Ke in we)Object.prototype.hasOwnProperty.call(we,Ke)&&Be.indexOf(Ke)<0&&(Ze[Ke]=we[Ke]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Ke=Object.getOwnPropertySymbols(we);Ne{const{prefixCls:Be,selectPrefixCls:Ze,className:Ke,rootClassName:Ne,style:at,size:ht,locale:ft,selectComponentClass:yt,responsive:st,showSizeChanger:pt}=we,nt=He(we,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:lt}=(0,Ge.Z)(st),{getPrefixCls:dt,direction:gt,pagination:Pt={}}=ot.useContext(Ue.E_),At=dt("pagination",Be),[It,Gt]=Xe(At),tn=pt!=null?pt:Pt.showSizeChanger,pn=ot.useMemo(()=>{const bn=ot.createElement("span",{className:`${At}-item-ellipsis`},"\u2022\u2022\u2022"),Wn=ot.createElement("button",{className:`${At}-item-link`,type:"button",tabIndex:-1},gt==="rtl"?ot.createElement(ue.Z,null):ot.createElement(le.Z,null)),jn=ot.createElement("button",{className:`${At}-item-link`,type:"button",tabIndex:-1},gt==="rtl"?ot.createElement(le.Z,null):ot.createElement(ue.Z,null)),Jt=ot.createElement("a",{className:`${At}-item-link`},ot.createElement("div",{className:`${At}-item-container`},gt==="rtl"?ot.createElement(de.Z,{className:`${At}-item-link-icon`}):ot.createElement(se,{className:`${At}-item-link-icon`}),bn)),ir=ot.createElement("a",{className:`${At}-item-link`},ot.createElement("div",{className:`${At}-item-container`},gt==="rtl"?ot.createElement(se,{className:`${At}-item-link-icon`}):ot.createElement(de.Z,{className:`${At}-item-link-icon`}),bn));return{prevIcon:Wn,nextIcon:jn,jumpPrevIcon:Jt,jumpNextIcon:ir}},[gt,At]),[gn]=(0,it.Z)("Pagination",ke.Z),sn=Object.assign(Object.assign({},gn),ft),En=(0,et.Z)(ht),Dn=En==="small"||!!(lt&&!En&&st),un=dt("select",Ze),qn=ie()({[`${At}-mini`]:Dn,[`${At}-rtl`]:gt==="rtl"},Pt==null?void 0:Pt.className,Ke,Ne,Gt),Nn=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),at);return It(ot.createElement(De,Object.assign({},pn,nt,{style:Nn,prefixCls:At,selectPrefixCls:un,className:qn,selectComponentClass:yt||(Dn?Ye:Ve),locale:sn,showSizeChanger:tn})))},xe=Ee},39722:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{t5:function(){return le}});var he=Ae(92310),ot=Ae.n(he),E=Ae(55477),Pe=Ae(59301),be=Ae(36355),oe=Ae(77578),te=Ae(17356),se=function(ae,ie){var ne={};for(var a in ae)Object.prototype.hasOwnProperty.call(ae,a)&&ie.indexOf(a)<0&&(ne[a]=ae[a]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(ae);y{if(!(!ie&&!ne))return Pe.createElement(Pe.Fragment,null,ie&&Pe.createElement("div",{className:`${ae}-title`},(0,oe.Z)(ie)),Pe.createElement("div",{className:`${ae}-inner-content`},(0,oe.Z)(ne)))},le=ae=>{const{hashId:ie,prefixCls:ne,className:a,style:y,placement:x="top",title:b,content:z,children:ee}=ae;return Pe.createElement("div",{className:ot()(ie,ne,`${ne}-pure`,`${ne}-placement-${x}`,a),style:y},Pe.createElement("div",{className:`${ne}-arrow`}),Pe.createElement(E.G,Object.assign({},ae,{className:ie,prefixCls:ne}),ee||de(ne,b,z)))},ue=ae=>{const{prefixCls:ie}=ae,ne=se(ae,["prefixCls"]),{getPrefixCls:a}=Pe.useContext(be.E_),y=a("popover",ie),[x,b]=(0,te.Z)(y);return x(Pe.createElement(le,Object.assign({},ne,{prefixCls:y,hashId:b})))};Ft.ZP=ue},60324:function(Ct,Ft,Ae){"use strict";var he=Ae(92310),ot=Ae.n(he),E=Ae(59301),Pe=Ae(77578),be=Ae(62892),oe=Ae(36355),te=Ae(6848),se=Ae(39722),de=Ae(17356),le=function(ie,ne){var a={};for(var y in ie)Object.prototype.hasOwnProperty.call(ie,y)&&ne.indexOf(y)<0&&(a[y]=ie[y]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(ie);x{let{title:ne,content:a,prefixCls:y}=ie;return E.createElement(E.Fragment,null,ne&&E.createElement("div",{className:`${y}-title`},(0,Pe.Z)(ne)),E.createElement("div",{className:`${y}-inner-content`},(0,Pe.Z)(a)))},ae=E.forwardRef((ie,ne)=>{const{prefixCls:a,title:y,content:x,overlayClassName:b,placement:z="top",trigger:ee="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ce=.1,overlayStyle:me={}}=ie,ve=le(ie,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ge}=E.useContext(oe.E_),pe=ge("popover",a),[fe,ye]=(0,de.Z)(pe),Se=ge(),Oe=ot()(b,ye);return fe(E.createElement(te.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:re,mouseLeaveDelay:ce,overlayStyle:me},ve,{prefixCls:pe,overlayClassName:Oe,ref:ne,overlay:y||x?E.createElement(ue,{prefixCls:pe,title:y,content:x}):null,transitionName:(0,be.m)(Se,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});ae._InternalPanelDoNotUseOrYouWillBeFired=se.ZP,Ft.Z=ae},17356:function(Ct,Ft,Ae){"use strict";var he=Ae(17313),ot=Ae(29878),E=Ae(19447),Pe=Ae(33166),be=Ae(83116),oe=Ae(37613);const te=le=>{const{componentCls:ue,popoverColor:ae,minWidth:ie,fontWeightStrong:ne,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:ee,colorBgElevated:re,popoverBg:ce}=le;return[{[ue]:Object.assign(Object.assign({},(0,he.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":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ue}-content`]:{position:"relative"},[`${ue}-inner`]:{backgroundColor:ce,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ue}-title`]:{minWidth:ie,marginBottom:ee,color:x,fontWeight:ne},[`${ue}-inner-content`]:{color:ae}})},(0,E.ZP)(le,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ue}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow,display:"inline-block",[`${ue}-content`]:{display:"inline-block"}}}]},se=le=>{const{componentCls:ue}=le;return{[ue]:Pe.i.map(ae=>{const ie=le[`${ae}6`];return{[`&${ue}-${ae}`]:{"--antd-arrow-background-color":ie,[`${ue}-inner`]:{backgroundColor:ie},[`${ue}-arrow`]:{background:"transparent"}}}})}},de=le=>{const{componentCls:ue,lineWidth:ae,lineType:ie,colorSplit:ne,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=le,ee=y-Math.round(x*b),re=ee/2,ce=ee/2-ae,me=z;return{[ue]:{[`${ue}-inner`]:{padding:0},[`${ue}-title`]:{margin:0,padding:`${re}px ${me}px ${ce}px`,borderBottom:`${ae}px ${ie} ${ne}`},[`${ue}-inner-content`]:{padding:`${a}px ${me}px`}}}};Ft.Z=(0,be.Z)("Popover",le=>{const{colorBgElevated:ue,colorText:ae,wireframe:ie}=le,ne=(0,oe.TS)(le,{popoverPadding:12,popoverBg:ue,popoverColor:ae});return[te(ne),se(ne),ie&&de(ne),(0,ot._y)(ne,"zoom-big")]},le=>({width:177,minWidth:177,zIndexPopup:le.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return pt}});var he=Ae(59301),ot=Ae(29679),E=Ae(40001),Pe=Ae(19248),be=Ae(99267),oe=Ae(92310),te=Ae.n(oe),se=Ae(2738),de=Ae(36355),le=Ae(54476),ue=Ae(33885),ae=Ae(75931),ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var lt=(0,he.useRef)([]),dt=(0,he.useRef)(null);return(0,he.useEffect)(function(){var gt=Date.now(),Pt=!1;lt.current.forEach(function(At){if(At){Pt=!0;var It=At.style;It.transitionDuration=".3s, .3s, .3s, .06s",dt.current&>-dt.current<100&&(It.transitionDuration="0s, 0s")}}),Pt&&(dt.current=Date.now())}),lt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(lt){var dt=(0,ue.Z)((0,ue.Z)({},ie),lt),gt=dt.className,Pt=dt.percent,At=dt.prefixCls,It=dt.strokeColor,Gt=dt.strokeLinecap,tn=dt.strokeWidth,pn=dt.style,gn=dt.trailColor,sn=dt.trailWidth,En=dt.transition,Dn=(0,ae.Z)(dt,a);delete Dn.gapPosition;var un=Array.isArray(Pt)?Pt:[Pt],qn=Array.isArray(It)?It:[It],Nn=ne(),bn=tn/2,Wn=100-tn/2,jn="M ".concat(Gt==="round"?bn:0,",").concat(bn,` - L `).concat(Gt==="round"?Wn:100,",").concat(bn),Jt="0 0 100 ".concat(tn),ir=0;return he.createElement("svg",(0,le.Z)({className:te()("".concat(At,"-line"),gt),viewBox:Jt,preserveAspectRatio:"none",style:pn},Dn),he.createElement("path",{className:"".concat(At,"-line-trail"),d:jn,strokeLinecap:Gt,stroke:gn,strokeWidth:sn||tn,fillOpacity:"0"}),un.map(function(Wr,xr){var sr=1;switch(Gt){case"round":sr=1-tn/100;break;case"square":sr=1-tn/2/100;break;default:sr=1;break}var Rr={strokeDasharray:"".concat(Wr*sr,"px, 100px"),strokeDashoffset:"-".concat(ir,"px"),transition:En||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Jr=qn[xr]||qn[qn.length-1];return ir+=Wr,he.createElement("path",{key:xr,className:"".concat(At,"-line-path"),d:jn,strokeLinecap:Gt,stroke:Jr,strokeWidth:tn,fillOpacity:"0",ref:function(xt){Nn[xr]=xt},style:Rr})}))},x=y,b=Ae(76190),z=Ae(42978),ee=Ae(47273),re=0,ce=(0,ee.Z)();function me(){var nt;return ce?(nt=re,re+=1):nt="TEST_OR_SSR",nt}var ve=function(nt){var lt=he.useState(),dt=(0,z.Z)(lt,2),gt=dt[0],Pt=dt[1];return he.useEffect(function(){Pt("rc_progress_".concat(me()))},[]),nt||gt},ge=function(lt){var dt=lt.bg,gt=lt.children;return he.createElement("div",{style:{width:"100%",height:"100%",background:dt}},gt)};function pe(nt,lt){return Object.keys(nt).map(function(dt){var gt=parseFloat(dt),Pt="".concat(Math.floor(gt*lt),"%");return"".concat(nt[dt]," ").concat(Pt)})}var fe=he.forwardRef(function(nt,lt){var dt=nt.prefixCls,gt=nt.color,Pt=nt.gradientId,At=nt.radius,It=nt.style,Gt=nt.ptg,tn=nt.strokeLinecap,pn=nt.strokeWidth,gn=nt.size,sn=nt.gapDegree,En=gt&&(0,b.Z)(gt)==="object",Dn=En?"#FFF":void 0,un=gn/2,qn=he.createElement("circle",{className:"".concat(dt,"-circle-path"),r:At,cx:un,cy:un,stroke:Dn,strokeLinecap:tn,strokeWidth:pn,opacity:Gt===0?0:1,style:It,ref:lt});if(!En)return qn;var Nn="".concat(Pt,"-conic"),bn=sn?"".concat(180+sn/2,"deg"):"0deg",Wn=pe(gt,(360-sn)/360),jn=pe(gt,1),Jt="conic-gradient(from ".concat(bn,", ").concat(Wn.join(", "),")"),ir="linear-gradient(to ".concat(sn?"bottom":"top",", ").concat(jn.join(", "),")");return he.createElement(he.Fragment,null,he.createElement("mask",{id:Nn},qn),he.createElement("foreignObject",{x:0,y:0,width:gn,height:gn,mask:"url(#".concat(Nn,")")},he.createElement(ge,{bg:ir},he.createElement(ge,{bg:Jt}))))}),ye=fe,Se=100,Oe=function(lt,dt,gt,Pt,At,It,Gt,tn,pn,gn){var sn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,En=gt/100*360*((360-It)/360),Dn=It===0?0:{bottom:0,top:180,left:90,right:-90}[Gt],un=(100-Pt)/100*dt;pn==="round"&&Pt!==100&&(un+=gn/2,un>=dt&&(un=dt-.01));var qn=Se/2;return{stroke:typeof tn=="string"?tn:void 0,strokeDasharray:"".concat(dt,"px ").concat(lt),strokeDashoffset:un+sn,transform:"rotate(".concat(At+En+Dn,"deg)"),transformOrigin:"".concat(qn,"px ").concat(qn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ce=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Le(nt){var lt=nt!=null?nt:[];return Array.isArray(lt)?lt:[lt]}var De=function(lt){var dt=(0,ue.Z)((0,ue.Z)({},ie),lt),gt=dt.id,Pt=dt.prefixCls,At=dt.steps,It=dt.strokeWidth,Gt=dt.trailWidth,tn=dt.gapDegree,pn=tn===void 0?0:tn,gn=dt.gapPosition,sn=dt.trailColor,En=dt.strokeLinecap,Dn=dt.style,un=dt.className,qn=dt.strokeColor,Nn=dt.percent,bn=(0,ae.Z)(dt,Ce),Wn=Se/2,jn=ve(gt),Jt="".concat(jn,"-gradient"),ir=Wn-It/2,Wr=Math.PI*2*ir,xr=pn>0?90+pn/2:-90,sr=Wr*((360-pn)/360),Rr=(0,b.Z)(At)==="object"?At:{count:At,space:2},Jr=Rr.count,Tt=Rr.space,xt=Le(Nn),Et=Le(qn),Vt=Et.find(function(ra){return ra&&(0,b.Z)(ra)==="object"}),Sn=Vt&&(0,b.Z)(Vt)==="object",$t=Sn?"butt":En,$n=Oe(Wr,sr,0,100,xr,pn,gn,sn,$t,It),Hn=ne(),Rn=function(){var Qt=0;return xt.map(function(yr,Yr){var Cr=Et[Yr]||Et[Et.length-1],Or=Oe(Wr,sr,Qt,yr,xr,pn,gn,Cr,$t,It);return Qt+=yr,he.createElement(ye,{key:Yr,color:Cr,ptg:yr,radius:ir,prefixCls:Pt,gradientId:Jt,style:Or,strokeLinecap:$t,strokeWidth:It,gapDegree:pn,ref:function(Ht){Hn[Yr]=Ht},size:Se})}).reverse()},Er=function(){var Qt=Math.round(Jr*(xt[0]/100)),yr=100/Jr,Yr=0;return new Array(Jr).fill(null).map(function(Cr,Or){var wt=Or<=Qt-1?Et[0]:sn,Ht=wt&&(0,b.Z)(wt)==="object"?"url(#".concat(Jt,")"):void 0,Rt=Oe(Wr,sr,Yr,yr,xr,pn,gn,wt,"butt",It,Tt);return Yr+=(sr-Rt.strokeDashoffset+Tt)*100/sr,he.createElement("circle",{key:Or,className:"".concat(Pt,"-circle-path"),r:ir,cx:Wn,cy:Wn,stroke:Ht,strokeWidth:It,opacity:1,style:Rt,ref:function(en){Hn[Or]=en}})})};return he.createElement("svg",(0,le.Z)({className:te()("".concat(Pt,"-circle"),un),viewBox:"0 0 ".concat(Se," ").concat(Se),style:Dn,id:gt,role:"presentation"},bn),!Jr&&he.createElement("circle",{className:"".concat(Pt,"-circle-trail"),r:ir,cx:Wn,cy:Wn,stroke:sn,strokeLinecap:$t,strokeWidth:Gt||It,style:$n}),Jr?Er():Rn())},ke=De,Ue={Line:x,Circle:ke},et=Ae(6848),Ge=Ae(30071);function it(nt){return!nt||nt<0?0:nt>100?100:nt}function Qe(nt){let{success:lt,successPercent:dt}=nt,gt=dt;return lt&&"progress"in lt&&(gt=lt.progress),lt&&"percent"in lt&&(gt=lt.percent),gt}const Ye=nt=>{let{percent:lt,success:dt,successPercent:gt}=nt;const Pt=it(Qe({success:dt,successPercent:gt}));return[Pt,it(it(lt)-Pt)]},Ve=nt=>{let{success:lt={},strokeColor:dt}=nt;const{strokeColor:gt}=lt;return[gt||Ge.presetPrimaryColors.green,dt||null]},Me=(nt,lt,dt)=>{var gt,Pt,At,It;let Gt=-1,tn=-1;if(lt==="step"){const pn=dt.steps,gn=dt.strokeWidth;typeof nt=="string"||typeof nt=="undefined"?(Gt=nt==="small"?2:14,tn=gn!=null?gn:8):typeof nt=="number"?[Gt,tn]=[nt,nt]:[Gt=14,tn=8]=nt,Gt*=pn}else if(lt==="line"){const pn=dt==null?void 0:dt.strokeWidth;typeof nt=="string"||typeof nt=="undefined"?tn=pn||(nt==="small"?6:8):typeof nt=="number"?[Gt,tn]=[nt,nt]:[Gt=-1,tn=8]=nt}else(lt==="circle"||lt==="dashboard")&&(typeof nt=="string"||typeof nt=="undefined"?[Gt,tn]=nt==="small"?[60,60]:[120,120]:typeof nt=="number"?[Gt,tn]=[nt,nt]:(Gt=(Pt=(gt=nt[0])!==null&>!==void 0?gt:nt[1])!==null&&Pt!==void 0?Pt:120,tn=(It=(At=nt[0])!==null&&At!==void 0?At:nt[1])!==null&&It!==void 0?It:120));return[Gt,tn]},Re=3,ze=nt=>Re/nt*100;var $e=nt=>{const{prefixCls:lt,trailColor:dt=null,strokeLinecap:gt="round",gapPosition:Pt,gapDegree:At,width:It=120,type:Gt,children:tn,success:pn,size:gn=It}=nt,[sn,En]=Me(gn,"circle");let{strokeWidth:Dn}=nt;Dn===void 0&&(Dn=Math.max(ze(sn),6));const un={width:sn,height:En,fontSize:sn*.15+6},qn=he.useMemo(()=>{if(At||At===0)return At;if(Gt==="dashboard")return 75},[At,Gt]),Nn=Pt||Gt==="dashboard"&&"bottom"||void 0,bn=Object.prototype.toString.call(nt.strokeColor)==="[object Object]",Wn=Ve({success:pn,strokeColor:nt.strokeColor}),jn=te()(`${lt}-inner`,{[`${lt}-circle-gradient`]:bn}),Jt=he.createElement(ke,{percent:Ye(nt),strokeWidth:Dn,trailWidth:Dn,strokeColor:Wn,strokeLinecap:gt,trailColor:dt,prefixCls:lt,gapDegree:qn,gapPosition:Nn});return he.createElement("div",{className:jn,style:un},sn<=20?he.createElement(et.Z,{title:tn},he.createElement("span",null,Jt)):he.createElement(he.Fragment,null,Jt,tn))},ut=function(nt,lt){var dt={};for(var gt in nt)Object.prototype.hasOwnProperty.call(nt,gt)&<.indexOf(gt)<0&&(dt[gt]=nt[gt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,gt=Object.getOwnPropertySymbols(nt);Pt{let lt=[];return Object.keys(nt).forEach(dt=>{const gt=parseFloat(dt.replace(/%/g,""));isNaN(gt)||lt.push({key:gt,value:nt[dt]})}),lt=lt.sort((dt,gt)=>dt.key-gt.key),lt.map(dt=>{let{key:gt,value:Pt}=dt;return`${Pt} ${gt}%`}).join(", ")},We=(nt,lt)=>{const{from:dt=Ge.presetPrimaryColors.blue,to:gt=Ge.presetPrimaryColors.blue,direction:Pt=lt==="rtl"?"to left":"to right"}=nt,At=ut(nt,["from","to","direction"]);if(Object.keys(At).length!==0){const It=_e(At);return{backgroundImage:`linear-gradient(${Pt}, ${It})`}}return{backgroundImage:`linear-gradient(${Pt}, ${dt}, ${gt})`}};var Je=nt=>{const{prefixCls:lt,direction:dt,percent:gt,size:Pt,strokeWidth:At,strokeColor:It,strokeLinecap:Gt="round",children:tn,trailColor:pn=null,success:gn}=nt,sn=It&&typeof It!="string"?We(It,dt):{backgroundColor:It},En=Gt==="square"||Gt==="butt"?0:void 0,Dn={backgroundColor:pn||void 0,borderRadius:En},un=Pt!=null?Pt:[-1,At||(Pt==="small"?6:8)],[qn,Nn]=Me(un,"line",{strokeWidth:At}),bn=Object.assign({width:`${it(gt)}%`,height:Nn,borderRadius:En},sn),Wn=Qe(nt),jn={width:`${it(Wn)}%`,height:Nn,borderRadius:En,backgroundColor:gn==null?void 0:gn.strokeColor},Jt={width:qn<0?"100%":qn,height:Nn};return he.createElement(he.Fragment,null,he.createElement("div",{className:`${lt}-outer`,style:Jt},he.createElement("div",{className:`${lt}-inner`,style:Dn},he.createElement("div",{className:`${lt}-bg`,style:bn}),Wn!==void 0?he.createElement("div",{className:`${lt}-success-bg`,style:jn}):null)),tn)},Ie=nt=>{const{size:lt,steps:dt,percent:gt=0,strokeWidth:Pt=8,strokeColor:At,trailColor:It=null,prefixCls:Gt,children:tn}=nt,pn=Math.round(dt*(gt/100)),gn=lt==="small"?2:14,sn=lt!=null?lt:[gn,Pt],[En,Dn]=Me(sn,"step",{steps:dt,strokeWidth:Pt}),un=En/dt,qn=new Array(dt);for(let Nn=0;Nn{const lt=nt?"100%":"-100%";return new Xe.Keyframes(`antProgress${nt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},we=nt=>{const{componentCls:lt,iconCls:dt}=nt;return{[lt]:Object.assign(Object.assign({},(0,He.Wf)(nt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:nt.fontSize,marginInlineEnd:nt.marginXS,marginBottom:nt.marginXS},[`${lt}-outer`]:{display:"inline-block",width:"100%"},[`&${lt}-show-info`]:{[`${lt}-outer`]:{marginInlineEnd:`calc(-2em - ${nt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${nt.paddingXS}px)`}},[`${lt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:nt.remainingColor,borderRadius:nt.lineBorderRadius},[`${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:nt.defaultColor}},[`${lt}-success-bg, ${lt}-bg`]:{position:"relative",backgroundColor:nt.defaultColor,borderRadius:nt.lineBorderRadius,transition:`all ${nt.motionDurationSlow} ${nt.motionEaseInOutCirc}`},[`${lt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:nt.colorSuccess},[`${lt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:nt.marginXS,color:nt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[dt]:{fontSize:nt.fontSize}},[`&${lt}-status-active`]:{[`${lt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:nt.colorBgContainer,borderRadius:nt.lineBorderRadius,opacity:0,animationName:xe(),animationDuration:nt.progressActiveMotionDuration,animationTimingFunction:nt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${lt}-rtl${lt}-status-active`]:{[`${lt}-bg::before`]:{animationName:xe(!0)}},[`&${lt}-status-exception`]:{[`${lt}-bg`]:{backgroundColor:nt.colorError},[`${lt}-text`]:{color:nt.colorError}},[`&${lt}-status-exception ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:nt.colorError}},[`&${lt}-status-success`]:{[`${lt}-bg`]:{backgroundColor:nt.colorSuccess},[`${lt}-text`]:{color:nt.colorSuccess}},[`&${lt}-status-success ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:nt.colorSuccess}}})}},Be=nt=>{const{componentCls:lt,iconCls:dt}=nt;return{[lt]:{[`${lt}-circle-trail`]:{stroke:nt.remainingColor},[`&${lt}-circle ${lt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${lt}-circle ${lt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:nt.circleTextColor,fontSize:nt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[dt]:{fontSize:`${nt.fontSize/nt.fontSizeSM}em`}},[`${lt}-circle&-status-exception`]:{[`${lt}-text`]:{color:nt.colorError}},[`${lt}-circle&-status-success`]:{[`${lt}-text`]:{color:nt.colorSuccess}}},[`${lt}-inline-circle`]:{lineHeight:1,[`${lt}-inner`]:{verticalAlign:"bottom"}}}},Ze=nt=>{const{componentCls:lt}=nt;return{[lt]:{[`${lt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:nt.progressStepMinWidth,marginInlineEnd:nt.progressStepMarginInlineEnd,backgroundColor:nt.remainingColor,transition:`all ${nt.motionDurationSlow}`,"&-active":{backgroundColor:nt.defaultColor}}}}}},Ke=nt=>{const{componentCls:lt,iconCls:dt}=nt;return{[lt]:{[`${lt}-small&-line, ${lt}-small&-line ${lt}-text ${dt}`]:{fontSize:nt.fontSizeSM}}}};var Ne=(0,je.Z)("Progress",nt=>{const lt=nt.marginXXS/2,dt=(0,Ee.TS)(nt,{progressStepMarginInlineEnd:lt,progressStepMinWidth:lt,progressActiveMotionDuration:"2.4s"});return[we(dt),Be(dt),Ze(dt),Ke(dt)]},nt=>({circleTextColor:nt.colorText,defaultColor:nt.colorInfo,remainingColor:nt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),at=function(nt,lt){var dt={};for(var gt in nt)Object.prototype.hasOwnProperty.call(nt,gt)&<.indexOf(gt)<0&&(dt[gt]=nt[gt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,gt=Object.getOwnPropertySymbols(nt);Pt{const{prefixCls:dt,className:gt,rootClassName:Pt,steps:At,strokeColor:It,percent:Gt=0,size:tn="default",showInfo:pn=!0,type:gn="line",status:sn,format:En,style:Dn}=nt,un=at(nt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),qn=he.useMemo(()=>{var xt,Et;const Vt=Qe(nt);return parseInt(Vt!==void 0?(xt=Vt!=null?Vt:0)===null||xt===void 0?void 0:xt.toString():(Et=Gt!=null?Gt:0)===null||Et===void 0?void 0:Et.toString(),10)},[Gt,nt.success,nt.successPercent]),Nn=he.useMemo(()=>!ft.includes(sn)&&qn>=100?"success":sn||"normal",[sn,qn]),{getPrefixCls:bn,direction:Wn,progress:jn}=he.useContext(de.E_),Jt=bn("progress",dt),[ir,Wr]=Ne(Jt),xr=he.useMemo(()=>{if(!pn)return null;const xt=Qe(nt);let Et;const Vt=En||($t=>`${$t}%`),Sn=gn==="line";return En||Nn!=="exception"&&Nn!=="success"?Et=Vt(it(Gt),it(xt)):Nn==="exception"?Et=Sn?he.createElement(Pe.Z,null):he.createElement(be.Z,null):Nn==="success"&&(Et=Sn?he.createElement(ot.Z,null):he.createElement(E.Z,null)),he.createElement("span",{className:`${Jt}-text`,title:typeof Et=="string"?Et:void 0},Et)},[pn,Gt,qn,Nn,gn,Jt,En]),sr=Array.isArray(It)?It[0]:It,Rr=typeof It=="string"||Array.isArray(It)?It:void 0;let Jr;gn==="line"?Jr=At?he.createElement(Ie,Object.assign({},nt,{strokeColor:Rr,prefixCls:Jt,steps:At}),xr):he.createElement(Je,Object.assign({},nt,{strokeColor:sr,prefixCls:Jt,direction:Wn}),xr):(gn==="circle"||gn==="dashboard")&&(Jr=he.createElement($e,Object.assign({},nt,{strokeColor:sr,prefixCls:Jt,progressStatus:Nn}),xr));const Tt=te()(Jt,`${Jt}-status-${Nn}`,`${Jt}-${gn==="dashboard"&&"circle"||At&&"steps"||gn}`,{[`${Jt}-inline-circle`]:gn==="circle"&&Me(tn,"circle")[0]<=20,[`${Jt}-show-info`]:pn,[`${Jt}-${tn}`]:typeof tn=="string",[`${Jt}-rtl`]:Wn==="rtl"},jn==null?void 0:jn.className,gt,Pt,Wr);return ir(he.createElement("div",Object.assign({ref:lt,style:Object.assign(Object.assign({},jn==null?void 0:jn.style),Dn),className:Tt,role:"progressbar","aria-valuenow":qn},(0,se.Z)(un,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Jr))}),pt=st},13570:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return it}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Pe=E,be=Ae(7657),oe=function(Ye,Ve){return ot.createElement(be.Z,(0,he.Z)({},Ye,{ref:Ve,icon:Pe}))},te=ot.forwardRef(oe),se=te,de=Ae(92310),le=Ae.n(de),ue=Ae(20068),ae=Ae(42978),ie=Ae(75931),ne=Ae(18929),a=Ae(10228),y=Ae(26112);function x(Qe,Ye){var Ve=Qe.disabled,Me=Qe.prefixCls,Re=Qe.character,ze=Qe.characterRender,rt=Qe.index,$e=Qe.count,ut=Qe.value,_e=Qe.allowHalf,We=Qe.focused,Te=Qe.onHover,Je=Qe.onClick,Fe=function(Be){Te(Be,rt)},Ie=function(Be){Je(Be,rt)},Xe=function(Be){Be.keyCode===a.Z.ENTER&&Je(Be,rt)},He=rt+1,je=new Set([Me]);ut===0&&rt===0&&We?je.add("".concat(Me,"-focused")):_e&&ut+.5>=He&&utrt?"true":"false","aria-posinset":rt+1,"aria-setsize":$e,tabIndex:Ve?-1:0},ot.createElement("div",{className:"".concat(Me,"-first")},Ee),ot.createElement("div",{className:"".concat(Me,"-second")},Ee)));return ze&&(xe=ze(xe,Qe)),xe}var b=ot.forwardRef(x);function z(){var Qe=ot.useRef({});function Ye(Me){return Qe.current[Me]}function Ve(Me){return function(Re){Qe.current[Me]=Re}}return[Ye,Ve]}function ee(Qe){var Ye=Qe.pageXOffset,Ve="scrollLeft";if(typeof Ye!="number"){var Me=Qe.document;Ye=Me.documentElement[Ve],typeof Ye!="number"&&(Ye=Me.body[Ve])}return Ye}function re(Qe){var Ye,Ve,Me=Qe.ownerDocument,Re=Me.body,ze=Me&&Me.documentElement,rt=Qe.getBoundingClientRect();return Ye=rt.left,Ve=rt.top,Ye-=ze.clientLeft||Re.clientLeft||0,Ve-=ze.clientTop||Re.clientTop||0,{left:Ye,top:Ve}}function ce(Qe){var Ye=re(Qe),Ve=Qe.ownerDocument,Me=Ve.defaultView||Ve.parentWindow;return Ye.left+=ee(Me),Ye.left}var me=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ve(Qe,Ye){var Ve,Me=Qe.prefixCls,Re=Me===void 0?"rc-rate":Me,ze=Qe.className,rt=Qe.defaultValue,$e=Qe.value,ut=Qe.count,_e=ut===void 0?5:ut,We=Qe.allowHalf,Te=We===void 0?!1:We,Je=Qe.allowClear,Fe=Je===void 0?!0:Je,Ie=Qe.character,Xe=Ie===void 0?"\u2605":Ie,He=Qe.characterRender,je=Qe.disabled,Ee=Qe.direction,xe=Ee===void 0?"ltr":Ee,we=Qe.tabIndex,Be=we===void 0?0:we,Ze=Qe.autoFocus,Ke=Qe.onHoverChange,Ne=Qe.onChange,at=Qe.onFocus,ht=Qe.onBlur,ft=Qe.onKeyDown,yt=Qe.onMouseLeave,st=(0,ie.Z)(Qe,me),pt=z(),nt=(0,ae.Z)(pt,2),lt=nt[0],dt=nt[1],gt=ot.useRef(null),Pt=function(){if(!je){var $t;($t=gt.current)===null||$t===void 0||$t.focus()}};ot.useImperativeHandle(Ye,function(){return{focus:Pt,blur:function(){if(!je){var $t;($t=gt.current)===null||$t===void 0||$t.blur()}}}});var At=(0,ne.Z)(rt||0,{value:$e}),It=(0,ae.Z)(At,2),Gt=It[0],tn=It[1],pn=(0,ne.Z)(null),gn=(0,ae.Z)(pn,2),sn=gn[0],En=gn[1],Dn=function($t,$n){var Hn=xe==="rtl",Rn=$t+1;if(Te){var Er=lt($t),ra=ce(Er),Qt=Er.clientWidth;(Hn&&$n-ra>Qt/2||!Hn&&$n-ra0&&!Hn||$n===a.Z.RIGHT&&Rn>0&&Hn?(Te?Rn-=.5:Rn-=1,un(Rn),$t.preventDefault()):$n===a.Z.LEFT&&Rn<_e&&Hn&&(Te?Rn+=.5:Rn+=1,un(Rn),$t.preventDefault()),ft==null||ft($t)};ot.useEffect(function(){Ze&&!je&&Pt()},[]);var Et=new Array(_e).fill(0).map(function(Sn,$t){return ot.createElement(b,{ref:dt($t),index:$t,count:_e,disabled:je,prefixCls:"".concat(Re,"-star"),allowHalf:Te,value:xr===null?Gt:xr,onClick:Tt,onHover:Rr,key:Sn||$t,character:Xe,characterRender:He,focused:bn})}),Vt=le()(Re,ze,(Ve={},(0,ue.Z)(Ve,"".concat(Re,"-disabled"),je),(0,ue.Z)(Ve,"".concat(Re,"-rtl"),xe==="rtl"),Ve));return ot.createElement("ul",(0,he.Z)({className:Vt,onMouseLeave:Jr,tabIndex:je?-1:Be,onFocus:je?null:jn,onBlur:je?null:Jt,onKeyDown:je?null:xt,ref:gt,role:"radiogroup"},(0,y.Z)(st,{aria:!0,data:!0,attr:!0})),Et)}var ge=ot.forwardRef(ve),pe=ge,fe=Ae(36355),ye=Ae(6848),Se=Ae(17313),Oe=Ae(83116),Ce=Ae(37613);const Le=Qe=>{const{componentCls:Ye}=Qe;return{[`${Ye}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Qe.marginXS},"> div":{transition:`all ${Qe.motionDurationMid}, outline 0s`,"&:hover":{transform:Qe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Qe.lineWidth}px dashed ${Qe.starColor}`,transform:Qe.starHoverScale}},"&-first, &-second":{color:Qe.starBg,transition:`all ${Qe.motionDurationMid}`,userSelect:"none",[Qe.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ye}-star-first, &-half ${Ye}-star-second`]:{opacity:1},[`&-half ${Ye}-star-first, &-full ${Ye}-star-second`]:{color:"inherit"}}}},De=Qe=>({[`&-rtl${Qe.componentCls}`]:{direction:"rtl"}}),ke=Qe=>{const{componentCls:Ye}=Qe;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(Qe)),{display:"inline-block",margin:0,padding:0,color:Qe.starColor,fontSize:Qe.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Ye} ${Ye}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Le(Qe)),{[`+ ${Ye}-text`]:{display:"inline-block",marginInlineStart:Qe.marginXS,fontSize:Qe.fontSize}}),De(Qe))}};var Ue=(0,Oe.Z)("Rate",Qe=>{const Ye=(0,Ce.TS)(Qe,{});return[ke(Ye)]},Qe=>({starColor:Qe.yellow6,starSize:Qe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Qe.colorFillContent})),et=function(Qe,Ye){var Ve={};for(var Me in Qe)Object.prototype.hasOwnProperty.call(Qe,Me)&&Ye.indexOf(Me)<0&&(Ve[Me]=Qe[Me]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Me=Object.getOwnPropertySymbols(Qe);Re{const{prefixCls:Ve,className:Me,rootClassName:Re,style:ze,tooltips:rt,character:$e=ot.createElement(se,null)}=Qe,ut=et(Qe,["prefixCls","className","rootClassName","style","tooltips","character"]),_e=(je,Ee)=>{let{index:xe}=Ee;return rt?ot.createElement(ye.Z,{title:rt[xe]},je):je},{getPrefixCls:We,direction:Te,rate:Je}=ot.useContext(fe.E_),Fe=We("rate",Ve),[Ie,Xe]=Ue(Fe),He=Object.assign(Object.assign({},Je==null?void 0:Je.style),ze);return Ie(ot.createElement(pe,Object.assign({ref:Ye,character:$e,characterRender:_e},ut,{className:le()(Me,Re,Xe,Je==null?void 0:Je.className),style:He,prefixCls:Fe,direction:Te})))})},61621:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return Xe}});var he=Ae(92310),ot=Ae.n(he),E=Ae(59301),Pe=Ae(36355),be=Ae(2738),te=He=>{const{prefixCls:je,className:Ee,style:xe,size:we,shape:Be}=He,Ze=ot()({[`${je}-lg`]:we==="large",[`${je}-sm`]:we==="small"}),Ke=ot()({[`${je}-circle`]:Be==="circle",[`${je}-square`]:Be==="square",[`${je}-round`]:Be==="round"}),Ne=E.useMemo(()=>typeof we=="number"?{width:we,height:we,lineHeight:`${we}px`}:{},[we]);return E.createElement("span",{className:ot()(je,Ze,Ke,Ee),style:Object.assign(Object.assign({},Ne),xe)})},se=Ae(36237),de=Ae(83116),le=Ae(37613);const ue=new se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ae=He=>({height:He,lineHeight:`${He}px`}),ie=He=>Object.assign({width:He},ae(He)),ne=He=>({background:He.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ue,animationDuration:He.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=He=>Object.assign({width:He*5,minWidth:He*5},ae(He)),y=He=>{const{skeletonAvatarCls:je,gradientFromColor:Ee,controlHeight:xe,controlHeightLG:we,controlHeightSM:Be}=He;return{[`${je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ee},ie(xe)),[`${je}${je}-circle`]:{borderRadius:"50%"},[`${je}${je}-lg`]:Object.assign({},ie(we)),[`${je}${je}-sm`]:Object.assign({},ie(Be))}},x=He=>{const{controlHeight:je,borderRadiusSM:Ee,skeletonInputCls:xe,controlHeightLG:we,controlHeightSM:Be,gradientFromColor:Ze}=He;return{[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ze,borderRadius:Ee},a(je)),[`${xe}-lg`]:Object.assign({},a(we)),[`${xe}-sm`]:Object.assign({},a(Be))}},b=He=>Object.assign({width:He},ae(He)),z=He=>{const{skeletonImageCls:je,imageSizeBase:Ee,gradientFromColor:xe,borderRadiusSM:we}=He;return{[`${je}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:xe,borderRadius:we},b(Ee*2)),{[`${je}-path`]:{fill:"#bfbfbf"},[`${je}-svg`]:Object.assign(Object.assign({},b(Ee)),{maxWidth:Ee*4,maxHeight:Ee*4}),[`${je}-svg${je}-svg-circle`]:{borderRadius:"50%"}}),[`${je}${je}-circle`]:{borderRadius:"50%"}}},ee=(He,je,Ee)=>{const{skeletonButtonCls:xe}=He;return{[`${Ee}${xe}-circle`]:{width:je,minWidth:je,borderRadius:"50%"},[`${Ee}${xe}-round`]:{borderRadius:je}}},re=He=>Object.assign({width:He*2,minWidth:He*2},ae(He)),ce=He=>{const{borderRadiusSM:je,skeletonButtonCls:Ee,controlHeight:xe,controlHeightLG:we,controlHeightSM:Be,gradientFromColor:Ze}=He;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ee}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ze,borderRadius:je,width:xe*2,minWidth:xe*2},re(xe))},ee(He,xe,Ee)),{[`${Ee}-lg`]:Object.assign({},re(we))}),ee(He,we,`${Ee}-lg`)),{[`${Ee}-sm`]:Object.assign({},re(Be))}),ee(He,Be,`${Ee}-sm`))},me=He=>{const{componentCls:je,skeletonAvatarCls:Ee,skeletonTitleCls:xe,skeletonParagraphCls:we,skeletonButtonCls:Be,skeletonInputCls:Ze,skeletonImageCls:Ke,controlHeight:Ne,controlHeightLG:at,controlHeightSM:ht,gradientFromColor:ft,padding:yt,marginSM:st,borderRadius:pt,titleHeight:nt,blockRadius:lt,paragraphLiHeight:dt,controlHeightXS:gt,paragraphMarginTop:Pt}=He;return{[`${je}`]:{display:"table",width:"100%",[`${je}-header`]:{display:"table-cell",paddingInlineEnd:yt,verticalAlign:"top",[`${Ee}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ft},ie(Ne)),[`${Ee}-circle`]:{borderRadius:"50%"},[`${Ee}-lg`]:Object.assign({},ie(at)),[`${Ee}-sm`]:Object.assign({},ie(ht))},[`${je}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${xe}`]:{width:"100%",height:nt,background:ft,borderRadius:lt,[`+ ${we}`]:{marginBlockStart:ht}},[`${we}`]:{padding:0,"> li":{width:"100%",height:dt,listStyle:"none",background:ft,borderRadius:lt,"+ li":{marginBlockStart:gt}}},[`${we}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${je}-content`]:{[`${xe}, ${we} > li`]:{borderRadius:pt}}},[`${je}-with-avatar ${je}-content`]:{[`${xe}`]:{marginBlockStart:st,[`+ ${we}`]:{marginBlockStart:Pt}}},[`${je}${je}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ce(He)),y(He)),x(He)),z(He)),[`${je}${je}-block`]:{width:"100%",[`${Be}`]:{width:"100%"},[`${Ze}`]:{width:"100%"}},[`${je}${je}-active`]:{[` + `]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,color:we.colorText,fontFamily:we.fontFamily,lineHeight:`${we.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}`},[`${Be}-prev, ${Be}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:we.colorText,cursor:"pointer",userSelect:"none"},[`${Be}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:we.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:"none",transition:`all ${we.motionDurationMid}`},[`&:hover ${Be}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${Be}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${Be}-disabled:hover`]:{[`${Be}-item-link`]:{backgroundColor:"transparent"}}},[`${Be}-slash`]:{marginInlineEnd:we.paginationSlashMarginInlineEnd,marginInlineStart:we.paginationSlashMarginInlineStart},[`${Be}-options`]:{display:"inline-block",marginInlineStart:we.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:we.controlHeight,marginInlineStart:we.marginXS,lineHeight:`${we.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ze.ik)(we)),{width:we.controlHeightLG*1.25,height:we.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:we.marginXS,marginInlineEnd:we.marginXS})}}}},Oe=we=>{const{componentCls:Be}=we;return{[`${Be}-item`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,marginInlineEnd:we.marginXS,fontFamily:we.fontFamily,lineHeight:`${we.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${we.paginationItemPaddingInline}px`,color:we.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Be}-item-active)`]:{"&:hover":{transition:`all ${we.motionDurationMid}`,backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},"&-active":{fontWeight:we.fontWeightStrong,backgroundColor:we.itemActiveBg,borderColor:we.colorPrimary,a:{color:we.colorPrimary},"&:hover":{borderColor:we.colorPrimaryHover},"&:hover a":{color:we.colorPrimaryHover}}}}},Ye=we=>{const{componentCls:Be}=we;return{[Be]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(we)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Be}-total-text`]:{display:"inline-block",height:we.itemSize,marginInlineEnd:we.marginXS,lineHeight:`${we.itemSize-2}px`,verticalAlign:"middle"}}),Oe(we)),We(we)),_e(we)),ut(we)),qe(we)),{[`@media only screen and (max-width: ${we.screenLG}px)`]:{[`${Be}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${we.screenSM}px)`]:{[`${Be}-options`]:{display:"none"}}}),[`&${we.componentCls}-rtl`]:{direction:"rtl"}}},Fe=we=>{const{componentCls:Be}=we;return{[`${Be}${Be}-disabled:not(${Be}-mini)`]:{"&, &:hover":{[`${Be}-item-link`]:{borderColor:we.colorBorder}},"&:focus-visible":{[`${Be}-item-link`]:{borderColor:we.colorBorder}},[`${Be}-item, ${Be}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,[`&:hover:not(${Be}-item-active)`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,a:{color:we.colorTextDisabled}},[`&${Be}-item-active`]:{backgroundColor:we.itemActiveBgDisabled}},[`${Be}-prev, ${Be}-next`]:{"&:hover button":{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,color:we.colorTextDisabled},[`${Be}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder}}},[`${Be}:not(${Be}-mini)`]:{[`${Be}-prev, ${Be}-next`]:{"&:hover button":{borderColor:we.colorPrimaryHover,backgroundColor:we.itemBg},[`${Be}-item-link`]:{backgroundColor:we.itemLinkBg,borderColor:we.colorBorder},[`&:hover ${Be}-item-link`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,color:we.colorPrimary},[`&${Be}-disabled`]:{[`${Be}-item-link`]:{borderColor:we.colorBorder,color:we.colorTextDisabled}}},[`${Be}-item`]:{backgroundColor:we.itemBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,[`&:hover:not(${Be}-item-active)`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,a:{color:we.colorPrimary}},"&-active":{borderColor:we.colorPrimary}}}}},Ne=we=>{const{componentCls:Be}=we;return{[`${Be}:not(${Be}-disabled)`]:{[`${Be}-item`]:Object.assign({},(0,Re.Qy)(we)),[`${Be}-jump-prev, ${Be}-jump-next`]:{"&:focus-visible":Object.assign({[`${Be}-item-link-icon`]:{opacity:1},[`${Be}-item-ellipsis`]:{opacity:0}},(0,Re.oN)(we))},[`${Be}-prev, ${Be}-next`]:{[`&:focus-visible ${Be}-item-link`]:Object.assign({},(0,Re.oN)(we))}}}};var et=(0,He.Z)("Pagination",we=>{const Be=(0,rt.TS)(we,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:we.marginXXS/2,paginationMiniQuickJumperInputWidth:we.controlHeightLG*1.1,paginationItemPaddingInline:we.marginXXS*1.5,paginationEllipsisLetterSpacing:we.marginXXS/2,paginationSlashMarginInlineStart:we.marginXXS,paginationSlashMarginInlineEnd:we.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ze.e5)(we),(0,ze.TM)(we));return[Ye(Be),Ne(Be),we.wireframe&&Fe(Be)]},we=>({itemBg:we.colorBgContainer,itemSize:we.controlHeight,itemSizeSM:we.controlHeightSM,itemActiveBg:we.colorBgContainer,itemLinkBg:we.colorBgContainer,itemActiveColorDisabled:we.colorTextDisabled,itemActiveBgDisabled:we.controlItemBgActiveDisabled,itemInputBg:we.colorBgContainer,miniOptionsSizeChangerTop:0})),De=function(we,Be){var Ke={};for(var nt in we)Object.prototype.hasOwnProperty.call(we,nt)&&Be.indexOf(nt)<0&&(Ke[nt]=we[nt]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,nt=Object.getOwnPropertySymbols(we);ke{const{prefixCls:Be,selectPrefixCls:Ke,className:nt,rootClassName:ke,style:$e,size:gt,locale:ct,selectComponentClass:vt,responsive:st,showSizeChanger:ht}=we,at=De(we,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:lt}=(0,Ge.Z)(st),{getPrefixCls:ft,direction:mt,pagination:Pt={}}=it.useContext(Ue.E_),Et=ft("pagination",Be),[Lt,zt]=et(Et),tn=ht!=null?ht:Pt.showSizeChanger,gn=it.useMemo(()=>{const Mn=it.createElement("span",{className:`${Et}-item-ellipsis`},"\u2022\u2022\u2022"),Qn=it.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?it.createElement(ce.Z,null):it.createElement(ue.Z,null)),dr=it.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?it.createElement(ue.Z,null):it.createElement(ce.Z,null)),ir=it.createElement("a",{className:`${Et}-item-link`},it.createElement("div",{className:`${Et}-item-container`},mt==="rtl"?it.createElement(de.Z,{className:`${Et}-item-link-icon`}):it.createElement(se,{className:`${Et}-item-link-icon`}),Mn)),Cn=it.createElement("a",{className:`${Et}-item-link`},it.createElement("div",{className:`${Et}-item-container`},mt==="rtl"?it.createElement(se,{className:`${Et}-item-link-icon`}):it.createElement(de.Z,{className:`${Et}-item-link-icon`}),Mn));return{prevIcon:Qn,nextIcon:dr,jumpPrevIcon:ir,jumpNextIcon:Cn}},[mt,Et]),[dn]=(0,ot.Z)("Pagination",Me.Z),on=Object.assign(Object.assign({},dn),ct),En=(0,Qe.Z)(gt),Rn=En==="small"||!!(lt&&!En&&st),sn=ft("select",Ke),$n=ie()({[`${Et}-mini`]:Rn,[`${Et}-rtl`]:mt==="rtl"},Pt==null?void 0:Pt.className,nt,ke,zt),_n=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),$e);return Lt(it.createElement(Ie,Object.assign({},gn,at,{style:_n,prefixCls:Et,selectPrefixCls:sn,className:$n,selectComponentClass:vt||(Rn?Xe:Ze),locale:on,showSizeChanger:tn})))},xe=Ee},39722:function(xt,At,Ae){"use strict";Ae.d(At,{t5:function(){return ue}});var pe=Ae(92310),it=Ae.n(pe),E=Ae(55477),Se=Ae(59301),ye=Ae(36355),oe=Ae(77578),te=Ae(17356),se=function(ae,ie){var ne={};for(var a in ae)Object.prototype.hasOwnProperty.call(ae,a)&&ie.indexOf(a)<0&&(ne[a]=ae[a]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(ae);y{if(!(!ie&&!ne))return Se.createElement(Se.Fragment,null,ie&&Se.createElement("div",{className:`${ae}-title`},(0,oe.Z)(ie)),Se.createElement("div",{className:`${ae}-inner-content`},(0,oe.Z)(ne)))},ue=ae=>{const{hashId:ie,prefixCls:ne,className:a,style:y,placement:x="top",title:b,content:z,children:ee}=ae;return Se.createElement("div",{className:it()(ie,ne,`${ne}-pure`,`${ne}-placement-${x}`,a),style:y},Se.createElement("div",{className:`${ne}-arrow`}),Se.createElement(E.G,Object.assign({},ae,{className:ie,prefixCls:ne}),ee||de(ne,b,z)))},ce=ae=>{const{prefixCls:ie}=ae,ne=se(ae,["prefixCls"]),{getPrefixCls:a}=Se.useContext(ye.E_),y=a("popover",ie),[x,b]=(0,te.Z)(y);return x(Se.createElement(ue,Object.assign({},ne,{prefixCls:y,hashId:b})))};At.ZP=ce},60324:function(xt,At,Ae){"use strict";var pe=Ae(92310),it=Ae.n(pe),E=Ae(59301),Se=Ae(77578),ye=Ae(62892),oe=Ae(36355),te=Ae(6848),se=Ae(39722),de=Ae(17356),ue=function(ie,ne){var a={};for(var y in ie)Object.prototype.hasOwnProperty.call(ie,y)&&ne.indexOf(y)<0&&(a[y]=ie[y]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(ie);x{let{title:ne,content:a,prefixCls:y}=ie;return E.createElement(E.Fragment,null,ne&&E.createElement("div",{className:`${y}-title`},(0,Se.Z)(ne)),E.createElement("div",{className:`${y}-inner-content`},(0,Se.Z)(a)))},ae=E.forwardRef((ie,ne)=>{const{prefixCls:a,title:y,content:x,overlayClassName:b,placement:z="top",trigger:ee="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:le=.1,overlayStyle:he={}}=ie,ve=ue(ie,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:fe}=E.useContext(oe.E_),me=fe("popover",a),[ge,be]=(0,de.Z)(me),Pe=fe(),Te=it()(b,be);return ge(E.createElement(te.Z,Object.assign({placement:z,trigger:ee,mouseEnterDelay:re,mouseLeaveDelay:le,overlayStyle:he},ve,{prefixCls:me,overlayClassName:Te,ref:ne,overlay:y||x?E.createElement(ce,{prefixCls:me,title:y,content:x}):null,transitionName:(0,ye.m)(Pe,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});ae._InternalPanelDoNotUseOrYouWillBeFired=se.ZP,At.Z=ae},17356:function(xt,At,Ae){"use strict";var pe=Ae(17313),it=Ae(29878),E=Ae(19447),Se=Ae(33166),ye=Ae(83116),oe=Ae(37613);const te=ue=>{const{componentCls:ce,popoverColor:ae,minWidth:ie,fontWeightStrong:ne,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:ee,colorBgElevated:re,popoverBg:le}=ue;return[{[ce]:Object.assign(Object.assign({},(0,pe.Wf)(ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ce}-content`]:{position:"relative"},[`${ce}-inner`]:{backgroundColor:le,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ce}-title`]:{minWidth:ie,marginBottom:ee,color:x,fontWeight:ne},[`${ce}-inner-content`]:{color:ae}})},(0,E.ZP)(ue,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ce}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow,display:"inline-block",[`${ce}-content`]:{display:"inline-block"}}}]},se=ue=>{const{componentCls:ce}=ue;return{[ce]:Se.i.map(ae=>{const ie=ue[`${ae}6`];return{[`&${ce}-${ae}`]:{"--antd-arrow-background-color":ie,[`${ce}-inner`]:{backgroundColor:ie},[`${ce}-arrow`]:{background:"transparent"}}}})}},de=ue=>{const{componentCls:ce,lineWidth:ae,lineType:ie,colorSplit:ne,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=ue,ee=y-Math.round(x*b),re=ee/2,le=ee/2-ae,he=z;return{[ce]:{[`${ce}-inner`]:{padding:0},[`${ce}-title`]:{margin:0,padding:`${re}px ${he}px ${le}px`,borderBottom:`${ae}px ${ie} ${ne}`},[`${ce}-inner-content`]:{padding:`${a}px ${he}px`}}}};At.Z=(0,ye.Z)("Popover",ue=>{const{colorBgElevated:ce,colorText:ae,wireframe:ie}=ue,ne=(0,oe.TS)(ue,{popoverPadding:12,popoverBg:ce,popoverColor:ae});return[te(ne),se(ne),ie&&de(ne),(0,it._y)(ne,"zoom-big")]},ue=>({width:177,minWidth:177,zIndexPopup:ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ht}});var pe=Ae(59301),it=Ae(29679),E=Ae(40001),Se=Ae(19248),ye=Ae(99267),oe=Ae(92310),te=Ae.n(oe),se=Ae(2738),de=Ae(36355),ue=Ae(54476),ce=Ae(33885),ae=Ae(75931),ie={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ne=function(){var lt=(0,pe.useRef)([]),ft=(0,pe.useRef)(null);return(0,pe.useEffect)(function(){var mt=Date.now(),Pt=!1;lt.current.forEach(function(Et){if(Et){Pt=!0;var Lt=Et.style;Lt.transitionDuration=".3s, .3s, .3s, .06s",ft.current&&mt-ft.current<100&&(Lt.transitionDuration="0s, 0s")}}),Pt&&(ft.current=Date.now())}),lt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(lt){var ft=(0,ce.Z)((0,ce.Z)({},ie),lt),mt=ft.className,Pt=ft.percent,Et=ft.prefixCls,Lt=ft.strokeColor,zt=ft.strokeLinecap,tn=ft.strokeWidth,gn=ft.style,dn=ft.trailColor,on=ft.trailWidth,En=ft.transition,Rn=(0,ae.Z)(ft,a);delete Rn.gapPosition;var sn=Array.isArray(Pt)?Pt:[Pt],$n=Array.isArray(Lt)?Lt:[Lt],_n=ne(),Mn=tn/2,Qn=100-tn/2,dr="M ".concat(zt==="round"?Mn:0,",").concat(Mn,` + L `).concat(zt==="round"?Qn:100,",").concat(Mn),ir="0 0 100 ".concat(tn),Cn=0;return pe.createElement("svg",(0,ue.Z)({className:te()("".concat(Et,"-line"),mt),viewBox:ir,preserveAspectRatio:"none",style:gn},Rn),pe.createElement("path",{className:"".concat(Et,"-line-trail"),d:dr,strokeLinecap:zt,stroke:dn,strokeWidth:on||tn,fillOpacity:"0"}),sn.map(function(fr,or){var fn=1;switch(zt){case"round":fn=1-tn/100;break;case"square":fn=1-tn/2/100;break;default:fn=1;break}var Or={strokeDasharray:"".concat(fr*fn,"px, 100px"),strokeDashoffset:"-".concat(Cn,"px"),transition:En||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ia=$n[or]||$n[$n.length-1];return Cn+=fr,pe.createElement("path",{key:or,className:"".concat(Et,"-line-path"),d:dr,strokeLinecap:zt,stroke:ia,strokeWidth:tn,fillOpacity:"0",ref:function(Ft){_n[or]=Ft},style:Or})}))},x=y,b=Ae(76190),z=Ae(42978),ee=Ae(47273),re=0,le=(0,ee.Z)();function he(){var at;return le?(at=re,re+=1):at="TEST_OR_SSR",at}var ve=function(at){var lt=pe.useState(),ft=(0,z.Z)(lt,2),mt=ft[0],Pt=ft[1];return pe.useEffect(function(){Pt("rc_progress_".concat(he()))},[]),at||mt},fe=function(lt){var ft=lt.bg,mt=lt.children;return pe.createElement("div",{style:{width:"100%",height:"100%",background:ft}},mt)};function me(at,lt){return Object.keys(at).map(function(ft){var mt=parseFloat(ft),Pt="".concat(Math.floor(mt*lt),"%");return"".concat(at[ft]," ").concat(Pt)})}var ge=pe.forwardRef(function(at,lt){var ft=at.prefixCls,mt=at.color,Pt=at.gradientId,Et=at.radius,Lt=at.style,zt=at.ptg,tn=at.strokeLinecap,gn=at.strokeWidth,dn=at.size,on=at.gapDegree,En=mt&&(0,b.Z)(mt)==="object",Rn=En?"#FFF":void 0,sn=dn/2,$n=pe.createElement("circle",{className:"".concat(ft,"-circle-path"),r:Et,cx:sn,cy:sn,stroke:Rn,strokeLinecap:tn,strokeWidth:gn,opacity:zt===0?0:1,style:Lt,ref:lt});if(!En)return $n;var _n="".concat(Pt,"-conic"),Mn=on?"".concat(180+on/2,"deg"):"0deg",Qn=me(mt,(360-on)/360),dr=me(mt,1),ir="conic-gradient(from ".concat(Mn,", ").concat(Qn.join(", "),")"),Cn="linear-gradient(to ".concat(on?"bottom":"top",", ").concat(dr.join(", "),")");return pe.createElement(pe.Fragment,null,pe.createElement("mask",{id:_n},$n),pe.createElement("foreignObject",{x:0,y:0,width:dn,height:dn,mask:"url(#".concat(_n,")")},pe.createElement(fe,{bg:Cn},pe.createElement(fe,{bg:ir}))))}),be=ge,Pe=100,Te=function(lt,ft,mt,Pt,Et,Lt,zt,tn,gn,dn){var on=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,En=mt/100*360*((360-Lt)/360),Rn=Lt===0?0:{bottom:0,top:180,left:90,right:-90}[zt],sn=(100-Pt)/100*ft;gn==="round"&&Pt!==100&&(sn+=dn/2,sn>=ft&&(sn=ft-.01));var $n=Pe/2;return{stroke:typeof tn=="string"?tn:void 0,strokeDasharray:"".concat(ft,"px ").concat(lt),strokeDashoffset:sn+on,transform:"rotate(".concat(Et+En+Rn,"deg)"),transformOrigin:"".concat($n,"px ").concat($n,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ce=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Le(at){var lt=at!=null?at:[];return Array.isArray(lt)?lt:[lt]}var Ie=function(lt){var ft=(0,ce.Z)((0,ce.Z)({},ie),lt),mt=ft.id,Pt=ft.prefixCls,Et=ft.steps,Lt=ft.strokeWidth,zt=ft.trailWidth,tn=ft.gapDegree,gn=tn===void 0?0:tn,dn=ft.gapPosition,on=ft.trailColor,En=ft.strokeLinecap,Rn=ft.style,sn=ft.className,$n=ft.strokeColor,_n=ft.percent,Mn=(0,ae.Z)(ft,Ce),Qn=Pe/2,dr=ve(mt),ir="".concat(dr,"-gradient"),Cn=Qn-Lt/2,fr=Math.PI*2*Cn,or=gn>0?90+gn/2:-90,fn=fr*((360-gn)/360),Or=(0,b.Z)(Et)==="object"?Et:{count:Et,space:2},ia=Or.count,Tt=Or.space,Ft=Le(_n),Ct=Le($n),nn=Ct.find(function(Mr){return Mr&&(0,b.Z)(Mr)==="object"}),xn=nn&&(0,b.Z)(nn)==="object",Kt=xn?"butt":En,Hn=Te(fr,fn,0,100,or,gn,dn,on,Kt,Lt),bn=ne(),Ln=function(){var rn=0;return Ft.map(function(hr,Zr){var Ar=Ct[Zr]||Ct[Ct.length-1],vr=Te(fr,fn,rn,hr,or,gn,dn,Ar,Kt,Lt);return rn+=hr,pe.createElement(be,{key:Zr,color:Ar,ptg:hr,radius:Cn,prefixCls:Pt,gradientId:ir,style:vr,strokeLinecap:Kt,strokeWidth:Lt,gapDegree:gn,ref:function(Gt){bn[Zr]=Gt},size:Pe})}).reverse()},gr=function(){var rn=Math.round(ia*(Ft[0]/100)),hr=100/ia,Zr=0;return new Array(ia).fill(null).map(function(Ar,vr){var wt=vr<=rn-1?Ct[0]:on,Gt=wt&&(0,b.Z)(wt)==="object"?"url(#".concat(ir,")"):void 0,Rt=Te(fr,fn,Zr,hr,or,gn,dn,wt,"butt",Lt,Tt);return Zr+=(fn-Rt.strokeDashoffset+Tt)*100/fn,pe.createElement("circle",{key:vr,className:"".concat(Pt,"-circle-path"),r:Cn,cx:Qn,cy:Qn,stroke:Gt,strokeWidth:Lt,opacity:1,style:Rt,ref:function(qt){bn[vr]=qt}})})};return pe.createElement("svg",(0,ue.Z)({className:te()("".concat(Pt,"-circle"),sn),viewBox:"0 0 ".concat(Pe," ").concat(Pe),style:Rn,id:mt,role:"presentation"},Mn),!ia&&pe.createElement("circle",{className:"".concat(Pt,"-circle-trail"),r:Cn,cx:Qn,cy:Qn,stroke:on,strokeLinecap:Kt,strokeWidth:zt||Lt,style:Hn}),ia?gr():Ln())},Me=Ie,Ue={Line:x,Circle:Me},Qe=Ae(6848),Ge=Ae(30071);function ot(at){return!at||at<0?0:at>100?100:at}function Ve(at){let{success:lt,successPercent:ft}=at,mt=ft;return lt&&"progress"in lt&&(mt=lt.progress),lt&&"percent"in lt&&(mt=lt.percent),mt}const Xe=at=>{let{percent:lt,success:ft,successPercent:mt}=at;const Pt=ot(Ve({success:ft,successPercent:mt}));return[Pt,ot(ot(lt)-Pt)]},Ze=at=>{let{success:lt={},strokeColor:ft}=at;const{strokeColor:mt}=lt;return[mt||Ge.presetPrimaryColors.green,ft||null]},ze=(at,lt,ft)=>{var mt,Pt,Et,Lt;let zt=-1,tn=-1;if(lt==="step"){const gn=ft.steps,dn=ft.strokeWidth;typeof at=="string"||typeof at=="undefined"?(zt=at==="small"?2:14,tn=dn!=null?dn:8):typeof at=="number"?[zt,tn]=[at,at]:[zt=14,tn=8]=at,zt*=gn}else if(lt==="line"){const gn=ft==null?void 0:ft.strokeWidth;typeof at=="string"||typeof at=="undefined"?tn=gn||(at==="small"?6:8):typeof at=="number"?[zt,tn]=[at,at]:[zt=-1,tn=8]=at}else(lt==="circle"||lt==="dashboard")&&(typeof at=="string"||typeof at=="undefined"?[zt,tn]=at==="small"?[60,60]:[120,120]:typeof at=="number"?[zt,tn]=[at,at]:(zt=(Pt=(mt=at[0])!==null&&mt!==void 0?mt:at[1])!==null&&Pt!==void 0?Pt:120,tn=(Lt=(Et=at[0])!==null&&Et!==void 0?Et:at[1])!==null&&Lt!==void 0?Lt:120));return[zt,tn]},Re=3,He=at=>Re/at*100;var qe=at=>{const{prefixCls:lt,trailColor:ft=null,strokeLinecap:mt="round",gapPosition:Pt,gapDegree:Et,width:Lt=120,type:zt,children:tn,success:gn,size:dn=Lt}=at,[on,En]=ze(dn,"circle");let{strokeWidth:Rn}=at;Rn===void 0&&(Rn=Math.max(He(on),6));const sn={width:on,height:En,fontSize:on*.15+6},$n=pe.useMemo(()=>{if(Et||Et===0)return Et;if(zt==="dashboard")return 75},[Et,zt]),_n=Pt||zt==="dashboard"&&"bottom"||void 0,Mn=Object.prototype.toString.call(at.strokeColor)==="[object Object]",Qn=Ze({success:gn,strokeColor:at.strokeColor}),dr=te()(`${lt}-inner`,{[`${lt}-circle-gradient`]:Mn}),ir=pe.createElement(Me,{percent:Xe(at),strokeWidth:Rn,trailWidth:Rn,strokeColor:Qn,strokeLinecap:mt,trailColor:ft,prefixCls:lt,gapDegree:$n,gapPosition:_n});return pe.createElement("div",{className:dr,style:sn},on<=20?pe.createElement(Qe.Z,{title:tn},pe.createElement("span",null,ir)):pe.createElement(pe.Fragment,null,ir,tn))},ut=function(at,lt){var ft={};for(var mt in at)Object.prototype.hasOwnProperty.call(at,mt)&<.indexOf(mt)<0&&(ft[mt]=at[mt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(at);Pt{let lt=[];return Object.keys(at).forEach(ft=>{const mt=parseFloat(ft.replace(/%/g,""));isNaN(mt)||lt.push({key:mt,value:at[ft]})}),lt=lt.sort((ft,mt)=>ft.key-mt.key),lt.map(ft=>{let{key:mt,value:Pt}=ft;return`${Pt} ${mt}%`}).join(", ")},We=(at,lt)=>{const{from:ft=Ge.presetPrimaryColors.blue,to:mt=Ge.presetPrimaryColors.blue,direction:Pt=lt==="rtl"?"to left":"to right"}=at,Et=ut(at,["from","to","direction"]);if(Object.keys(Et).length!==0){const Lt=_e(Et);return{backgroundImage:`linear-gradient(${Pt}, ${Lt})`}}return{backgroundImage:`linear-gradient(${Pt}, ${ft}, ${mt})`}};var Ye=at=>{const{prefixCls:lt,direction:ft,percent:mt,size:Pt,strokeWidth:Et,strokeColor:Lt,strokeLinecap:zt="round",children:tn,trailColor:gn=null,success:dn}=at,on=Lt&&typeof Lt!="string"?We(Lt,ft):{backgroundColor:Lt},En=zt==="square"||zt==="butt"?0:void 0,Rn={backgroundColor:gn||void 0,borderRadius:En},sn=Pt!=null?Pt:[-1,Et||(Pt==="small"?6:8)],[$n,_n]=ze(sn,"line",{strokeWidth:Et}),Mn=Object.assign({width:`${ot(mt)}%`,height:_n,borderRadius:En},on),Qn=Ve(at),dr={width:`${ot(Qn)}%`,height:_n,borderRadius:En,backgroundColor:dn==null?void 0:dn.strokeColor},ir={width:$n<0?"100%":$n,height:_n};return pe.createElement(pe.Fragment,null,pe.createElement("div",{className:`${lt}-outer`,style:ir},pe.createElement("div",{className:`${lt}-inner`,style:Rn},pe.createElement("div",{className:`${lt}-bg`,style:Mn}),Qn!==void 0?pe.createElement("div",{className:`${lt}-success-bg`,style:dr}):null)),tn)},Ne=at=>{const{size:lt,steps:ft,percent:mt=0,strokeWidth:Pt=8,strokeColor:Et,trailColor:Lt=null,prefixCls:zt,children:tn}=at,gn=Math.round(ft*(mt/100)),dn=lt==="small"?2:14,on=lt!=null?lt:[dn,Pt],[En,Rn]=ze(on,"step",{steps:ft,strokeWidth:Pt}),sn=En/ft,$n=new Array(ft);for(let _n=0;_n{const lt=at?"100%":"-100%";return new et.Keyframes(`antProgress${at?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${lt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},we=at=>{const{componentCls:lt,iconCls:ft}=at;return{[lt]:Object.assign(Object.assign({},(0,De.Wf)(at)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:at.fontSize,marginInlineEnd:at.marginXS,marginBottom:at.marginXS},[`${lt}-outer`]:{display:"inline-block",width:"100%"},[`&${lt}-show-info`]:{[`${lt}-outer`]:{marginInlineEnd:`calc(-2em - ${at.marginXS}px)`,paddingInlineEnd:`calc(2em + ${at.paddingXS}px)`}},[`${lt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:at.remainingColor,borderRadius:at.lineBorderRadius},[`${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:at.defaultColor}},[`${lt}-success-bg, ${lt}-bg`]:{position:"relative",backgroundColor:at.defaultColor,borderRadius:at.lineBorderRadius,transition:`all ${at.motionDurationSlow} ${at.motionEaseInOutCirc}`},[`${lt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:at.colorSuccess},[`${lt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:at.marginXS,color:at.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ft]:{fontSize:at.fontSize}},[`&${lt}-status-active`]:{[`${lt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:at.colorBgContainer,borderRadius:at.lineBorderRadius,opacity:0,animationName:xe(),animationDuration:at.progressActiveMotionDuration,animationTimingFunction:at.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${lt}-rtl${lt}-status-active`]:{[`${lt}-bg::before`]:{animationName:xe(!0)}},[`&${lt}-status-exception`]:{[`${lt}-bg`]:{backgroundColor:at.colorError},[`${lt}-text`]:{color:at.colorError}},[`&${lt}-status-exception ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:at.colorError}},[`&${lt}-status-success`]:{[`${lt}-bg`]:{backgroundColor:at.colorSuccess},[`${lt}-text`]:{color:at.colorSuccess}},[`&${lt}-status-success ${lt}-inner:not(${lt}-circle-gradient)`]:{[`${lt}-circle-path`]:{stroke:at.colorSuccess}}})}},Be=at=>{const{componentCls:lt,iconCls:ft}=at;return{[lt]:{[`${lt}-circle-trail`]:{stroke:at.remainingColor},[`&${lt}-circle ${lt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${lt}-circle ${lt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:at.circleTextColor,fontSize:at.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ft]:{fontSize:`${at.fontSize/at.fontSizeSM}em`}},[`${lt}-circle&-status-exception`]:{[`${lt}-text`]:{color:at.colorError}},[`${lt}-circle&-status-success`]:{[`${lt}-text`]:{color:at.colorSuccess}}},[`${lt}-inline-circle`]:{lineHeight:1,[`${lt}-inner`]:{verticalAlign:"bottom"}}}},Ke=at=>{const{componentCls:lt}=at;return{[lt]:{[`${lt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:at.progressStepMinWidth,marginInlineEnd:at.progressStepMarginInlineEnd,backgroundColor:at.remainingColor,transition:`all ${at.motionDurationSlow}`,"&-active":{backgroundColor:at.defaultColor}}}}}},nt=at=>{const{componentCls:lt,iconCls:ft}=at;return{[lt]:{[`${lt}-small&-line, ${lt}-small&-line ${lt}-text ${ft}`]:{fontSize:at.fontSizeSM}}}};var ke=(0,je.Z)("Progress",at=>{const lt=at.marginXXS/2,ft=(0,Ee.TS)(at,{progressStepMarginInlineEnd:lt,progressStepMinWidth:lt,progressActiveMotionDuration:"2.4s"});return[we(ft),Be(ft),Ke(ft),nt(ft)]},at=>({circleTextColor:at.colorText,defaultColor:at.colorInfo,remainingColor:at.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),$e=function(at,lt){var ft={};for(var mt in at)Object.prototype.hasOwnProperty.call(at,mt)&<.indexOf(mt)<0&&(ft[mt]=at[mt]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,mt=Object.getOwnPropertySymbols(at);Pt{const{prefixCls:ft,className:mt,rootClassName:Pt,steps:Et,strokeColor:Lt,percent:zt=0,size:tn="default",showInfo:gn=!0,type:dn="line",status:on,format:En,style:Rn}=at,sn=$e(at,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),$n=pe.useMemo(()=>{var Ft,Ct;const nn=Ve(at);return parseInt(nn!==void 0?(Ft=nn!=null?nn:0)===null||Ft===void 0?void 0:Ft.toString():(Ct=zt!=null?zt:0)===null||Ct===void 0?void 0:Ct.toString(),10)},[zt,at.success,at.successPercent]),_n=pe.useMemo(()=>!ct.includes(on)&&$n>=100?"success":on||"normal",[on,$n]),{getPrefixCls:Mn,direction:Qn,progress:dr}=pe.useContext(de.E_),ir=Mn("progress",ft),[Cn,fr]=ke(ir),or=pe.useMemo(()=>{if(!gn)return null;const Ft=Ve(at);let Ct;const nn=En||(Kt=>`${Kt}%`),xn=dn==="line";return En||_n!=="exception"&&_n!=="success"?Ct=nn(ot(zt),ot(Ft)):_n==="exception"?Ct=xn?pe.createElement(Se.Z,null):pe.createElement(ye.Z,null):_n==="success"&&(Ct=xn?pe.createElement(it.Z,null):pe.createElement(E.Z,null)),pe.createElement("span",{className:`${ir}-text`,title:typeof Ct=="string"?Ct:void 0},Ct)},[gn,zt,$n,_n,dn,ir,En]),fn=Array.isArray(Lt)?Lt[0]:Lt,Or=typeof Lt=="string"||Array.isArray(Lt)?Lt:void 0;let ia;dn==="line"?ia=Et?pe.createElement(Ne,Object.assign({},at,{strokeColor:Or,prefixCls:ir,steps:Et}),or):pe.createElement(Ye,Object.assign({},at,{strokeColor:fn,prefixCls:ir,direction:Qn}),or):(dn==="circle"||dn==="dashboard")&&(ia=pe.createElement(qe,Object.assign({},at,{strokeColor:fn,prefixCls:ir,progressStatus:_n}),or));const Tt=te()(ir,`${ir}-status-${_n}`,`${ir}-${dn==="dashboard"&&"circle"||Et&&"steps"||dn}`,{[`${ir}-inline-circle`]:dn==="circle"&&ze(tn,"circle")[0]<=20,[`${ir}-show-info`]:gn,[`${ir}-${tn}`]:typeof tn=="string",[`${ir}-rtl`]:Qn==="rtl"},dr==null?void 0:dr.className,mt,Pt,fr);return Cn(pe.createElement("div",Object.assign({ref:lt,style:Object.assign(Object.assign({},dr==null?void 0:dr.style),Rn),className:Tt,role:"progressbar","aria-valuenow":$n},(0,se.Z)(sn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ia))}),ht=st},13570:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return ot}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Se=E,ye=Ae(7657),oe=function(Xe,Ze){return it.createElement(ye.Z,(0,pe.Z)({},Xe,{ref:Ze,icon:Se}))},te=it.forwardRef(oe),se=te,de=Ae(92310),ue=Ae.n(de),ce=Ae(20068),ae=Ae(42978),ie=Ae(75931),ne=Ae(18929),a=Ae(10228),y=Ae(26112);function x(Ve,Xe){var Ze=Ve.disabled,ze=Ve.prefixCls,Re=Ve.character,He=Ve.characterRender,rt=Ve.index,qe=Ve.count,ut=Ve.value,_e=Ve.allowHalf,We=Ve.focused,Oe=Ve.onHover,Ye=Ve.onClick,Fe=function(Be){Oe(Be,rt)},Ne=function(Be){Ye(Be,rt)},et=function(Be){Be.keyCode===a.Z.ENTER&&Ye(Be,rt)},De=rt+1,je=new Set([ze]);ut===0&&rt===0&&We?je.add("".concat(ze,"-focused")):_e&&ut+.5>=De&&utrt?"true":"false","aria-posinset":rt+1,"aria-setsize":qe,tabIndex:Ze?-1:0},it.createElement("div",{className:"".concat(ze,"-first")},Ee),it.createElement("div",{className:"".concat(ze,"-second")},Ee)));return He&&(xe=He(xe,Ve)),xe}var b=it.forwardRef(x);function z(){var Ve=it.useRef({});function Xe(ze){return Ve.current[ze]}function Ze(ze){return function(Re){Ve.current[ze]=Re}}return[Xe,Ze]}function ee(Ve){var Xe=Ve.pageXOffset,Ze="scrollLeft";if(typeof Xe!="number"){var ze=Ve.document;Xe=ze.documentElement[Ze],typeof Xe!="number"&&(Xe=ze.body[Ze])}return Xe}function re(Ve){var Xe,Ze,ze=Ve.ownerDocument,Re=ze.body,He=ze&&ze.documentElement,rt=Ve.getBoundingClientRect();return Xe=rt.left,Ze=rt.top,Xe-=He.clientLeft||Re.clientLeft||0,Ze-=He.clientTop||Re.clientTop||0,{left:Xe,top:Ze}}function le(Ve){var Xe=re(Ve),Ze=Ve.ownerDocument,ze=Ze.defaultView||Ze.parentWindow;return Xe.left+=ee(ze),Xe.left}var he=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ve(Ve,Xe){var Ze,ze=Ve.prefixCls,Re=ze===void 0?"rc-rate":ze,He=Ve.className,rt=Ve.defaultValue,qe=Ve.value,ut=Ve.count,_e=ut===void 0?5:ut,We=Ve.allowHalf,Oe=We===void 0?!1:We,Ye=Ve.allowClear,Fe=Ye===void 0?!0:Ye,Ne=Ve.character,et=Ne===void 0?"\u2605":Ne,De=Ve.characterRender,je=Ve.disabled,Ee=Ve.direction,xe=Ee===void 0?"ltr":Ee,we=Ve.tabIndex,Be=we===void 0?0:we,Ke=Ve.autoFocus,nt=Ve.onHoverChange,ke=Ve.onChange,$e=Ve.onFocus,gt=Ve.onBlur,ct=Ve.onKeyDown,vt=Ve.onMouseLeave,st=(0,ie.Z)(Ve,he),ht=z(),at=(0,ae.Z)(ht,2),lt=at[0],ft=at[1],mt=it.useRef(null),Pt=function(){if(!je){var Kt;(Kt=mt.current)===null||Kt===void 0||Kt.focus()}};it.useImperativeHandle(Xe,function(){return{focus:Pt,blur:function(){if(!je){var Kt;(Kt=mt.current)===null||Kt===void 0||Kt.blur()}}}});var Et=(0,ne.Z)(rt||0,{value:qe}),Lt=(0,ae.Z)(Et,2),zt=Lt[0],tn=Lt[1],gn=(0,ne.Z)(null),dn=(0,ae.Z)(gn,2),on=dn[0],En=dn[1],Rn=function(Kt,Hn){var bn=xe==="rtl",Ln=Kt+1;if(Oe){var gr=lt(Kt),Mr=le(gr),rn=gr.clientWidth;(bn&&Hn-Mr>rn/2||!bn&&Hn-Mr0&&!bn||Hn===a.Z.RIGHT&&Ln>0&&bn?(Oe?Ln-=.5:Ln-=1,sn(Ln),Kt.preventDefault()):Hn===a.Z.LEFT&&Ln<_e&&bn&&(Oe?Ln+=.5:Ln+=1,sn(Ln),Kt.preventDefault()),ct==null||ct(Kt)};it.useEffect(function(){Ke&&!je&&Pt()},[]);var Ct=new Array(_e).fill(0).map(function(xn,Kt){return it.createElement(b,{ref:ft(Kt),index:Kt,count:_e,disabled:je,prefixCls:"".concat(Re,"-star"),allowHalf:Oe,value:or===null?zt:or,onClick:Tt,onHover:Or,key:xn||Kt,character:et,characterRender:De,focused:Mn})}),nn=ue()(Re,He,(Ze={},(0,ce.Z)(Ze,"".concat(Re,"-disabled"),je),(0,ce.Z)(Ze,"".concat(Re,"-rtl"),xe==="rtl"),Ze));return it.createElement("ul",(0,pe.Z)({className:nn,onMouseLeave:ia,tabIndex:je?-1:Be,onFocus:je?null:dr,onBlur:je?null:ir,onKeyDown:je?null:Ft,ref:mt,role:"radiogroup"},(0,y.Z)(st,{aria:!0,data:!0,attr:!0})),Ct)}var fe=it.forwardRef(ve),me=fe,ge=Ae(36355),be=Ae(6848),Pe=Ae(17313),Te=Ae(83116),Ce=Ae(37613);const Le=Ve=>{const{componentCls:Xe}=Ve;return{[`${Xe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ve.marginXS},"> div":{transition:`all ${Ve.motionDurationMid}, outline 0s`,"&:hover":{transform:Ve.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ve.lineWidth}px dashed ${Ve.starColor}`,transform:Ve.starHoverScale}},"&-first, &-second":{color:Ve.starBg,transition:`all ${Ve.motionDurationMid}`,userSelect:"none",[Ve.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Xe}-star-first, &-half ${Xe}-star-second`]:{opacity:1},[`&-half ${Xe}-star-first, &-full ${Xe}-star-second`]:{color:"inherit"}}}},Ie=Ve=>({[`&-rtl${Ve.componentCls}`]:{direction:"rtl"}}),Me=Ve=>{const{componentCls:Xe}=Ve;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(Ve)),{display:"inline-block",margin:0,padding:0,color:Ve.starColor,fontSize:Ve.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Xe} ${Xe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Le(Ve)),{[`+ ${Xe}-text`]:{display:"inline-block",marginInlineStart:Ve.marginXS,fontSize:Ve.fontSize}}),Ie(Ve))}};var Ue=(0,Te.Z)("Rate",Ve=>{const Xe=(0,Ce.TS)(Ve,{});return[Me(Xe)]},Ve=>({starColor:Ve.yellow6,starSize:Ve.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ve.colorFillContent})),Qe=function(Ve,Xe){var Ze={};for(var ze in Ve)Object.prototype.hasOwnProperty.call(Ve,ze)&&Xe.indexOf(ze)<0&&(Ze[ze]=Ve[ze]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ze=Object.getOwnPropertySymbols(Ve);Re{const{prefixCls:Ze,className:ze,rootClassName:Re,style:He,tooltips:rt,character:qe=it.createElement(se,null)}=Ve,ut=Qe(Ve,["prefixCls","className","rootClassName","style","tooltips","character"]),_e=(je,Ee)=>{let{index:xe}=Ee;return rt?it.createElement(be.Z,{title:rt[xe]},je):je},{getPrefixCls:We,direction:Oe,rate:Ye}=it.useContext(ge.E_),Fe=We("rate",Ze),[Ne,et]=Ue(Fe),De=Object.assign(Object.assign({},Ye==null?void 0:Ye.style),He);return Ne(it.createElement(me,Object.assign({ref:Xe,character:qe,characterRender:_e},ut,{className:ue()(ze,Re,et,Ye==null?void 0:Ye.className),style:De,prefixCls:Fe,direction:Oe})))})},61621:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return et}});var pe=Ae(92310),it=Ae.n(pe),E=Ae(59301),Se=Ae(36355),ye=Ae(2738),te=De=>{const{prefixCls:je,className:Ee,style:xe,size:we,shape:Be}=De,Ke=it()({[`${je}-lg`]:we==="large",[`${je}-sm`]:we==="small"}),nt=it()({[`${je}-circle`]:Be==="circle",[`${je}-square`]:Be==="square",[`${je}-round`]:Be==="round"}),ke=E.useMemo(()=>typeof we=="number"?{width:we,height:we,lineHeight:`${we}px`}:{},[we]);return E.createElement("span",{className:it()(je,Ke,nt,Ee),style:Object.assign(Object.assign({},ke),xe)})},se=Ae(36237),de=Ae(83116),ue=Ae(37613);const ce=new se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ae=De=>({height:De,lineHeight:`${De}px`}),ie=De=>Object.assign({width:De},ae(De)),ne=De=>({background:De.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ce,animationDuration:De.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=De=>Object.assign({width:De*5,minWidth:De*5},ae(De)),y=De=>{const{skeletonAvatarCls:je,gradientFromColor:Ee,controlHeight:xe,controlHeightLG:we,controlHeightSM:Be}=De;return{[`${je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ee},ie(xe)),[`${je}${je}-circle`]:{borderRadius:"50%"},[`${je}${je}-lg`]:Object.assign({},ie(we)),[`${je}${je}-sm`]:Object.assign({},ie(Be))}},x=De=>{const{controlHeight:je,borderRadiusSM:Ee,skeletonInputCls:xe,controlHeightLG:we,controlHeightSM:Be,gradientFromColor:Ke}=De;return{[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke,borderRadius:Ee},a(je)),[`${xe}-lg`]:Object.assign({},a(we)),[`${xe}-sm`]:Object.assign({},a(Be))}},b=De=>Object.assign({width:De},ae(De)),z=De=>{const{skeletonImageCls:je,imageSizeBase:Ee,gradientFromColor:xe,borderRadiusSM:we}=De;return{[`${je}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:xe,borderRadius:we},b(Ee*2)),{[`${je}-path`]:{fill:"#bfbfbf"},[`${je}-svg`]:Object.assign(Object.assign({},b(Ee)),{maxWidth:Ee*4,maxHeight:Ee*4}),[`${je}-svg${je}-svg-circle`]:{borderRadius:"50%"}}),[`${je}${je}-circle`]:{borderRadius:"50%"}}},ee=(De,je,Ee)=>{const{skeletonButtonCls:xe}=De;return{[`${Ee}${xe}-circle`]:{width:je,minWidth:je,borderRadius:"50%"},[`${Ee}${xe}-round`]:{borderRadius:je}}},re=De=>Object.assign({width:De*2,minWidth:De*2},ae(De)),le=De=>{const{borderRadiusSM:je,skeletonButtonCls:Ee,controlHeight:xe,controlHeightLG:we,controlHeightSM:Be,gradientFromColor:Ke}=De;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ee}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke,borderRadius:je,width:xe*2,minWidth:xe*2},re(xe))},ee(De,xe,Ee)),{[`${Ee}-lg`]:Object.assign({},re(we))}),ee(De,we,`${Ee}-lg`)),{[`${Ee}-sm`]:Object.assign({},re(Be))}),ee(De,Be,`${Ee}-sm`))},he=De=>{const{componentCls:je,skeletonAvatarCls:Ee,skeletonTitleCls:xe,skeletonParagraphCls:we,skeletonButtonCls:Be,skeletonInputCls:Ke,skeletonImageCls:nt,controlHeight:ke,controlHeightLG:$e,controlHeightSM:gt,gradientFromColor:ct,padding:vt,marginSM:st,borderRadius:ht,titleHeight:at,blockRadius:lt,paragraphLiHeight:ft,controlHeightXS:mt,paragraphMarginTop:Pt}=De;return{[`${je}`]:{display:"table",width:"100%",[`${je}-header`]:{display:"table-cell",paddingInlineEnd:vt,verticalAlign:"top",[`${Ee}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ct},ie(ke)),[`${Ee}-circle`]:{borderRadius:"50%"},[`${Ee}-lg`]:Object.assign({},ie($e)),[`${Ee}-sm`]:Object.assign({},ie(gt))},[`${je}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${xe}`]:{width:"100%",height:at,background:ct,borderRadius:lt,[`+ ${we}`]:{marginBlockStart:gt}},[`${we}`]:{padding:0,"> li":{width:"100%",height:ft,listStyle:"none",background:ct,borderRadius:lt,"+ li":{marginBlockStart:mt}}},[`${we}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${je}-content`]:{[`${xe}, ${we} > li`]:{borderRadius:ht}}},[`${je}-with-avatar ${je}-content`]:{[`${xe}`]:{marginBlockStart:st,[`+ ${we}`]:{marginBlockStart:Pt}}},[`${je}${je}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},le(De)),y(De)),x(De)),z(De)),[`${je}${je}-block`]:{width:"100%",[`${Be}`]:{width:"100%"},[`${Ke}`]:{width:"100%"}},[`${je}${je}-active`]:{[` ${xe}, ${we} > li, ${Ee}, ${Be}, - ${Ze}, - ${Ke} - `]:Object.assign({},ne(He))}}};var ve=(0,de.Z)("Skeleton",He=>{const{componentCls:je}=He,Ee=(0,le.TS)(He,{skeletonAvatarCls:`${je}-avatar`,skeletonTitleCls:`${je}-title`,skeletonParagraphCls:`${je}-paragraph`,skeletonButtonCls:`${je}-button`,skeletonInputCls:`${je}-input`,skeletonImageCls:`${je}-image`,imageSizeBase:He.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${He.gradientFromColor} 25%, ${He.gradientToColor} 37%, ${He.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[me(Ee)]},He=>{const{colorFillContent:je,colorFill:Ee}=He,xe=je,we=Ee;return{color:xe,colorGradientEnd:we,gradientFromColor:xe,gradientToColor:we,titleHeight:He.controlHeight/2,blockRadius:He.borderRadiusSM,paragraphMarginTop:He.marginLG+He.marginXXS,paragraphLiHeight:He.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),pe=He=>{const{prefixCls:je,className:Ee,rootClassName:xe,active:we,shape:Be="circle",size:Ze="default"}=He,{getPrefixCls:Ke}=E.useContext(Pe.E_),Ne=Ke("skeleton",je),[at,ht]=ve(Ne),ft=(0,be.Z)(He,["prefixCls","className"]),yt=ot()(Ne,`${Ne}-element`,{[`${Ne}-active`]:we},Ee,xe,ht);return at(E.createElement("div",{className:yt},E.createElement(te,Object.assign({prefixCls:`${Ne}-avatar`,shape:Be,size:Ze},ft))))},ye=He=>{const{prefixCls:je,className:Ee,rootClassName:xe,active:we,block:Be=!1,size:Ze="default"}=He,{getPrefixCls:Ke}=E.useContext(Pe.E_),Ne=Ke("skeleton",je),[at,ht]=ve(Ne),ft=(0,be.Z)(He,["prefixCls"]),yt=ot()(Ne,`${Ne}-element`,{[`${Ne}-active`]:we,[`${Ne}-block`]:Be},Ee,xe,ht);return at(E.createElement("div",{className:yt},E.createElement(te,Object.assign({prefixCls:`${Ne}-button`,size:Ze},ft))))};const Se="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ce=He=>{const{prefixCls:je,className:Ee,rootClassName:xe,style:we,active:Be}=He,{getPrefixCls:Ze}=E.useContext(Pe.E_),Ke=Ze("skeleton",je),[Ne,at]=ve(Ke),ht=ot()(Ke,`${Ke}-element`,{[`${Ke}-active`]:Be},Ee,xe,at);return Ne(E.createElement("div",{className:ht},E.createElement("div",{className:ot()(`${Ke}-image`,Ee),style:we},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ke}-image-svg`},E.createElement("path",{d:Se,className:`${Ke}-image-path`})))))},De=He=>{const{prefixCls:je,className:Ee,rootClassName:xe,active:we,block:Be,size:Ze="default"}=He,{getPrefixCls:Ke}=E.useContext(Pe.E_),Ne=Ke("skeleton",je),[at,ht]=ve(Ne),ft=(0,be.Z)(He,["prefixCls"]),yt=ot()(Ne,`${Ne}-element`,{[`${Ne}-active`]:we,[`${Ne}-block`]:Be},Ee,xe,ht);return at(E.createElement("div",{className:yt},E.createElement(te,Object.assign({prefixCls:`${Ne}-input`,size:Ze},ft))))},ke=Ae(54476),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},et=Ue,Ge=Ae(7657),it=function(je,Ee){return E.createElement(Ge.Z,(0,ke.Z)({},je,{ref:Ee,icon:et}))},Qe=E.forwardRef(it),Ye=Qe,Me=He=>{const{prefixCls:je,className:Ee,rootClassName:xe,style:we,active:Be,children:Ze}=He,{getPrefixCls:Ke}=E.useContext(Pe.E_),Ne=Ke("skeleton",je),[at,ht]=ve(Ne),ft=ot()(Ne,`${Ne}-element`,{[`${Ne}-active`]:Be},ht,Ee,xe),yt=Ze!=null?Ze:E.createElement(Ye,null);return at(E.createElement("div",{className:ft},E.createElement("div",{className:ot()(`${Ne}-image`,Ee),style:we},yt)))},Re=Ae(94480),rt=He=>{const je=Ke=>{const{width:Ne,rows:at=2}=He;if(Array.isArray(Ne))return Ne[Ke];if(at-1===Ke)return Ne},{prefixCls:Ee,className:xe,style:we,rows:Be}=He,Ze=(0,Re.Z)(Array(Be)).map((Ke,Ne)=>E.createElement("li",{key:Ne,style:{width:je(Ne)}}));return E.createElement("ul",{className:ot()(Ee,xe),style:we},Ze)},ut=He=>{let{prefixCls:je,className:Ee,width:xe,style:we}=He;return E.createElement("h3",{className:ot()(je,Ee),style:Object.assign({width:xe},we)})};function _e(He){return He&&typeof He=="object"?He:{}}function We(He,je){return He&&!je?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Te(He,je){return!He&&je?{width:"38%"}:He&&je?{width:"50%"}:{}}function Je(He,je){const Ee={};return(!He||!je)&&(Ee.width="61%"),!He&&je?Ee.rows=3:Ee.rows=2,Ee}const Fe=He=>{const{prefixCls:je,loading:Ee,className:xe,rootClassName:we,style:Be,children:Ze,avatar:Ke=!1,title:Ne=!0,paragraph:at=!0,active:ht,round:ft}=He,{getPrefixCls:yt,direction:st,skeleton:pt}=E.useContext(Pe.E_),nt=yt("skeleton",je),[lt,dt]=ve(nt);if(Ee||!("loading"in He)){const gt=!!Ke,Pt=!!Ne,At=!!at;let It;if(gt){const pn=Object.assign(Object.assign({prefixCls:`${nt}-avatar`},We(Pt,At)),_e(Ke));It=E.createElement("div",{className:`${nt}-header`},E.createElement(te,Object.assign({},pn)))}let Gt;if(Pt||At){let pn;if(Pt){const sn=Object.assign(Object.assign({prefixCls:`${nt}-title`},Te(gt,At)),_e(Ne));pn=E.createElement(ut,Object.assign({},sn))}let gn;if(At){const sn=Object.assign(Object.assign({prefixCls:`${nt}-paragraph`},Je(gt,Pt)),_e(at));gn=E.createElement(rt,Object.assign({},sn))}Gt=E.createElement("div",{className:`${nt}-content`},pn,gn)}const tn=ot()(nt,{[`${nt}-with-avatar`]:gt,[`${nt}-active`]:ht,[`${nt}-rtl`]:st==="rtl",[`${nt}-round`]:ft},pt==null?void 0:pt.className,xe,we,dt);return lt(E.createElement("div",{className:tn,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),Be)},It,Gt))}return typeof Ze!="undefined"?Ze:null};Fe.Button=ye,Fe.Avatar=pe,Fe.Input=De,Fe.Image=Ce,Fe.Node=Me;var Ie=Fe,Xe=Ie},31797:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{default:function(){return ve}});var he=Ae(59301),ot=Ae(56762),E=Ae(92343),Pe=Ae(92310),be=Ae.n(Pe),oe=Ae(36355),te=Ae(61621),de=ge=>{const{value:pe,formatter:fe,precision:ye,decimalSeparator:Se,groupSeparator:Oe="",prefixCls:Ce}=ge;let Le;if(typeof fe=="function")Le=fe(pe);else{const De=String(pe),ke=De.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ke||De==="-")Le=De;else{const Ue=ke[1];let et=ke[2]||"0",Ge=ke[4]||"";et=et.replace(/\B(?=(\d{3})+(?!\d))/g,Oe),typeof ye=="number"&&(Ge=Ge.padEnd(ye,"0").slice(0,ye>0?ye:0)),Ge&&(Ge=`${Se}${Ge}`),Le=[he.createElement("span",{key:"int",className:`${Ce}-content-value-int`},Ue,et),Ge&&he.createElement("span",{key:"decimal",className:`${Ce}-content-value-decimal`},Ge)]}}return he.createElement("span",{className:`${Ce}-content-value`},Le)},le=Ae(17313),ue=Ae(83116),ae=Ae(37613);const ie=ge=>{const{componentCls:pe,marginXXS:fe,padding:ye,colorTextDescription:Se,titleFontSize:Oe,colorTextHeading:Ce,contentFontSize:Le,fontFamily:De}=ge;return{[`${pe}`]:Object.assign(Object.assign({},(0,le.Wf)(ge)),{[`${pe}-title`]:{marginBottom:fe,color:Se,fontSize:Oe},[`${pe}-skeleton`]:{paddingTop:ye},[`${pe}-content`]:{color:Ce,fontSize:Le,fontFamily:De,[`${pe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${pe}-content-prefix, ${pe}-content-suffix`]:{display:"inline-block"},[`${pe}-content-prefix`]:{marginInlineEnd:fe},[`${pe}-content-suffix`]:{marginInlineStart:fe}}})}};var ne=(0,ue.Z)("Statistic",ge=>{const pe=(0,ae.TS)(ge,{});return[ie(pe)]},ge=>{const{fontSizeHeading3:pe,fontSize:fe}=ge;return{titleFontSize:fe,contentFontSize:pe}}),y=ge=>{const{prefixCls:pe,className:fe,rootClassName:ye,style:Se,valueStyle:Oe,value:Ce=0,title:Le,valueRender:De,prefix:ke,suffix:Ue,loading:et=!1,onMouseEnter:Ge,onMouseLeave:it,decimalSeparator:Qe=".",groupSeparator:Ye=","}=ge,{getPrefixCls:Ve,direction:Me,statistic:Re}=he.useContext(oe.E_),ze=Ve("statistic",pe),[rt,$e]=ne(ze),ut=he.createElement(de,Object.assign({decimalSeparator:Qe,groupSeparator:Ye,prefixCls:ze},ge,{value:Ce})),_e=be()(ze,{[`${ze}-rtl`]:Me==="rtl"},Re==null?void 0:Re.className,fe,ye,$e);return rt(he.createElement("div",{className:_e,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Se),onMouseEnter:Ge,onMouseLeave:it},Le&&he.createElement("div",{className:`${ze}-title`},Le),he.createElement(te.Z,{paragraph:!1,loading:et,className:`${ze}-skeleton`},he.createElement("div",{style:Oe,className:`${ze}-content`},ke&&he.createElement("span",{className:`${ze}-content-prefix`},ke),De?De(ut):ut,Ue&&he.createElement("span",{className:`${ze}-content-suffix`},Ue)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(ge,pe){let fe=ge;const ye=/\[[^\]]*]/g,Se=(pe.match(ye)||[]).map(De=>De.slice(1,-1)),Oe=pe.replace(ye,"[]"),Ce=x.reduce((De,ke)=>{let[Ue,et]=ke;if(De.includes(Ue)){const Ge=Math.floor(fe/et);return fe-=Ge*et,De.replace(new RegExp(`${Ue}+`,"g"),it=>{const Qe=it.length;return Ge.toString().padStart(Qe,"0")})}return De},Oe);let Le=0;return Ce.replace(ye,()=>{const De=Se[Le];return Le+=1,De})}function z(ge,pe){const{format:fe=""}=pe,ye=new Date(ge).getTime(),Se=Date.now(),Oe=Math.max(ye-Se,0);return b(Oe,fe)}const ee=1e3/30;function re(ge){return new Date(ge).getTime()}const ce=ge=>{const{value:pe,format:fe="HH:mm:ss",onChange:ye,onFinish:Se}=ge,Oe=(0,ot.Z)(),Ce=he.useRef(null),Le=()=>{Se==null||Se(),Ce.current&&(clearInterval(Ce.current),Ce.current=null)},De=()=>{const et=re(pe);et>=Date.now()&&(Ce.current=setInterval(()=>{Oe(),ye==null||ye(et-Date.now()),et(De(),()=>{Ce.current&&(clearInterval(Ce.current),Ce.current=null)}),[pe]);const ke=(et,Ge)=>z(et,Object.assign(Object.assign({},Ge),{format:fe})),Ue=et=>(0,E.Tm)(et,{title:void 0});return he.createElement(y,Object.assign({},ge,{valueRender:Ue,formatter:ke}))};var me=he.memo(ce);y.Countdown=me;var ve=y},15969:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{N:function(){return he}});const he=ot=>({color:ot.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ot.motionDurationSlow}`,"&:focus, &:hover":{color:ot.colorLinkHover},"&:active":{color:ot.colorLinkActive}})},1710:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{default:function(){return Fs}});var he={},ot="rc-table-internal-hook",E=Ae(42978),Pe=Ae(6089),be=Ae(34280),oe=Ae(13697),te=Ae(59301),se=Ae(4676);function de(qe){var tt=te.createContext(void 0),ct=function(bt){var St=bt.value,jt=bt.children,Ot=te.useRef(St);Ot.current=St;var Bt=te.useState(function(){return{getValue:function(){return Ot.current},listeners:new Set}}),Lt=(0,E.Z)(Bt,1),Ut=Lt[0];return(0,be.Z)(function(){(0,se.unstable_batchedUpdates)(function(){Ut.listeners.forEach(function(Dt){Dt(St)})})},[St]),te.createElement(tt.Provider,{value:Ut},jt)};return{Context:tt,Provider:ct,defaultValue:qe}}function le(qe,tt){var ct=(0,Pe.Z)(typeof tt=="function"?tt:function(Dt){if(tt===void 0)return Dt;if(!Array.isArray(tt))return Dt[tt];var qt={};return tt.forEach(function(_t){qt[_t]=Dt[_t]}),qt}),mt=te.useContext(qe==null?void 0:qe.Context),bt=mt||{},St=bt.listeners,jt=bt.getValue,Ot=te.useRef();Ot.current=ct(mt?jt():qe==null?void 0:qe.defaultValue);var Bt=te.useState({}),Lt=(0,E.Z)(Bt,2),Ut=Lt[1];return(0,be.Z)(function(){if(!mt)return;function Dt(qt){var _t=ct(qt);(0,oe.Z)(Ot.current,_t,!0)||Ut({})}return St.add(Dt),function(){St.delete(Dt)}},[mt]),Ot.current}var ue=Ae(54476),ae=Ae(8654);function ie(){var qe=te.createContext(null);function tt(){return te.useContext(qe)}function ct(bt,St){var jt=(0,ae.Yr)(bt),Ot=function(Lt,Ut){var Dt=jt?{ref:Ut}:{},qt=te.useRef(0),_t=te.useRef(Lt),Yt=tt();return Yt!==null?te.createElement(bt,(0,ue.Z)({},Lt,Dt)):((!St||St(_t.current,Lt))&&(qt.current+=1),_t.current=Lt,te.createElement(qe.Provider,{value:qt.current},te.createElement(bt,(0,ue.Z)({},Lt,Dt))))};return jt?te.forwardRef(Ot):Ot}function mt(bt,St){var jt=(0,ae.Yr)(bt),Ot=function(Lt,Ut){var Dt=jt?{ref:Ut}:{};return tt(),te.createElement(bt,(0,ue.Z)({},Lt,Dt))};return jt?te.memo(te.forwardRef(Ot),St):te.memo(Ot,St)}return{makeImmutable:ct,responseImmutable:mt,useImmutableMark:tt}}var ne=ie(),a=ne.makeImmutable,y=ne.responseImmutable,x=ne.useImmutableMark,b=ie(),z=b.makeImmutable,ee=b.responseImmutable,re=b.useImmutableMark,ce=de(),me=ce;function ve(qe,tt){var ct=te.useRef(0);ct.current+=1;var mt=te.useRef(qe),bt=[];Object.keys(qe||{}).map(function(jt){var Ot;(qe==null?void 0:qe[jt])!==((Ot=mt.current)===null||Ot===void 0?void 0:Ot[jt])&&bt.push(jt)}),mt.current=qe;var St=te.useRef([]);return bt.length&&(St.current=bt),te.useDebugValue(ct.current),te.useDebugValue(St.current.join(", ")),tt&&console.log("".concat(tt,":"),ct.current,St.current),ct.current}var ge=null,pe=te.memo(function(){var qe=ve();return te.createElement("h1",null,"Render Times: ",qe)});pe.displayName="RenderBlock";var fe=Ae(76190),ye=Ae(33885),Se=Ae(20068),Oe=Ae(92310),Ce=Ae.n(Oe),Le=Ae(80547),De=Ae(97938),ke=Ae(48736),Ue=te.createContext({renderWithProps:!1}),et=Ue,Ge="RC_TABLE_KEY";function it(qe){return qe==null?[]:Array.isArray(qe)?qe:[qe]}function Qe(qe){var tt=[],ct={};return qe.forEach(function(mt){for(var bt=mt||{},St=bt.key,jt=bt.dataIndex,Ot=St||it(jt).join("-")||Ge;ct[Ot];)Ot="".concat(Ot,"_next");ct[Ot]=!0,tt.push(Ot)}),tt}function Ye(qe){return qe!=null}function Ve(qe){return qe&&(0,fe.Z)(qe)==="object"&&!Array.isArray(qe)&&!te.isValidElement(qe)}function Me(qe,tt,ct,mt,bt,St){var jt=te.useContext(et),Ot=re(),Bt=(0,Le.Z)(function(){if(Ye(mt))return[mt];var Lt=tt==null||tt===""?[]:Array.isArray(tt)?tt:[tt],Ut=(0,De.Z)(qe,Lt),Dt=Ut,qt=void 0;if(bt){var _t=bt(Ut,qe,ct);Ve(_t)?(Dt=_t.children,qt=_t.props,jt.renderWithProps=!0):Dt=_t}return[Dt,qt]},[Ot,qe,mt,tt,bt,ct],function(Lt,Ut){if(St){var Dt=(0,E.Z)(Lt,2),qt=Dt[1],_t=(0,E.Z)(Ut,2),Yt=_t[1];return St(Yt,qt)}return jt.renderWithProps?!0:!(0,oe.Z)(Lt,Ut,!0)});return Bt}function Re(qe,tt,ct,mt){var bt=qe+tt-1;return qe<=mt&&bt>=ct}function ze(qe,tt){return le(me,function(ct){var mt=Re(qe,tt||1,ct.hoverStartRow,ct.hoverEndRow);return[mt,ct.onHover]})}var rt=function(tt){var ct=tt.ellipsis,mt=tt.rowType,bt=tt.children,St,jt=ct===!0?{showTitle:!0}:ct;return jt&&(jt.showTitle||mt==="header")&&(typeof bt=="string"||typeof bt=="number"?St=bt.toString():te.isValidElement(bt)&&typeof bt.props.children=="string"&&(St=bt.props.children)),St};function $e(qe){var tt,ct,mt,bt,St,jt,Ot,Bt,Lt=qe.component,Ut=qe.children,Dt=qe.ellipsis,qt=qe.scope,_t=qe.prefixCls,Yt=qe.className,vn=qe.align,cn=qe.record,yn=qe.render,fn=qe.dataIndex,wn=qe.renderIndex,Xn=qe.shouldCellUpdate,Qn=qe.index,In=qe.rowType,cr=qe.colSpan,Sr=qe.rowSpan,Fn=qe.fixLeft,Gn=qe.fixRight,Bn=qe.firstFixLeft,Pn=qe.lastFixLeft,Ln=qe.firstFixRight,ur=qe.lastFixRight,Br=qe.appendNode,vr=qe.additionalProps,tr=vr===void 0?{}:vr,jr=qe.isSticky,Tr="".concat(_t,"-cell"),ia=le(me,["supportSticky","allColumnsFixedLeft"]),Kr=ia.supportSticky,wa=ia.allColumnsFixedLeft,Ea=Me(cn,fn,wn,Ut,yn,Xn),Pr=(0,E.Z)(Ea,2),Fa=Pr[0],_r=Pr[1],pa={},ga=typeof Fn=="number"&&Kr,Ya=typeof Gn=="number"&&Kr;ga&&(pa.position="sticky",pa.left=Fn),Ya&&(pa.position="sticky",pa.right=Gn);var or=(tt=(ct=(mt=_r==null?void 0:_r.colSpan)!==null&&mt!==void 0?mt:tr.colSpan)!==null&&ct!==void 0?ct:cr)!==null&&tt!==void 0?tt:1,ar=(bt=(St=(jt=_r==null?void 0:_r.rowSpan)!==null&&jt!==void 0?jt:tr.rowSpan)!==null&&St!==void 0?St:Sr)!==null&&bt!==void 0?bt:1,nr=ze(Qn,ar),Zn=(0,E.Z)(nr,2),Xr=Zn[0],Vn=Zn[1],mr=function(ja){var Qa;cn&&Vn(Qn,Qn+ar-1),tr==null||(Qa=tr.onMouseEnter)===null||Qa===void 0||Qa.call(tr,ja)},Hr=function(ja){var Qa;cn&&Vn(-1,-1),tr==null||(Qa=tr.onMouseLeave)===null||Qa===void 0||Qa.call(tr,ja)};if(or===0||ar===0)return null;var Mr=(Ot=tr.title)!==null&&Ot!==void 0?Ot:rt({rowType:In,ellipsis:Dt,children:Fa}),Ha=Ce()(Tr,Yt,(Bt={},(0,Se.Z)(Bt,"".concat(Tr,"-fix-left"),ga&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-fix-left-first"),Bn&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-fix-left-last"),Pn&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-fix-left-all"),Pn&&wa&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-fix-right"),Ya&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-fix-right-first"),Ln&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-fix-right-last"),ur&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-ellipsis"),Dt),(0,Se.Z)(Bt,"".concat(Tr,"-with-append"),Br),(0,Se.Z)(Bt,"".concat(Tr,"-fix-sticky"),(ga||Ya)&&jr&&Kr),(0,Se.Z)(Bt,"".concat(Tr,"-row-hover"),!_r&&Xr),Bt),tr.className,_r==null?void 0:_r.className),Ma={};vn&&(Ma.textAlign=vn);var io=(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},pa),tr.style),Ma),_r==null?void 0:_r.style),Ba=Fa;return(0,fe.Z)(Ba)==="object"&&!Array.isArray(Ba)&&!te.isValidElement(Ba)&&(Ba=null),Dt&&(Pn||Ln)&&(Ba=te.createElement("span",{className:"".concat(Tr,"-content")},Ba)),te.createElement(Lt,(0,ue.Z)({},_r,tr,{className:Ha,style:io,title:Mr,scope:qt,onMouseEnter:mr,onMouseLeave:Hr,colSpan:or!==1?or:null,rowSpan:ar!==1?ar:null}),Br,Ba)}var ut=te.memo($e);function _e(qe,tt,ct,mt,bt,St){var jt=ct[qe]||{},Ot=ct[tt]||{},Bt,Lt;jt.fixed==="left"?Bt=mt.left[bt==="rtl"?tt:qe]:Ot.fixed==="right"&&(Lt=mt.right[bt==="rtl"?qe:tt]);var Ut=!1,Dt=!1,qt=!1,_t=!1,Yt=ct[tt+1],vn=ct[qe-1],cn=!(St!=null&&St.children);if(bt==="rtl"){if(Bt!==void 0){var yn=vn&&vn.fixed==="left";_t=!yn&&cn}else if(Lt!==void 0){var fn=Yt&&Yt.fixed==="right";qt=!fn&&cn}}else if(Bt!==void 0){var wn=Yt&&Yt.fixed==="left";Ut=!wn&&cn}else if(Lt!==void 0){var Xn=vn&&vn.fixed==="right";Dt=!Xn&&cn}return{fixLeft:Bt,fixRight:Lt,lastFixLeft:Ut,firstFixRight:Dt,lastFixRight:qt,firstFixLeft:_t,isSticky:mt.isSticky}}var We=te.createContext({}),Te=We;function Je(qe){var tt=qe.className,ct=qe.index,mt=qe.children,bt=qe.colSpan,St=bt===void 0?1:bt,jt=qe.rowSpan,Ot=qe.align,Bt=le(me,["prefixCls","direction"]),Lt=Bt.prefixCls,Ut=Bt.direction,Dt=te.useContext(Te),qt=Dt.scrollColumnIndex,_t=Dt.stickyOffsets,Yt=Dt.flattenColumns,vn=Dt.columns,cn=ct+St-1,yn=cn+1===qt?St+1:St,fn=_e(ct,ct+yn-1,Yt,_t,Ut,vn==null?void 0:vn[ct]);return te.createElement(ut,(0,ue.Z)({className:tt,index:ct,component:"td",prefixCls:Lt,record:null,dataIndex:null,align:Ot,colSpan:yn,rowSpan:jt,render:function(){return mt}},fn))}var Fe=Ae(75931),Ie=["children"];function Xe(qe){var tt=qe.children,ct=(0,Fe.Z)(qe,Ie);return te.createElement("tr",ct,tt)}function He(qe){var tt=qe.children;return tt}He.Row=Xe,He.Cell=Je;var je=He;function Ee(qe){var tt=qe.children,ct=qe.stickyOffsets,mt=qe.flattenColumns,bt=qe.columns,St=le(me,"prefixCls"),jt=mt.length-1,Ot=mt[jt],Bt=te.useMemo(function(){return{stickyOffsets:ct,flattenColumns:mt,scrollColumnIndex:Ot!=null&&Ot.scrollbar?jt:null,columns:bt}},[Ot,mt,jt,ct,bt]);return te.createElement(Te.Provider,{value:Bt},te.createElement("tfoot",{className:"".concat(St,"-summary")},tt))}var xe=ee(Ee),we=je,Be=Ae(70425),Ze=Ae(29301),Ke=Ae(29194),Ne=Ae(24514),at=Ae(75152),ht=Ae(26112);function ft(qe,tt,ct,mt,bt,St,jt){qe.push({record:tt,indent:ct,index:jt});var Ot=St(tt),Bt=bt==null?void 0:bt.has(Ot);if(tt&&Array.isArray(tt[mt])&&Bt)for(var Lt=0;Lt1?Bn-1:0),Ln=1;Ln=0;Ot-=1){var Bt=tt[Ot],Lt=ct&&ct[Ot],Ut=Lt&&Lt[pn];if(Bt||Ut||jt){var Dt=Ut||{},qt=Dt.columnType,_t=(0,Fe.Z)(Dt,sn);bt.unshift(te.createElement("col",(0,ue.Z)({key:Ot,style:{width:Bt}},_t))),jt=!0}}return te.createElement("colgroup",null,bt)}var Dn=En,un=Ae(94480),qn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Nn(qe,tt){return(0,te.useMemo)(function(){for(var ct=[],mt=0;mt1?"colgroup":"col":null,ellipsis:cn.ellipsis,align:cn.align,component:cn.title?St:jt,prefixCls:Ut,key:_t[vn]},yn,{additionalProps:fn,rowType:"header"}))}))}jn.displayName="HeaderRow";var Jt=jn;function ir(qe){var tt=[];function ct(jt,Ot){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;tt[Bt]=tt[Bt]||[];var Lt=Ot,Ut=jt.filter(Boolean).map(function(Dt){var qt={key:Dt.key,className:Dt.className||"",children:Dt.title,column:Dt,colStart:Lt},_t=1,Yt=Dt.children;return Yt&&Yt.length>0&&(_t=ct(Yt,Lt,Bt+1).reduce(function(vn,cn){return vn+cn},0),qt.hasSubColumns=!0),"colSpan"in Dt&&(_t=Dt.colSpan),"rowSpan"in Dt&&(qt.rowSpan=Dt.rowSpan),qt.colSpan=_t,qt.colEnd=qt.colStart+_t-1,tt[Bt].push(qt),Lt+=_t,_t});return Ut}ct(qe,0);for(var mt=tt.length,bt=function(Ot){tt[Ot].forEach(function(Bt){!("rowSpan"in Bt)&&!Bt.hasSubColumns&&(Bt.rowSpan=mt-Ot)})},St=0;St1&&arguments[1]!==void 0?arguments[1]:"";return typeof tt=="number"?tt:tt.endsWith("%")?qe*parseFloat(tt)/100:null}function Jr(qe,tt){return te.useMemo(function(){if(tt&&tt>0){var ct=0,mt=0;qe.forEach(function(Lt){var Ut=Rr(tt,Lt.width);Ut?ct+=Ut:mt+=1});var bt=tt-ct,St=mt,jt=bt/mt,Ot=0,Bt=qe.map(function(Lt){var Ut=(0,ye.Z)({},Lt),Dt=Rr(tt,Ut.width);if(Dt)Ut.width=Dt;else{var qt=Math.floor(jt);Ut.width=St===1?bt:qt,bt-=qt,St-=1}return Ot+=Ut.width,Ut});return[Bt,Ot]}return[qe,tt]},[qe,tt])}var Tt=["children"],xt=["fixed"];function Et(qe){return(0,sr.Z)(qe).filter(function(tt){return te.isValidElement(tt)}).map(function(tt){var ct=tt.key,mt=tt.props,bt=mt.children,St=(0,Fe.Z)(mt,Tt),jt=(0,ye.Z)({key:ct},St);return bt&&(jt.children=Et(bt)),jt})}function Vt(qe){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return qe.filter(function(ct){return ct&&(0,fe.Z)(ct)==="object"}).reduce(function(ct,mt,bt){var St=mt.fixed,jt=St===!0?"left":St,Ot="".concat(tt,"-").concat(bt),Bt=mt.children;return Bt&&Bt.length>0?[].concat((0,un.Z)(ct),(0,un.Z)(Vt(Bt,Ot).map(function(Lt){return(0,ye.Z)({fixed:jt},Lt)}))):[].concat((0,un.Z)(ct),[(0,ye.Z)((0,ye.Z)({key:Ot},mt),{},{fixed:jt})])},[])}function Sn(qe){for(var tt=!0,ct=0;ct=0;St-=1){var jt=qe[St];if(bt&&jt.fixed!=="right")bt=!1;else if(!bt&&jt.fixed==="right"){warning(!1,"Index ".concat(St+1," of `columns` missing `fixed='right'` prop."));break}}}function $t(qe){return qe.map(function(tt){var ct=tt.fixed,mt=(0,Fe.Z)(tt,xt),bt=ct;return ct==="left"?bt="right":ct==="right"&&(bt="left"),(0,ye.Z)({fixed:bt},mt)})}function $n(qe,tt){var ct=qe.prefixCls,mt=qe.columns,bt=qe.children,St=qe.expandable,jt=qe.expandedKeys,Ot=qe.columnTitle,Bt=qe.getRowKey,Lt=qe.onTriggerExpand,Ut=qe.expandIcon,Dt=qe.rowExpandable,qt=qe.expandIconColumnIndex,_t=qe.direction,Yt=qe.expandRowByClick,vn=qe.columnWidth,cn=qe.fixed,yn=qe.scrollWidth,fn=te.useMemo(function(){return mt||Et(bt)},[mt,bt]),wn=te.useMemo(function(){if(St){var Gn,Bn=fn.slice();if(!Bn.includes(he)){var Pn=qt||0;Pn>=0&&Bn.splice(Pn,0,he)}var Ln=Bn.indexOf(he);Bn=Bn.filter(function(tr,jr){return tr!==he||jr===Ln});var ur=fn[Ln],Br;(cn==="left"||cn)&&!qt?Br="left":(cn==="right"||cn)&&qt===fn.length?Br="right":Br=ur?ur.fixed:null;var vr=(Gn={},(0,Se.Z)(Gn,pn,{className:"".concat(ct,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Se.Z)(Gn,"title",Ot),(0,Se.Z)(Gn,"fixed",Br),(0,Se.Z)(Gn,"className","".concat(ct,"-row-expand-icon-cell")),(0,Se.Z)(Gn,"width",vn),(0,Se.Z)(Gn,"render",function(jr,Tr,ia){var Kr=Bt(Tr,ia),wa=jt.has(Kr),Ea=Dt?Dt(Tr):!0,Pr=Ut({prefixCls:ct,expanded:wa,expandable:Ea,record:Tr,onExpand:Lt});return Yt?te.createElement("span",{onClick:function(_r){return _r.stopPropagation()}},Pr):Pr}),Gn);return Bn.map(function(tr){return tr===he?vr:tr})}return fn.filter(function(tr){return tr!==he})},[St,fn,Bt,jt,Ut,_t]),Xn=te.useMemo(function(){var Gn=wn;return tt&&(Gn=tt(Gn)),Gn.length||(Gn=[{render:function(){return null}}]),Gn},[tt,wn,_t]),Qn=te.useMemo(function(){return _t==="rtl"?$t(Vt(Xn)):Vt(Xn)},[Xn,_t,yn]),In=Jr(Qn,yn),cr=(0,E.Z)(In,2),Sr=cr[0],Fn=cr[1];return[Xn,Sr,Fn]}var Hn=$n;function Rn(qe){var tt,ct=qe.prefixCls,mt=qe.record,bt=qe.onExpand,St=qe.expanded,jt=qe.expandable,Ot="".concat(ct,"-row-expand-icon");if(!jt)return te.createElement("span",{className:Ce()(Ot,"".concat(ct,"-row-spaced"))});var Bt=function(Ut){bt(mt,Ut),Ut.stopPropagation()};return te.createElement("span",{className:Ce()(Ot,(tt={},(0,Se.Z)(tt,"".concat(ct,"-row-expanded"),St),(0,Se.Z)(tt,"".concat(ct,"-row-collapsed"),!St),tt)),onClick:Bt})}function Er(qe,tt,ct){var mt=[];function bt(St){(St||[]).forEach(function(jt,Ot){mt.push(tt(jt,Ot)),bt(jt[ct])})}return bt(qe),mt}function ra(qe,tt,ct){var mt=gn(qe),bt=mt.expandIcon,St=mt.expandedRowKeys,jt=mt.defaultExpandedRowKeys,Ot=mt.defaultExpandAllRows,Bt=mt.expandedRowRender,Lt=mt.onExpand,Ut=mt.onExpandedRowsChange,Dt=mt.childrenColumnName,qt=bt||Rn,_t=Dt||"children",Yt=te.useMemo(function(){return Bt?"row":qe.expandable&&qe.internalHooks===ot&&qe.expandable.__PARENT_RENDER_ICON__||tt.some(function(Qn){return Qn&&(0,fe.Z)(Qn)==="object"&&Qn[_t]})?"nest":!1},[!!Bt,tt]),vn=te.useState(function(){return jt||(Ot?Er(tt,ct,_t):[])}),cn=(0,E.Z)(vn,2),yn=cn[0],fn=cn[1],wn=te.useMemo(function(){return new Set(St||yn||[])},[St,yn]),Xn=te.useCallback(function(Qn){var In=ct(Qn,tt.indexOf(Qn)),cr,Sr=wn.has(In);Sr?(wn.delete(In),cr=(0,un.Z)(wn)):cr=[].concat((0,un.Z)(wn),[In]),fn(cr),Lt&&Lt(!Sr,Qn),Ut&&Ut(cr)},[ct,wn,tt,Lt,Ut]);return[mt,Yt,wn,qt,_t,Xn]}function Qt(qe,tt,ct,mt){var bt=qe.map(function(St,jt){return _e(jt,jt,qe,tt,ct,mt==null?void 0:mt[jt])});return(0,Le.Z)(function(){return bt},[bt],function(St,jt){return!(0,oe.Z)(St,jt)})}function yr(qe){var tt=(0,te.useRef)(qe),ct=(0,te.useState)({}),mt=(0,E.Z)(ct,2),bt=mt[1],St=(0,te.useRef)(null),jt=(0,te.useRef)([]);function Ot(Bt){jt.current.push(Bt);var Lt=Promise.resolve();St.current=Lt,Lt.then(function(){if(St.current===Lt){var Ut=jt.current,Dt=tt.current;jt.current=[],Ut.forEach(function(qt){tt.current=qt(tt.current)}),St.current=null,Dt!==tt.current&&bt({})}})}return(0,te.useEffect)(function(){return function(){St.current=null}},[]),[tt.current,Ot]}function Yr(qe){var tt=(0,te.useRef)(qe||null),ct=(0,te.useRef)();function mt(){window.clearTimeout(ct.current)}function bt(jt){tt.current=jt,mt(),ct.current=window.setTimeout(function(){tt.current=null,ct.current=void 0},100)}function St(){return tt.current}return(0,te.useEffect)(function(){return mt},[]),[bt,St]}function Cr(){var qe=te.useState(-1),tt=(0,E.Z)(qe,2),ct=tt[0],mt=tt[1],bt=te.useState(-1),St=(0,E.Z)(bt,2),jt=St[0],Ot=St[1],Bt=te.useCallback(function(Lt,Ut){mt(Lt),Ot(Ut)},[]);return[ct,jt,Bt]}var Or=Ae(47273),wt=(0,Or.Z)()?window:null;function Ht(qe,tt){var ct=(0,fe.Z)(qe)==="object"?qe:{},mt=ct.offsetHeader,bt=mt===void 0?0:mt,St=ct.offsetSummary,jt=St===void 0?0:St,Ot=ct.offsetScroll,Bt=Ot===void 0?0:Ot,Lt=ct.getContainer,Ut=Lt===void 0?function(){return wt}:Lt,Dt=Ut()||wt;return te.useMemo(function(){var qt=!!qe;return{isSticky:qt,stickyClassName:qt?"".concat(tt,"-sticky-holder"):"",offsetHeader:bt,offsetSummary:jt,offsetScroll:Bt,container:Dt}},[Bt,bt,jt,tt,Dt])}function Rt(qe,tt,ct){var mt=(0,te.useMemo)(function(){for(var bt=[],St=[],jt=0,Ot=0,Bt=0;Bt=Dt&&(tr=Dt-qt),jt({scrollLeft:tr/Dt*(Ut+2)}),fn.current.x=Ln.pageX},Gn=function(){if(St.current){var Ln=(0,Zt.os)(St.current).top,ur=Ln+St.current.offsetHeight,Br=Bt===window?document.documentElement.scrollTop+window.innerHeight:(0,Zt.os)(Bt).top+Bt.clientHeight;ur-(0,at.Z)()<=Br||Ln>=Br-Ot?yn(function(vr){return(0,ye.Z)((0,ye.Z)({},vr),{},{isHiddenScrollBar:!0})}):yn(function(vr){return(0,ye.Z)((0,ye.Z)({},vr),{},{isHiddenScrollBar:!1})})}},Bn=function(Ln){yn(function(ur){return(0,ye.Z)((0,ye.Z)({},ur),{},{scrollLeft:Ln/Ut*Dt||0})})};return te.useImperativeHandle(ct,function(){return{setScrollLeft:Bn}}),te.useEffect(function(){var Pn=(0,Xt.Z)(document.body,"mouseup",cr,!1),Ln=(0,Xt.Z)(document.body,"mousemove",Fn,!1);return Gn(),function(){Pn.remove(),Ln.remove()}},[qt,Qn]),te.useEffect(function(){var Pn=(0,Xt.Z)(Bt,"scroll",Gn,!1),Ln=(0,Xt.Z)(window,"resize",Gn,!1);return function(){Pn.remove(),Ln.remove()}},[Bt]),te.useEffect(function(){cn.isHiddenScrollBar||yn(function(Pn){var Ln=St.current;return Ln?(0,ye.Z)((0,ye.Z)({},Pn),{},{scrollLeft:Ln.scrollLeft/Ln.scrollWidth*Ln.clientWidth}):Pn})},[cn.isHiddenScrollBar]),Ut<=Dt||!qt||cn.isHiddenScrollBar?null:te.createElement("div",{style:{height:(0,at.Z)(),width:Dt,bottom:Ot},className:"".concat(Lt,"-sticky-scroll")},te.createElement("div",{onMouseDown:Sr,ref:_t,className:Ce()("".concat(Lt,"-sticky-scroll-bar"),(0,Se.Z)({},"".concat(Lt,"-sticky-scroll-bar-active"),Qn)),style:{width:"".concat(qt,"px"),transform:"translate3d(".concat(cn.scrollLeft,"px, 0, 0)")}}))},Yn=te.forwardRef(er);function kt(qe){return null}var pr=kt;function Ir(qe){return null}var Zr=Ir,sa="rc-table",an=[],Cn={};function Kn(){return"No Data"}function xn(qe){var tt,ct=(0,ye.Z)({rowKey:"key",prefixCls:sa,emptyText:Kn},qe),mt=ct.prefixCls,bt=ct.className,St=ct.rowClassName,jt=ct.style,Ot=ct.data,Bt=ct.rowKey,Lt=ct.scroll,Ut=ct.tableLayout,Dt=ct.direction,qt=ct.title,_t=ct.footer,Yt=ct.summary,vn=ct.caption,cn=ct.id,yn=ct.showHeader,fn=ct.components,wn=ct.emptyText,Xn=ct.onRow,Qn=ct.onHeaderRow,In=ct.internalHooks,cr=ct.transformColumns,Sr=ct.internalRefs,Fn=ct.tailor,Gn=ct.sticky,Bn=Ot||an,Pn=!!Bn.length,Ln=In===ot,ur=te.useCallback(function(ea,ha){return(0,De.Z)(fn,ea)||ha},[fn]),Br=te.useMemo(function(){return typeof Bt=="function"?Bt:function(ea){var ha=ea&&ea[Bt];return ha}},[Bt]),vr=ur(["body"]),tr=Cr(),jr=(0,E.Z)(tr,3),Tr=jr[0],ia=jr[1],Kr=jr[2],wa=ra(ct,Bn,Br),Ea=(0,E.Z)(wa,6),Pr=Ea[0],Fa=Ea[1],_r=Ea[2],pa=Ea[3],ga=Ea[4],Ya=Ea[5],or=Lt==null?void 0:Lt.x,ar=te.useState(0),nr=(0,E.Z)(ar,2),Zn=nr[0],Xr=nr[1],Vn=Hn((0,ye.Z)((0,ye.Z)((0,ye.Z)({},ct),Pr),{},{expandable:!!Pr.expandedRowRender,columnTitle:Pr.columnTitle,expandedKeys:_r,getRowKey:Br,onTriggerExpand:Ya,expandIcon:pa,expandIconColumnIndex:Pr.expandIconColumnIndex,direction:Dt,scrollWidth:Ln&&Fn&&typeof or=="number"?or:null}),Ln?cr:null),mr=(0,E.Z)(Vn,3),Hr=mr[0],Mr=mr[1],Ha=mr[2],Ma=Ha!=null?Ha:or,io=te.useMemo(function(){return{columns:Hr,flattenColumns:Mr}},[Hr,Mr]),Ba=te.useRef(),ro=te.useRef(),ja=te.useRef(),Qa=te.useRef(),Po=te.useRef(),Qr=te.useState(!1),$r=(0,E.Z)(Qr,2),ya=$r[0],La=$r[1],Ia=te.useState(!1),Lr=(0,E.Z)(Ia,2),Va=Lr[0],Ua=Lr[1],eo=yr(new Map),lo=(0,E.Z)(eo,2),so=lo[0],Bo=lo[1],mo=Qe(Mr),ao=mo.map(function(ea){return so.get(ea)}),Ja=te.useMemo(function(){return ao},[ao.join("_")]),_a=Kt(Ja,Mr.length,Dt),Da=Lt&&Ye(Lt.y),ba=Lt&&Ye(Ma)||!!Pr.fixed,uo=ba&&Mr.some(function(ea){var ha=ea.fixed;return ha}),wo=te.useRef(),vo=Ht(Gn,mt),co=vo.isSticky,Lo=vo.offsetHeader,_o=vo.offsetSummary,Ur=vo.offsetScroll,ca=vo.stickyClassName,za=vo.container,Sa=te.useMemo(function(){return Yt==null?void 0:Yt(Bn)},[Yt,Bn]),Wa=(Da||co)&&te.isValidElement(Sa)&&Sa.type===je&&Sa.props.fixed,qa,$a,po;Da&&($a={overflowY:"scroll",maxHeight:Lt.y}),ba&&(qa={overflowX:"auto"},Da||($a={overflowY:"hidden"}),po={width:Ma===!0?"auto":Ma,minWidth:"100%"});var bi=te.useCallback(function(ea,ha){(0,Ke.Z)(Ba.current)&&Bo(function(oo){if(oo.get(ea)!==ha){var yo=new Map(oo);return yo.set(ea,ha),yo}return oo})},[]),Bs=Yr(null),Si=(0,E.Z)(Bs,2),js=Si[0],Pi=Si[1];function Io(ea,ha){ha&&(typeof ha=="function"?ha(ea):ha.scrollLeft!==ea&&(ha.scrollLeft=ea,ha.scrollLeft!==ea&&setTimeout(function(){ha.scrollLeft=ea},0)))}var xo=(0,Pe.Z)(function(ea){var ha=ea.currentTarget,oo=ea.scrollLeft,yo=Dt==="rtl",bo=typeof oo=="number"?oo:ha.scrollLeft,Ri=ha||Cn;if(!Pi()||Pi()===Ri){var qo;js(Ri),Io(bo,ro.current),Io(bo,ja.current),Io(bo,Po.current),Io(bo,(qo=wo.current)===null||qo===void 0?void 0:qo.setScrollLeft)}var $o=ha||ro.current;if($o){var ei=$o.scrollWidth,ti=$o.clientWidth;if(ei===ti){La(!1),Ua(!1);return}yo?(La(-bo0)):(La(bo>0),Ua(bo1?vn-Ln:0,Br=(0,ye.Z)((0,ye.Z)((0,ye.Z)({},cr),Bt),{},{flex:"0 0 ".concat(Ln,"px"),width:"".concat(Ln,"px"),marginRight:ur,pointerEvents:"auto"}),vr=te.useMemo(function(){return Ut?Bn<=1:Fn===0||Bn===0||Bn>1},[Bn,Fn,Ut]);vr?Br.visibility="hidden":Ut&&(Br.height=Dt==null?void 0:Dt(Bn));var tr=vr?function(){return null}:qt,jr={};return(Bn===0||Fn===0)&&(jr.rowSpan=1,jr.colSpan=1),te.createElement(ut,(0,ue.Z)({className:Ce()(Yt,Lt),ellipsis:ct.ellipsis,align:ct.align,scope:ct.rowScope,component:"div",prefixCls:tt.prefixCls,key:wn,record:Ot,index:St,renderIndex:jt,dataIndex:_t,render:tr,shouldCellUpdate:ct.shouldCellUpdate},Xn,{appendNode:Qn,additionalProps:(0,ye.Z)((0,ye.Z)({},In),{},{style:Br},jr)}))}var ka=Pa,to=["data","index","className","rowKey","style","extra","getHeight"],Ka=te.forwardRef(function(qe,tt){var ct=qe.data,mt=qe.index,bt=qe.className,St=qe.rowKey,jt=qe.style,Ot=qe.extra,Bt=qe.getHeight,Lt=(0,Fe.Z)(qe,to),Ut=ct.record,Dt=ct.indent,qt=ct.index,_t=le(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Yt=_t.scrollX,vn=_t.flattenColumns,cn=_t.prefixCls,yn=_t.fixColumn,fn=_t.componentWidth,wn=nt(Ut,St,mt,Dt),Xn=wn.rowSupportExpand,Qn=wn.expanded,In=wn.rowProps,cr=wn.expandedRowRender,Sr=wn.expandedRowClassName,Fn;if(Xn&&Qn){var Gn=cr(Ut,mt,Dt+1,Qn),Bn=Sr==null?void 0:Sr(Ut,mt,Dt),Pn={};yn&&(Pn={style:(0,Se.Z)({},"--virtual-width","".concat(fn,"px"))});var Ln="".concat(cn,"-expanded-row-cell");Fn=te.createElement("div",{className:Ce()("".concat(cn,"-expanded-row"),"".concat(cn,"-expanded-row-level-").concat(Dt+1),Bn)},te.createElement(ut,{component:"div",prefixCls:cn,className:Ce()(Ln,(0,Se.Z)({},"".concat(Ln,"-fixed"),yn)),additionalProps:Pn},Gn))}var ur=(0,ye.Z)((0,ye.Z)({},jt),{},{width:Yt});Ot&&(ur.position="absolute",ur.pointerEvents="none");var Br=te.createElement("div",(0,ue.Z)({},In,Lt,{ref:Xn?null:tt,className:Ce()(bt,"".concat(cn,"-row"),In==null?void 0:In.className,(0,Se.Z)({},"".concat(cn,"-row-extra"),Ot)),style:(0,ye.Z)((0,ye.Z)({},ur),In==null?void 0:In.style)}),vn.map(function(vr,tr){return te.createElement(ka,{key:tr,rowInfo:wn,column:vr,colIndex:tr,indent:Dt,index:mt,renderIndex:qt,record:Ut,inverse:Ot,getHeight:Bt})}));return Xn?te.createElement("div",{ref:tt},Br,Fn):Br}),Za=ee(Ka),Aa=Za,da=te.forwardRef(function(qe,tt){var ct=qe.data,mt=qe.onScroll,bt=le(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),St=bt.flattenColumns,jt=bt.onColumnResize,Ot=bt.getRowKey,Bt=bt.expandedKeys,Lt=bt.prefixCls,Ut=bt.childrenColumnName,Dt=bt.emptyNode,qt=bt.scrollX,_t=le(Vr),Yt=_t.scrollY,vn=_t.listItemHeight,cn=te.useRef(),yn=yt(ct,Ut,Bt,Ot),fn=te.useMemo(function(){var Fn=0;return St.map(function(Gn){var Bn=Gn.width,Pn=Gn.key;return Fn+=Bn,[Pn,Bn,Fn]})},[St]),wn=te.useMemo(function(){return fn.map(function(Fn){return Fn[2]})},[fn]);te.useEffect(function(){fn.forEach(function(Fn){var Gn=(0,E.Z)(Fn,2),Bn=Gn[0],Pn=Gn[1];jt(Bn,Pn)})},[fn]),te.useImperativeHandle(tt,function(){var Fn={};return Object.defineProperty(Fn,"scrollLeft",{get:function(){var Bn;return((Bn=cn.current)===null||Bn===void 0?void 0:Bn.getScrollInfo().x)||0},set:function(Bn){var Pn;(Pn=cn.current)===null||Pn===void 0||Pn.scrollTo({left:Bn})}}),Fn});var Xn=function(Gn,Bn){var Pn,Ln=(Pn=yn[Bn])===null||Pn===void 0?void 0:Pn.record,ur=Gn.onCell;if(ur){var Br,vr=ur(Ln,Bn);return(Br=vr==null?void 0:vr.rowSpan)!==null&&Br!==void 0?Br:1}return 1},Qn=function(Gn){var Bn=Gn.start,Pn=Gn.end,Ln=Gn.getSize,ur=Gn.offsetY;if(Pn<0)return null;for(var Br=St.filter(function(or){return Xn(or,Bn)===0}),vr=Bn,tr=function(ar){if(Br=Br.filter(function(nr){return Xn(nr,ar)===0}),!Br.length)return vr=ar,"break"},jr=Bn;jr>=0;jr-=1){var Tr=tr(jr);if(Tr==="break")break}for(var ia=St.filter(function(or){return Xn(or,Pn)!==1}),Kr=Pn,wa=function(ar){if(ia=ia.filter(function(nr){return Xn(nr,ar)!==1}),!ia.length)return Kr=Math.max(ar-1,Pn),"break"},Ea=Pn;Ea1})&&Fa.push(ar)},pa=vr;pa<=Kr;pa+=1)var ga=_r(pa);var Ya=Fa.map(function(or){var ar=yn[or],nr=Ot(ar.record,or),Zn=function(mr){var Hr=or+mr-1,Mr=Ot(yn[Hr].record,Hr),Ha=Ln(nr,Mr);return Ha.bottom-Ha.top},Xr=Ln(nr);return te.createElement(Aa,{key:or,data:ar,rowKey:nr,index:or,style:{top:-ur+Xr.top},extra:!0,getHeight:Zn})});return Ya},In=te.useMemo(function(){return{columnsOffset:wn}},[wn]),cr="".concat(Lt,"-tbody"),Sr;return yn.length?Sr=te.createElement(Ar.Z,{fullHeight:!1,ref:cn,className:Ce()(cr,"".concat(cr,"-virtual")),height:Yt,itemHeight:vn||24,data:yn,itemKey:function(Gn){return Ot(Gn.record)},scrollWidth:qt,onVirtualScroll:function(Gn){var Bn=Gn.x;mt({scrollLeft:Bn})},extraRender:Qn},function(Fn,Gn,Bn){var Pn=Ot(Fn.record,Gn);return te.createElement(Aa,(0,ue.Z)({data:Fn,rowKey:Pn,index:Gn},Bn))}):Sr=te.createElement("div",{className:Ce()("".concat(Lt,"-placeholder"))},te.createElement(ut,{component:"div",prefixCls:Lt},Dt)),te.createElement(Oa.Provider,{value:In},Sr)}),Ga=ee(da),qr=Ga,Mt=function(tt,ct){var mt=ct.ref,bt=ct.onScroll;return te.createElement(qr,{ref:mt,data:tt,onScroll:bt})},zt=100;function Wt(qe){var tt=qe.columns,ct=qe.scroll,mt=qe.prefixCls,bt=mt===void 0?sa:mt,St=qe.className,jt=qe.listItemHeight,Ot=ct||{},Bt=Ot.x,Lt=Ot.y;typeof Bt!="number"&&(Bt=((tt||[]).length+1)*zt),typeof Lt!="number"&&(Lt=500);var Ut=te.useMemo(function(){return{scrollY:Lt,listItemHeight:jt}},[Lt,jt]);return te.createElement(Vr.Provider,{value:Ut},te.createElement(rr,(0,ue.Z)({},qe,{className:Ce()(St,"".concat(bt,"-virtual")),scroll:(0,ye.Z)((0,ye.Z)({},ct),{},{x:Bt}),components:{body:Mt},columns:tt,internalHooks:ot,tailor:!0})))}function dn(qe){return z(Wt,qe)}var mn=dn(),kn=null;function rn(qe){return null}var _n=rn;function Jn(qe){return null}var Fr=Jn,lr=Ae(2738),zn=Ae(68031),dr=Ae(36355),fr=Ae(93891),aa=Ae(19716),Dr=Ae(8628),oa=Ae(31724),va=Ae(58421),hn=Ae(71418),ln=Ae(88088);function An(qe){return function(ct){let{prefixCls:mt,onExpand:bt,record:St,expanded:jt,expandable:Ot}=ct;const Bt=`${mt}-row-expand-icon`;return te.createElement("button",{type:"button",onClick:Lt=>{bt(St,Lt),Lt.stopPropagation()},className:Ce()(Bt,{[`${Bt}-spaced`]:!Ot,[`${Bt}-expanded`]:Ot&&jt,[`${Bt}-collapsed`]:Ot&&!jt}),"aria-label":jt?qe.collapse:qe.expand,"aria-expanded":jt})}}var Mn=An;function hr(qe,tt){return"key"in qe&&qe.key!==void 0&&qe.key!==null?qe.key:qe.dataIndex?Array.isArray(qe.dataIndex)?qe.dataIndex.join("."):qe.dataIndex:tt}function Gr(qe,tt){return tt?`${tt}-${qe}`:`${qe}`}function ua(qe,tt){return typeof qe=="function"?qe(tt):qe}function fa(qe,tt){const ct=ua(qe,tt);return Object.prototype.toString.call(ct)==="[object Object]"?"":ct}var Ca={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},xa=Ca,Xa=Ae(7657),Ta=function(tt,ct){return te.createElement(Xa.Z,(0,ue.Z)({},tt,{ref:ct,icon:xa}))},gr=te.forwardRef(Ta),kr=gr,ta=Ae(56762);function Nr(qe){const tt=te.useRef(qe),ct=(0,ta.Z)();return[()=>tt.current,mt=>{tt.current=mt,ct()}]}var zr=Ae(3113),ma=Ae(24905),na=Ae(38854),vt=Ae(64165),Nt=Ae(20834),on=Ae(40875),On=Ae(5112),Un=Ae(17574),Tn=Ae(47472),la=Ae(92832);function Ra(qe){let{value:tt,onChange:ct,filterSearch:mt,tablePrefixCls:bt,locale:St}=qe;return mt?te.createElement("div",{className:`${bt}-filter-dropdown-search`},te.createElement(la.default,{prefix:te.createElement(Tn.Z,null),placeholder:St.filterSearchPlaceholder,onChange:ct,value:tt,htmlSize:1,className:`${bt}-filter-dropdown-search-input`})):null}var no=Ra,Co=Ae(10228);const ni=qe=>{const{keyCode:tt}=qe;tt===Co.Z.ENTER&&qe.stopPropagation()};var Ro=te.forwardRef((qe,tt)=>te.createElement("div",{className:qe.className,onClick:ct=>ct.stopPropagation(),onKeyDown:ni,ref:tt},qe.children));function So(qe){let tt=[];return(qe||[]).forEach(ct=>{let{value:mt,children:bt}=ct;tt.push(mt),bt&&(tt=[].concat((0,un.Z)(tt),(0,un.Z)(So(bt))))}),tt}function ai(qe){return qe.some(tt=>{let{children:ct}=tt;return ct})}function ko(qe,tt){return typeof tt=="string"||typeof tt=="number"?tt==null?void 0:tt.toString().toLowerCase().includes(qe.trim().toLowerCase()):!1}function Mo(qe){let{filters:tt,prefixCls:ct,filteredKeys:mt,filterMultiple:bt,searchValue:St,filterSearch:jt}=qe;return tt.map((Ot,Bt)=>{const Lt=String(Ot.value);if(Ot.children)return{key:Lt||Bt,label:Ot.text,popupClassName:`${ct}-dropdown-submenu`,children:Mo({filters:Ot.children,prefixCls:ct,filteredKeys:mt,filterMultiple:bt,searchValue:St,filterSearch:jt})};const Ut=bt?ma.default:On.ZP,Dt={key:Ot.value!==void 0?Lt:Bt,label:te.createElement(te.Fragment,null,te.createElement(Ut,{checked:mt.includes(Lt)}),te.createElement("span",null,Ot.text))};return St.trim()?typeof jt=="function"?jt(St,Ot)?Dt:null:ko(St,Ot.text)?Dt:null:Dt})}function Go(qe){var tt,ct;const{tablePrefixCls:mt,prefixCls:bt,column:St,dropdownPrefixCls:jt,columnKey:Ot,filterMultiple:Bt,filterMode:Lt="menu",filterSearch:Ut=!1,filterState:Dt,triggerFilter:qt,locale:_t,children:Yt,getPopupContainer:vn}=qe,{filterDropdownOpen:cn,onFilterDropdownOpenChange:yn,filterResetToDefaultFilteredValue:fn,defaultFilteredValue:wn,filterDropdownVisible:Xn,onFilterDropdownVisibleChange:Qn}=St,[In,cr]=te.useState(!1),Sr=!!(Dt&&(!((tt=Dt.filteredKeys)===null||tt===void 0)&&tt.length||Dt.forceFiltered)),Fn=Vn=>{cr(Vn),yn==null||yn(Vn),Qn==null||Qn(Vn)},Gn=(ct=cn!=null?cn:Xn)!==null&&ct!==void 0?ct:In,Bn=Dt==null?void 0:Dt.filteredKeys,[Pn,Ln]=Nr(Bn||[]),ur=Vn=>{let{selectedKeys:mr}=Vn;Ln(mr)},Br=(Vn,mr)=>{let{node:Hr,checked:Mr}=mr;ur(Bt?{selectedKeys:Vn}:{selectedKeys:Mr&&Hr.key?[Hr.key]:[]})};te.useEffect(()=>{In&&ur({selectedKeys:Bn||[]})},[Bn]);const[vr,tr]=te.useState([]),jr=Vn=>{tr(Vn)},[Tr,ia]=te.useState(""),Kr=Vn=>{const{value:mr}=Vn.target;ia(mr)};te.useEffect(()=>{In||ia("")},[In]);const wa=Vn=>{const mr=Vn&&Vn.length?Vn:null;if(mr===null&&(!Dt||!Dt.filteredKeys)||(0,oe.Z)(mr,Dt==null?void 0:Dt.filteredKeys,!0))return null;qt({column:St,key:Ot,filteredKeys:mr})},Ea=()=>{Fn(!1),wa(Pn())},Pr=function(){let{confirm:Vn,closeDropdown:mr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Vn&&wa([]),mr&&Fn(!1),ia(""),Ln(fn?(wn||[]).map(Hr=>String(Hr)):[])},Fa=function(){let{closeDropdown:Vn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Vn&&Fn(!1),wa(Pn())},_r=Vn=>{Vn&&Bn!==void 0&&Ln(Bn||[]),Fn(Vn),!Vn&&!St.filterDropdown&&Ea()},pa=Ce()({[`${jt}-menu-without-submenu`]:!ai(St.filters||[])}),ga=Vn=>{if(Vn.target.checked){const mr=So(St==null?void 0:St.filters).map(Hr=>String(Hr));Ln(mr)}else Ln([])},Ya=Vn=>{let{filters:mr}=Vn;return(mr||[]).map((Hr,Mr)=>{const Ha=String(Hr.value),Ma={title:Hr.text,key:Hr.value!==void 0?Ha:Mr};return Hr.children&&(Ma.children=Ya({filters:Hr.children})),Ma})},or=Vn=>{var mr;return Object.assign(Object.assign({},Vn),{text:Vn.title,value:Vn.key,children:((mr=Vn.children)===null||mr===void 0?void 0:mr.map(Hr=>or(Hr)))||[]})};let ar;if(typeof St.filterDropdown=="function")ar=St.filterDropdown({prefixCls:`${jt}-custom`,setSelectedKeys:Vn=>ur({selectedKeys:Vn}),selectedKeys:Pn(),confirm:Fa,clearFilters:Pr,filters:St.filters,visible:Gn,close:()=>{Fn(!1)}});else if(St.filterDropdown)ar=St.filterDropdown;else{const Vn=Pn()||[],mr=()=>(St.filters||[]).length===0?te.createElement(vt.Z,{image:vt.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Lt==="tree"?te.createElement(te.Fragment,null,te.createElement(no,{filterSearch:Ut,value:Tr,onChange:Kr,tablePrefixCls:mt,locale:_t}),te.createElement("div",{className:`${mt}-filter-dropdown-tree`},Bt?te.createElement(ma.default,{checked:Vn.length===So(St.filters).length,indeterminate:Vn.length>0&&Vn.lengthtypeof Ut=="function"?Ut(Tr,or(Mr)):ko(Tr,Mr.title):void 0}))):te.createElement(te.Fragment,null,te.createElement(no,{filterSearch:Ut,value:Tr,onChange:Kr,tablePrefixCls:mt,locale:_t}),te.createElement(Nt.default,{selectable:!0,multiple:Bt,prefixCls:`${jt}-menu`,className:pa,onSelect:ur,onDeselect:ur,selectedKeys:Vn,getPopupContainer:vn,openKeys:vr,onOpenChange:jr,items:Mo({filters:St.filters||[],filterSearch:Ut,prefixCls:bt,filteredKeys:Pn(),filterMultiple:Bt,searchValue:Tr})})),Hr=()=>fn?(0,oe.Z)((wn||[]).map(Mr=>String(Mr)),Vn,!0):Vn.length===0;ar=te.createElement(te.Fragment,null,mr(),te.createElement("div",{className:`${bt}-dropdown-btns`},te.createElement(zr.ZP,{type:"link",size:"small",disabled:Hr(),onClick:()=>Pr()},_t.filterReset),te.createElement(zr.ZP,{type:"primary",size:"small",onClick:Ea},_t.filterConfirm)))}St.filterDropdown&&(ar=te.createElement(on.J,{selectable:void 0},ar));const nr=()=>te.createElement(Ro,{className:`${bt}-dropdown`},ar);let Zn;typeof St.filterIcon=="function"?Zn=St.filterIcon(Sr):St.filterIcon?Zn=St.filterIcon:Zn=te.createElement(kr,null);const{direction:Xr}=te.useContext(dr.E_);return te.createElement("div",{className:`${bt}-column`},te.createElement("span",{className:`${mt}-column-title`},Yt),te.createElement(na.Z,{dropdownRender:nr,trigger:["click"],open:Gn,onOpenChange:_r,getPopupContainer:vn,placement:Xr==="rtl"?"bottomLeft":"bottomRight"},te.createElement("span",{role:"button",tabIndex:-1,className:Ce()(`${bt}-trigger`,{active:Sr}),onClick:Vn=>{Vn.stopPropagation()}},Zn)))}var Ao=Go;function Eo(qe,tt,ct){let mt=[];return(qe||[]).forEach((bt,St)=>{var jt;const Ot=Gr(St,ct);if(bt.filters||"filterDropdown"in bt||"onFilter"in bt)if("filteredValue"in bt){let Bt=bt.filteredValue;"filterDropdown"in bt||(Bt=(jt=Bt==null?void 0:Bt.map(String))!==null&&jt!==void 0?jt:Bt),mt.push({column:bt,key:hr(bt,Ot),filteredKeys:Bt,forceFiltered:bt.filtered})}else mt.push({column:bt,key:hr(bt,Ot),filteredKeys:tt&&bt.defaultFilteredValue?bt.defaultFilteredValue:void 0,forceFiltered:bt.filtered});"children"in bt&&(mt=[].concat((0,un.Z)(mt),(0,un.Z)(Eo(bt.children,tt,Ot))))}),mt}function oi(qe,tt,ct,mt,bt,St,jt,Ot){return ct.map((Bt,Lt)=>{const Ut=Gr(Lt,Ot),{filterMultiple:Dt=!0,filterMode:qt,filterSearch:_t}=Bt;let Yt=Bt;if(Yt.filters||Yt.filterDropdown){const vn=hr(Yt,Ut),cn=mt.find(yn=>{let{key:fn}=yn;return vn===fn});Yt=Object.assign(Object.assign({},Yt),{title:yn=>te.createElement(Ao,{tablePrefixCls:qe,prefixCls:`${qe}-filter`,dropdownPrefixCls:tt,column:Yt,columnKey:vn,filterState:cn,filterMultiple:Dt,filterMode:qt,filterSearch:_t,triggerFilter:St,locale:bt,getPopupContainer:jt},ua(Bt.title,yn))})}return"children"in Yt&&(Yt=Object.assign(Object.assign({},Yt),{children:oi(qe,tt,Yt.children,mt,bt,St,jt,Ut)})),Yt})}function ii(qe){const tt={};return qe.forEach(ct=>{let{key:mt,filteredKeys:bt,column:St}=ct;const{filters:jt,filterDropdown:Ot}=St;if(Ot)tt[mt]=bt||null;else if(Array.isArray(bt)){const Bt=So(jt);tt[mt]=Bt.filter(Lt=>bt.includes(String(Lt)))}else tt[mt]=null}),tt}function si(qe,tt){return tt.reduce((ct,mt)=>{const{column:{onFilter:bt,filters:St},filteredKeys:jt}=mt;return bt&&jt&&jt.length?ct.filter(Ot=>jt.some(Bt=>{const Lt=So(St),Ut=Lt.findIndex(qt=>String(qt)===String(Bt)),Dt=Ut!==-1?Lt[Ut]:Bt;return bt(Dt,Ot)})):ct},qe)}const li=qe=>qe.flatMap(tt=>"children"in tt?[tt].concat((0,un.Z)(li(tt.children||[]))):[tt]);function ki(qe){let{prefixCls:tt,dropdownPrefixCls:ct,mergedColumns:mt,onFilterChange:bt,getPopupContainer:St,locale:jt}=qe;const Ot=te.useMemo(()=>li(mt||[]),[mt]),[Bt,Lt]=te.useState(()=>Eo(Ot,!0)),Ut=te.useMemo(()=>{const Yt=Eo(Ot,!1);if(Yt.length===0)return Yt;let vn=!0,cn=!0;if(Yt.forEach(yn=>{let{filteredKeys:fn}=yn;fn!==void 0?vn=!1:cn=!1}),vn){const yn=(Ot||[]).map((fn,wn)=>hr(fn,Gr(wn)));return Bt.filter(fn=>{let{key:wn}=fn;return yn.includes(wn)}).map(fn=>{const wn=Ot[yn.findIndex(Xn=>Xn===fn.key)];return Object.assign(Object.assign({},fn),{column:Object.assign(Object.assign({},fn.column),wn),forceFiltered:wn.filtered})})}return Yt},[Ot,Bt]),Dt=te.useMemo(()=>ii(Ut),[Ut]),qt=Yt=>{const vn=Ut.filter(cn=>{let{key:yn}=cn;return yn!==Yt.key});vn.push(Yt),Lt(vn),bt(ii(vn),vn)};return[Yt=>oi(tt,ct,Yt,Ut,jt,qt,St),Ut,Dt]}var Mi=ki;function Gi(qe,tt,ct){const mt=te.useRef({});function bt(St){if(!mt.current||mt.current.data!==qe||mt.current.childrenColumnName!==tt||mt.current.getRowKey!==ct){let Ot=function(Bt){Bt.forEach((Lt,Ut)=>{const Dt=ct(Lt,Ut);jt.set(Dt,Lt),Lt&&typeof Lt=="object"&&tt in Lt&&Ot(Lt[tt]||[])})};const jt=new Map;Ot(qe),mt.current={data:qe,childrenColumnName:tt,kvMap:jt,getRowKey:ct}}return mt.current.kvMap.get(St)}return[bt]}var zi=Ae(50371),Hi=function(qe,tt){var ct={};for(var mt in qe)Object.prototype.hasOwnProperty.call(qe,mt)&&tt.indexOf(mt)<0&&(ct[mt]=qe[mt]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,mt=Object.getOwnPropertySymbols(qe);bt{const St=qe[bt];typeof St!="function"&&(ct[bt]=St)}),ct}function Wi(qe,tt,ct){const mt=ct&&typeof ct=="object"?ct:{},{total:bt=0}=mt,St=Hi(mt,["total"]),[jt,Ot]=(0,te.useState)(()=>({current:"defaultCurrent"in St?St.defaultCurrent:1,pageSize:"defaultPageSize"in St?St.defaultPageSize:ui})),Bt=(0,zi.Z)(jt,St,{total:bt>0?bt:qe}),Lt=Math.ceil((bt||qe)/Bt.pageSize);Bt.current>Lt&&(Bt.current=Lt||1);const Ut=(qt,_t)=>{Ot({current:qt!=null?qt:1,pageSize:_t||Bt.pageSize})},Dt=(qt,_t)=>{var Yt;ct&&((Yt=ct.onChange)===null||Yt===void 0||Yt.call(ct,qt,_t)),Ut(qt,_t),tt(qt,_t||(Bt==null?void 0:Bt.pageSize))};return ct===!1?[{},()=>{}]:[Object.assign(Object.assign({},Bt),{onChange:Dt}),Ut]}var Ki=Wi,Zi=Ae(84105),ci=Ae(35654),zo=Ae(90782),Vi=Ae(71430),_i=Ae(18929);const ho={},Ho="SELECT_ALL",Uo="SELECT_INVERT",Wo="SELECT_NONE",di=[],fi=(qe,tt)=>{let ct=[];return(tt||[]).forEach(mt=>{ct.push(mt),mt&&typeof mt=="object"&&qe in mt&&(ct=[].concat((0,un.Z)(ct),(0,un.Z)(fi(qe,mt[qe]))))}),ct};var Xi=(qe,tt)=>{const{preserveSelectedRowKeys:ct,selectedRowKeys:mt,defaultSelectedRowKeys:bt,getCheckboxProps:St,onChange:jt,onSelect:Ot,onSelectAll:Bt,onSelectInvert:Lt,onSelectNone:Ut,onSelectMultiple:Dt,columnWidth:qt,type:_t,selections:Yt,fixed:vn,renderCell:cn,hideSelectAll:yn,checkStrictly:fn=!0}=tt||{},{prefixCls:wn,data:Xn,pageData:Qn,getRecordByKey:In,getRowKey:cr,expandType:Sr,childrenColumnName:Fn,locale:Gn,getPopupContainer:Bn}=qe,[Pn,Ln]=(0,_i.Z)(mt||bt||di,{value:mt}),ur=te.useRef(new Map),Br=(0,te.useCallback)(or=>{if(ct){const ar=new Map;or.forEach(nr=>{let Zn=In(nr);!Zn&&ur.current.has(nr)&&(Zn=ur.current.get(nr)),ar.set(nr,Zn)}),ur.current=ar}},[In,ct]);te.useEffect(()=>{Br(Pn)},[Pn]);const{keyEntities:vr}=(0,te.useMemo)(()=>{if(fn)return{keyEntities:null};let or=Xn;if(ct){const ar=new Set(Xn.map((Zn,Xr)=>cr(Zn,Xr))),nr=Array.from(ur.current).reduce((Zn,Xr)=>{let[Vn,mr]=Xr;return ar.has(Vn)?Zn:Zn.concat(mr)},[]);or=[].concat((0,un.Z)(or),(0,un.Z)(nr))}return(0,Vi.I8)(or,{externalGetKey:cr,childrenPropName:Fn})},[Xn,cr,fn,Fn,ct]),tr=(0,te.useMemo)(()=>fi(Fn,Qn),[Fn,Qn]),jr=(0,te.useMemo)(()=>{const or=new Map;return tr.forEach((ar,nr)=>{const Zn=cr(ar,nr),Xr=(St?St(ar):null)||{};or.set(Zn,Xr)}),or},[tr,cr,St]),Tr=(0,te.useCallback)(or=>{var ar;return!!(!((ar=jr.get(cr(or)))===null||ar===void 0)&&ar.disabled)},[jr,cr]),[ia,Kr]=(0,te.useMemo)(()=>{if(fn)return[Pn||[],[]];const{checkedKeys:or,halfCheckedKeys:ar}=(0,zo.S)(Pn,!0,vr,Tr);return[or||[],ar]},[Pn,fn,vr,Tr]),wa=(0,te.useMemo)(()=>{const or=_t==="radio"?ia.slice(0,1):ia;return new Set(or)},[ia,_t]),Ea=(0,te.useMemo)(()=>_t==="radio"?new Set:new Set(Kr),[Kr,_t]),[Pr,Fa]=(0,te.useState)(null);te.useEffect(()=>{tt||Ln(di)},[!!tt]);const _r=(0,te.useCallback)((or,ar)=>{let nr,Zn;Br(or),ct?(nr=or,Zn=or.map(Xr=>ur.current.get(Xr))):(nr=[],Zn=[],or.forEach(Xr=>{const Vn=In(Xr);Vn!==void 0&&(nr.push(Xr),Zn.push(Vn))})),Ln(nr),jt==null||jt(nr,Zn,{type:ar})},[Ln,In,jt,ct]),pa=(0,te.useCallback)((or,ar,nr,Zn)=>{if(Ot){const Xr=nr.map(Vn=>In(Vn));Ot(In(or),ar,Xr,Zn)}_r(nr,"single")},[Ot,In,_r]),ga=(0,te.useMemo)(()=>!Yt||yn?null:(Yt===!0?[Ho,Uo,Wo]:Yt).map(ar=>ar===Ho?{key:"all",text:Gn.selectionAll,onSelect(){_r(Xn.map((nr,Zn)=>cr(nr,Zn)).filter(nr=>{const Zn=jr.get(nr);return!(Zn!=null&&Zn.disabled)||wa.has(nr)}),"all")}}:ar===Uo?{key:"invert",text:Gn.selectInvert,onSelect(){const nr=new Set(wa);Qn.forEach((Xr,Vn)=>{const mr=cr(Xr,Vn),Hr=jr.get(mr);Hr!=null&&Hr.disabled||(nr.has(mr)?nr.delete(mr):nr.add(mr))});const Zn=Array.from(nr);Lt&&Lt(Zn),_r(Zn,"invert")}}:ar===Wo?{key:"none",text:Gn.selectNone,onSelect(){Ut==null||Ut(),_r(Array.from(wa).filter(nr=>{const Zn=jr.get(nr);return Zn==null?void 0:Zn.disabled}),"none")}}:ar).map(ar=>Object.assign(Object.assign({},ar),{onSelect:function(){for(var nr,Zn,Xr=arguments.length,Vn=new Array(Xr),mr=0;mr{var ar;if(!tt)return or.filter(Qr=>Qr!==ho);let nr=(0,un.Z)(or);const Zn=new Set(wa),Xr=tr.map(cr).filter(Qr=>!jr.get(Qr).disabled),Vn=Xr.every(Qr=>Zn.has(Qr)),mr=Xr.some(Qr=>Zn.has(Qr)),Hr=()=>{const Qr=[];Vn?Xr.forEach(ya=>{Zn.delete(ya),Qr.push(ya)}):Xr.forEach(ya=>{Zn.has(ya)||(Zn.add(ya),Qr.push(ya))});const $r=Array.from(Zn);Bt==null||Bt(!Vn,$r.map(ya=>In(ya)),Qr.map(ya=>In(ya))),_r($r,"all"),Fa(null)};let Mr;if(_t!=="radio"){let Qr;if(ga){const Lr={getPopupContainer:Bn,items:ga.map((Va,Ua)=>{const{key:eo,text:lo,onSelect:so}=Va;return{key:eo!=null?eo:Ua,onClick:()=>{so==null||so(Xr)},label:lo}})};Qr=te.createElement("div",{className:`${wn}-selection-extra`},te.createElement(na.Z,{menu:Lr,getPopupContainer:Bn},te.createElement("span",null,te.createElement(Zi.Z,null))))}const $r=tr.map((Lr,Va)=>{const Ua=cr(Lr,Va),eo=jr.get(Ua)||{};return Object.assign({checked:Zn.has(Ua)},eo)}).filter(Lr=>{let{disabled:Va}=Lr;return Va}),ya=!!$r.length&&$r.length===tr.length,La=ya&&$r.every(Lr=>{let{checked:Va}=Lr;return Va}),Ia=ya&&$r.some(Lr=>{let{checked:Va}=Lr;return Va});Mr=!yn&&te.createElement("div",{className:`${wn}-selection`},te.createElement(ma.default,{checked:ya?La:!!tr.length&&Vn,indeterminate:ya?!La&&Ia:!Vn&&mr,onChange:Hr,disabled:tr.length===0||ya,"aria-label":Qr?"Custom selection":"Select all",skipGroup:!0}),Qr)}let Ha;_t==="radio"?Ha=(Qr,$r,ya)=>{const La=cr($r,ya),Ia=Zn.has(La);return{node:te.createElement(On.ZP,Object.assign({},jr.get(La),{checked:Ia,onClick:Lr=>Lr.stopPropagation(),onChange:Lr=>{Zn.has(La)||pa(La,!0,[La],Lr.nativeEvent)}})),checked:Ia}}:Ha=(Qr,$r,ya)=>{var La;const Ia=cr($r,ya),Lr=Zn.has(Ia),Va=Ea.has(Ia),Ua=jr.get(Ia);let eo;return Sr==="nest"?eo=Va:eo=(La=Ua==null?void 0:Ua.indeterminate)!==null&&La!==void 0?La:Va,{node:te.createElement(ma.default,Object.assign({},Ua,{indeterminate:eo,checked:Lr,skipGroup:!0,onClick:lo=>lo.stopPropagation(),onChange:lo=>{let{nativeEvent:so}=lo;const{shiftKey:Bo}=so;let mo=-1,ao=-1;if(Bo&&fn){const Ja=new Set([Pr,Ia]);Xr.some((_a,Da)=>{if(Ja.has(_a))if(mo===-1)mo=Da;else return ao=Da,!0;return!1})}if(ao!==-1&&mo!==ao&&fn){const Ja=Xr.slice(mo,ao+1),_a=[];Lr?Ja.forEach(ba=>{Zn.has(ba)&&(_a.push(ba),Zn.delete(ba))}):Ja.forEach(ba=>{Zn.has(ba)||(_a.push(ba),Zn.add(ba))});const Da=Array.from(Zn);Dt==null||Dt(!Lr,Da.map(ba=>In(ba)),_a.map(ba=>In(ba))),_r(Da,"multiple")}else{const Ja=ia;if(fn){const _a=Lr?(0,ci._5)(Ja,Ia):(0,ci.L0)(Ja,Ia);pa(Ia,!Lr,_a,so)}else{const _a=(0,zo.S)([].concat((0,un.Z)(Ja),[Ia]),!0,vr,Tr),{checkedKeys:Da,halfCheckedKeys:ba}=_a;let uo=Da;if(Lr){const wo=new Set(Da);wo.delete(Ia),uo=(0,zo.S)(Array.from(wo),{checked:!1,halfCheckedKeys:ba},vr,Tr).checkedKeys}pa(Ia,!Lr,uo,so)}}Fa(Lr?null:Ia)}})),checked:Lr}};const Ma=(Qr,$r,ya)=>{const{node:La,checked:Ia}=Ha(Qr,$r,ya);return cn?cn(Ia,$r,ya,La):La};if(!nr.includes(ho))if(nr.findIndex(Qr=>{var $r;return(($r=Qr[pn])===null||$r===void 0?void 0:$r.columnType)==="EXPAND_COLUMN"})===0){const[Qr,...$r]=nr;nr=[Qr,ho].concat((0,un.Z)($r))}else nr=[ho].concat((0,un.Z)(nr));const io=nr.indexOf(ho);nr=nr.filter((Qr,$r)=>Qr!==ho||$r===io);const Ba=nr[io-1],ro=nr[io+1];let ja=vn;ja===void 0&&((ro==null?void 0:ro.fixed)!==void 0?ja=ro.fixed:(Ba==null?void 0:Ba.fixed)!==void 0&&(ja=Ba.fixed)),ja&&Ba&&((ar=Ba[pn])===null||ar===void 0?void 0:ar.columnType)==="EXPAND_COLUMN"&&Ba.fixed===void 0&&(Ba.fixed=ja);const Qa=Ce()(`${wn}-selection-col`,{[`${wn}-selection-col-with-dropdown`]:Yt&&_t==="checkbox"}),Po={fixed:ja,width:qt,className:`${wn}-selection-column`,title:tt.columnTitle||Mr,render:Ma,onCell:tt.onCell,[pn]:{className:Qa}};return nr.map(Qr=>Qr===ho?Po:Qr)},[cr,tr,tt,ia,wa,Ea,qt,ga,Sr,Pr,jr,Dt,pa,Tr]),wa]},Yi=Ae(89489),Qi=Ae(59477),Ji=Ae(6848);const jo="ascend",Ko="descend";function Oo(qe){return typeof qe.sorter=="object"&&typeof qe.sorter.multiple=="number"?qe.sorter.multiple:!1}function gi(qe){return typeof qe=="function"?qe:qe&&typeof qe=="object"&&qe.compare?qe.compare:!1}function qi(qe,tt){return tt?qe[qe.indexOf(tt)+1]:qe[0]}function Zo(qe,tt,ct){let mt=[];function bt(St,jt){mt.push({column:St,key:hr(St,jt),multiplePriority:Oo(St),sortOrder:St.sortOrder})}return(qe||[]).forEach((St,jt)=>{const Ot=Gr(jt,ct);St.children?("sortOrder"in St&&bt(St,Ot),mt=[].concat((0,un.Z)(mt),(0,un.Z)(Zo(St.children,tt,Ot)))):St.sorter&&("sortOrder"in St?bt(St,Ot):tt&&St.defaultSortOrder&&mt.push({column:St,key:hr(St,Ot),multiplePriority:Oo(St),sortOrder:St.defaultSortOrder}))}),mt}function mi(qe,tt,ct,mt,bt,St,jt,Ot){return(tt||[]).map((Bt,Lt)=>{const Ut=Gr(Lt,Ot);let Dt=Bt;if(Dt.sorter){const qt=Dt.sortDirections||bt,_t=Dt.showSorterTooltip===void 0?jt:Dt.showSorterTooltip,Yt=hr(Dt,Ut),vn=ct.find(Sr=>{let{key:Fn}=Sr;return Fn===Yt}),cn=vn?vn.sortOrder:null,yn=qi(qt,cn);let fn;if(Bt.sortIcon)fn=Bt.sortIcon({sortOrder:cn});else{const Sr=qt.includes(jo)&&te.createElement(Qi.Z,{className:Ce()(`${qe}-column-sorter-up`,{active:cn===jo})}),Fn=qt.includes(Ko)&&te.createElement(Yi.Z,{className:Ce()(`${qe}-column-sorter-down`,{active:cn===Ko})});fn=te.createElement("span",{className:Ce()(`${qe}-column-sorter`,{[`${qe}-column-sorter-full`]:!!(Sr&&Fn)})},te.createElement("span",{className:`${qe}-column-sorter-inner`,"aria-hidden":"true"},Sr,Fn))}const{cancelSort:wn,triggerAsc:Xn,triggerDesc:Qn}=St||{};let In=wn;yn===Ko?In=Qn:yn===jo&&(In=Xn);const cr=typeof _t=="object"?_t:{title:In};Dt=Object.assign(Object.assign({},Dt),{className:Ce()(Dt.className,{[`${qe}-column-sort`]:cn}),title:Sr=>{const Fn=te.createElement("div",{className:`${qe}-column-sorters`},te.createElement("span",{className:`${qe}-column-title`},ua(Bt.title,Sr)),fn);return _t?te.createElement(Ji.Z,Object.assign({},cr),Fn):Fn},onHeaderCell:Sr=>{const Fn=Bt.onHeaderCell&&Bt.onHeaderCell(Sr)||{},Gn=Fn.onClick,Bn=Fn.onKeyDown;Fn.onClick=ur=>{mt({column:Bt,key:Yt,sortOrder:yn,multiplePriority:Oo(Bt)}),Gn==null||Gn(ur)},Fn.onKeyDown=ur=>{ur.keyCode===Co.Z.ENTER&&(mt({column:Bt,key:Yt,sortOrder:yn,multiplePriority:Oo(Bt)}),Bn==null||Bn(ur))};const Pn=fa(Bt.title,{}),Ln=Pn==null?void 0:Pn.toString();return cn?Fn["aria-sort"]=cn==="ascend"?"ascending":"descending":Fn["aria-label"]=Ln||"",Fn.className=Ce()(Fn.className,`${qe}-column-has-sorters`),Fn.tabIndex=0,Bt.ellipsis&&(Fn.title=(Pn!=null?Pn:"").toString()),Fn}})}return"children"in Dt&&(Dt=Object.assign(Object.assign({},Dt),{children:mi(qe,Dt.children,ct,mt,bt,St,jt,Ut)})),Dt})}function pi(qe){const{column:tt,sortOrder:ct}=qe;return{column:tt,order:ct,field:tt.dataIndex,columnKey:tt.key}}function hi(qe){const tt=qe.filter(ct=>{let{sortOrder:mt}=ct;return mt}).map(pi);return tt.length===0&&qe.length?Object.assign(Object.assign({},pi(qe[qe.length-1])),{column:void 0}):tt.length<=1?tt[0]||{}:tt}function Vo(qe,tt,ct){const mt=tt.slice().sort((jt,Ot)=>Ot.multiplePriority-jt.multiplePriority),bt=qe.slice(),St=mt.filter(jt=>{let{column:{sorter:Ot},sortOrder:Bt}=jt;return gi(Ot)&&Bt});return St.length?bt.sort((jt,Ot)=>{for(let Bt=0;Bt{const Ot=jt[ct];return Ot?Object.assign(Object.assign({},jt),{[ct]:Vo(Ot,tt,ct)}):jt}):bt}function $i(qe){let{prefixCls:tt,mergedColumns:ct,onSorterChange:mt,sortDirections:bt,tableLocale:St,showSorterTooltip:jt}=qe;const[Ot,Bt]=te.useState(Zo(ct,!0)),Lt=te.useMemo(()=>{let Yt=!0;const vn=Zo(ct,!1);if(!vn.length)return Ot;const cn=[];function yn(wn){Yt?cn.push(wn):cn.push(Object.assign(Object.assign({},wn),{sortOrder:null}))}let fn=null;return vn.forEach(wn=>{fn===null?(yn(wn),wn.sortOrder&&(wn.multiplePriority===!1?Yt=!1:fn=!0)):(fn&&wn.multiplePriority!==!1||(Yt=!1),yn(wn))}),cn},[ct,Ot]),Ut=te.useMemo(()=>{const Yt=Lt.map(vn=>{let{column:cn,sortOrder:yn}=vn;return{column:cn,order:yn}});return{sortColumns:Yt,sortColumn:Yt[0]&&Yt[0].column,sortOrder:Yt[0]&&Yt[0].order}},[Lt]);function Dt(Yt){let vn;Yt.multiplePriority===!1||!Lt.length||Lt[0].multiplePriority===!1?vn=[Yt]:vn=[].concat((0,un.Z)(Lt.filter(cn=>{let{key:yn}=cn;return yn!==Yt.key})),[Yt]),Bt(vn),mt(hi(vn),vn)}return[Yt=>mi(tt,Yt,Lt,Dt,bt,St,jt),Lt,Ut,()=>hi(Lt)]}function vi(qe,tt){return qe.map(ct=>{const mt=Object.assign({},ct);return mt.title=ua(ct.title,tt),"children"in mt&&(mt.children=vi(mt.children,tt)),mt})}function es(qe){return[te.useCallback(ct=>vi(ct,qe),[qe])]}var ts=wr((qe,tt)=>{const{_renderTimes:ct}=qe,{_renderTimes:mt}=tt;return ct!==mt}),ns=dn((qe,tt)=>{const{_renderTimes:ct}=qe,{_renderTimes:mt}=tt;return ct!==mt}),Fo=Ae(64993),To=Ae(17313),rs=Ae(83116),as=Ae(37613),os=qe=>{const{componentCls:tt}=qe,ct=`${qe.lineWidth}px ${qe.lineType} ${qe.tableBorderColor}`,mt=(bt,St,jt)=>({[`&${tt}-${bt}`]:{[`> ${tt}-container`]:{[`> ${tt}-content, > ${tt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${tt}-expanded-row-fixed`]:{margin:`-${St}px -${jt+qe.lineWidth}px`}}}}}});return{[`${tt}-wrapper`]:{[`${tt}${tt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${tt}-title`]:{border:ct,borderBottom:0},[`> ${tt}-container`]:{borderInlineStart:ct,borderTop:ct,[` + ${Ke}, + ${nt} + `]:Object.assign({},ne(De))}}};var ve=(0,de.Z)("Skeleton",De=>{const{componentCls:je}=De,Ee=(0,ue.TS)(De,{skeletonAvatarCls:`${je}-avatar`,skeletonTitleCls:`${je}-title`,skeletonParagraphCls:`${je}-paragraph`,skeletonButtonCls:`${je}-button`,skeletonInputCls:`${je}-input`,skeletonImageCls:`${je}-image`,imageSizeBase:De.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${De.gradientFromColor} 25%, ${De.gradientToColor} 37%, ${De.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[he(Ee)]},De=>{const{colorFillContent:je,colorFill:Ee}=De,xe=je,we=Ee;return{color:xe,colorGradientEnd:we,gradientFromColor:xe,gradientToColor:we,titleHeight:De.controlHeight/2,blockRadius:De.borderRadiusSM,paragraphMarginTop:De.marginLG+De.marginXXS,paragraphLiHeight:De.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),me=De=>{const{prefixCls:je,className:Ee,rootClassName:xe,active:we,shape:Be="circle",size:Ke="default"}=De,{getPrefixCls:nt}=E.useContext(Se.E_),ke=nt("skeleton",je),[$e,gt]=ve(ke),ct=(0,ye.Z)(De,["prefixCls","className"]),vt=it()(ke,`${ke}-element`,{[`${ke}-active`]:we},Ee,xe,gt);return $e(E.createElement("div",{className:vt},E.createElement(te,Object.assign({prefixCls:`${ke}-avatar`,shape:Be,size:Ke},ct))))},be=De=>{const{prefixCls:je,className:Ee,rootClassName:xe,active:we,block:Be=!1,size:Ke="default"}=De,{getPrefixCls:nt}=E.useContext(Se.E_),ke=nt("skeleton",je),[$e,gt]=ve(ke),ct=(0,ye.Z)(De,["prefixCls"]),vt=it()(ke,`${ke}-element`,{[`${ke}-active`]:we,[`${ke}-block`]:Be},Ee,xe,gt);return $e(E.createElement("div",{className:vt},E.createElement(te,Object.assign({prefixCls:`${ke}-button`,size:Ke},ct))))};const Pe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ce=De=>{const{prefixCls:je,className:Ee,rootClassName:xe,style:we,active:Be}=De,{getPrefixCls:Ke}=E.useContext(Se.E_),nt=Ke("skeleton",je),[ke,$e]=ve(nt),gt=it()(nt,`${nt}-element`,{[`${nt}-active`]:Be},Ee,xe,$e);return ke(E.createElement("div",{className:gt},E.createElement("div",{className:it()(`${nt}-image`,Ee),style:we},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},E.createElement("path",{d:Pe,className:`${nt}-image-path`})))))},Ie=De=>{const{prefixCls:je,className:Ee,rootClassName:xe,active:we,block:Be,size:Ke="default"}=De,{getPrefixCls:nt}=E.useContext(Se.E_),ke=nt("skeleton",je),[$e,gt]=ve(ke),ct=(0,ye.Z)(De,["prefixCls"]),vt=it()(ke,`${ke}-element`,{[`${ke}-active`]:we,[`${ke}-block`]:Be},Ee,xe,gt);return $e(E.createElement("div",{className:vt},E.createElement(te,Object.assign({prefixCls:`${ke}-input`,size:Ke},ct))))},Me=Ae(54476),Ue={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Qe=Ue,Ge=Ae(7657),ot=function(je,Ee){return E.createElement(Ge.Z,(0,Me.Z)({},je,{ref:Ee,icon:Qe}))},Ve=E.forwardRef(ot),Xe=Ve,ze=De=>{const{prefixCls:je,className:Ee,rootClassName:xe,style:we,active:Be,children:Ke}=De,{getPrefixCls:nt}=E.useContext(Se.E_),ke=nt("skeleton",je),[$e,gt]=ve(ke),ct=it()(ke,`${ke}-element`,{[`${ke}-active`]:Be},gt,Ee,xe),vt=Ke!=null?Ke:E.createElement(Xe,null);return $e(E.createElement("div",{className:ct},E.createElement("div",{className:it()(`${ke}-image`,Ee),style:we},vt)))},Re=Ae(94480),rt=De=>{const je=nt=>{const{width:ke,rows:$e=2}=De;if(Array.isArray(ke))return ke[nt];if($e-1===nt)return ke},{prefixCls:Ee,className:xe,style:we,rows:Be}=De,Ke=(0,Re.Z)(Array(Be)).map((nt,ke)=>E.createElement("li",{key:ke,style:{width:je(ke)}}));return E.createElement("ul",{className:it()(Ee,xe),style:we},Ke)},ut=De=>{let{prefixCls:je,className:Ee,width:xe,style:we}=De;return E.createElement("h3",{className:it()(je,Ee),style:Object.assign({width:xe},we)})};function _e(De){return De&&typeof De=="object"?De:{}}function We(De,je){return De&&!je?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Oe(De,je){return!De&&je?{width:"38%"}:De&&je?{width:"50%"}:{}}function Ye(De,je){const Ee={};return(!De||!je)&&(Ee.width="61%"),!De&&je?Ee.rows=3:Ee.rows=2,Ee}const Fe=De=>{const{prefixCls:je,loading:Ee,className:xe,rootClassName:we,style:Be,children:Ke,avatar:nt=!1,title:ke=!0,paragraph:$e=!0,active:gt,round:ct}=De,{getPrefixCls:vt,direction:st,skeleton:ht}=E.useContext(Se.E_),at=vt("skeleton",je),[lt,ft]=ve(at);if(Ee||!("loading"in De)){const mt=!!nt,Pt=!!ke,Et=!!$e;let Lt;if(mt){const gn=Object.assign(Object.assign({prefixCls:`${at}-avatar`},We(Pt,Et)),_e(nt));Lt=E.createElement("div",{className:`${at}-header`},E.createElement(te,Object.assign({},gn)))}let zt;if(Pt||Et){let gn;if(Pt){const on=Object.assign(Object.assign({prefixCls:`${at}-title`},Oe(mt,Et)),_e(ke));gn=E.createElement(ut,Object.assign({},on))}let dn;if(Et){const on=Object.assign(Object.assign({prefixCls:`${at}-paragraph`},Ye(mt,Pt)),_e($e));dn=E.createElement(rt,Object.assign({},on))}zt=E.createElement("div",{className:`${at}-content`},gn,dn)}const tn=it()(at,{[`${at}-with-avatar`]:mt,[`${at}-active`]:gt,[`${at}-rtl`]:st==="rtl",[`${at}-round`]:ct},ht==null?void 0:ht.className,xe,we,ft);return lt(E.createElement("div",{className:tn,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),Be)},Lt,zt))}return typeof Ke!="undefined"?Ke:null};Fe.Button=be,Fe.Avatar=me,Fe.Input=Ie,Fe.Image=Ce,Fe.Node=ze;var Ne=Fe,et=Ne},31797:function(xt,At,Ae){"use strict";Ae.d(At,{default:function(){return ve}});var pe=Ae(59301),it=Ae(56762),E=Ae(92343),Se=Ae(92310),ye=Ae.n(Se),oe=Ae(36355),te=Ae(61621),de=fe=>{const{value:me,formatter:ge,precision:be,decimalSeparator:Pe,groupSeparator:Te="",prefixCls:Ce}=fe;let Le;if(typeof ge=="function")Le=ge(me);else{const Ie=String(me),Me=Ie.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Me||Ie==="-")Le=Ie;else{const Ue=Me[1];let Qe=Me[2]||"0",Ge=Me[4]||"";Qe=Qe.replace(/\B(?=(\d{3})+(?!\d))/g,Te),typeof be=="number"&&(Ge=Ge.padEnd(be,"0").slice(0,be>0?be:0)),Ge&&(Ge=`${Pe}${Ge}`),Le=[pe.createElement("span",{key:"int",className:`${Ce}-content-value-int`},Ue,Qe),Ge&&pe.createElement("span",{key:"decimal",className:`${Ce}-content-value-decimal`},Ge)]}}return pe.createElement("span",{className:`${Ce}-content-value`},Le)},ue=Ae(17313),ce=Ae(83116),ae=Ae(37613);const ie=fe=>{const{componentCls:me,marginXXS:ge,padding:be,colorTextDescription:Pe,titleFontSize:Te,colorTextHeading:Ce,contentFontSize:Le,fontFamily:Ie}=fe;return{[`${me}`]:Object.assign(Object.assign({},(0,ue.Wf)(fe)),{[`${me}-title`]:{marginBottom:ge,color:Pe,fontSize:Te},[`${me}-skeleton`]:{paddingTop:be},[`${me}-content`]:{color:Ce,fontSize:Le,fontFamily:Ie,[`${me}-content-value`]:{display:"inline-block",direction:"ltr"},[`${me}-content-prefix, ${me}-content-suffix`]:{display:"inline-block"},[`${me}-content-prefix`]:{marginInlineEnd:ge},[`${me}-content-suffix`]:{marginInlineStart:ge}}})}};var ne=(0,ce.Z)("Statistic",fe=>{const me=(0,ae.TS)(fe,{});return[ie(me)]},fe=>{const{fontSizeHeading3:me,fontSize:ge}=fe;return{titleFontSize:ge,contentFontSize:me}}),y=fe=>{const{prefixCls:me,className:ge,rootClassName:be,style:Pe,valueStyle:Te,value:Ce=0,title:Le,valueRender:Ie,prefix:Me,suffix:Ue,loading:Qe=!1,onMouseEnter:Ge,onMouseLeave:ot,decimalSeparator:Ve=".",groupSeparator:Xe=","}=fe,{getPrefixCls:Ze,direction:ze,statistic:Re}=pe.useContext(oe.E_),He=Ze("statistic",me),[rt,qe]=ne(He),ut=pe.createElement(de,Object.assign({decimalSeparator:Ve,groupSeparator:Xe,prefixCls:He},fe,{value:Ce})),_e=ye()(He,{[`${He}-rtl`]:ze==="rtl"},Re==null?void 0:Re.className,ge,be,qe);return rt(pe.createElement("div",{className:_e,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Pe),onMouseEnter:Ge,onMouseLeave:ot},Le&&pe.createElement("div",{className:`${He}-title`},Le),pe.createElement(te.Z,{paragraph:!1,loading:Qe,className:`${He}-skeleton`},pe.createElement("div",{style:Te,className:`${He}-content`},Me&&pe.createElement("span",{className:`${He}-content-prefix`},Me),Ie?Ie(ut):ut,Ue&&pe.createElement("span",{className:`${He}-content-suffix`},Ue)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(fe,me){let ge=fe;const be=/\[[^\]]*]/g,Pe=(me.match(be)||[]).map(Ie=>Ie.slice(1,-1)),Te=me.replace(be,"[]"),Ce=x.reduce((Ie,Me)=>{let[Ue,Qe]=Me;if(Ie.includes(Ue)){const Ge=Math.floor(ge/Qe);return ge-=Ge*Qe,Ie.replace(new RegExp(`${Ue}+`,"g"),ot=>{const Ve=ot.length;return Ge.toString().padStart(Ve,"0")})}return Ie},Te);let Le=0;return Ce.replace(be,()=>{const Ie=Pe[Le];return Le+=1,Ie})}function z(fe,me){const{format:ge=""}=me,be=new Date(fe).getTime(),Pe=Date.now(),Te=Math.max(be-Pe,0);return b(Te,ge)}const ee=1e3/30;function re(fe){return new Date(fe).getTime()}const le=fe=>{const{value:me,format:ge="HH:mm:ss",onChange:be,onFinish:Pe}=fe,Te=(0,it.Z)(),Ce=pe.useRef(null),Le=()=>{Pe==null||Pe(),Ce.current&&(clearInterval(Ce.current),Ce.current=null)},Ie=()=>{const Qe=re(me);Qe>=Date.now()&&(Ce.current=setInterval(()=>{Te(),be==null||be(Qe-Date.now()),Qe(Ie(),()=>{Ce.current&&(clearInterval(Ce.current),Ce.current=null)}),[me]);const Me=(Qe,Ge)=>z(Qe,Object.assign(Object.assign({},Ge),{format:ge})),Ue=Qe=>(0,E.Tm)(Qe,{title:void 0});return pe.createElement(y,Object.assign({},fe,{valueRender:Ue,formatter:Me}))};var he=pe.memo(le);y.Countdown=he;var ve=y},15969:function(xt,At,Ae){"use strict";Ae.d(At,{N:function(){return pe}});const pe=it=>({color:it.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${it.motionDurationSlow}`,"&:focus, &:hover":{color:it.colorLinkHover},"&:active":{color:it.colorLinkActive}})},1710:function(xt,At,Ae){"use strict";Ae.d(At,{default:function(){return Fs}});var pe={},it="rc-table-internal-hook",E=Ae(42978),Se=Ae(6089),ye=Ae(34280),oe=Ae(13697),te=Ae(59301),se=Ae(4676);function de(Je){var tt=te.createContext(void 0),dt=function(bt){var St=bt.value,jt=bt.children,Ot=te.useRef(St);Ot.current=St;var Bt=te.useState(function(){return{getValue:function(){return Ot.current},listeners:new Set}}),It=(0,E.Z)(Bt,1),Ut=It[0];return(0,ye.Z)(function(){(0,se.unstable_batchedUpdates)(function(){Ut.listeners.forEach(function(Nt){Nt(St)})})},[St]),te.createElement(tt.Provider,{value:Ut},jt)};return{Context:tt,Provider:dt,defaultValue:Je}}function ue(Je,tt){var dt=(0,Se.Z)(typeof tt=="function"?tt:function(Nt){if(tt===void 0)return Nt;if(!Array.isArray(tt))return Nt[tt];var Qt={};return tt.forEach(function(Xt){Qt[Xt]=Nt[Xt]}),Qt}),pt=te.useContext(Je==null?void 0:Je.Context),bt=pt||{},St=bt.listeners,jt=bt.getValue,Ot=te.useRef();Ot.current=dt(pt?jt():Je==null?void 0:Je.defaultValue);var Bt=te.useState({}),It=(0,E.Z)(Bt,2),Ut=It[1];return(0,ye.Z)(function(){if(!pt)return;function Nt(Qt){var Xt=dt(Qt);(0,oe.Z)(Ot.current,Xt,!0)||Ut({})}return St.add(Nt),function(){St.delete(Nt)}},[pt]),Ot.current}var ce=Ae(54476),ae=Ae(8654);function ie(){var Je=te.createContext(null);function tt(){return te.useContext(Je)}function dt(bt,St){var jt=(0,ae.Yr)(bt),Ot=function(It,Ut){var Nt=jt?{ref:Ut}:{},Qt=te.useRef(0),Xt=te.useRef(It),Yt=tt();return Yt!==null?te.createElement(bt,(0,ce.Z)({},It,Nt)):((!St||St(Xt.current,It))&&(Qt.current+=1),Xt.current=It,te.createElement(Je.Provider,{value:Qt.current},te.createElement(bt,(0,ce.Z)({},It,Nt))))};return jt?te.forwardRef(Ot):Ot}function pt(bt,St){var jt=(0,ae.Yr)(bt),Ot=function(It,Ut){var Nt=jt?{ref:Ut}:{};return tt(),te.createElement(bt,(0,ce.Z)({},It,Nt))};return jt?te.memo(te.forwardRef(Ot),St):te.memo(Ot,St)}return{makeImmutable:dt,responseImmutable:pt,useImmutableMark:tt}}var ne=ie(),a=ne.makeImmutable,y=ne.responseImmutable,x=ne.useImmutableMark,b=ie(),z=b.makeImmutable,ee=b.responseImmutable,re=b.useImmutableMark,le=de(),he=le;function ve(Je,tt){var dt=te.useRef(0);dt.current+=1;var pt=te.useRef(Je),bt=[];Object.keys(Je||{}).map(function(jt){var Ot;(Je==null?void 0:Je[jt])!==((Ot=pt.current)===null||Ot===void 0?void 0:Ot[jt])&&bt.push(jt)}),pt.current=Je;var St=te.useRef([]);return bt.length&&(St.current=bt),te.useDebugValue(dt.current),te.useDebugValue(St.current.join(", ")),tt&&console.log("".concat(tt,":"),dt.current,St.current),dt.current}var fe=null,me=te.memo(function(){var Je=ve();return te.createElement("h1",null,"Render Times: ",Je)});me.displayName="RenderBlock";var ge=Ae(76190),be=Ae(33885),Pe=Ae(20068),Te=Ae(92310),Ce=Ae.n(Te),Le=Ae(80547),Ie=Ae(97938),Me=Ae(48736),Ue=te.createContext({renderWithProps:!1}),Qe=Ue,Ge="RC_TABLE_KEY";function ot(Je){return Je==null?[]:Array.isArray(Je)?Je:[Je]}function Ve(Je){var tt=[],dt={};return Je.forEach(function(pt){for(var bt=pt||{},St=bt.key,jt=bt.dataIndex,Ot=St||ot(jt).join("-")||Ge;dt[Ot];)Ot="".concat(Ot,"_next");dt[Ot]=!0,tt.push(Ot)}),tt}function Xe(Je){return Je!=null}function Ze(Je){return Je&&(0,ge.Z)(Je)==="object"&&!Array.isArray(Je)&&!te.isValidElement(Je)}function ze(Je,tt,dt,pt,bt,St){var jt=te.useContext(Qe),Ot=re(),Bt=(0,Le.Z)(function(){if(Xe(pt))return[pt];var It=tt==null||tt===""?[]:Array.isArray(tt)?tt:[tt],Ut=(0,Ie.Z)(Je,It),Nt=Ut,Qt=void 0;if(bt){var Xt=bt(Ut,Je,dt);Ze(Xt)?(Nt=Xt.children,Qt=Xt.props,jt.renderWithProps=!0):Nt=Xt}return[Nt,Qt]},[Ot,Je,pt,tt,bt,dt],function(It,Ut){if(St){var Nt=(0,E.Z)(It,2),Qt=Nt[1],Xt=(0,E.Z)(Ut,2),Yt=Xt[1];return St(Yt,Qt)}return jt.renderWithProps?!0:!(0,oe.Z)(It,Ut,!0)});return Bt}function Re(Je,tt,dt,pt){var bt=Je+tt-1;return Je<=pt&&bt>=dt}function He(Je,tt){return ue(he,function(dt){var pt=Re(Je,tt||1,dt.hoverStartRow,dt.hoverEndRow);return[pt,dt.onHover]})}var rt=function(tt){var dt=tt.ellipsis,pt=tt.rowType,bt=tt.children,St,jt=dt===!0?{showTitle:!0}:dt;return jt&&(jt.showTitle||pt==="header")&&(typeof bt=="string"||typeof bt=="number"?St=bt.toString():te.isValidElement(bt)&&typeof bt.props.children=="string"&&(St=bt.props.children)),St};function qe(Je){var tt,dt,pt,bt,St,jt,Ot,Bt,It=Je.component,Ut=Je.children,Nt=Je.ellipsis,Qt=Je.scope,Xt=Je.prefixCls,Yt=Je.className,vn=Je.align,un=Je.record,yn=Je.render,cn=Je.dataIndex,wn=Je.renderIndex,Vn=Je.shouldCellUpdate,Yn=Je.index,Gn=Je.rowType,ur=Je.colSpan,wr=Je.rowSpan,jn=Je.fixLeft,zn=Je.fixRight,On=Je.firstFixLeft,Sn=Je.lastFixLeft,Dn=Je.firstFixRight,lr=Je.lastFixRight,Fr=Je.appendNode,Sr=Je.additionalProps,tr=Sr===void 0?{}:Sr,jr=Je.isSticky,Tr="".concat(Xt,"-cell"),ca=ue(he,["supportSticky","allColumnsFixedLeft"]),Kr=ca.supportSticky,xa=ca.allColumnsFixedLeft,Ca=ze(un,cn,wn,Ut,yn,Vn),Er=(0,E.Z)(Ca,2),Ta=Er[0],Vr=Er[1],ya={},ha=typeof jn=="number"&&Kr,Ya=typeof zn=="number"&&Kr;ha&&(ya.position="sticky",ya.left=jn),Ya&&(ya.position="sticky",ya.right=zn);var sr=(tt=(dt=(pt=Vr==null?void 0:Vr.colSpan)!==null&&pt!==void 0?pt:tr.colSpan)!==null&&dt!==void 0?dt:ur)!==null&&tt!==void 0?tt:1,ar=(bt=(St=(jt=Vr==null?void 0:Vr.rowSpan)!==null&&jt!==void 0?jt:tr.rowSpan)!==null&&St!==void 0?St:wr)!==null&&bt!==void 0?bt:1,nr=He(Yn,ar),Kn=(0,E.Z)(nr,2),_r=Kn[0],Zn=Kn[1],br=function(Ia){var Qa;un&&Zn(Yn,Yn+ar-1),tr==null||(Qa=tr.onMouseEnter)===null||Qa===void 0||Qa.call(tr,Ia)},Hr=function(Ia){var Qa;un&&Zn(-1,-1),tr==null||(Qa=tr.onMouseLeave)===null||Qa===void 0||Qa.call(tr,Ia)};if(sr===0||ar===0)return null;var Rr=(Ot=tr.title)!==null&&Ot!==void 0?Ot:rt({rowType:Gn,ellipsis:Nt,children:Ta}),Ua=Ce()(Tr,Yt,(Bt={},(0,Pe.Z)(Bt,"".concat(Tr,"-fix-left"),ha&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-fix-left-first"),On&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-fix-left-last"),Sn&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-fix-left-all"),Sn&&xa&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-fix-right"),Ya&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-fix-right-first"),Dn&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-fix-right-last"),lr&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-ellipsis"),Nt),(0,Pe.Z)(Bt,"".concat(Tr,"-with-append"),Fr),(0,Pe.Z)(Bt,"".concat(Tr,"-fix-sticky"),(ha||Ya)&&jr&&Kr),(0,Pe.Z)(Bt,"".concat(Tr,"-row-hover"),!Vr&&_r),Bt),tr.className,Vr==null?void 0:Vr.className),Ga={};vn&&(Ga.textAlign=vn);var lo=(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({},ya),tr.style),Ga),Vr==null?void 0:Vr.style),La=Ta;return(0,ge.Z)(La)==="object"&&!Array.isArray(La)&&!te.isValidElement(La)&&(La=null),Nt&&(Sn||Dn)&&(La=te.createElement("span",{className:"".concat(Tr,"-content")},La)),te.createElement(It,(0,ce.Z)({},Vr,tr,{className:Ua,style:lo,title:Rr,scope:Qt,onMouseEnter:br,onMouseLeave:Hr,colSpan:sr!==1?sr:null,rowSpan:ar!==1?ar:null}),Fr,La)}var ut=te.memo(qe);function _e(Je,tt,dt,pt,bt,St){var jt=dt[Je]||{},Ot=dt[tt]||{},Bt,It;jt.fixed==="left"?Bt=pt.left[bt==="rtl"?tt:Je]:Ot.fixed==="right"&&(It=pt.right[bt==="rtl"?Je:tt]);var Ut=!1,Nt=!1,Qt=!1,Xt=!1,Yt=dt[tt+1],vn=dt[Je-1],un=!(St!=null&&St.children);if(bt==="rtl"){if(Bt!==void 0){var yn=vn&&vn.fixed==="left";Xt=!yn&&un}else if(It!==void 0){var cn=Yt&&Yt.fixed==="right";Qt=!cn&&un}}else if(Bt!==void 0){var wn=Yt&&Yt.fixed==="left";Ut=!wn&&un}else if(It!==void 0){var Vn=vn&&vn.fixed==="right";Nt=!Vn&&un}return{fixLeft:Bt,fixRight:It,lastFixLeft:Ut,firstFixRight:Nt,lastFixRight:Qt,firstFixLeft:Xt,isSticky:pt.isSticky}}var We=te.createContext({}),Oe=We;function Ye(Je){var tt=Je.className,dt=Je.index,pt=Je.children,bt=Je.colSpan,St=bt===void 0?1:bt,jt=Je.rowSpan,Ot=Je.align,Bt=ue(he,["prefixCls","direction"]),It=Bt.prefixCls,Ut=Bt.direction,Nt=te.useContext(Oe),Qt=Nt.scrollColumnIndex,Xt=Nt.stickyOffsets,Yt=Nt.flattenColumns,vn=Nt.columns,un=dt+St-1,yn=un+1===Qt?St+1:St,cn=_e(dt,dt+yn-1,Yt,Xt,Ut,vn==null?void 0:vn[dt]);return te.createElement(ut,(0,ce.Z)({className:tt,index:dt,component:"td",prefixCls:It,record:null,dataIndex:null,align:Ot,colSpan:yn,rowSpan:jt,render:function(){return pt}},cn))}var Fe=Ae(75931),Ne=["children"];function et(Je){var tt=Je.children,dt=(0,Fe.Z)(Je,Ne);return te.createElement("tr",dt,tt)}function De(Je){var tt=Je.children;return tt}De.Row=et,De.Cell=Ye;var je=De;function Ee(Je){var tt=Je.children,dt=Je.stickyOffsets,pt=Je.flattenColumns,bt=Je.columns,St=ue(he,"prefixCls"),jt=pt.length-1,Ot=pt[jt],Bt=te.useMemo(function(){return{stickyOffsets:dt,flattenColumns:pt,scrollColumnIndex:Ot!=null&&Ot.scrollbar?jt:null,columns:bt}},[Ot,pt,jt,dt,bt]);return te.createElement(Oe.Provider,{value:Bt},te.createElement("tfoot",{className:"".concat(St,"-summary")},tt))}var xe=ee(Ee),we=je,Be=Ae(70425),Ke=Ae(29301),nt=Ae(29194),ke=Ae(24514),$e=Ae(75152),gt=Ae(26112);function ct(Je,tt,dt,pt,bt,St,jt){Je.push({record:tt,indent:dt,index:jt});var Ot=St(tt),Bt=bt==null?void 0:bt.has(Ot);if(tt&&Array.isArray(tt[pt])&&Bt)for(var It=0;It1?On-1:0),Dn=1;Dn=0;Ot-=1){var Bt=tt[Ot],It=dt&&dt[Ot],Ut=It&&It[gn];if(Bt||Ut||jt){var Nt=Ut||{},Qt=Nt.columnType,Xt=(0,Fe.Z)(Nt,on);bt.unshift(te.createElement("col",(0,ce.Z)({key:Ot,style:{width:Bt}},Xt))),jt=!0}}return te.createElement("colgroup",null,bt)}var Rn=En,sn=Ae(94480),$n=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _n(Je,tt){return(0,te.useMemo)(function(){for(var dt=[],pt=0;pt1?"colgroup":"col":null,ellipsis:un.ellipsis,align:un.align,component:un.title?St:jt,prefixCls:Ut,key:Xt[vn]},yn,{additionalProps:cn,rowType:"header"}))}))}dr.displayName="HeaderRow";var ir=dr;function Cn(Je){var tt=[];function dt(jt,Ot){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;tt[Bt]=tt[Bt]||[];var It=Ot,Ut=jt.filter(Boolean).map(function(Nt){var Qt={key:Nt.key,className:Nt.className||"",children:Nt.title,column:Nt,colStart:It},Xt=1,Yt=Nt.children;return Yt&&Yt.length>0&&(Xt=dt(Yt,It,Bt+1).reduce(function(vn,un){return vn+un},0),Qt.hasSubColumns=!0),"colSpan"in Nt&&(Xt=Nt.colSpan),"rowSpan"in Nt&&(Qt.rowSpan=Nt.rowSpan),Qt.colSpan=Xt,Qt.colEnd=Qt.colStart+Xt-1,tt[Bt].push(Qt),It+=Xt,Xt});return Ut}dt(Je,0);for(var pt=tt.length,bt=function(Ot){tt[Ot].forEach(function(Bt){!("rowSpan"in Bt)&&!Bt.hasSubColumns&&(Bt.rowSpan=pt-Ot)})},St=0;St1&&arguments[1]!==void 0?arguments[1]:"";return typeof tt=="number"?tt:tt.endsWith("%")?Je*parseFloat(tt)/100:null}function ia(Je,tt){return te.useMemo(function(){if(tt&&tt>0){var dt=0,pt=0;Je.forEach(function(It){var Ut=Or(tt,It.width);Ut?dt+=Ut:pt+=1});var bt=tt-dt,St=pt,jt=bt/pt,Ot=0,Bt=Je.map(function(It){var Ut=(0,be.Z)({},It),Nt=Or(tt,Ut.width);if(Nt)Ut.width=Nt;else{var Qt=Math.floor(jt);Ut.width=St===1?bt:Qt,bt-=Qt,St-=1}return Ot+=Ut.width,Ut});return[Bt,Ot]}return[Je,tt]},[Je,tt])}var Tt=["children"],Ft=["fixed"];function Ct(Je){return(0,fn.Z)(Je).filter(function(tt){return te.isValidElement(tt)}).map(function(tt){var dt=tt.key,pt=tt.props,bt=pt.children,St=(0,Fe.Z)(pt,Tt),jt=(0,be.Z)({key:dt},St);return bt&&(jt.children=Ct(bt)),jt})}function nn(Je){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Je.filter(function(dt){return dt&&(0,ge.Z)(dt)==="object"}).reduce(function(dt,pt,bt){var St=pt.fixed,jt=St===!0?"left":St,Ot="".concat(tt,"-").concat(bt),Bt=pt.children;return Bt&&Bt.length>0?[].concat((0,sn.Z)(dt),(0,sn.Z)(nn(Bt,Ot).map(function(It){return(0,be.Z)({fixed:jt},It)}))):[].concat((0,sn.Z)(dt),[(0,be.Z)((0,be.Z)({key:Ot},pt),{},{fixed:jt})])},[])}function xn(Je){for(var tt=!0,dt=0;dt=0;St-=1){var jt=Je[St];if(bt&&jt.fixed!=="right")bt=!1;else if(!bt&&jt.fixed==="right"){warning(!1,"Index ".concat(St+1," of `columns` missing `fixed='right'` prop."));break}}}function Kt(Je){return Je.map(function(tt){var dt=tt.fixed,pt=(0,Fe.Z)(tt,Ft),bt=dt;return dt==="left"?bt="right":dt==="right"&&(bt="left"),(0,be.Z)({fixed:bt},pt)})}function Hn(Je,tt){var dt=Je.prefixCls,pt=Je.columns,bt=Je.children,St=Je.expandable,jt=Je.expandedKeys,Ot=Je.columnTitle,Bt=Je.getRowKey,It=Je.onTriggerExpand,Ut=Je.expandIcon,Nt=Je.rowExpandable,Qt=Je.expandIconColumnIndex,Xt=Je.direction,Yt=Je.expandRowByClick,vn=Je.columnWidth,un=Je.fixed,yn=Je.scrollWidth,cn=te.useMemo(function(){return pt||Ct(bt)},[pt,bt]),wn=te.useMemo(function(){if(St){var zn,On=cn.slice();if(!On.includes(pe)){var Sn=Qt||0;Sn>=0&&On.splice(Sn,0,pe)}var Dn=On.indexOf(pe);On=On.filter(function(tr,jr){return tr!==pe||jr===Dn});var lr=cn[Dn],Fr;(un==="left"||un)&&!Qt?Fr="left":(un==="right"||un)&&Qt===cn.length?Fr="right":Fr=lr?lr.fixed:null;var Sr=(zn={},(0,Pe.Z)(zn,gn,{className:"".concat(dt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Pe.Z)(zn,"title",Ot),(0,Pe.Z)(zn,"fixed",Fr),(0,Pe.Z)(zn,"className","".concat(dt,"-row-expand-icon-cell")),(0,Pe.Z)(zn,"width",vn),(0,Pe.Z)(zn,"render",function(jr,Tr,ca){var Kr=Bt(Tr,ca),xa=jt.has(Kr),Ca=Nt?Nt(Tr):!0,Er=Ut({prefixCls:dt,expanded:xa,expandable:Ca,record:Tr,onExpand:It});return Yt?te.createElement("span",{onClick:function(Vr){return Vr.stopPropagation()}},Er):Er}),zn);return On.map(function(tr){return tr===pe?Sr:tr})}return cn.filter(function(tr){return tr!==pe})},[St,cn,Bt,jt,Ut,Xt]),Vn=te.useMemo(function(){var zn=wn;return tt&&(zn=tt(zn)),zn.length||(zn=[{render:function(){return null}}]),zn},[tt,wn,Xt]),Yn=te.useMemo(function(){return Xt==="rtl"?Kt(nn(Vn)):nn(Vn)},[Vn,Xt,yn]),Gn=ia(Yn,yn),ur=(0,E.Z)(Gn,2),wr=ur[0],jn=ur[1];return[Vn,wr,jn]}var bn=Hn;function Ln(Je){var tt,dt=Je.prefixCls,pt=Je.record,bt=Je.onExpand,St=Je.expanded,jt=Je.expandable,Ot="".concat(dt,"-row-expand-icon");if(!jt)return te.createElement("span",{className:Ce()(Ot,"".concat(dt,"-row-spaced"))});var Bt=function(Ut){bt(pt,Ut),Ut.stopPropagation()};return te.createElement("span",{className:Ce()(Ot,(tt={},(0,Pe.Z)(tt,"".concat(dt,"-row-expanded"),St),(0,Pe.Z)(tt,"".concat(dt,"-row-collapsed"),!St),tt)),onClick:Bt})}function gr(Je,tt,dt){var pt=[];function bt(St){(St||[]).forEach(function(jt,Ot){pt.push(tt(jt,Ot)),bt(jt[dt])})}return bt(Je),pt}function Mr(Je,tt,dt){var pt=dn(Je),bt=pt.expandIcon,St=pt.expandedRowKeys,jt=pt.defaultExpandedRowKeys,Ot=pt.defaultExpandAllRows,Bt=pt.expandedRowRender,It=pt.onExpand,Ut=pt.onExpandedRowsChange,Nt=pt.childrenColumnName,Qt=bt||Ln,Xt=Nt||"children",Yt=te.useMemo(function(){return Bt?"row":Je.expandable&&Je.internalHooks===it&&Je.expandable.__PARENT_RENDER_ICON__||tt.some(function(Yn){return Yn&&(0,ge.Z)(Yn)==="object"&&Yn[Xt]})?"nest":!1},[!!Bt,tt]),vn=te.useState(function(){return jt||(Ot?gr(tt,dt,Xt):[])}),un=(0,E.Z)(vn,2),yn=un[0],cn=un[1],wn=te.useMemo(function(){return new Set(St||yn||[])},[St,yn]),Vn=te.useCallback(function(Yn){var Gn=dt(Yn,tt.indexOf(Yn)),ur,wr=wn.has(Gn);wr?(wn.delete(Gn),ur=(0,sn.Z)(wn)):ur=[].concat((0,sn.Z)(wn),[Gn]),cn(ur),It&&It(!wr,Yn),Ut&&Ut(ur)},[dt,wn,tt,It,Ut]);return[pt,Yt,wn,Qt,Xt,Vn]}function rn(Je,tt,dt,pt){var bt=Je.map(function(St,jt){return _e(jt,jt,Je,tt,dt,pt==null?void 0:pt[jt])});return(0,Le.Z)(function(){return bt},[bt],function(St,jt){return!(0,oe.Z)(St,jt)})}function hr(Je){var tt=(0,te.useRef)(Je),dt=(0,te.useState)({}),pt=(0,E.Z)(dt,2),bt=pt[1],St=(0,te.useRef)(null),jt=(0,te.useRef)([]);function Ot(Bt){jt.current.push(Bt);var It=Promise.resolve();St.current=It,It.then(function(){if(St.current===It){var Ut=jt.current,Nt=tt.current;jt.current=[],Ut.forEach(function(Qt){tt.current=Qt(tt.current)}),St.current=null,Nt!==tt.current&&bt({})}})}return(0,te.useEffect)(function(){return function(){St.current=null}},[]),[tt.current,Ot]}function Zr(Je){var tt=(0,te.useRef)(Je||null),dt=(0,te.useRef)();function pt(){window.clearTimeout(dt.current)}function bt(jt){tt.current=jt,pt(),dt.current=window.setTimeout(function(){tt.current=null,dt.current=void 0},100)}function St(){return tt.current}return(0,te.useEffect)(function(){return pt},[]),[bt,St]}function Ar(){var Je=te.useState(-1),tt=(0,E.Z)(Je,2),dt=tt[0],pt=tt[1],bt=te.useState(-1),St=(0,E.Z)(bt,2),jt=St[0],Ot=St[1],Bt=te.useCallback(function(It,Ut){pt(It),Ot(Ut)},[]);return[dt,jt,Bt]}var vr=Ae(47273),wt=(0,vr.Z)()?window:null;function Gt(Je,tt){var dt=(0,ge.Z)(Je)==="object"?Je:{},pt=dt.offsetHeader,bt=pt===void 0?0:pt,St=dt.offsetSummary,jt=St===void 0?0:St,Ot=dt.offsetScroll,Bt=Ot===void 0?0:Ot,It=dt.getContainer,Ut=It===void 0?function(){return wt}:It,Nt=Ut()||wt;return te.useMemo(function(){var Qt=!!Je;return{isSticky:Qt,stickyClassName:Qt?"".concat(tt,"-sticky-holder"):"",offsetHeader:bt,offsetSummary:jt,offsetScroll:Bt,container:Nt}},[Bt,bt,jt,tt,Nt])}function Rt(Je,tt,dt){var pt=(0,te.useMemo)(function(){for(var bt=[],St=[],jt=0,Ot=0,Bt=0;Bt=Nt&&(tr=Nt-Qt),jt({scrollLeft:tr/Nt*(Ut+2)}),cn.current.x=Dn.pageX},zn=function(){if(St.current){var Dn=(0,Vt.os)(St.current).top,lr=Dn+St.current.offsetHeight,Fr=Bt===window?document.documentElement.scrollTop+window.innerHeight:(0,Vt.os)(Bt).top+Bt.clientHeight;lr-(0,$e.Z)()<=Fr||Dn>=Fr-Ot?yn(function(Sr){return(0,be.Z)((0,be.Z)({},Sr),{},{isHiddenScrollBar:!0})}):yn(function(Sr){return(0,be.Z)((0,be.Z)({},Sr),{},{isHiddenScrollBar:!1})})}},On=function(Dn){yn(function(lr){return(0,be.Z)((0,be.Z)({},lr),{},{scrollLeft:Dn/Ut*Nt||0})})};return te.useImperativeHandle(dt,function(){return{setScrollLeft:On}}),te.useEffect(function(){var Sn=(0,_t.Z)(document.body,"mouseup",ur,!1),Dn=(0,_t.Z)(document.body,"mousemove",jn,!1);return zn(),function(){Sn.remove(),Dn.remove()}},[Qt,Yn]),te.useEffect(function(){var Sn=(0,_t.Z)(Bt,"scroll",zn,!1),Dn=(0,_t.Z)(window,"resize",zn,!1);return function(){Sn.remove(),Dn.remove()}},[Bt]),te.useEffect(function(){un.isHiddenScrollBar||yn(function(Sn){var Dn=St.current;return Dn?(0,be.Z)((0,be.Z)({},Sn),{},{scrollLeft:Dn.scrollLeft/Dn.scrollWidth*Dn.clientWidth}):Sn})},[un.isHiddenScrollBar]),Ut<=Nt||!Qt||un.isHiddenScrollBar?null:te.createElement("div",{style:{height:(0,$e.Z)(),width:Nt,bottom:Ot},className:"".concat(It,"-sticky-scroll")},te.createElement("div",{onMouseDown:wr,ref:Xt,className:Ce()("".concat(It,"-sticky-scroll-bar"),(0,Pe.Z)({},"".concat(It,"-sticky-scroll-bar-active"),Yn)),style:{width:"".concat(Qt,"px"),transform:"translate3d(".concat(un.scrollLeft,"px, 0, 0)")}}))},er=te.forwardRef(Xn);function kt(Je){return null}var Gr=kt;function Dr(Je){return null}var Xr=Dr,la="rc-table",Jt=[],Fn={};function Wn(){return"No Data"}function An(Je){var tt,dt=(0,be.Z)({rowKey:"key",prefixCls:la,emptyText:Wn},Je),pt=dt.prefixCls,bt=dt.className,St=dt.rowClassName,jt=dt.style,Ot=dt.data,Bt=dt.rowKey,It=dt.scroll,Ut=dt.tableLayout,Nt=dt.direction,Qt=dt.title,Xt=dt.footer,Yt=dt.summary,vn=dt.caption,un=dt.id,yn=dt.showHeader,cn=dt.components,wn=dt.emptyText,Vn=dt.onRow,Yn=dt.onHeaderRow,Gn=dt.internalHooks,ur=dt.transformColumns,wr=dt.internalRefs,jn=dt.tailor,zn=dt.sticky,On=Ot||Jt,Sn=!!On.length,Dn=Gn===it,lr=te.useCallback(function(ta,ba){return(0,Ie.Z)(cn,ta)||ba},[cn]),Fr=te.useMemo(function(){return typeof Bt=="function"?Bt:function(ta){var ba=ta&&ta[Bt];return ba}},[Bt]),Sr=lr(["body"]),tr=Ar(),jr=(0,E.Z)(tr,3),Tr=jr[0],ca=jr[1],Kr=jr[2],xa=Mr(dt,On,Fr),Ca=(0,E.Z)(xa,6),Er=Ca[0],Ta=Ca[1],Vr=Ca[2],ya=Ca[3],ha=Ca[4],Ya=Ca[5],sr=It==null?void 0:It.x,ar=te.useState(0),nr=(0,E.Z)(ar,2),Kn=nr[0],_r=nr[1],Zn=bn((0,be.Z)((0,be.Z)((0,be.Z)({},dt),Er),{},{expandable:!!Er.expandedRowRender,columnTitle:Er.columnTitle,expandedKeys:Vr,getRowKey:Fr,onTriggerExpand:Ya,expandIcon:ya,expandIconColumnIndex:Er.expandIconColumnIndex,direction:Nt,scrollWidth:Dn&&jn&&typeof sr=="number"?sr:null}),Dn?ur:null),br=(0,E.Z)(Zn,3),Hr=br[0],Rr=br[1],Ua=br[2],Ga=Ua!=null?Ua:sr,lo=te.useMemo(function(){return{columns:Hr,flattenColumns:Rr}},[Hr,Rr]),La=te.useRef(),oo=te.useRef(),Ia=te.useRef(),Qa=te.useRef(),Co=te.useRef(),Jr=te.useState(!1),ea=(0,E.Z)(Jr,2),Pa=ea[0],Da=ea[1],Ra=te.useState(!1),Lr=(0,E.Z)(Ra,2),Va=Lr[0],Wa=Lr[1],no=hr(new Map),co=(0,E.Z)(no,2),uo=co[0],Lo=co[1],ho=Ve(Rr),io=ho.map(function(ta){return uo.get(ta)}),Ja=te.useMemo(function(){return io},[io.join("_")]),_a=Zt(Ja,Rr.length,Nt),ka=It&&Xe(It.y),wa=It&&Xe(Ga)||!!Er.fixed,fo=wa&&Rr.some(function(ta){var ba=ta.fixed;return ba}),Ao=te.useRef(),So=Gt(zn,pt),mo=So.isSticky,Go=So.offsetHeader,ni=So.offsetSummary,Ur=So.offsetScroll,ga=So.stickyClassName,za=So.container,Ea=te.useMemo(function(){return Yt==null?void 0:Yt(On)},[Yt,On]),Ka=(ka||mo)&&te.isValidElement(Ea)&&Ea.type===je&&Ea.props.fixed,qa,$a,vo;ka&&($a={overflowY:"scroll",maxHeight:It.y}),wa&&(qa={overflowX:"auto"},ka||($a={overflowY:"hidden"}),vo={width:Ga===!0?"auto":Ga,minWidth:"100%"});var Pi=te.useCallback(function(ta,ba){(0,nt.Z)(La.current)&&Lo(function(so){if(so.get(ta)!==ba){var Po=new Map(so);return Po.set(ta,ba),Po}return so})},[]),Bs=Zr(null),wi=(0,E.Z)(Bs,2),js=wi[0],Ei=wi[1];function zo(ta,ba){ba&&(typeof ba=="function"?ba(ta):ba.scrollLeft!==ta&&(ba.scrollLeft=ta,ba.scrollLeft!==ta&&setTimeout(function(){ba.scrollLeft=ta},0)))}var Bo=(0,Se.Z)(function(ta){var ba=ta.currentTarget,so=ta.scrollLeft,Po=Nt==="rtl",wo=typeof so=="number"?so:ba.scrollLeft,Mi=ba||Fn;if(!Ei()||Ei()===Mi){var si;js(Mi),zo(wo,oo.current),zo(wo,Ia.current),zo(wo,Co.current),zo(wo,(si=Ao.current)===null||si===void 0?void 0:si.setScrollLeft)}var li=ba||oo.current;if(li){var ui=li.scrollWidth,ci=li.clientWidth;if(ui===ci){Da(!1),Wa(!1);return}Po?(Da(-wo0)):(Da(wo>0),Wa(wo1?vn-Dn:0,Fr=(0,be.Z)((0,be.Z)((0,be.Z)({},ur),Bt),{},{flex:"0 0 ".concat(Dn,"px"),width:"".concat(Dn,"px"),marginRight:lr,pointerEvents:"auto"}),Sr=te.useMemo(function(){return Ut?On<=1:jn===0||On===0||On>1},[On,jn,Ut]);Sr?Fr.visibility="hidden":Ut&&(Fr.height=Nt==null?void 0:Nt(On));var tr=Sr?function(){return null}:Qt,jr={};return(On===0||jn===0)&&(jr.rowSpan=1,jr.colSpan=1),te.createElement(ut,(0,ce.Z)({className:Ce()(Yt,It),ellipsis:dt.ellipsis,align:dt.align,scope:dt.rowScope,component:"div",prefixCls:tt.prefixCls,key:wn,record:Ot,index:St,renderIndex:jt,dataIndex:Xt,render:tr,shouldCellUpdate:dt.shouldCellUpdate},Vn,{appendNode:Yn,additionalProps:(0,be.Z)((0,be.Z)({},Gn),{},{style:Fr},jr)}))}var Xa=na,Ha=["data","index","className","rowKey","style","extra","getHeight"],eo=te.forwardRef(function(Je,tt){var dt=Je.data,pt=Je.index,bt=Je.className,St=Je.rowKey,jt=Je.style,Ot=Je.extra,Bt=Je.getHeight,It=(0,Fe.Z)(Je,Ha),Ut=dt.record,Nt=dt.indent,Qt=dt.index,Xt=ue(he,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Yt=Xt.scrollX,vn=Xt.flattenColumns,un=Xt.prefixCls,yn=Xt.fixColumn,cn=Xt.componentWidth,wn=at(Ut,St,pt,Nt),Vn=wn.rowSupportExpand,Yn=wn.expanded,Gn=wn.rowProps,ur=wn.expandedRowRender,wr=wn.expandedRowClassName,jn;if(Vn&&Yn){var zn=ur(Ut,pt,Nt+1,Yn),On=wr==null?void 0:wr(Ut,pt,Nt),Sn={};yn&&(Sn={style:(0,Pe.Z)({},"--virtual-width","".concat(cn,"px"))});var Dn="".concat(un,"-expanded-row-cell");jn=te.createElement("div",{className:Ce()("".concat(un,"-expanded-row"),"".concat(un,"-expanded-row-level-").concat(Nt+1),On)},te.createElement(ut,{component:"div",prefixCls:un,className:Ce()(Dn,(0,Pe.Z)({},"".concat(Dn,"-fixed"),yn)),additionalProps:Sn},zn))}var lr=(0,be.Z)((0,be.Z)({},jt),{},{width:Yt});Ot&&(lr.position="absolute",lr.pointerEvents="none");var Fr=te.createElement("div",(0,ce.Z)({},Gn,It,{ref:Vn?null:tt,className:Ce()(bt,"".concat(un,"-row"),Gn==null?void 0:Gn.className,(0,Pe.Z)({},"".concat(un,"-row-extra"),Ot)),style:(0,be.Z)((0,be.Z)({},lr),Gn==null?void 0:Gn.style)}),vn.map(function(Sr,tr){return te.createElement(Xa,{key:tr,rowInfo:wn,column:Sr,colIndex:tr,indent:Nt,index:pt,renderIndex:Qt,record:Ut,inverse:Ot,getHeight:Bt})}));return Vn?te.createElement("div",{ref:tt},Fr,jn):Fr}),da=ee(eo),ma=da,qr=te.forwardRef(function(Je,tt){var dt=Je.data,pt=Je.onScroll,bt=ue(he,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),St=bt.flattenColumns,jt=bt.onColumnResize,Ot=bt.getRowKey,Bt=bt.expandedKeys,It=bt.prefixCls,Ut=bt.childrenColumnName,Nt=bt.emptyNode,Qt=bt.scrollX,Xt=ue(zr),Yt=Xt.scrollY,vn=Xt.listItemHeight,un=te.useRef(),yn=vt(dt,Ut,Bt,Ot),cn=te.useMemo(function(){var jn=0;return St.map(function(zn){var On=zn.width,Sn=zn.key;return jn+=On,[Sn,On,jn]})},[St]),wn=te.useMemo(function(){return cn.map(function(jn){return jn[2]})},[cn]);te.useEffect(function(){cn.forEach(function(jn){var zn=(0,E.Z)(jn,2),On=zn[0],Sn=zn[1];jt(On,Sn)})},[cn]),te.useImperativeHandle(tt,function(){var jn={};return Object.defineProperty(jn,"scrollLeft",{get:function(){var On;return((On=un.current)===null||On===void 0?void 0:On.getScrollInfo().x)||0},set:function(On){var Sn;(Sn=un.current)===null||Sn===void 0||Sn.scrollTo({left:On})}}),jn});var Vn=function(zn,On){var Sn,Dn=(Sn=yn[On])===null||Sn===void 0?void 0:Sn.record,lr=zn.onCell;if(lr){var Fr,Sr=lr(Dn,On);return(Fr=Sr==null?void 0:Sr.rowSpan)!==null&&Fr!==void 0?Fr:1}return 1},Yn=function(zn){var On=zn.start,Sn=zn.end,Dn=zn.getSize,lr=zn.offsetY;if(Sn<0)return null;for(var Fr=St.filter(function(sr){return Vn(sr,On)===0}),Sr=On,tr=function(ar){if(Fr=Fr.filter(function(nr){return Vn(nr,ar)===0}),!Fr.length)return Sr=ar,"break"},jr=On;jr>=0;jr-=1){var Tr=tr(jr);if(Tr==="break")break}for(var ca=St.filter(function(sr){return Vn(sr,Sn)!==1}),Kr=Sn,xa=function(ar){if(ca=ca.filter(function(nr){return Vn(nr,ar)!==1}),!ca.length)return Kr=Math.max(ar-1,Sn),"break"},Ca=Sn;Ca1})&&Ta.push(ar)},ya=Sr;ya<=Kr;ya+=1)var ha=Vr(ya);var Ya=Ta.map(function(sr){var ar=yn[sr],nr=Ot(ar.record,sr),Kn=function(br){var Hr=sr+br-1,Rr=Ot(yn[Hr].record,Hr),Ua=Dn(nr,Rr);return Ua.bottom-Ua.top},_r=Dn(nr);return te.createElement(ma,{key:sr,data:ar,rowKey:nr,index:sr,style:{top:-lr+_r.top},extra:!0,getHeight:Kn})});return Ya},Gn=te.useMemo(function(){return{columnsOffset:wn}},[wn]),ur="".concat(It,"-tbody"),wr;return yn.length?wr=te.createElement(Yr.Z,{fullHeight:!1,ref:un,className:Ce()(ur,"".concat(ur,"-virtual")),height:Yt,itemHeight:vn||24,data:yn,itemKey:function(zn){return Ot(zn.record)},scrollWidth:Qt,onVirtualScroll:function(zn){var On=zn.x;pt({scrollLeft:On})},extraRender:Yn},function(jn,zn,On){var Sn=Ot(jn.record,zn);return te.createElement(ma,(0,ce.Z)({data:jn,rowKey:Sn,index:zn},On))}):wr=te.createElement("div",{className:Ce()("".concat(It,"-placeholder"))},te.createElement(ut,{component:"div",prefixCls:It},Nt)),te.createElement(Ma.Provider,{value:Gn},wr)}),Fa=ee(qr),Za=Fa,Ht=function(tt,dt){var pt=dt.ref,bt=dt.onScroll;return te.createElement(Za,{ref:pt,data:tt,onScroll:bt})},Mt=100;function Wt(Je){var tt=Je.columns,dt=Je.scroll,pt=Je.prefixCls,bt=pt===void 0?la:pt,St=Je.className,jt=Je.listItemHeight,Ot=dt||{},Bt=Ot.x,It=Ot.y;typeof Bt!="number"&&(Bt=((tt||[]).length+1)*Mt),typeof It!="number"&&(It=500);var Ut=te.useMemo(function(){return{scrollY:It,listItemHeight:jt}},[It,jt]);return te.createElement(zr.Provider,{value:Ut},te.createElement(rr,(0,ce.Z)({},Je,{className:Ce()(St,"".concat(bt,"-virtual")),scroll:(0,be.Z)((0,be.Z)({},dt),{},{x:Bt}),components:{body:Ht},columns:tt,internalHooks:it,tailor:!0})))}function pn(Je){return z(Wt,Je)}var mn=pn(),Pn=null;function $t(Je){return null}var Jn=$t;function qn(Je){return null}var Cr=qn,cr=Ae(2738),Nn=Ae(68031),mr=Ae(36355),pr=Ae(93891),sa=Ae(19716),kr=Ae(8628),Qr=Ae(31724),Sa=Ae(58421),hn=Ae(71418),ln=Ae(88088);function Bn(Je){return function(dt){let{prefixCls:pt,onExpand:bt,record:St,expanded:jt,expandable:Ot}=dt;const Bt=`${pt}-row-expand-icon`;return te.createElement("button",{type:"button",onClick:It=>{bt(St,It),It.stopPropagation()},className:Ce()(Bt,{[`${Bt}-spaced`]:!Ot,[`${Bt}-expanded`]:Ot&&jt,[`${Bt}-collapsed`]:Ot&&!jt}),"aria-label":jt?Je.collapse:Je.expand,"aria-expanded":jt})}}var kn=Bn;function Br(Je,tt){return"key"in Je&&Je.key!==void 0&&Je.key!==null?Je.key:Je.dataIndex?Array.isArray(Je.dataIndex)?Je.dataIndex.join("."):Je.dataIndex:tt}function ra(Je,tt){return tt?`${tt}-${Je}`:`${Je}`}function fa(Je,tt){return typeof Je=="function"?Je(tt):Je}function ua(Je,tt){const dt=fa(Je,tt);return Object.prototype.toString.call(dt)==="[object Object]"?"":dt}var Ba={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Aa=Ba,Na=Ae(7657),va=function(tt,dt){return te.createElement(Na.Z,(0,ce.Z)({},tt,{ref:dt,icon:Aa}))},yr=te.forwardRef(va),Ir=yr,aa=Ae(56762);function Nr(Je){const tt=te.useRef(Je),dt=(0,aa.Z)();return[()=>tt.current,pt=>{tt.current=pt,dt()}]}var Wr=Ae(3113),pa=Ae(24905),oa=Ae(38854),ro=Ae(64165),ao=Ae(20834),Eo=Ae(40875),xo=Ae(5112),Fo=Ae(17574),to=Ae(47472),yt=Ae(92832);function Dt(Je){let{value:tt,onChange:dt,filterSearch:pt,tablePrefixCls:bt,locale:St}=Je;return pt?te.createElement("div",{className:`${bt}-filter-dropdown-search`},te.createElement(yt.default,{prefix:te.createElement(to.Z,null),placeholder:St.filterSearchPlaceholder,onChange:dt,value:tt,htmlSize:1,className:`${bt}-filter-dropdown-search-input`})):null}var an=Dt,Tn=Ae(10228);const Un=Je=>{const{keyCode:tt}=Je;tt===Tn.Z.ENTER&&Je.stopPropagation()};var $r=te.forwardRef((Je,tt)=>te.createElement("div",{className:Je.className,onClick:dt=>dt.stopPropagation(),onKeyDown:Un,ref:tt},Je.children));function Oa(Je){let tt=[];return(Je||[]).forEach(dt=>{let{value:pt,children:bt}=dt;tt.push(pt),bt&&(tt=[].concat((0,sn.Z)(tt),(0,sn.Z)(Oa(bt))))}),tt}function yo(Je){return Je.some(tt=>{let{children:dt}=tt;return dt})}function jo(Je,tt){return typeof tt=="string"||typeof tt=="number"?tt==null?void 0:tt.toString().toLowerCase().includes(Je.trim().toLowerCase()):!1}function Wo(Je){let{filters:tt,prefixCls:dt,filteredKeys:pt,filterMultiple:bt,searchValue:St,filterSearch:jt}=Je;return tt.map((Ot,Bt)=>{const It=String(Ot.value);if(Ot.children)return{key:It||Bt,label:Ot.text,popupClassName:`${dt}-dropdown-submenu`,children:Wo({filters:Ot.children,prefixCls:dt,filteredKeys:pt,filterMultiple:bt,searchValue:St,filterSearch:jt})};const Ut=bt?pa.default:xo.ZP,Nt={key:Ot.value!==void 0?It:Bt,label:te.createElement(te.Fragment,null,te.createElement(Ut,{checked:pt.includes(It)}),te.createElement("span",null,Ot.text))};return St.trim()?typeof jt=="function"?jt(St,Ot)?Nt:null:jo(St,Ot.text)?Nt:null:Nt})}function Ko(Je){var tt,dt;const{tablePrefixCls:pt,prefixCls:bt,column:St,dropdownPrefixCls:jt,columnKey:Ot,filterMultiple:Bt,filterMode:It="menu",filterSearch:Ut=!1,filterState:Nt,triggerFilter:Qt,locale:Xt,children:Yt,getPopupContainer:vn}=Je,{filterDropdownOpen:un,onFilterDropdownOpenChange:yn,filterResetToDefaultFilteredValue:cn,defaultFilteredValue:wn,filterDropdownVisible:Vn,onFilterDropdownVisibleChange:Yn}=St,[Gn,ur]=te.useState(!1),wr=!!(Nt&&(!((tt=Nt.filteredKeys)===null||tt===void 0)&&tt.length||Nt.forceFiltered)),jn=Zn=>{ur(Zn),yn==null||yn(Zn),Yn==null||Yn(Zn)},zn=(dt=un!=null?un:Vn)!==null&&dt!==void 0?dt:Gn,On=Nt==null?void 0:Nt.filteredKeys,[Sn,Dn]=Nr(On||[]),lr=Zn=>{let{selectedKeys:br}=Zn;Dn(br)},Fr=(Zn,br)=>{let{node:Hr,checked:Rr}=br;lr(Bt?{selectedKeys:Zn}:{selectedKeys:Rr&&Hr.key?[Hr.key]:[]})};te.useEffect(()=>{Gn&&lr({selectedKeys:On||[]})},[On]);const[Sr,tr]=te.useState([]),jr=Zn=>{tr(Zn)},[Tr,ca]=te.useState(""),Kr=Zn=>{const{value:br}=Zn.target;ca(br)};te.useEffect(()=>{Gn||ca("")},[Gn]);const xa=Zn=>{const br=Zn&&Zn.length?Zn:null;if(br===null&&(!Nt||!Nt.filteredKeys)||(0,oe.Z)(br,Nt==null?void 0:Nt.filteredKeys,!0))return null;Qt({column:St,key:Ot,filteredKeys:br})},Ca=()=>{jn(!1),xa(Sn())},Er=function(){let{confirm:Zn,closeDropdown:br}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Zn&&xa([]),br&&jn(!1),ca(""),Dn(cn?(wn||[]).map(Hr=>String(Hr)):[])},Ta=function(){let{closeDropdown:Zn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Zn&&jn(!1),xa(Sn())},Vr=Zn=>{Zn&&On!==void 0&&Dn(On||[]),jn(Zn),!Zn&&!St.filterDropdown&&Ca()},ya=Ce()({[`${jt}-menu-without-submenu`]:!yo(St.filters||[])}),ha=Zn=>{if(Zn.target.checked){const br=Oa(St==null?void 0:St.filters).map(Hr=>String(Hr));Dn(br)}else Dn([])},Ya=Zn=>{let{filters:br}=Zn;return(br||[]).map((Hr,Rr)=>{const Ua=String(Hr.value),Ga={title:Hr.text,key:Hr.value!==void 0?Ua:Rr};return Hr.children&&(Ga.children=Ya({filters:Hr.children})),Ga})},sr=Zn=>{var br;return Object.assign(Object.assign({},Zn),{text:Zn.title,value:Zn.key,children:((br=Zn.children)===null||br===void 0?void 0:br.map(Hr=>sr(Hr)))||[]})};let ar;if(typeof St.filterDropdown=="function")ar=St.filterDropdown({prefixCls:`${jt}-custom`,setSelectedKeys:Zn=>lr({selectedKeys:Zn}),selectedKeys:Sn(),confirm:Ta,clearFilters:Er,filters:St.filters,visible:zn,close:()=>{jn(!1)}});else if(St.filterDropdown)ar=St.filterDropdown;else{const Zn=Sn()||[],br=()=>(St.filters||[]).length===0?te.createElement(ro.Z,{image:ro.Z.PRESENTED_IMAGE_SIMPLE,description:Xt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):It==="tree"?te.createElement(te.Fragment,null,te.createElement(an,{filterSearch:Ut,value:Tr,onChange:Kr,tablePrefixCls:pt,locale:Xt}),te.createElement("div",{className:`${pt}-filter-dropdown-tree`},Bt?te.createElement(pa.default,{checked:Zn.length===Oa(St.filters).length,indeterminate:Zn.length>0&&Zn.lengthtypeof Ut=="function"?Ut(Tr,sr(Rr)):jo(Tr,Rr.title):void 0}))):te.createElement(te.Fragment,null,te.createElement(an,{filterSearch:Ut,value:Tr,onChange:Kr,tablePrefixCls:pt,locale:Xt}),te.createElement(ao.default,{selectable:!0,multiple:Bt,prefixCls:`${jt}-menu`,className:ya,onSelect:lr,onDeselect:lr,selectedKeys:Zn,getPopupContainer:vn,openKeys:Sr,onOpenChange:jr,items:Wo({filters:St.filters||[],filterSearch:Ut,prefixCls:bt,filteredKeys:Sn(),filterMultiple:Bt,searchValue:Tr})})),Hr=()=>cn?(0,oe.Z)((wn||[]).map(Rr=>String(Rr)),Zn,!0):Zn.length===0;ar=te.createElement(te.Fragment,null,br(),te.createElement("div",{className:`${bt}-dropdown-btns`},te.createElement(Wr.ZP,{type:"link",size:"small",disabled:Hr(),onClick:()=>Er()},Xt.filterReset),te.createElement(Wr.ZP,{type:"primary",size:"small",onClick:Ca},Xt.filterConfirm)))}St.filterDropdown&&(ar=te.createElement(Eo.J,{selectable:void 0},ar));const nr=()=>te.createElement($r,{className:`${bt}-dropdown`},ar);let Kn;typeof St.filterIcon=="function"?Kn=St.filterIcon(wr):St.filterIcon?Kn=St.filterIcon:Kn=te.createElement(Ir,null);const{direction:_r}=te.useContext(mr.E_);return te.createElement("div",{className:`${bt}-column`},te.createElement("span",{className:`${pt}-column-title`},Yt),te.createElement(oa.Z,{dropdownRender:nr,trigger:["click"],open:zn,onOpenChange:Vr,getPopupContainer:vn,placement:_r==="rtl"?"bottomLeft":"bottomRight"},te.createElement("span",{role:"button",tabIndex:-1,className:Ce()(`${bt}-trigger`,{active:wr}),onClick:Zn=>{Zn.stopPropagation()}},Kn)))}var Zo=Ko;function Io(Je,tt,dt){let pt=[];return(Je||[]).forEach((bt,St)=>{var jt;const Ot=ra(St,dt);if(bt.filters||"filterDropdown"in bt||"onFilter"in bt)if("filteredValue"in bt){let Bt=bt.filteredValue;"filterDropdown"in bt||(Bt=(jt=Bt==null?void 0:Bt.map(String))!==null&&jt!==void 0?jt:Bt),pt.push({column:bt,key:Br(bt,Ot),filteredKeys:Bt,forceFiltered:bt.filtered})}else pt.push({column:bt,key:Br(bt,Ot),filteredKeys:tt&&bt.defaultFilteredValue?bt.defaultFilteredValue:void 0,forceFiltered:bt.filtered});"children"in bt&&(pt=[].concat((0,sn.Z)(pt),(0,sn.Z)(Io(bt.children,tt,Ot))))}),pt}function Vo(Je,tt,dt,pt,bt,St,jt,Ot){return dt.map((Bt,It)=>{const Ut=ra(It,Ot),{filterMultiple:Nt=!0,filterMode:Qt,filterSearch:Xt}=Bt;let Yt=Bt;if(Yt.filters||Yt.filterDropdown){const vn=Br(Yt,Ut),un=pt.find(yn=>{let{key:cn}=yn;return vn===cn});Yt=Object.assign(Object.assign({},Yt),{title:yn=>te.createElement(Zo,{tablePrefixCls:Je,prefixCls:`${Je}-filter`,dropdownPrefixCls:tt,column:Yt,columnKey:vn,filterState:un,filterMultiple:Nt,filterMode:Qt,filterSearch:Xt,triggerFilter:St,locale:bt,getPopupContainer:jt},fa(Bt.title,yn))})}return"children"in Yt&&(Yt=Object.assign(Object.assign({},Yt),{children:Vo(Je,tt,Yt.children,pt,bt,St,jt,Ut)})),Yt})}function _o(Je){const tt={};return Je.forEach(dt=>{let{key:pt,filteredKeys:bt,column:St}=dt;const{filters:jt,filterDropdown:Ot}=St;if(Ot)tt[pt]=bt||null;else if(Array.isArray(bt)){const Bt=Oa(jt);tt[pt]=Bt.filter(It=>bt.includes(String(It)))}else tt[pt]=null}),tt}function Xo(Je,tt){return tt.reduce((dt,pt)=>{const{column:{onFilter:bt,filters:St},filteredKeys:jt}=pt;return bt&&jt&&jt.length?dt.filter(Ot=>jt.some(Bt=>{const It=Oa(St),Ut=It.findIndex(Qt=>String(Qt)===String(Bt)),Nt=Ut!==-1?It[Ut]:Bt;return bt(Nt,Ot)})):dt},Je)}const No=Je=>Je.flatMap(tt=>"children"in tt?[tt].concat((0,sn.Z)(No(tt.children||[]))):[tt]);function Oo(Je){let{prefixCls:tt,dropdownPrefixCls:dt,mergedColumns:pt,onFilterChange:bt,getPopupContainer:St,locale:jt}=Je;const Ot=te.useMemo(()=>No(pt||[]),[pt]),[Bt,It]=te.useState(()=>Io(Ot,!0)),Ut=te.useMemo(()=>{const Yt=Io(Ot,!1);if(Yt.length===0)return Yt;let vn=!0,un=!0;if(Yt.forEach(yn=>{let{filteredKeys:cn}=yn;cn!==void 0?vn=!1:un=!1}),vn){const yn=(Ot||[]).map((cn,wn)=>Br(cn,ra(wn)));return Bt.filter(cn=>{let{key:wn}=cn;return yn.includes(wn)}).map(cn=>{const wn=Ot[yn.findIndex(Vn=>Vn===cn.key)];return Object.assign(Object.assign({},cn),{column:Object.assign(Object.assign({},cn.column),wn),forceFiltered:wn.filtered})})}return Yt},[Ot,Bt]),Nt=te.useMemo(()=>_o(Ut),[Ut]),Qt=Yt=>{const vn=Ut.filter(un=>{let{key:yn}=un;return yn!==Yt.key});vn.push(Yt),It(vn),bt(_o(vn),vn)};return[Yt=>Vo(tt,dt,Yt,Ut,jt,Qt,St),Ut,Nt]}var Do=Oo;function Gi(Je,tt,dt){const pt=te.useRef({});function bt(St){if(!pt.current||pt.current.data!==Je||pt.current.childrenColumnName!==tt||pt.current.getRowKey!==dt){let Ot=function(Bt){Bt.forEach((It,Ut)=>{const Nt=dt(It,Ut);jt.set(Nt,It),It&&typeof It=="object"&&tt in It&&Ot(It[tt]||[])})};const jt=new Map;Ot(Je),pt.current={data:Je,childrenColumnName:tt,kvMap:jt,getRowKey:dt}}return pt.current.kvMap.get(St)}return[bt]}var zi=Ae(50371),Hi=function(Je,tt){var dt={};for(var pt in Je)Object.prototype.hasOwnProperty.call(Je,pt)&&tt.indexOf(pt)<0&&(dt[pt]=Je[pt]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,pt=Object.getOwnPropertySymbols(Je);bt{const St=Je[bt];typeof St!="function"&&(dt[bt]=St)}),dt}function Wi(Je,tt,dt){const pt=dt&&typeof dt=="object"?dt:{},{total:bt=0}=pt,St=Hi(pt,["total"]),[jt,Ot]=(0,te.useState)(()=>({current:"defaultCurrent"in St?St.defaultCurrent:1,pageSize:"defaultPageSize"in St?St.defaultPageSize:di})),Bt=(0,zi.Z)(jt,St,{total:bt>0?bt:Je}),It=Math.ceil((bt||Je)/Bt.pageSize);Bt.current>It&&(Bt.current=It||1);const Ut=(Qt,Xt)=>{Ot({current:Qt!=null?Qt:1,pageSize:Xt||Bt.pageSize})},Nt=(Qt,Xt)=>{var Yt;dt&&((Yt=dt.onChange)===null||Yt===void 0||Yt.call(dt,Qt,Xt)),Ut(Qt,Xt),tt(Qt,Xt||(Bt==null?void 0:Bt.pageSize))};return dt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Bt),{onChange:Nt}),Ut]}var Ki=Wi,Zi=Ae(84105),fi=Ae(35654),Yo=Ae(90782),Vi=Ae(71430),_i=Ae(18929);const bo={},Qo="SELECT_ALL",Jo="SELECT_INVERT",qo="SELECT_NONE",gi=[],mi=(Je,tt)=>{let dt=[];return(tt||[]).forEach(pt=>{dt.push(pt),pt&&typeof pt=="object"&&Je in pt&&(dt=[].concat((0,sn.Z)(dt),(0,sn.Z)(mi(Je,pt[Je]))))}),dt};var Xi=(Je,tt)=>{const{preserveSelectedRowKeys:dt,selectedRowKeys:pt,defaultSelectedRowKeys:bt,getCheckboxProps:St,onChange:jt,onSelect:Ot,onSelectAll:Bt,onSelectInvert:It,onSelectNone:Ut,onSelectMultiple:Nt,columnWidth:Qt,type:Xt,selections:Yt,fixed:vn,renderCell:un,hideSelectAll:yn,checkStrictly:cn=!0}=tt||{},{prefixCls:wn,data:Vn,pageData:Yn,getRecordByKey:Gn,getRowKey:ur,expandType:wr,childrenColumnName:jn,locale:zn,getPopupContainer:On}=Je,[Sn,Dn]=(0,_i.Z)(pt||bt||gi,{value:pt}),lr=te.useRef(new Map),Fr=(0,te.useCallback)(sr=>{if(dt){const ar=new Map;sr.forEach(nr=>{let Kn=Gn(nr);!Kn&&lr.current.has(nr)&&(Kn=lr.current.get(nr)),ar.set(nr,Kn)}),lr.current=ar}},[Gn,dt]);te.useEffect(()=>{Fr(Sn)},[Sn]);const{keyEntities:Sr}=(0,te.useMemo)(()=>{if(cn)return{keyEntities:null};let sr=Vn;if(dt){const ar=new Set(Vn.map((Kn,_r)=>ur(Kn,_r))),nr=Array.from(lr.current).reduce((Kn,_r)=>{let[Zn,br]=_r;return ar.has(Zn)?Kn:Kn.concat(br)},[]);sr=[].concat((0,sn.Z)(sr),(0,sn.Z)(nr))}return(0,Vi.I8)(sr,{externalGetKey:ur,childrenPropName:jn})},[Vn,ur,cn,jn,dt]),tr=(0,te.useMemo)(()=>mi(jn,Yn),[jn,Yn]),jr=(0,te.useMemo)(()=>{const sr=new Map;return tr.forEach((ar,nr)=>{const Kn=ur(ar,nr),_r=(St?St(ar):null)||{};sr.set(Kn,_r)}),sr},[tr,ur,St]),Tr=(0,te.useCallback)(sr=>{var ar;return!!(!((ar=jr.get(ur(sr)))===null||ar===void 0)&&ar.disabled)},[jr,ur]),[ca,Kr]=(0,te.useMemo)(()=>{if(cn)return[Sn||[],[]];const{checkedKeys:sr,halfCheckedKeys:ar}=(0,Yo.S)(Sn,!0,Sr,Tr);return[sr||[],ar]},[Sn,cn,Sr,Tr]),xa=(0,te.useMemo)(()=>{const sr=Xt==="radio"?ca.slice(0,1):ca;return new Set(sr)},[ca,Xt]),Ca=(0,te.useMemo)(()=>Xt==="radio"?new Set:new Set(Kr),[Kr,Xt]),[Er,Ta]=(0,te.useState)(null);te.useEffect(()=>{tt||Dn(gi)},[!!tt]);const Vr=(0,te.useCallback)((sr,ar)=>{let nr,Kn;Fr(sr),dt?(nr=sr,Kn=sr.map(_r=>lr.current.get(_r))):(nr=[],Kn=[],sr.forEach(_r=>{const Zn=Gn(_r);Zn!==void 0&&(nr.push(_r),Kn.push(Zn))})),Dn(nr),jt==null||jt(nr,Kn,{type:ar})},[Dn,Gn,jt,dt]),ya=(0,te.useCallback)((sr,ar,nr,Kn)=>{if(Ot){const _r=nr.map(Zn=>Gn(Zn));Ot(Gn(sr),ar,_r,Kn)}Vr(nr,"single")},[Ot,Gn,Vr]),ha=(0,te.useMemo)(()=>!Yt||yn?null:(Yt===!0?[Qo,Jo,qo]:Yt).map(ar=>ar===Qo?{key:"all",text:zn.selectionAll,onSelect(){Vr(Vn.map((nr,Kn)=>ur(nr,Kn)).filter(nr=>{const Kn=jr.get(nr);return!(Kn!=null&&Kn.disabled)||xa.has(nr)}),"all")}}:ar===Jo?{key:"invert",text:zn.selectInvert,onSelect(){const nr=new Set(xa);Yn.forEach((_r,Zn)=>{const br=ur(_r,Zn),Hr=jr.get(br);Hr!=null&&Hr.disabled||(nr.has(br)?nr.delete(br):nr.add(br))});const Kn=Array.from(nr);It&&It(Kn),Vr(Kn,"invert")}}:ar===qo?{key:"none",text:zn.selectNone,onSelect(){Ut==null||Ut(),Vr(Array.from(xa).filter(nr=>{const Kn=jr.get(nr);return Kn==null?void 0:Kn.disabled}),"none")}}:ar).map(ar=>Object.assign(Object.assign({},ar),{onSelect:function(){for(var nr,Kn,_r=arguments.length,Zn=new Array(_r),br=0;br<_r;br++)Zn[br]=arguments[br];(Kn=ar.onSelect)===null||Kn===void 0||(nr=Kn).call.apply(nr,[ar].concat(Zn)),Ta(null)}})),[Yt,xa,Yn,ur,It,Vr]);return[(0,te.useCallback)(sr=>{var ar;if(!tt)return sr.filter(Jr=>Jr!==bo);let nr=(0,sn.Z)(sr);const Kn=new Set(xa),_r=tr.map(ur).filter(Jr=>!jr.get(Jr).disabled),Zn=_r.every(Jr=>Kn.has(Jr)),br=_r.some(Jr=>Kn.has(Jr)),Hr=()=>{const Jr=[];Zn?_r.forEach(Pa=>{Kn.delete(Pa),Jr.push(Pa)}):_r.forEach(Pa=>{Kn.has(Pa)||(Kn.add(Pa),Jr.push(Pa))});const ea=Array.from(Kn);Bt==null||Bt(!Zn,ea.map(Pa=>Gn(Pa)),Jr.map(Pa=>Gn(Pa))),Vr(ea,"all"),Ta(null)};let Rr;if(Xt!=="radio"){let Jr;if(ha){const Lr={getPopupContainer:On,items:ha.map((Va,Wa)=>{const{key:no,text:co,onSelect:uo}=Va;return{key:no!=null?no:Wa,onClick:()=>{uo==null||uo(_r)},label:co}})};Jr=te.createElement("div",{className:`${wn}-selection-extra`},te.createElement(oa.Z,{menu:Lr,getPopupContainer:On},te.createElement("span",null,te.createElement(Zi.Z,null))))}const ea=tr.map((Lr,Va)=>{const Wa=ur(Lr,Va),no=jr.get(Wa)||{};return Object.assign({checked:Kn.has(Wa)},no)}).filter(Lr=>{let{disabled:Va}=Lr;return Va}),Pa=!!ea.length&&ea.length===tr.length,Da=Pa&&ea.every(Lr=>{let{checked:Va}=Lr;return Va}),Ra=Pa&&ea.some(Lr=>{let{checked:Va}=Lr;return Va});Rr=!yn&&te.createElement("div",{className:`${wn}-selection`},te.createElement(pa.default,{checked:Pa?Da:!!tr.length&&Zn,indeterminate:Pa?!Da&&Ra:!Zn&&br,onChange:Hr,disabled:tr.length===0||Pa,"aria-label":Jr?"Custom selection":"Select all",skipGroup:!0}),Jr)}let Ua;Xt==="radio"?Ua=(Jr,ea,Pa)=>{const Da=ur(ea,Pa),Ra=Kn.has(Da);return{node:te.createElement(xo.ZP,Object.assign({},jr.get(Da),{checked:Ra,onClick:Lr=>Lr.stopPropagation(),onChange:Lr=>{Kn.has(Da)||ya(Da,!0,[Da],Lr.nativeEvent)}})),checked:Ra}}:Ua=(Jr,ea,Pa)=>{var Da;const Ra=ur(ea,Pa),Lr=Kn.has(Ra),Va=Ca.has(Ra),Wa=jr.get(Ra);let no;return wr==="nest"?no=Va:no=(Da=Wa==null?void 0:Wa.indeterminate)!==null&&Da!==void 0?Da:Va,{node:te.createElement(pa.default,Object.assign({},Wa,{indeterminate:no,checked:Lr,skipGroup:!0,onClick:co=>co.stopPropagation(),onChange:co=>{let{nativeEvent:uo}=co;const{shiftKey:Lo}=uo;let ho=-1,io=-1;if(Lo&&cn){const Ja=new Set([Er,Ra]);_r.some((_a,ka)=>{if(Ja.has(_a))if(ho===-1)ho=ka;else return io=ka,!0;return!1})}if(io!==-1&&ho!==io&&cn){const Ja=_r.slice(ho,io+1),_a=[];Lr?Ja.forEach(wa=>{Kn.has(wa)&&(_a.push(wa),Kn.delete(wa))}):Ja.forEach(wa=>{Kn.has(wa)||(_a.push(wa),Kn.add(wa))});const ka=Array.from(Kn);Nt==null||Nt(!Lr,ka.map(wa=>Gn(wa)),_a.map(wa=>Gn(wa))),Vr(ka,"multiple")}else{const Ja=ca;if(cn){const _a=Lr?(0,fi._5)(Ja,Ra):(0,fi.L0)(Ja,Ra);ya(Ra,!Lr,_a,uo)}else{const _a=(0,Yo.S)([].concat((0,sn.Z)(Ja),[Ra]),!0,Sr,Tr),{checkedKeys:ka,halfCheckedKeys:wa}=_a;let fo=ka;if(Lr){const Ao=new Set(ka);Ao.delete(Ra),fo=(0,Yo.S)(Array.from(Ao),{checked:!1,halfCheckedKeys:wa},Sr,Tr).checkedKeys}ya(Ra,!Lr,fo,uo)}}Ta(Lr?null:Ra)}})),checked:Lr}};const Ga=(Jr,ea,Pa)=>{const{node:Da,checked:Ra}=Ua(Jr,ea,Pa);return un?un(Ra,ea,Pa,Da):Da};if(!nr.includes(bo))if(nr.findIndex(Jr=>{var ea;return((ea=Jr[gn])===null||ea===void 0?void 0:ea.columnType)==="EXPAND_COLUMN"})===0){const[Jr,...ea]=nr;nr=[Jr,bo].concat((0,sn.Z)(ea))}else nr=[bo].concat((0,sn.Z)(nr));const lo=nr.indexOf(bo);nr=nr.filter((Jr,ea)=>Jr!==bo||ea===lo);const La=nr[lo-1],oo=nr[lo+1];let Ia=vn;Ia===void 0&&((oo==null?void 0:oo.fixed)!==void 0?Ia=oo.fixed:(La==null?void 0:La.fixed)!==void 0&&(Ia=La.fixed)),Ia&&La&&((ar=La[gn])===null||ar===void 0?void 0:ar.columnType)==="EXPAND_COLUMN"&&La.fixed===void 0&&(La.fixed=Ia);const Qa=Ce()(`${wn}-selection-col`,{[`${wn}-selection-col-with-dropdown`]:Yt&&Xt==="checkbox"}),Co={fixed:Ia,width:Qt,className:`${wn}-selection-column`,title:tt.columnTitle||Rr,render:Ga,onCell:tt.onCell,[gn]:{className:Qa}};return nr.map(Jr=>Jr===bo?Co:Jr)},[ur,tr,tt,ca,xa,Ca,Qt,ha,wr,Er,jr,Nt,ya,Tr]),xa]},Yi=Ae(89489),Qi=Ae(59477),Ji=Ae(6848);const Ro="ascend",$o="descend";function ko(Je){return typeof Je.sorter=="object"&&typeof Je.sorter.multiple=="number"?Je.sorter.multiple:!1}function pi(Je){return typeof Je=="function"?Je:Je&&typeof Je=="object"&&Je.compare?Je.compare:!1}function qi(Je,tt){return tt?Je[Je.indexOf(tt)+1]:Je[0]}function ei(Je,tt,dt){let pt=[];function bt(St,jt){pt.push({column:St,key:Br(St,jt),multiplePriority:ko(St),sortOrder:St.sortOrder})}return(Je||[]).forEach((St,jt)=>{const Ot=ra(jt,dt);St.children?("sortOrder"in St&&bt(St,Ot),pt=[].concat((0,sn.Z)(pt),(0,sn.Z)(ei(St.children,tt,Ot)))):St.sorter&&("sortOrder"in St?bt(St,Ot):tt&&St.defaultSortOrder&&pt.push({column:St,key:Br(St,Ot),multiplePriority:ko(St),sortOrder:St.defaultSortOrder}))}),pt}function hi(Je,tt,dt,pt,bt,St,jt,Ot){return(tt||[]).map((Bt,It)=>{const Ut=ra(It,Ot);let Nt=Bt;if(Nt.sorter){const Qt=Nt.sortDirections||bt,Xt=Nt.showSorterTooltip===void 0?jt:Nt.showSorterTooltip,Yt=Br(Nt,Ut),vn=dt.find(wr=>{let{key:jn}=wr;return jn===Yt}),un=vn?vn.sortOrder:null,yn=qi(Qt,un);let cn;if(Bt.sortIcon)cn=Bt.sortIcon({sortOrder:un});else{const wr=Qt.includes(Ro)&&te.createElement(Qi.Z,{className:Ce()(`${Je}-column-sorter-up`,{active:un===Ro})}),jn=Qt.includes($o)&&te.createElement(Yi.Z,{className:Ce()(`${Je}-column-sorter-down`,{active:un===$o})});cn=te.createElement("span",{className:Ce()(`${Je}-column-sorter`,{[`${Je}-column-sorter-full`]:!!(wr&&jn)})},te.createElement("span",{className:`${Je}-column-sorter-inner`,"aria-hidden":"true"},wr,jn))}const{cancelSort:wn,triggerAsc:Vn,triggerDesc:Yn}=St||{};let Gn=wn;yn===$o?Gn=Yn:yn===Ro&&(Gn=Vn);const ur=typeof Xt=="object"?Xt:{title:Gn};Nt=Object.assign(Object.assign({},Nt),{className:Ce()(Nt.className,{[`${Je}-column-sort`]:un}),title:wr=>{const jn=te.createElement("div",{className:`${Je}-column-sorters`},te.createElement("span",{className:`${Je}-column-title`},fa(Bt.title,wr)),cn);return Xt?te.createElement(Ji.Z,Object.assign({},ur),jn):jn},onHeaderCell:wr=>{const jn=Bt.onHeaderCell&&Bt.onHeaderCell(wr)||{},zn=jn.onClick,On=jn.onKeyDown;jn.onClick=lr=>{pt({column:Bt,key:Yt,sortOrder:yn,multiplePriority:ko(Bt)}),zn==null||zn(lr)},jn.onKeyDown=lr=>{lr.keyCode===Tn.Z.ENTER&&(pt({column:Bt,key:Yt,sortOrder:yn,multiplePriority:ko(Bt)}),On==null||On(lr))};const Sn=ua(Bt.title,{}),Dn=Sn==null?void 0:Sn.toString();return un?jn["aria-sort"]=un==="ascend"?"ascending":"descending":jn["aria-label"]=Dn||"",jn.className=Ce()(jn.className,`${Je}-column-has-sorters`),jn.tabIndex=0,Bt.ellipsis&&(jn.title=(Sn!=null?Sn:"").toString()),jn}})}return"children"in Nt&&(Nt=Object.assign(Object.assign({},Nt),{children:hi(Je,Nt.children,dt,pt,bt,St,jt,Ut)})),Nt})}function vi(Je){const{column:tt,sortOrder:dt}=Je;return{column:tt,order:dt,field:tt.dataIndex,columnKey:tt.key}}function yi(Je){const tt=Je.filter(dt=>{let{sortOrder:pt}=dt;return pt}).map(vi);return tt.length===0&&Je.length?Object.assign(Object.assign({},vi(Je[Je.length-1])),{column:void 0}):tt.length<=1?tt[0]||{}:tt}function ti(Je,tt,dt){const pt=tt.slice().sort((jt,Ot)=>Ot.multiplePriority-jt.multiplePriority),bt=Je.slice(),St=pt.filter(jt=>{let{column:{sorter:Ot},sortOrder:Bt}=jt;return pi(Ot)&&Bt});return St.length?bt.sort((jt,Ot)=>{for(let Bt=0;Bt{const Ot=jt[dt];return Ot?Object.assign(Object.assign({},jt),{[dt]:ti(Ot,tt,dt)}):jt}):bt}function $i(Je){let{prefixCls:tt,mergedColumns:dt,onSorterChange:pt,sortDirections:bt,tableLocale:St,showSorterTooltip:jt}=Je;const[Ot,Bt]=te.useState(ei(dt,!0)),It=te.useMemo(()=>{let Yt=!0;const vn=ei(dt,!1);if(!vn.length)return Ot;const un=[];function yn(wn){Yt?un.push(wn):un.push(Object.assign(Object.assign({},wn),{sortOrder:null}))}let cn=null;return vn.forEach(wn=>{cn===null?(yn(wn),wn.sortOrder&&(wn.multiplePriority===!1?Yt=!1:cn=!0)):(cn&&wn.multiplePriority!==!1||(Yt=!1),yn(wn))}),un},[dt,Ot]),Ut=te.useMemo(()=>{const Yt=It.map(vn=>{let{column:un,sortOrder:yn}=vn;return{column:un,order:yn}});return{sortColumns:Yt,sortColumn:Yt[0]&&Yt[0].column,sortOrder:Yt[0]&&Yt[0].order}},[It]);function Nt(Yt){let vn;Yt.multiplePriority===!1||!It.length||It[0].multiplePriority===!1?vn=[Yt]:vn=[].concat((0,sn.Z)(It.filter(un=>{let{key:yn}=un;return yn!==Yt.key})),[Yt]),Bt(vn),pt(yi(vn),vn)}return[Yt=>hi(tt,Yt,It,Nt,bt,St,jt),It,Ut,()=>yi(It)]}function bi(Je,tt){return Je.map(dt=>{const pt=Object.assign({},dt);return pt.title=fa(dt.title,tt),"children"in pt&&(pt.children=bi(pt.children,tt)),pt})}function es(Je){return[te.useCallback(dt=>bi(dt,Je),[Je])]}var ts=xr((Je,tt)=>{const{_renderTimes:dt}=Je,{_renderTimes:pt}=tt;return dt!==pt}),ns=pn((Je,tt)=>{const{_renderTimes:dt}=Je,{_renderTimes:pt}=tt;return dt!==pt}),To=Ae(64993),Mo=Ae(17313),rs=Ae(83116),as=Ae(37613),os=Je=>{const{componentCls:tt}=Je,dt=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,pt=(bt,St,jt)=>({[`&${tt}-${bt}`]:{[`> ${tt}-container`]:{[`> ${tt}-content, > ${tt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${tt}-expanded-row-fixed`]:{margin:`-${St}px -${jt+Je.lineWidth}px`}}}}}});return{[`${tt}-wrapper`]:{[`${tt}${tt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${tt}-title`]:{border:dt,borderBottom:0},[`> ${tt}-container`]:{borderInlineStart:dt,borderTop:dt,[` > ${tt}-content, > ${tt}-header, > ${tt}-body, > ${tt}-summary - `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:ct},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ct},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${tt}-cell-fix-right-first::after`]:{borderInlineEnd:ct}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${tt}-expanded-row-fixed`]:{margin:`-${qe.tablePaddingVertical}px -${qe.tablePaddingHorizontal+qe.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:qe.lineWidth,bottom:0,borderInlineEnd:ct,content:'""'}}}}}},[`&${tt}-scroll-horizontal`]:{[`> ${tt}-container > ${tt}-body`]:{"> table > tbody":{[` + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:dt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:dt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${tt}-cell-fix-right-first::after`]:{borderInlineEnd:dt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${tt}-expanded-row-fixed`]:{margin:`-${Je.tablePaddingVertical}px -${Je.tablePaddingHorizontal+Je.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Je.lineWidth,bottom:0,borderInlineEnd:dt,content:'""'}}}}}},[`&${tt}-scroll-horizontal`]:{[`> ${tt}-container > ${tt}-body`]:{"> table > tbody":{[` > tr${tt}-expanded-row, > tr${tt}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},mt("middle",qe.tablePaddingVerticalMiddle,qe.tablePaddingHorizontalMiddle)),mt("small",qe.tablePaddingVerticalSmall,qe.tablePaddingHorizontalSmall)),{[`> ${tt}-footer`]:{border:ct,borderTop:0}}),[`${tt}-cell`]:{[`${tt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${qe.lineWidth}px 0 ${qe.lineWidth}px ${qe.tableHeaderBg}`}},[`${tt}-bordered ${tt}-cell-scrollbar`]:{borderInlineEnd:ct}}}},is=qe=>{const{componentCls:tt}=qe;return{[`${tt}-wrapper`]:{[`${tt}-cell-ellipsis`]:Object.assign(Object.assign({},To.vS),{wordBreak:"keep-all",[` + `]:{"> th, > td":{borderInlineEnd:0}}}}}},pt("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle)),pt("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall)),{[`> ${tt}-footer`]:{border:dt,borderTop:0}}),[`${tt}-cell`]:{[`${tt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Je.lineWidth}px 0 ${Je.lineWidth}px ${Je.tableHeaderBg}`}},[`${tt}-bordered ${tt}-cell-scrollbar`]:{borderInlineEnd:dt}}}},is=Je=>{const{componentCls:tt}=Je;return{[`${tt}-wrapper`]:{[`${tt}-cell-ellipsis`]:Object.assign(Object.assign({},Mo.vS),{wordBreak:"keep-all",[` &${tt}-cell-fix-left-last, &${tt}-cell-fix-right-first - `]:{overflow:"visible",[`${tt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${tt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ss=qe=>{const{componentCls:tt}=qe;return{[`${tt}-wrapper`]:{[`${tt}-tbody > tr${tt}-placeholder`]:{textAlign:"center",color:qe.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:qe.colorBgContainer}}}}},ls=Ae(15969),us=qe=>{const{componentCls:tt,antCls:ct,controlInteractiveSize:mt,motionDurationSlow:bt,lineWidth:St,paddingXS:jt,lineType:Ot,tableBorderColor:Bt,tableExpandIconBg:Lt,tableExpandColumnWidth:Ut,borderRadius:Dt,fontSize:qt,fontSizeSM:_t,lineHeight:Yt,tablePaddingVertical:vn,tablePaddingHorizontal:cn,tableExpandedRowBg:yn,paddingXXS:fn}=qe,wn=mt/2-St,Xn=wn*2+St*3,Qn=`${St}px ${Ot} ${Bt}`,In=fn-St;return{[`${tt}-wrapper`]:{[`${tt}-expand-icon-col`]:{width:Ut},[`${tt}-row-expand-icon-cell`]:{textAlign:"center",[`${tt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${tt}-row-indent`]:{height:1,float:"left"},[`${tt}-row-expand-icon`]:Object.assign(Object.assign({},(0,ls.N)(qe)),{position:"relative",float:"left",boxSizing:"border-box",width:Xn,height:Xn,padding:0,color:"inherit",lineHeight:`${Xn}px`,background:Lt,border:Qn,borderRadius:Dt,transform:`scale(${mt/Xn})`,transition:`all ${bt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${bt} ease-out`,content:'""'},"&::before":{top:wn,insetInlineEnd:In,insetInlineStart:In,height:St},"&::after":{top:In,bottom:In,insetInlineStart:wn,width:St,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${tt}-row-indent + ${tt}-row-expand-icon`]:{marginTop:(qt*Yt-St*3)/2-Math.ceil((_t*1.4-St*3)/2),marginInlineEnd:jt},[`tr${tt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:yn}},[`${ct}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${tt}-expanded-row-fixed`]:{position:"relative",margin:`-${vn}px -${cn}px`,padding:`${vn}px ${cn}px`}}}},cs=qe=>{const{componentCls:tt,antCls:ct,iconCls:mt,tableFilterDropdownWidth:bt,tableFilterDropdownSearchWidth:St,paddingXXS:jt,paddingXS:Ot,colorText:Bt,lineWidth:Lt,lineType:Ut,tableBorderColor:Dt,tableHeaderIconColor:qt,fontSizeSM:_t,tablePaddingHorizontal:Yt,borderRadius:vn,motionDurationSlow:cn,colorTextDescription:yn,colorPrimary:fn,tableHeaderFilterActiveBg:wn,colorTextDisabled:Xn,tableFilterDropdownBg:Qn,tableFilterDropdownHeight:In,controlItemBgHover:cr,controlItemBgActive:Sr,boxShadowSecondary:Fn,filterDropdownMenuBg:Gn}=qe,Bn=`${ct}-dropdown`,Pn=`${tt}-filter-dropdown`,Ln=`${ct}-tree`,ur=`${Lt}px ${Ut} ${Dt}`;return[{[`${tt}-wrapper`]:{[`${tt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${tt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-jt,marginInline:`${jt}px ${-Yt/2}px`,padding:`0 ${jt}px`,color:qt,fontSize:_t,borderRadius:vn,cursor:"pointer",transition:`all ${cn}`,"&:hover":{color:yn,background:wn},"&.active":{color:fn}}}},{[`${ct}-dropdown`]:{[Pn]:Object.assign(Object.assign({},(0,To.Wf)(qe)),{minWidth:bt,backgroundColor:Qn,borderRadius:vn,boxShadow:Fn,overflow:"hidden",[`${Bn}-menu`]:{maxHeight:In,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Gn,"&:empty::after":{display:"block",padding:`${Ot}px 0`,color:Xn,fontSize:_t,textAlign:"center",content:'"Not Found"'}},[`${Pn}-tree`]:{paddingBlock:`${Ot}px 0`,paddingInline:Ot,[Ln]:{padding:0},[`${Ln}-treenode ${Ln}-node-content-wrapper:hover`]:{backgroundColor:cr},[`${Ln}-treenode-checkbox-checked ${Ln}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Sr}}},[`${Pn}-search`]:{padding:Ot,borderBottom:ur,"&-input":{input:{minWidth:St},[mt]:{color:Xn}}},[`${Pn}-checkall`]:{width:"100%",marginBottom:jt,marginInlineStart:jt},[`${Pn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ot-Lt}px ${Ot}px`,overflow:"hidden",borderTop:ur}})}},{[`${ct}-dropdown ${Pn}, ${Pn}-submenu`]:{[`${ct}-checkbox-wrapper + span`]:{paddingInlineStart:Ot,color:Bt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ds=qe=>{const{componentCls:tt,lineWidth:ct,colorSplit:mt,motionDurationSlow:bt,zIndexTableFixed:St,tableBg:jt,zIndexTableSticky:Ot}=qe,Bt=mt;return{[`${tt}-wrapper`]:{[` + `]:{overflow:"visible",[`${tt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${tt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ss=Je=>{const{componentCls:tt}=Je;return{[`${tt}-wrapper`]:{[`${tt}-tbody > tr${tt}-placeholder`]:{textAlign:"center",color:Je.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Je.colorBgContainer}}}}},ls=Ae(15969),us=Je=>{const{componentCls:tt,antCls:dt,controlInteractiveSize:pt,motionDurationSlow:bt,lineWidth:St,paddingXS:jt,lineType:Ot,tableBorderColor:Bt,tableExpandIconBg:It,tableExpandColumnWidth:Ut,borderRadius:Nt,fontSize:Qt,fontSizeSM:Xt,lineHeight:Yt,tablePaddingVertical:vn,tablePaddingHorizontal:un,tableExpandedRowBg:yn,paddingXXS:cn}=Je,wn=pt/2-St,Vn=wn*2+St*3,Yn=`${St}px ${Ot} ${Bt}`,Gn=cn-St;return{[`${tt}-wrapper`]:{[`${tt}-expand-icon-col`]:{width:Ut},[`${tt}-row-expand-icon-cell`]:{textAlign:"center",[`${tt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${tt}-row-indent`]:{height:1,float:"left"},[`${tt}-row-expand-icon`]:Object.assign(Object.assign({},(0,ls.N)(Je)),{position:"relative",float:"left",boxSizing:"border-box",width:Vn,height:Vn,padding:0,color:"inherit",lineHeight:`${Vn}px`,background:It,border:Yn,borderRadius:Nt,transform:`scale(${pt/Vn})`,transition:`all ${bt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${bt} ease-out`,content:'""'},"&::before":{top:wn,insetInlineEnd:Gn,insetInlineStart:Gn,height:St},"&::after":{top:Gn,bottom:Gn,insetInlineStart:wn,width:St,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${tt}-row-indent + ${tt}-row-expand-icon`]:{marginTop:(Qt*Yt-St*3)/2-Math.ceil((Xt*1.4-St*3)/2),marginInlineEnd:jt},[`tr${tt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:yn}},[`${dt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${tt}-expanded-row-fixed`]:{position:"relative",margin:`-${vn}px -${un}px`,padding:`${vn}px ${un}px`}}}},cs=Je=>{const{componentCls:tt,antCls:dt,iconCls:pt,tableFilterDropdownWidth:bt,tableFilterDropdownSearchWidth:St,paddingXXS:jt,paddingXS:Ot,colorText:Bt,lineWidth:It,lineType:Ut,tableBorderColor:Nt,tableHeaderIconColor:Qt,fontSizeSM:Xt,tablePaddingHorizontal:Yt,borderRadius:vn,motionDurationSlow:un,colorTextDescription:yn,colorPrimary:cn,tableHeaderFilterActiveBg:wn,colorTextDisabled:Vn,tableFilterDropdownBg:Yn,tableFilterDropdownHeight:Gn,controlItemBgHover:ur,controlItemBgActive:wr,boxShadowSecondary:jn,filterDropdownMenuBg:zn}=Je,On=`${dt}-dropdown`,Sn=`${tt}-filter-dropdown`,Dn=`${dt}-tree`,lr=`${It}px ${Ut} ${Nt}`;return[{[`${tt}-wrapper`]:{[`${tt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${tt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-jt,marginInline:`${jt}px ${-Yt/2}px`,padding:`0 ${jt}px`,color:Qt,fontSize:Xt,borderRadius:vn,cursor:"pointer",transition:`all ${un}`,"&:hover":{color:yn,background:wn},"&.active":{color:cn}}}},{[`${dt}-dropdown`]:{[Sn]:Object.assign(Object.assign({},(0,Mo.Wf)(Je)),{minWidth:bt,backgroundColor:Yn,borderRadius:vn,boxShadow:jn,overflow:"hidden",[`${On}-menu`]:{maxHeight:Gn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:zn,"&:empty::after":{display:"block",padding:`${Ot}px 0`,color:Vn,fontSize:Xt,textAlign:"center",content:'"Not Found"'}},[`${Sn}-tree`]:{paddingBlock:`${Ot}px 0`,paddingInline:Ot,[Dn]:{padding:0},[`${Dn}-treenode ${Dn}-node-content-wrapper:hover`]:{backgroundColor:ur},[`${Dn}-treenode-checkbox-checked ${Dn}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:wr}}},[`${Sn}-search`]:{padding:Ot,borderBottom:lr,"&-input":{input:{minWidth:St},[pt]:{color:Vn}}},[`${Sn}-checkall`]:{width:"100%",marginBottom:jt,marginInlineStart:jt},[`${Sn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ot-It}px ${Ot}px`,overflow:"hidden",borderTop:lr}})}},{[`${dt}-dropdown ${Sn}, ${Sn}-submenu`]:{[`${dt}-checkbox-wrapper + span`]:{paddingInlineStart:Ot,color:Bt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},ds=Je=>{const{componentCls:tt,lineWidth:dt,colorSplit:pt,motionDurationSlow:bt,zIndexTableFixed:St,tableBg:jt,zIndexTableSticky:Ot}=Je,Bt=pt;return{[`${tt}-wrapper`]:{[` ${tt}-cell-fix-left, ${tt}-cell-fix-right `]:{position:"sticky !important",zIndex:St,background:jt},[` ${tt}-cell-fix-left-first::after, ${tt}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-ct,width:30,transform:"translateX(100%)",transition:`box-shadow ${bt}`,content:'""',pointerEvents:"none"},[`${tt}-cell-fix-left-all::after`]:{display:"none"},[` + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-dt,width:30,transform:"translateX(100%)",transition:`box-shadow ${bt}`,content:'""',pointerEvents:"none"},[`${tt}-cell-fix-left-all::after`]:{display:"none"},[` ${tt}-cell-fix-right-first::after, ${tt}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:-ct,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${bt}`,content:'""',pointerEvents:"none"},[`${tt}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ot+1,width:30,transition:`box-shadow ${bt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${tt}-ping-left`]:{[`&:not(${tt}-has-fix-left) ${tt}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Bt}`}},[` + `]:{position:"absolute",top:0,bottom:-dt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${bt}`,content:'""',pointerEvents:"none"},[`${tt}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ot+1,width:30,transition:`box-shadow ${bt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${tt}-ping-left`]:{[`&:not(${tt}-has-fix-left) ${tt}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Bt}`}},[` ${tt}-cell-fix-left-first::after, ${tt}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Bt}`},[`${tt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${tt}-ping-right`]:{[`&:not(${tt}-has-fix-right) ${tt}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Bt}`}},[` ${tt}-cell-fix-right-first::after, ${tt}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${Bt}`}}}}},fs=qe=>{const{componentCls:tt,antCls:ct}=qe;return{[`${tt}-wrapper`]:{[`${tt}-pagination${ct}-pagination`]:{margin:`${qe.margin}px 0`},[`${tt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:qe.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},gs=qe=>{const{componentCls:tt,tableRadius:ct}=qe;return{[`${tt}-wrapper`]:{[tt]:{[`${tt}-title, ${tt}-header`]:{borderRadius:`${ct}px ${ct}px 0 0`},[`${tt}-title + ${tt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${tt}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ct,borderStartEndRadius:ct,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ct},"> *:last-child":{borderStartEndRadius:ct}}},"&-footer":{borderRadius:`0 0 ${ct}px ${ct}px`}}}}},ms=qe=>{const{componentCls:tt}=qe;return{[`${tt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${tt}-pagination-left`]:{justifyContent:"flex-end"},[`${tt}-pagination-right`]:{justifyContent:"flex-start"},[`${tt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${tt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${tt}-row-indent`]:{float:"right"}}}}},ps=qe=>{const{componentCls:tt,antCls:ct,iconCls:mt,fontSizeIcon:bt,padding:St,paddingXS:jt,tableHeaderIconColor:Ot,tableHeaderIconColorHover:Bt,tableSelectionColumnWidth:Lt}=qe;return{[`${tt}-wrapper`]:{[`${tt}-selection-col`]:{width:Lt,[`&${tt}-selection-col-with-dropdown`]:{width:Lt+bt+St/4}},[`${tt}-bordered ${tt}-selection-col`]:{width:Lt+jt*2,[`&${tt}-selection-col-with-dropdown`]:{width:Lt+bt+St/4+jt*2}},[` + `]:{boxShadow:`inset -10px 0 8px -8px ${Bt}`}}}}},fs=Je=>{const{componentCls:tt,antCls:dt}=Je;return{[`${tt}-wrapper`]:{[`${tt}-pagination${dt}-pagination`]:{margin:`${Je.margin}px 0`},[`${tt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Je.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},gs=Je=>{const{componentCls:tt,tableRadius:dt}=Je;return{[`${tt}-wrapper`]:{[tt]:{[`${tt}-title, ${tt}-header`]:{borderRadius:`${dt}px ${dt}px 0 0`},[`${tt}-title + ${tt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${tt}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:dt,borderStartEndRadius:dt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:dt},"> *:last-child":{borderStartEndRadius:dt}}},"&-footer":{borderRadius:`0 0 ${dt}px ${dt}px`}}}}},ms=Je=>{const{componentCls:tt}=Je;return{[`${tt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${tt}-pagination-left`]:{justifyContent:"flex-end"},[`${tt}-pagination-right`]:{justifyContent:"flex-start"},[`${tt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${tt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${tt}-row-indent`]:{float:"right"}}}}},ps=Je=>{const{componentCls:tt,antCls:dt,iconCls:pt,fontSizeIcon:bt,padding:St,paddingXS:jt,tableHeaderIconColor:Ot,tableHeaderIconColorHover:Bt,tableSelectionColumnWidth:It}=Je;return{[`${tt}-wrapper`]:{[`${tt}-selection-col`]:{width:It,[`&${tt}-selection-col-with-dropdown`]:{width:It+bt+St/4}},[`${tt}-bordered ${tt}-selection-col`]:{width:It+jt*2,[`&${tt}-selection-col-with-dropdown`]:{width:It+bt+St/4+jt*2}},[` table tr th${tt}-selection-column, table tr td${tt}-selection-column - `]:{paddingInlineEnd:qe.paddingXS,paddingInlineStart:qe.paddingXS,textAlign:"center",[`${ct}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${tt}-selection-column${tt}-cell-fix-left`]:{zIndex:qe.zIndexTableFixed+1},[`table tr th${tt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${tt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${tt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${qe.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${qe.tablePaddingHorizontal/4}px`,[mt]:{color:Ot,fontSize:bt,verticalAlign:"baseline","&:hover":{color:Bt}}}}}},hs=qe=>{const{componentCls:tt}=qe,ct=(mt,bt,St,jt)=>({[`${tt}${tt}-${mt}`]:{fontSize:jt,[` + `]:{paddingInlineEnd:Je.paddingXS,paddingInlineStart:Je.paddingXS,textAlign:"center",[`${dt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${tt}-selection-column${tt}-cell-fix-left`]:{zIndex:Je.zIndexTableFixed+1},[`table tr th${tt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${tt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${tt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Je.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Je.tablePaddingHorizontal/4}px`,[pt]:{color:Ot,fontSize:bt,verticalAlign:"baseline","&:hover":{color:Bt}}}}}},hs=Je=>{const{componentCls:tt}=Je,dt=(pt,bt,St,jt)=>({[`${tt}${tt}-${pt}`]:{fontSize:jt,[` ${tt}-title, ${tt}-footer, ${tt}-cell, @@ -257,35 +257,35 @@ headers: `+JSON.stringify(dt),st.data=pt,st.path=Ge.path,st.status=Te,st.headers ${tt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${bt}px ${St}px`},[`${tt}-filter-trigger`]:{marginInlineEnd:`-${St/2}px`},[`${tt}-expanded-row-fixed`]:{margin:`-${bt}px -${St}px`},[`${tt}-tbody`]:{[`${tt}-wrapper:only-child ${tt}`]:{marginBlock:`-${bt}px`,marginInline:`${qe.tableExpandColumnWidth-St}px -${St}px`}},[`${tt}-selection-column`]:{paddingInlineStart:`${St/4}px`}}});return{[`${tt}-wrapper`]:Object.assign(Object.assign({},ct("middle",qe.tablePaddingVerticalMiddle,qe.tablePaddingHorizontalMiddle,qe.tableFontSizeMiddle)),ct("small",qe.tablePaddingVerticalSmall,qe.tablePaddingHorizontalSmall,qe.tableFontSizeSmall))}},vs=qe=>{const{componentCls:tt,marginXXS:ct,fontSizeIcon:mt,tableHeaderIconColor:bt,tableHeaderIconColorHover:St}=qe;return{[`${tt}-wrapper`]:{[`${tt}-thead th${tt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${qe.motionDurationSlow}`,"&:hover":{background:qe.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:qe.colorPrimary},[` + `]:{padding:`${bt}px ${St}px`},[`${tt}-filter-trigger`]:{marginInlineEnd:`-${St/2}px`},[`${tt}-expanded-row-fixed`]:{margin:`-${bt}px -${St}px`},[`${tt}-tbody`]:{[`${tt}-wrapper:only-child ${tt}`]:{marginBlock:`-${bt}px`,marginInline:`${Je.tableExpandColumnWidth-St}px -${St}px`}},[`${tt}-selection-column`]:{paddingInlineStart:`${St/4}px`}}});return{[`${tt}-wrapper`]:Object.assign(Object.assign({},dt("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle,Je.tableFontSizeMiddle)),dt("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall,Je.tableFontSizeSmall))}},vs=Je=>{const{componentCls:tt,marginXXS:dt,fontSizeIcon:pt,tableHeaderIconColor:bt,tableHeaderIconColorHover:St}=Je;return{[`${tt}-wrapper`]:{[`${tt}-thead th${tt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Je.motionDurationSlow}`,"&:hover":{background:Je.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Je.colorPrimary},[` &${tt}-cell-fix-left:hover, &${tt}-cell-fix-right:hover - `]:{background:qe.tableFixedHeaderSortActiveBg}},[`${tt}-thead th${tt}-column-sort`]:{background:qe.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${tt}-column-sort`]:{background:qe.tableBodySortBg},[`${tt}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${tt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${tt}-column-sorter`]:{marginInlineStart:ct,color:bt,fontSize:0,transition:`color ${qe.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:mt,"&.active":{color:qe.colorPrimary}},[`${tt}-column-sorter-up + ${tt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${tt}-column-sorters:hover ${tt}-column-sorter`]:{color:St}}}},ys=qe=>{const{componentCls:tt,opacityLoading:ct,tableScrollThumbBg:mt,tableScrollThumbBgHover:bt,tableScrollThumbSize:St,tableScrollBg:jt,zIndexTableSticky:Ot,stickyScrollBarBorderRadius:Bt}=qe,Lt=`${qe.lineWidth}px ${qe.lineType} ${qe.tableBorderColor}`;return{[`${tt}-wrapper`]:{[`${tt}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ot,background:qe.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${St}px !important`,zIndex:Ot,display:"flex",alignItems:"center",background:jt,borderTop:Lt,opacity:ct,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:St,backgroundColor:mt,borderRadius:Bt,transition:`all ${qe.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:bt}}}}}}},yi=qe=>{const{componentCls:tt,lineWidth:ct,tableBorderColor:mt}=qe,bt=`${ct}px ${qe.lineType} ${mt}`;return{[`${tt}-wrapper`]:{[`${tt}-summary`]:{position:"relative",zIndex:qe.zIndexTableFixed,background:qe.tableBg,"> tr":{"> th, > td":{borderBottom:bt}}},[`div${tt}-summary`]:{boxShadow:`0 -${ct}px 0 ${mt}`}}}},bs=qe=>{const{componentCls:tt}=qe,ct=`${qe.lineWidth}px ${qe.lineType} ${qe.tableBorderColor}`,mt=`${tt}-expanded-row-cell`;return{[`${tt}-wrapper`]:{[`${tt}-tbody-virtual`]:{[`${tt}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${tt}-cell`]:{borderBottom:ct},[`${tt}-expanded-row`]:{[`${mt}${mt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${qe.lineWidth}px)`,borderInlineEnd:"none"}}},[`${tt}-bordered`]:{[`${tt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ct,position:"absolute"},[`${tt}-cell`]:{borderInlineEnd:ct,[`&${tt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-qe.lineWidth,borderInlineStart:ct}}}}}}};const Ss=qe=>{const{componentCls:tt,fontWeightStrong:ct,tablePaddingVertical:mt,tablePaddingHorizontal:bt,lineWidth:St,lineType:jt,tableBorderColor:Ot,tableFontSize:Bt,tableBg:Lt,tableRadius:Ut,tableHeaderTextColor:Dt,motionDurationMid:qt,tableHeaderBg:_t,tableHeaderCellSplitColor:Yt,tableRowHoverBg:vn,tableSelectedRowBg:cn,tableSelectedRowHoverBg:yn,tableFooterTextColor:fn,tableFooterBg:wn,paddingContentVerticalLG:Xn}=qe,Qn=`${St}px ${jt} ${Ot}`;return{[`${tt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,To.dF)()),{[tt]:Object.assign(Object.assign({},(0,To.Wf)(qe)),{fontSize:Bt,background:Lt,borderRadius:`${Ut}px ${Ut}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ut}px ${Ut}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:Je.tableFixedHeaderSortActiveBg}},[`${tt}-thead th${tt}-column-sort`]:{background:Je.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${tt}-column-sort`]:{background:Je.tableBodySortBg},[`${tt}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${tt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${tt}-column-sorter`]:{marginInlineStart:dt,color:bt,fontSize:0,transition:`color ${Je.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:pt,"&.active":{color:Je.colorPrimary}},[`${tt}-column-sorter-up + ${tt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${tt}-column-sorters:hover ${tt}-column-sorter`]:{color:St}}}},ys=Je=>{const{componentCls:tt,opacityLoading:dt,tableScrollThumbBg:pt,tableScrollThumbBgHover:bt,tableScrollThumbSize:St,tableScrollBg:jt,zIndexTableSticky:Ot,stickyScrollBarBorderRadius:Bt}=Je,It=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`;return{[`${tt}-wrapper`]:{[`${tt}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ot,background:Je.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${St}px !important`,zIndex:Ot,display:"flex",alignItems:"center",background:jt,borderTop:It,opacity:dt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:St,backgroundColor:pt,borderRadius:Bt,transition:`all ${Je.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:bt}}}}}}},Si=Je=>{const{componentCls:tt,lineWidth:dt,tableBorderColor:pt}=Je,bt=`${dt}px ${Je.lineType} ${pt}`;return{[`${tt}-wrapper`]:{[`${tt}-summary`]:{position:"relative",zIndex:Je.zIndexTableFixed,background:Je.tableBg,"> tr":{"> th, > td":{borderBottom:bt}}},[`div${tt}-summary`]:{boxShadow:`0 -${dt}px 0 ${pt}`}}}},bs=Je=>{const{componentCls:tt}=Je,dt=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,pt=`${tt}-expanded-row-cell`;return{[`${tt}-wrapper`]:{[`${tt}-tbody-virtual`]:{[`${tt}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${tt}-cell`]:{borderBottom:dt},[`${tt}-expanded-row`]:{[`${pt}${pt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Je.lineWidth}px)`,borderInlineEnd:"none"}}},[`${tt}-bordered`]:{[`${tt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:dt,position:"absolute"},[`${tt}-cell`]:{borderInlineEnd:dt,[`&${tt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Je.lineWidth,borderInlineStart:dt}}}}}}};const Ss=Je=>{const{componentCls:tt,fontWeightStrong:dt,tablePaddingVertical:pt,tablePaddingHorizontal:bt,lineWidth:St,lineType:jt,tableBorderColor:Ot,tableFontSize:Bt,tableBg:It,tableRadius:Ut,tableHeaderTextColor:Nt,motionDurationMid:Qt,tableHeaderBg:Xt,tableHeaderCellSplitColor:Yt,tableRowHoverBg:vn,tableSelectedRowBg:un,tableSelectedRowHoverBg:yn,tableFooterTextColor:cn,tableFooterBg:wn,paddingContentVerticalLG:Vn}=Je,Yn=`${St}px ${jt} ${Ot}`;return{[`${tt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Mo.dF)()),{[tt]:Object.assign(Object.assign({},(0,Mo.Wf)(Je)),{fontSize:Bt,background:It,borderRadius:`${Ut}px ${Ut}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ut}px ${Ut}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${tt}-cell, ${tt}-thead > tr > th, ${tt}-tbody > tr > th, ${tt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${Xn}px ${bt}px`,overflowWrap:"break-word"},[`${tt}-title`]:{padding:`${mt}px ${bt}px`},[`${tt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Dt,fontWeight:ct,textAlign:"start",background:_t,borderBottom:Qn,transition:`background ${qt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${tt}-selection-column):not(${tt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Yt,transform:"translateY(-50%)",transition:`background-color ${qt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${tt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${qt}, border-color ${qt}`,borderBottom:Qn,[` + `]:{position:"relative",padding:`${Vn}px ${bt}px`,overflowWrap:"break-word"},[`${tt}-title`]:{padding:`${pt}px ${bt}px`},[`${tt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Nt,fontWeight:dt,textAlign:"start",background:Xt,borderBottom:Yn,transition:`background ${Qt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${tt}-selection-column):not(${tt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Yt,transform:"translateY(-50%)",transition:`background-color ${Qt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${tt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Qt}, border-color ${Qt}`,borderBottom:Yn,[` > ${tt}-wrapper:only-child, > ${tt}-expanded-row-fixed > ${tt}-wrapper:only-child - `]:{[tt]:{marginBlock:`-${mt}px`,marginInline:`${qe.tableExpandColumnWidth-bt}px -${bt}px`,[`${tt}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Dt,fontWeight:ct,textAlign:"start",background:_t,borderBottom:Qn,transition:`background ${qt} ease`},[` + `]:{[tt]:{marginBlock:`-${pt}px`,marginInline:`${Je.tableExpandColumnWidth-bt}px -${bt}px`,[`${tt}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Nt,fontWeight:dt,textAlign:"start",background:Xt,borderBottom:Yn,transition:`background ${Qt} ease`},[` &${tt}-row:hover > th, &${tt}-row:hover > td, > th${tt}-cell-row-hover, > td${tt}-cell-row-hover - `]:{background:vn},[`&${tt}-row-selected`]:{"> th, > td":{background:cn},"&:hover > th, &:hover > td":{background:yn}}}},[`${tt}-footer`]:{padding:`${mt}px ${bt}px`,color:fn,background:wn}})}};var Ps=(0,rs.Z)("Table",qe=>{const{colorTextHeading:tt,colorSplit:ct,colorIcon:mt,colorIconHover:bt,opacityLoading:St,colorBgContainer:jt,controlInteractiveSize:Ot,headerBg:Bt,headerColor:Lt,headerSortActiveBg:Ut,headerSortHoverBg:Dt,bodySortBg:qt,rowHoverBg:_t,rowSelectedBg:Yt,rowSelectedHoverBg:vn,rowExpandedBg:cn,cellPaddingBlock:yn,cellPaddingInline:fn,cellPaddingBlockMD:wn,cellPaddingInlineMD:Xn,cellPaddingBlockSM:Qn,cellPaddingInlineSM:In,borderColor:cr,footerBg:Sr,footerColor:Fn,headerBorderRadius:Gn,cellFontSize:Bn,cellFontSizeMD:Pn,cellFontSizeSM:Ln,headerSplitColor:ur,fixedHeaderSortActiveBg:Br,headerFilterHoverBg:vr,filterDropdownBg:tr,expandIconBg:jr,selectionColumnWidth:Tr,stickyScrollBarBg:ia}=qe,Kr=new Fo.C(mt),wa=new Fo.C(bt),Ea=2,Pr=(0,as.TS)(qe,{tableFontSize:Bn,tableBg:jt,tableRadius:Gn,tablePaddingVertical:yn,tablePaddingHorizontal:fn,tablePaddingVerticalMiddle:wn,tablePaddingHorizontalMiddle:Xn,tablePaddingVerticalSmall:Qn,tablePaddingHorizontalSmall:In,tableBorderColor:cr,tableHeaderTextColor:Lt,tableHeaderBg:Bt,tableFooterTextColor:Fn,tableFooterBg:Sr,tableHeaderCellSplitColor:ur,tableHeaderSortBg:Ut,tableHeaderSortHoverBg:Dt,tableHeaderIconColor:Kr.clone().setAlpha(Kr.getAlpha()*St).toRgbString(),tableHeaderIconColorHover:wa.clone().setAlpha(wa.getAlpha()*St).toRgbString(),tableBodySortBg:qt,tableFixedHeaderSortActiveBg:Br,tableHeaderFilterActiveBg:vr,tableFilterDropdownBg:tr,tableRowHoverBg:_t,tableSelectedRowBg:Yt,tableSelectedRowHoverBg:vn,zIndexTableFixed:Ea,zIndexTableSticky:Ea+1,tableFontSizeMiddle:Pn,tableFontSizeSmall:Ln,tableSelectionColumnWidth:Tr,tableExpandIconBg:jr,tableExpandColumnWidth:Ot+2*qe.padding,tableExpandedRowBg:cn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ia,tableScrollThumbBgHover:tt,tableScrollBg:ct});return[Ss(Pr),fs(Pr),yi(Pr),vs(Pr),cs(Pr),os(Pr),gs(Pr),us(Pr),yi(Pr),ss(Pr),ps(Pr),ds(Pr),ys(Pr),is(Pr),hs(Pr),ms(Pr),bs(Pr)]},qe=>{const{colorFillAlter:tt,colorBgContainer:ct,colorTextHeading:mt,colorFillSecondary:bt,colorFillContent:St,controlItemBgActive:jt,controlItemBgActiveHover:Ot,padding:Bt,paddingSM:Lt,paddingXS:Ut,colorBorderSecondary:Dt,borderRadiusLG:qt,fontSize:_t,controlHeight:Yt,colorTextPlaceholder:vn}=qe,cn=new Fo.C(bt).onBackground(ct).toHexShortString(),yn=new Fo.C(St).onBackground(ct).toHexShortString(),fn=new Fo.C(tt).onBackground(ct).toHexShortString();return{headerBg:fn,headerColor:mt,headerSortActiveBg:cn,headerSortHoverBg:yn,bodySortBg:fn,rowHoverBg:fn,rowSelectedBg:jt,rowSelectedHoverBg:Ot,rowExpandedBg:tt,cellPaddingBlock:Bt,cellPaddingInline:Bt,cellPaddingBlockMD:Lt,cellPaddingInlineMD:Ut,cellPaddingBlockSM:Ut,cellPaddingInlineSM:Ut,borderColor:Dt,headerBorderRadius:qt,footerBg:fn,footerColor:mt,cellFontSize:_t,cellFontSizeMD:_t,cellFontSizeSM:_t,headerSplitColor:Dt,fixedHeaderSortActiveBg:cn,headerFilterHoverBg:St,filterDropdownMenuBg:ct,filterDropdownBg:ct,expandIconBg:ct,selectionColumnWidth:Yt,stickyScrollBarBg:vn,stickyScrollBarBorderRadius:100}});const ws=[],Es=(qe,tt)=>{const{prefixCls:ct,className:mt,rootClassName:bt,style:St,size:jt,bordered:Ot,dropdownPrefixCls:Bt,dataSource:Lt,pagination:Ut,rowSelection:Dt,rowKey:qt="key",rowClassName:_t,columns:Yt,children:vn,childrenColumnName:cn,onChange:yn,getPopupContainer:fn,loading:wn,expandIcon:Xn,expandable:Qn,expandedRowRender:In,expandIconColumnIndex:cr,indentSize:Sr,scroll:Fn,sortDirections:Gn,locale:Bn,showSorterTooltip:Pn=!0,virtual:Ln}=qe,ur=te.useMemo(()=>Yt||Et(vn),[Yt,vn]),Br=te.useMemo(()=>ur.some(Ur=>Ur.responsive),[ur]),vr=(0,Dr.Z)(Br),tr=te.useMemo(()=>{const Ur=new Set(Object.keys(vr).filter(ca=>vr[ca]));return ur.filter(ca=>!ca.responsive||ca.responsive.some(za=>Ur.has(za)))},[ur,vr]),jr=(0,lr.Z)(qe,["className","style","columns"]),{locale:Tr=oa.Z,direction:ia,table:Kr,renderEmpty:wa,getPrefixCls:Ea,getPopupContainer:Pr}=te.useContext(dr.E_),Fa=(0,aa.Z)(jt),_r=Object.assign(Object.assign({},Tr.Table),Bn),pa=Lt||ws,ga=Ea("table",ct),Ya=Ea("dropdown",Bt),or=Object.assign({childrenColumnName:cn,expandIconColumnIndex:cr},Qn),{childrenColumnName:ar="children"}=or,nr=te.useMemo(()=>pa.some(Ur=>Ur==null?void 0:Ur[ar])?"nest":In||Qn&&Qn.expandedRowRender?"row":null,[pa]),Zn={body:te.useRef()},Xr=te.useMemo(()=>typeof qt=="function"?qt:Ur=>Ur==null?void 0:Ur[qt],[qt]),[Vn]=Gi(pa,ar,Xr),mr={},Hr=function(Ur,ca){let za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Sa,Wa,qa;const $a=Object.assign(Object.assign({},mr),Ur);za&&((Sa=mr.resetPagination)===null||Sa===void 0||Sa.call(mr),!((Wa=$a.pagination)===null||Wa===void 0)&&Wa.current&&($a.pagination.current=1),Ut&&Ut.onChange&&Ut.onChange(1,(qa=$a.pagination)===null||qa===void 0?void 0:qa.pageSize)),Fn&&Fn.scrollToFirstRowOnChange!==!1&&Zn.body.current&&(0,zn.Z)(0,{getContainer:()=>Zn.body.current}),yn==null||yn($a.pagination,$a.filters,$a.sorter,{currentDataSource:si(Vo(pa,$a.sorterStates,ar),$a.filterStates),action:ca})},Mr=(Ur,ca)=>{Hr({sorter:Ur,sorterStates:ca},"sort",!1)},[Ha,Ma,io,Ba]=$i({prefixCls:ga,mergedColumns:tr,onSorterChange:Mr,sortDirections:Gn||["ascend","descend"],tableLocale:_r,showSorterTooltip:Pn}),ro=te.useMemo(()=>Vo(pa,Ma,ar),[pa,Ma]);mr.sorter=Ba(),mr.sorterStates=Ma;const ja=(Ur,ca)=>{Hr({filters:Ur,filterStates:ca},"filter",!0)},[Qa,Po,Qr]=Mi({prefixCls:ga,locale:_r,dropdownPrefixCls:Ya,mergedColumns:tr,onFilterChange:ja,getPopupContainer:fn||Pr}),$r=si(ro,Po);mr.filters=Qr,mr.filterStates=Po;const ya=te.useMemo(()=>{const Ur={};return Object.keys(Qr).forEach(ca=>{Qr[ca]!==null&&(Ur[ca]=Qr[ca])}),Object.assign(Object.assign({},io),{filters:Ur})},[io,Qr]),[La]=es(ya),Ia=(Ur,ca)=>{Hr({pagination:Object.assign(Object.assign({},mr.pagination),{current:Ur,pageSize:ca})},"paginate")},[Lr,Va]=Ki($r.length,Ia,Ut);mr.pagination=Ut===!1?{}:Ui(Lr,Ut),mr.resetPagination=Va;const Ua=te.useMemo(()=>{if(Ut===!1||!Lr.pageSize)return $r;const{current:Ur=1,total:ca,pageSize:za=ui}=Lr;return $r.lengthza?$r.slice((Ur-1)*za,Ur*za):$r:$r.slice((Ur-1)*za,Ur*za)},[!!Ut,$r,Lr&&Lr.current,Lr&&Lr.pageSize,Lr&&Lr.total]),[eo,lo]=Xi({prefixCls:ga,data:$r,pageData:Ua,getRowKey:Xr,getRecordByKey:Vn,expandType:nr,childrenColumnName:ar,locale:_r,getPopupContainer:fn||Pr},Dt),so=(Ur,ca,za)=>{let Sa;return typeof _t=="function"?Sa=Ce()(_t(Ur,ca,za)):Sa=Ce()(_t),Ce()({[`${ga}-row-selected`]:lo.has(Xr(Ur,ca))},Sa)};or.__PARENT_RENDER_ICON__=or.expandIcon,or.expandIcon=or.expandIcon||Xn||Mn(_r),nr==="nest"&&or.expandIconColumnIndex===void 0?or.expandIconColumnIndex=Dt?1:0:or.expandIconColumnIndex>0&&Dt&&(or.expandIconColumnIndex-=1),typeof or.indentSize!="number"&&(or.indentSize=typeof Sr=="number"?Sr:15);const Bo=te.useCallback(Ur=>La(eo(Qa(Ha(Ur)))),[Ha,Qa,eo]);let mo,ao;if(Ut!==!1&&(Lr!=null&&Lr.total)){let Ur;Lr.size?Ur=Lr.size:Ur=Fa==="small"||Fa==="middle"?"small":void 0;const ca=Wa=>te.createElement(va.Z,Object.assign({},Lr,{className:Ce()(`${ga}-pagination ${ga}-pagination-${Wa}`,Lr.className),size:Ur})),za=ia==="rtl"?"left":"right",{position:Sa}=Lr;if(Sa!==null&&Array.isArray(Sa)){const Wa=Sa.find(po=>po.includes("top")),qa=Sa.find(po=>po.includes("bottom")),$a=Sa.every(po=>`${po}`=="none");!Wa&&!qa&&!$a&&(ao=ca(za)),Wa&&(mo=ca(Wa.toLowerCase().replace("top",""))),qa&&(ao=ca(qa.toLowerCase().replace("bottom","")))}else ao=ca(za)}let Ja;typeof wn=="boolean"?Ja={spinning:wn}:typeof wn=="object"&&(Ja=Object.assign({spinning:!0},wn));const[_a,Da]=Ps(ga),[,ba]=(0,ln.Z)(),uo=Ce()(`${ga}-wrapper`,Kr==null?void 0:Kr.className,{[`${ga}-wrapper-rtl`]:ia==="rtl"},mt,bt,Da),wo=Object.assign(Object.assign({},Kr==null?void 0:Kr.style),St),vo=Bn&&Bn.emptyText||(wa==null?void 0:wa("Table"))||te.createElement(fr.Z,{componentName:"Table"}),co=Ln?ns:ts,Lo={},_o=te.useMemo(()=>{const{fontSize:Ur,lineHeight:ca,padding:za,paddingXS:Sa,paddingSM:Wa}=ba,qa=Math.floor(Ur*ca);switch(Fa){case"large":return za*2+qa;case"small":return Sa*2+qa;default:return Wa*2+qa}},[ba,Fa]);return Ln&&(Lo.listItemHeight=_o),_a(te.createElement("div",{ref:tt,className:uo,style:wo},te.createElement(hn.Z,Object.assign({spinning:!1},Ja),mo,te.createElement(co,Object.assign({},Lo,jr,{columns:tr,direction:ia,expandable:or,prefixCls:ga,className:Ce()({[`${ga}-middle`]:Fa==="middle",[`${ga}-small`]:Fa==="small",[`${ga}-bordered`]:Ot,[`${ga}-empty`]:pa.length===0}),data:Ua,rowKey:Xr,rowClassName:so,emptyText:vo,internalHooks:ot,internalRefs:Zn,transformColumns:Bo})),ao)))};var xs=te.forwardRef(Es);const Cs=(qe,tt)=>{const ct=te.useRef(0);return ct.current+=1,te.createElement(xs,Object.assign({},qe,{ref:tt,_renderTimes:ct.current}))},fo=te.forwardRef(Cs);fo.SELECTION_COLUMN=ho,fo.EXPAND_COLUMN=he,fo.SELECTION_ALL=Ho,fo.SELECTION_INVERT=Uo,fo.SELECTION_NONE=Wo,fo.Column=_n,fo.ColumnGroup=Fr,fo.Summary=we;var As=fo,Fs=As},17574:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{default:function(){return Ge}});var he=Ae(60091),ot=Ae(94480),E=Ae(52671),Pe=Ae(8657),be=Ae(54476),oe=Ae(59301),te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},se=te,de=Ae(7657),le=function(Qe,Ye){return oe.createElement(de.Z,(0,be.Z)({},Qe,{ref:Ye,icon:se}))},ue=oe.forwardRef(le),ae=ue,ie=Ae(92310),ne=Ae.n(ie),a=Ae(35654),y=Ae(71430),x=Ae(36355),b=Ae(56082),z=Ae(62892),ee=Ae(20648);const re=4;function ce(it){const{dropPosition:Qe,dropLevelOffset:Ye,prefixCls:Ve,indent:Me,direction:Re="ltr"}=it,ze=Re==="ltr"?"left":"right",rt=Re==="ltr"?"right":"left",$e={[ze]:-Ye*Me+re,[rt]:0};switch(Qe){case-1:$e.top=-3;break;case 1:$e.bottom=-3;break;default:$e.bottom=-3,$e[ze]=Me+re;break}return oe.createElement("div",{style:$e,className:`${Ve}-drop-indicator`})}var me=Ae(71997),ge=oe.forwardRef((it,Qe)=>{const{getPrefixCls:Ye,direction:Ve,virtual:Me,tree:Re}=oe.useContext(x.E_),{prefixCls:ze,className:rt,showIcon:$e=!1,showLine:ut,switcherIcon:_e,blockNode:We=!1,children:Te,checkable:Je=!1,selectable:Fe=!0,draggable:Ie,motion:Xe,style:He}=it,je=Ye("tree",ze),Ee=Ye(),xe=Xe!=null?Xe:Object.assign(Object.assign({},(0,z.Z)(Ee)),{motionAppear:!1}),we=Object.assign(Object.assign({},it),{checkable:Je,selectable:Fe,showIcon:$e,motion:xe,blockNode:We,showLine:!!ut,dropIndicatorRender:ce}),[Be,Ze]=(0,ee.ZP)(je),Ke=oe.useMemo(()=>{if(!Ie)return!1;let at={};switch(typeof Ie){case"function":at.nodeDraggable=Ie;break;case"object":at=Object.assign({},Ie);break;default:break}return at.icon!==!1&&(at.icon=at.icon||oe.createElement(b.Z,null)),at},[Ie]),Ne=at=>oe.createElement(me.Z,{prefixCls:je,switcherIcon:_e,treeNodeProps:at,showLine:ut});return Be(oe.createElement(he.Z,Object.assign({itemHeight:20,ref:Qe,virtual:Me},we,{style:Object.assign(Object.assign({},Re==null?void 0:Re.style),He),prefixCls:je,className:ne()({[`${je}-icon-hide`]:!$e,[`${je}-block-node`]:We,[`${je}-unselectable`]:!Fe,[`${je}-rtl`]:Ve==="rtl"},Re==null?void 0:Re.className,rt,Ze),direction:Ve,checkable:Je&&oe.createElement("span",{className:`${je}-checkbox-inner`}),selectable:Fe,switcherIcon:Ne,draggable:Ke}),Te))}),pe;(function(it){it[it.None=0]="None",it[it.Start=1]="Start",it[it.End=2]="End"})(pe||(pe={}));function fe(it,Qe){function Ye(Ve){const{key:Me,children:Re}=Ve;Qe(Me,Ve)!==!1&&fe(Re||[],Qe)}it.forEach(Ye)}function ye(it){let{treeData:Qe,expandedKeys:Ye,startKey:Ve,endKey:Me}=it;const Re=[];let ze=pe.None;if(Ve&&Ve===Me)return[Ve];if(!Ve||!Me)return[];function rt($e){return $e===Ve||$e===Me}return fe(Qe,$e=>{if(ze===pe.End)return!1;if(rt($e)){if(Re.push($e),ze===pe.None)ze=pe.Start;else if(ze===pe.Start)return ze=pe.End,!1}else ze===pe.Start&&Re.push($e);return Ye.includes($e)}),Re}function Se(it,Qe){const Ye=(0,ot.Z)(Qe),Ve=[];return fe(it,(Me,Re)=>{const ze=Ye.indexOf(Me);return ze!==-1&&(Ve.push(Re),Ye.splice(ze,1)),!!Ye.length}),Ve}var Oe=function(it,Qe){var Ye={};for(var Ve in it)Object.prototype.hasOwnProperty.call(it,Ve)&&Qe.indexOf(Ve)<0&&(Ye[Ve]=it[Ve]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ve=Object.getOwnPropertySymbols(it);Me{var{defaultExpandAll:Ye,defaultExpandParent:Ve,defaultExpandedKeys:Me}=it,Re=Oe(it,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ze=oe.useRef(),rt=oe.useRef(),$e=()=>{const{keyEntities:Ke}=(0,y.I8)(Le(Re));let Ne;return Ye?Ne=Object.keys(Ke):Ve?Ne=(0,a.r7)(Re.expandedKeys||Me||[],Ke):Ne=Re.expandedKeys||Me,Ne},[ut,_e]=oe.useState(Re.selectedKeys||Re.defaultSelectedKeys||[]),[We,Te]=oe.useState(()=>$e());oe.useEffect(()=>{"selectedKeys"in Re&&_e(Re.selectedKeys)},[Re.selectedKeys]),oe.useEffect(()=>{"expandedKeys"in Re&&Te(Re.expandedKeys)},[Re.expandedKeys]);const Je=(Ke,Ne)=>{var at;return"expandedKeys"in Re||Te(Ke),(at=Re.onExpand)===null||at===void 0?void 0:at.call(Re,Ke,Ne)},Fe=(Ke,Ne)=>{var at;const{multiple:ht}=Re,{node:ft,nativeEvent:yt}=Ne,{key:st=""}=ft,pt=Le(Re),nt=Object.assign(Object.assign({},Ne),{selected:!0}),lt=(yt==null?void 0:yt.ctrlKey)||(yt==null?void 0:yt.metaKey),dt=yt==null?void 0:yt.shiftKey;let gt;ht&<?(gt=Ke,ze.current=st,rt.current=gt,nt.selectedNodes=Se(pt,gt)):ht&&dt?(gt=Array.from(new Set([].concat((0,ot.Z)(rt.current||[]),(0,ot.Z)(ye({treeData:pt,expandedKeys:We,startKey:st,endKey:ze.current}))))),nt.selectedNodes=Se(pt,gt)):(gt=[st],ze.current=st,rt.current=gt,nt.selectedNodes=Se(pt,gt)),(at=Re.onSelect)===null||at===void 0||at.call(Re,gt,nt),"selectedKeys"in Re||_e(gt)},{getPrefixCls:Ie,direction:Xe}=oe.useContext(x.E_),{prefixCls:He,className:je,showIcon:Ee=!0,expandAction:xe="click"}=Re,we=Oe(Re,["prefixCls","className","showIcon","expandAction"]),Be=Ie("tree",He),Ze=ne()(`${Be}-directory`,{[`${Be}-directory-rtl`]:Xe==="rtl"},je);return oe.createElement(ge,Object.assign({icon:Ce,ref:Qe,blockNode:!0},we,{showIcon:Ee,expandAction:xe,prefixCls:Be,className:Ze,expandedKeys:We,selectedKeys:ut,onSelect:Fe,onExpand:Je}))};var Ue=oe.forwardRef(De);const et=ge;et.DirectoryTree=Ue,et.TreeNode=he.O;var Ge=et},20648:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{TM:function(){return ie},Yk:function(){return ae}});var he=Ae(36237),ot=Ae(98447),E=Ae(17313),Pe=Ae(8378),be=Ae(37613),oe=Ae(83116);const te=new he.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),se=(ne,a)=>({[`.${ne}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),de=(ne,a)=>({[`.${ne}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),le=(ne,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:ee,nodeHoverBg:re}=a,ce=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,E.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,E.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:te,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},se(ne,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:ce},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},de(ne,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ue=ne=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=ne;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ne.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ne.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ne.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},ae=(ne,a)=>{const y=`.${ne}`,x=`${y}-treenode`,b=a.paddingXS/2,z=(0,be.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[le(ne,z),ue(z)]},ie=ne=>{const{controlHeightSM:a}=ne;return{titleHeight:a,nodeHoverBg:ne.controlItemBgHover,nodeSelectedBg:ne.controlItemBgActive}};Ft.ZP=(0,oe.Z)("Tree",(ne,a)=>{let{prefixCls:y}=a;return[{[ne.componentCls]:(0,ot.C2)(`${y}-checkbox`,ne)},ae(y,ne),(0,Pe.Z)(ne)]},ne=>{const{colorTextLightSolid:a,colorPrimary:y}=ne;return Object.assign(Object.assign({},ie(ne)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return x}});var he=Ae(54476),ot=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Pe=E,be=Ae(7657),oe=function(z,ee){return ot.createElement(be.Z,(0,he.Z)({},z,{ref:ee,icon:Pe}))},te=ot.forwardRef(oe),se=te,de=Ae(52671),le=Ae(58617),ue=Ae(15075),ae=Ae(43531),ie=Ae(92310),ne=Ae.n(ie),a=Ae(92343),x=b=>{const{prefixCls:z,switcherIcon:ee,treeNodeProps:re,showLine:ce}=b,{isLeaf:me,expanded:ve,loading:ge}=re;if(ge)return ot.createElement(le.Z,{className:`${z}-switcher-loading-icon`});let pe;if(ce&&typeof ce=="object"&&(pe=ce.showLeafIcon),me){if(!ce)return null;if(typeof pe!="boolean"&&pe){const Se=typeof pe=="function"?pe(re):pe,Oe=`${z}-switcher-line-custom-icon`;return(0,a.l$)(Se)?(0,a.Tm)(Se,{className:ne()(Se.props.className||"",Oe)}):Se}return pe?ot.createElement(de.Z,{className:`${z}-switcher-line-icon`}):ot.createElement("span",{className:`${z}-switcher-leaf-line`})}const fe=`${z}-switcher-icon`,ye=typeof ee=="function"?ee(re):ee;return(0,a.l$)(ye)?(0,a.Tm)(ye,{className:ne()(ye.props.className||"",fe)}):ye!==void 0?ye:ce?ve?ot.createElement(ue.Z,{className:`${z}-switcher-line-icon`}):ot.createElement(ae.Z,{className:`${z}-switcher-line-icon`}):ot.createElement(se,{className:fe})}},54580:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{default:function(){return Or}});var he=Ae(59301),ot=Ae(94480),E=Ae(92310),Pe=Ae.n(E),be=Ae(54476),oe=Ae(67732),te=Ae(83652),se=Ae(42403),de=Ae(158),le=Ae(20068),ue=Ae(75931),ae=Ae(75044),ie=Ae(76190),ne=Ae(3202),a=Ae(26112);function y(wt,Ht){var Rt="cannot ".concat(wt.method," ").concat(wt.action," ").concat(Ht.status,"'"),Kt=new Error(Rt);return Kt.status=Ht.status,Kt.method=wt.method,Kt.url=wt.action,Kt}function x(wt){var Ht=wt.responseText||wt.response;if(!Ht)return Ht;try{return JSON.parse(Ht)}catch(Rt){return Ht}}function b(wt){var Ht=new XMLHttpRequest;wt.onProgress&&Ht.upload&&(Ht.upload.onprogress=function(nn){nn.total>0&&(nn.percent=nn.loaded/nn.total*100),wt.onProgress(nn)});var Rt=new FormData;wt.data&&Object.keys(wt.data).forEach(function(en){var nn=wt.data[en];if(Array.isArray(nn)){nn.forEach(function(Xt){Rt.append("".concat(en,"[]"),Xt)});return}Rt.append(en,nn)}),wt.file instanceof Blob?Rt.append(wt.filename,wt.file,wt.file.name):Rt.append(wt.filename,wt.file),Ht.onerror=function(nn){wt.onError(nn)},Ht.onload=function(){return Ht.status<200||Ht.status>=300?wt.onError(y(wt,Ht),x(Ht)):wt.onSuccess(x(Ht),Ht)},Ht.open(wt.method,wt.action,!0),wt.withCredentials&&"withCredentials"in Ht&&(Ht.withCredentials=!0);var Kt=wt.headers||{};return Kt["X-Requested-With"]!==null&&Ht.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Kt).forEach(function(en){Kt[en]!==null&&Ht.setRequestHeader(en,Kt[en])}),Ht.send(Rt),{abort:function(){Ht.abort()}}}var z=+new Date,ee=0;function re(){return"rc-upload-".concat(z,"-").concat(++ee)}var ce=Ae(48736),me=function(wt,Ht){if(wt&&Ht){var Rt=Array.isArray(Ht)?Ht:Ht.split(","),Kt=wt.name||"",en=wt.type||"",nn=en.replace(/\/.*$/,"");return Rt.some(function(Xt){var Zt=Xt.trim();if(/^\*(\/\*)?$/.test(Xt))return!0;if(Zt.charAt(0)==="."){var er=Kt.toLowerCase(),Yn=Zt.toLowerCase(),kt=[Yn];return(Yn===".jpg"||Yn===".jpeg")&&(kt=[".jpg",".jpeg"]),kt.some(function(pr){return er.endsWith(pr)})}return/\/\*$/.test(Zt)?nn===Zt.replace(/\/.*$/,""):en===Zt?!0:/^\w+$/.test(Zt)?((0,ce.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Zt,"'.Skip for check.")),!0):!1})}return!0};function ve(wt,Ht){var Rt=wt.createReader(),Kt=[];function en(){Rt.readEntries(function(nn){var Xt=Array.prototype.slice.apply(nn);Kt=Kt.concat(Xt);var Zt=!Xt.length;Zt?Ht(Kt):en()})}en()}var ge=function(Ht,Rt,Kt){var en=function nn(Xt,Zt){Xt&&(Xt.path=Zt||"",Xt.isFile?Xt.file(function(er){Kt(er)&&(Xt.fullPath&&!er.webkitRelativePath&&(Object.defineProperties(er,{webkitRelativePath:{writable:!0}}),er.webkitRelativePath=Xt.fullPath.replace(/^\//,""),Object.defineProperties(er,{webkitRelativePath:{writable:!1}})),Rt([er]))}):Xt.isDirectory&&ve(Xt,function(er){er.forEach(function(Yn){nn(Yn,"".concat(Zt).concat(Xt.name,"/"))})}))};Ht.forEach(function(nn){en(nn.webkitGetAsEntry())})},pe=ge,fe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ye=function(wt){(0,se.Z)(Rt,wt);var Ht=(0,de.Z)(Rt);function Rt(){var Kt;(0,oe.Z)(this,Rt);for(var en=arguments.length,nn=new Array(en),Xt=0;Xt{let{uid:nn}=en;return nn===wt.uid});return Kt===-1?Rt.push(wt):Rt[Kt]=wt,Rt}function at(wt,Ht){const Rt=wt.uid!==void 0?"uid":"name";return Ht.filter(Kt=>Kt[Rt]===wt[Rt])[0]}function ht(wt,Ht){const Rt=wt.uid!==void 0?"uid":"name",Kt=Ht.filter(en=>en[Rt]!==wt[Rt]);return Kt.length===Ht.length?null:Kt}const ft=function(){const Ht=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Kt=Ht[Ht.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Kt)||[""])[0]},yt=wt=>wt.indexOf("image/")===0,st=wt=>{if(wt.type&&!wt.thumbUrl)return yt(wt.type);const Ht=wt.thumbUrl||wt.url||"",Rt=ft(Ht);return/^data:image\//.test(Ht)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Rt)?!0:!(/^data:/.test(Ht)||Rt)},pt=200;function nt(wt){return new Promise(Ht=>{if(!wt.type||!yt(wt.type)){Ht("");return}const Rt=document.createElement("canvas");Rt.width=pt,Rt.height=pt,Rt.style.cssText=`position: fixed; left: 0; top: 0; width: ${pt}px; height: ${pt}px; z-index: 9999; display: none;`,document.body.appendChild(Rt);const Kt=Rt.getContext("2d"),en=new Image;if(en.onload=()=>{const{width:nn,height:Xt}=en;let Zt=pt,er=pt,Yn=0,kt=0;nn>Xt?(er=Xt*(pt/nn),kt=-(er-Zt)/2):(Zt=nn*(pt/Xt),Yn=-(Zt-er)/2),Kt.drawImage(en,Yn,kt,Zt,er);const pr=Rt.toDataURL();document.body.removeChild(Rt),window.URL.revokeObjectURL(en.src),Ht(pr)},en.crossOrigin="anonymous",wt.type.startsWith("image/svg+xml")){const nn=new FileReader;nn.onload=()=>{nn.result&&(en.src=nn.result)},nn.readAsDataURL(wt)}else if(wt.type.startsWith("image/gif")){const nn=new FileReader;nn.onload=()=>{nn.result&&Ht(nn.result)},nn.readAsDataURL(wt)}else en.src=window.URL.createObjectURL(wt)})}var lt=Ae(26227),dt=Ae(41464),gt=Ae(15277),Pt=Ae(93948),At=Ae(6848),Gt=he.forwardRef((wt,Ht)=>{let{prefixCls:Rt,className:Kt,style:en,locale:nn,listType:Xt,file:Zt,items:er,progress:Yn,iconRender:kt,actionIconRender:pr,itemRender:Ir,isImgUrl:Zr,showPreviewIcon:sa,showRemoveIcon:an,showDownloadIcon:Cn,previewIcon:Kn,removeIcon:xn,downloadIcon:wr,onPreview:br,onDownload:rr,onClose:Ar}=wt;var Vr,Oa;const{status:Na}=Zt,[Pa,ka]=he.useState(Na);he.useEffect(()=>{Na!=="removed"&&ka(Na)},[Na]);const[to,Ka]=he.useState(!1);he.useEffect(()=>{const dr=setTimeout(()=>{Ka(!0)},300);return()=>{clearTimeout(dr)}},[]);const Za=kt(Zt);let Aa=he.createElement("div",{className:`${Rt}-icon`},Za);if(Xt==="picture"||Xt==="picture-card"||Xt==="picture-circle")if(Pa==="uploading"||!Zt.thumbUrl&&!Zt.url){const dr=Pe()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:Pa!=="uploading"});Aa=he.createElement("div",{className:dr},Za)}else{const dr=Zr!=null&&Zr(Zt)?he.createElement("img",{src:Zt.thumbUrl||Zt.url,alt:Zt.name,className:`${Rt}-list-item-image`,crossOrigin:Zt.crossOrigin}):Za,fr=Pe()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:Zr&&!Zr(Zt)});Aa=he.createElement("a",{className:fr,onClick:aa=>br(Zt,aa),href:Zt.url||Zt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},dr)}const da=Pe()(`${Rt}-list-item`,`${Rt}-list-item-${Pa}`),Ga=typeof Zt.linkProps=="string"?JSON.parse(Zt.linkProps):Zt.linkProps,qr=an?pr((typeof xn=="function"?xn(Zt):xn)||he.createElement(lt.Z,null),()=>Ar(Zt),Rt,nn.removeFile):null,Mt=Cn&&Pa==="done"?pr((typeof wr=="function"?wr(Zt):wr)||he.createElement(dt.Z,null),()=>rr(Zt),Rt,nn.downloadFile):null,zt=Xt!=="picture-card"&&Xt!=="picture-circle"&&he.createElement("span",{key:"download-delete",className:Pe()(`${Rt}-list-item-actions`,{picture:Xt==="picture"})},Mt,qr),Wt=Pe()(`${Rt}-list-item-name`),dn=Zt.url?[he.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Wt,title:Zt.name},Ga,{href:Zt.url,onClick:dr=>br(Zt,dr)}),Zt.name),zt]:[he.createElement("span",{key:"view",className:Wt,onClick:dr=>br(Zt,dr),title:Zt.name},Zt.name),zt],mn={pointerEvents:"none",opacity:.5},kn=sa?he.createElement("a",{href:Zt.url||Zt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Zt.url||Zt.thumbUrl?void 0:mn,onClick:dr=>br(Zt,dr),title:nn.previewFile},typeof Kn=="function"?Kn(Zt):Kn||he.createElement(gt.Z,null)):null,rn=(Xt==="picture-card"||Xt==="picture-circle")&&Pa!=="uploading"&&he.createElement("span",{className:`${Rt}-list-item-actions`},kn,Pa==="done"&&Mt,qr),{getPrefixCls:_n}=he.useContext(et.E_),Jn=_n(),Fr=he.createElement("div",{className:da},Aa,dn,rn,to&&he.createElement(Ee.default,{motionName:`${Jn}-fade`,visible:Pa==="uploading",motionDeadline:2e3},dr=>{let{className:fr}=dr;const aa="percent"in Zt?he.createElement(Pt.Z,Object.assign({},Yn,{type:"line",percent:Zt.percent,"aria-label":Zt["aria-label"],"aria-labelledby":Zt["aria-labelledby"]})):null;return he.createElement("div",{className:Pe()(`${Rt}-list-item-progress`,fr)},aa)})),lr=Zt.response&&typeof Zt.response=="string"?Zt.response:((Vr=Zt.error)===null||Vr===void 0?void 0:Vr.statusText)||((Oa=Zt.error)===null||Oa===void 0?void 0:Oa.message)||nn.uploadError,zn=Pa==="error"?he.createElement(At.Z,{title:lr,getPopupContainer:dr=>dr.parentNode},Fr):Fr;return he.createElement("div",{className:Pe()(`${Rt}-list-item-container`,Kt),style:en,ref:Ht},Ir?Ir(zn,Zt,er,{download:rr.bind(null,Zt),preview:br.bind(null,Zt),remove:Ar.bind(null,Zt)}):zn)});const tn=(wt,Ht)=>{const{listType:Rt="text",previewFile:Kt=nt,onPreview:en,onDownload:nn,onRemove:Xt,locale:Zt,iconRender:er,isImageUrl:Yn=st,prefixCls:kt,items:pr=[],showPreviewIcon:Ir=!0,showRemoveIcon:Zr=!0,showDownloadIcon:sa=!1,removeIcon:an,previewIcon:Cn,downloadIcon:Kn,progress:xn={size:[-1,2],showInfo:!1},appendAction:wr,appendActionVisible:br=!0,itemRender:rr,disabled:Ar}=wt,Vr=(0,xe.Z)(),[Oa,Na]=he.useState(!1);he.useEffect(()=>{Rt!=="picture"&&Rt!=="picture-card"&&Rt!=="picture-circle"||(pr||[]).forEach(mn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(mn.originFileObj instanceof File||mn.originFileObj instanceof Blob)||mn.thumbUrl!==void 0||(mn.thumbUrl="",Kt&&Kt(mn.originFileObj).then(kn=>{mn.thumbUrl=kn||"",Vr()}))})},[Rt,pr,Kt]),he.useEffect(()=>{Na(!0)},[]);const Pa=(mn,kn)=>{if(en)return kn==null||kn.preventDefault(),en(mn)},ka=mn=>{typeof nn=="function"?nn(mn):mn.url&&window.open(mn.url)},to=mn=>{Xt==null||Xt(mn)},Ka=mn=>{if(er)return er(mn,Rt);const kn=mn.status==="uploading",rn=Yn&&Yn(mn)?he.createElement(je,null):he.createElement(rt,null);let _n=kn?he.createElement($e.Z,null):he.createElement(Je,null);return Rt==="picture"?_n=kn?he.createElement($e.Z,null):rn:(Rt==="picture-card"||Rt==="picture-circle")&&(_n=kn?Zt.uploading:rn),_n},Za=(mn,kn,rn,_n)=>{const Jn={type:"text",size:"small",title:_n,onClick:Fr=>{kn(),(0,Be.l$)(mn)&&mn.props.onClick&&mn.props.onClick(Fr)},className:`${rn}-list-item-action`,disabled:Ar};if((0,Be.l$)(mn)){const Fr=(0,Be.Tm)(mn,Object.assign(Object.assign({},mn.props),{onClick:()=>{}}));return he.createElement(Ze.ZP,Object.assign({},Jn,{icon:Fr}))}return he.createElement(Ze.ZP,Object.assign({},Jn),he.createElement("span",null,mn))};he.useImperativeHandle(Ht,()=>({handlePreview:Pa,handleDownload:ka}));const{getPrefixCls:Aa}=he.useContext(et.E_),da=Aa("upload",kt),Ga=Aa(),qr=Pe()(`${da}-list`,`${da}-list-${Rt}`),Mt=(0,ot.Z)(pr.map(mn=>({key:mn.uid,file:mn})));let Wt={motionDeadline:2e3,motionName:`${da}-${Rt==="picture-card"||Rt==="picture-circle"?"animate-inline":"animate"}`,keys:Mt,motionAppear:Oa};const dn=he.useMemo(()=>{const mn=Object.assign({},(0,we.Z)(Ga));return delete mn.onAppearEnd,delete mn.onEnterEnd,delete mn.onLeaveEnd,mn},[Ga]);return Rt!=="picture-card"&&Rt!=="picture-circle"&&(Wt=Object.assign(Object.assign({},dn),Wt)),he.createElement("div",{className:qr},he.createElement(Ee.CSSMotionList,Object.assign({},Wt,{component:!1}),mn=>{let{key:kn,file:rn,className:_n,style:Jn}=mn;return he.createElement(Gt,{key:kn,locale:Zt,prefixCls:da,className:_n,style:Jn,file:rn,items:pr,progress:xn,listType:Rt,isImgUrl:Yn,showPreviewIcon:Ir,showRemoveIcon:Zr,showDownloadIcon:sa,removeIcon:an,previewIcon:Cn,downloadIcon:Kn,iconRender:Ka,actionIconRender:Za,itemRender:rr,onPreview:Pa,onDownload:ka,onClose:to})}),wr&&he.createElement(Ee.default,Object.assign({},Wt,{visible:br,forceRender:!0}),mn=>{let{className:kn,style:rn}=mn;return(0,Be.Tm)(wr,_n=>({className:Pe()(_n.className,kn),style:Object.assign(Object.assign(Object.assign({},rn),{pointerEvents:kn?"none":void 0}),_n.style)}))}))};var gn=he.forwardRef(tn),sn=Ae(17313),En=Ae(8378),Dn=Ae(83116),un=Ae(37613),Nn=wt=>{const{componentCls:Ht,iconCls:Rt}=wt;return{[`${Ht}-wrapper`]:{[`${Ht}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:wt.colorFillAlter,border:`${wt.lineWidth}px dashed ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${wt.motionDurationSlow}`,[Ht]:{padding:`${wt.padding}px 0`},[`${Ht}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Ht}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Ht}-disabled):hover`]:{borderColor:wt.colorPrimaryHover},[`p${Ht}-drag-icon`]:{marginBottom:wt.margin,[Rt]:{color:wt.colorPrimary,fontSize:wt.uploadThumbnailSize}},[`p${Ht}-text`]:{margin:`0 0 ${wt.marginXXS}px`,color:wt.colorTextHeading,fontSize:wt.fontSizeLG},[`p${Ht}-hint`]:{color:wt.colorTextDescription,fontSize:wt.fontSize},[`&${Ht}-disabled`]:{cursor:"not-allowed",[`p${Ht}-drag-icon ${Rt}, - p${Ht}-text, - p${Ht}-hint - `]:{color:wt.colorTextDisabled}}}}}},Wn=wt=>{const{componentCls:Ht,antCls:Rt,iconCls:Kt,fontSize:en,lineHeight:nn}=wt,Xt=`${Ht}-list-item`,Zt=`${Xt}-actions`,er=`${Xt}-action`,Yn=Math.round(en*nn);return{[`${Ht}-wrapper`]:{[`${Ht}-list`]:Object.assign(Object.assign({},(0,sn.dF)()),{lineHeight:wt.lineHeight,[Xt]:{position:"relative",height:wt.lineHeight*en,marginTop:wt.marginXS,fontSize:en,display:"flex",alignItems:"center",transition:`background-color ${wt.motionDurationSlow}`,"&:hover":{backgroundColor:wt.controlItemBgHover},[`${Xt}-name`]:Object.assign(Object.assign({},sn.vS),{padding:`0 ${wt.paddingXS}px`,lineHeight:nn,flex:"auto",transition:`all ${wt.motionDurationSlow}`}),[Zt]:{[er]:{opacity:0},[`${er}${Rt}-btn-sm`]:{height:Yn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${er}:focus-visible, - &.picture ${er} - `]:{opacity:1},[Kt]:{color:wt.actionsColor,transition:`all ${wt.motionDurationSlow}`},[`&:hover ${Kt}`]:{color:wt.colorText}},[`${Ht}-icon ${Kt}`]:{color:wt.colorTextDescription,fontSize:en},[`${Xt}-progress`]:{position:"absolute",bottom:-wt.uploadProgressOffset,width:"100%",paddingInlineStart:en+wt.paddingXS,fontSize:en,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Xt}:hover ${er}`]:{opacity:1,color:wt.colorText},[`${Xt}-error`]:{color:wt.colorError,[`${Xt}-name, ${Ht}-icon ${Kt}`]:{color:wt.colorError},[Zt]:{[`${Kt}, ${Kt}:hover`]:{color:wt.colorError},[er]:{opacity:1}}},[`${Ht}-list-item-container`]:{transition:`opacity ${wt.motionDurationSlow}, height ${wt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},jn=Ae(36237),Jt=Ae(1950);const ir=new jn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Wr=new jn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var sr=wt=>{const{componentCls:Ht}=wt,Rt=`${Ht}-animate-inline`;return[{[`${Ht}-wrapper`]:{[`${Rt}-appear, ${Rt}-enter, ${Rt}-leave`]:{animationDuration:wt.motionDurationSlow,animationTimingFunction:wt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Rt}-appear, ${Rt}-enter`]:{animationName:ir},[`${Rt}-leave`]:{animationName:Wr}}},{[`${Ht}-wrapper`]:(0,Jt.J$)(wt)},ir,Wr]},Rr=Ae(30071),Jr=Ae(64993);const Tt=wt=>{const{componentCls:Ht,iconCls:Rt,uploadThumbnailSize:Kt,uploadProgressOffset:en}=wt,nn=`${Ht}-list`,Xt=`${nn}-item`;return{[`${Ht}-wrapper`]:{[` - ${nn}${nn}-picture, - ${nn}${nn}-picture-card, - ${nn}${nn}-picture-circle - `]:{[Xt]:{position:"relative",height:Kt+wt.lineWidth*2+wt.paddingXS*2,padding:wt.paddingXS,border:`${wt.lineWidth}px ${wt.lineType} ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Xt}-thumbnail`]:Object.assign(Object.assign({},sn.vS),{width:Kt,height:Kt,lineHeight:`${Kt+wt.paddingSM}px`,textAlign:"center",flex:"none",[Rt]:{fontSize:wt.fontSizeHeading2,color:wt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Xt}-progress`]:{bottom:en,width:`calc(100% - ${wt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Kt+wt.paddingXS}},[`${Xt}-error`]:{borderColor:wt.colorError,[`${Xt}-thumbnail ${Rt}`]:{[`svg path[fill='${Rr.blue[0]}']`]:{fill:wt.colorErrorBg},[`svg path[fill='${Rr.blue.primary}']`]:{fill:wt.colorError}}},[`${Xt}-uploading`]:{borderStyle:"dashed",[`${Xt}-name`]:{marginBottom:en}}},[`${nn}${nn}-picture-circle ${Xt}`]:{[`&, &::before, ${Xt}-thumbnail`]:{borderRadius:"50%"}}}}},xt=wt=>{const{componentCls:Ht,iconCls:Rt,fontSizeLG:Kt,colorTextLightSolid:en}=wt,nn=`${Ht}-list`,Xt=`${nn}-item`,Zt=wt.uploadPicCardSize;return{[` - ${Ht}-wrapper${Ht}-picture-card-wrapper, - ${Ht}-wrapper${Ht}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,sn.dF)()),{display:"inline-block",width:"100%",[`${Ht}${Ht}-select`]:{width:Zt,height:Zt,marginInlineEnd:wt.marginXS,marginBottom:wt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:wt.colorFillAlter,border:`${wt.lineWidth}px dashed ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${wt.motionDurationSlow}`,[`> ${Ht}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ht}-disabled):hover`]:{borderColor:wt.colorPrimary}},[`${nn}${nn}-picture-card, ${nn}${nn}-picture-circle`]:{[`${nn}-item-container`]:{display:"inline-block",width:Zt,height:Zt,marginBlock:`0 ${wt.marginXS}px`,marginInline:`0 ${wt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Xt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${wt.paddingXS*2}px)`,height:`calc(100% - ${wt.paddingXS*2}px)`,backgroundColor:wt.colorBgMask,opacity:0,transition:`all ${wt.motionDurationSlow}`,content:'" "'}},[`${Xt}:hover`]:{[`&::before, ${Xt}-actions`]:{opacity:1}},[`${Xt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${wt.motionDurationSlow}`,[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{zIndex:10,width:Kt,margin:`0 ${wt.marginXXS}px`,fontSize:Kt,cursor:"pointer",transition:`all ${wt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Xt}-actions, ${Xt}-actions:hover`]:{[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{color:new Jr.C(en).setAlpha(.65).toRgbString(),"&:hover":{color:en}}},[`${Xt}-thumbnail, ${Xt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Xt}-name`]:{display:"none",textAlign:"center"},[`${Xt}-file + ${Xt}-name`]:{position:"absolute",bottom:wt.margin,display:"block",width:`calc(100% - ${wt.paddingXS*2}px)`},[`${Xt}-uploading`]:{[`&${Xt}`]:{backgroundColor:wt.colorFillAlter},[`&::before, ${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{display:"none"}},[`${Xt}-progress`]:{bottom:wt.marginXL,width:`calc(100% - ${wt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Ht}-wrapper${Ht}-picture-circle-wrapper`]:{[`${Ht}${Ht}-select`]:{borderRadius:"50%"}}}};var Vt=wt=>{const{componentCls:Ht}=wt;return{[`${Ht}-rtl`]:{direction:"rtl"}}};const Sn=wt=>{const{componentCls:Ht,colorTextDisabled:Rt}=wt;return{[`${Ht}-wrapper`]:Object.assign(Object.assign({},(0,sn.Wf)(wt)),{[Ht]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ht}-select`]:{display:"inline-block"},[`${Ht}-disabled`]:{color:Rt,cursor:"not-allowed"}})}};var $t=(0,Dn.Z)("Upload",wt=>{const{fontSizeHeading3:Ht,fontSize:Rt,lineHeight:Kt,lineWidth:en,controlHeightLG:nn}=wt,Xt=Math.round(Rt*Kt),Zt=(0,un.TS)(wt,{uploadThumbnailSize:Ht*2,uploadProgressOffset:Xt/2+en,uploadPicCardSize:nn*2.55});return[Sn(Zt),Nn(Zt),Tt(Zt),xt(Zt),Wn(Zt),sr(Zt),Vt(Zt),(0,En.Z)(Zt)]},wt=>({actionsColor:wt.colorTextDescription})),$n=function(wt,Ht,Rt,Kt){function en(nn){return nn instanceof Rt?nn:new Rt(function(Xt){Xt(nn)})}return new(Rt||(Rt=Promise))(function(nn,Xt){function Zt(kt){try{Yn(Kt.next(kt))}catch(pr){Xt(pr)}}function er(kt){try{Yn(Kt.throw(kt))}catch(pr){Xt(pr)}}function Yn(kt){kt.done?nn(kt.value):en(kt.value).then(Zt,er)}Yn((Kt=Kt.apply(wt,Ht||[])).next())})};const Hn=`__LIST_IGNORE_${Date.now()}__`,Rn=(wt,Ht)=>{const{fileList:Rt,defaultFileList:Kt,onRemove:en,showUploadList:nn=!0,listType:Xt="text",onPreview:Zt,onDownload:er,onChange:Yn,onDrop:kt,previewFile:pr,disabled:Ir,locale:Zr,iconRender:sa,isImageUrl:an,progress:Cn,prefixCls:Kn,className:xn,type:wr="select",children:br,style:rr,itemRender:Ar,maxCount:Vr,data:Oa={},multiple:Na=!1,action:Pa="",accept:ka="",supportServerRender:to=!0,rootClassName:Ka}=wt,Za=he.useContext(Ge.Z),Aa=Ir!=null?Ir:Za,[da,Ga]=(0,ke.Z)(Kt||[],{value:Rt,postState:gr=>gr!=null?gr:[]}),[qr,Mt]=he.useState("drop"),zt=he.useRef(null);he.useMemo(()=>{const gr=Date.now();(Rt||[]).forEach((kr,ta)=>{!kr.uid&&!Object.isFrozen(kr)&&(kr.uid=`__AUTO__${gr}_${ta}__`)})},[Rt]);const Wt=(gr,kr,ta)=>{let Nr=(0,ot.Z)(kr),zr=!1;Vr===1?Nr=Nr.slice(-1):Vr&&(zr=Nr.length>Vr,Nr=Nr.slice(0,Vr)),(0,Ue.flushSync)(()=>{Ga(Nr)});const ma={file:gr,fileList:Nr};ta&&(ma.event=ta),(!zr||Nr.some(na=>na.uid===gr.uid))&&(0,Ue.flushSync)(()=>{Yn==null||Yn(ma)})},dn=(gr,kr)=>$n(void 0,void 0,void 0,function*(){const{beforeUpload:ta,transformFile:Nr}=wt;let zr=gr;if(ta){const ma=yield ta(gr,kr);if(ma===!1)return!1;if(delete gr[Hn],ma===Hn)return Object.defineProperty(gr,Hn,{value:!0,configurable:!0}),!1;typeof ma=="object"&&ma&&(zr=ma)}return Nr&&(zr=yield Nr(zr)),zr}),mn=gr=>{const kr=gr.filter(zr=>!zr.file[Hn]);if(!kr.length)return;const ta=kr.map(zr=>Ke(zr.file));let Nr=(0,ot.Z)(da);ta.forEach(zr=>{Nr=Ne(zr,Nr)}),ta.forEach((zr,ma)=>{let na=zr;if(kr[ma].parsedFile)zr.status="uploading";else{const{originFileObj:vt}=zr;let Nt;try{Nt=new File([vt],vt.name,{type:vt.type})}catch(on){Nt=new Blob([vt],{type:vt.type}),Nt.name=vt.name,Nt.lastModifiedDate=new Date,Nt.lastModified=new Date().getTime()}Nt.uid=zr.uid,na=Nt}Wt(na,Nr)})},kn=(gr,kr,ta)=>{try{typeof gr=="string"&&(gr=JSON.parse(gr))}catch(ma){}if(!at(kr,da))return;const Nr=Ke(kr);Nr.status="done",Nr.percent=100,Nr.response=gr,Nr.xhr=ta;const zr=Ne(Nr,da);Wt(Nr,zr)},rn=(gr,kr)=>{if(!at(kr,da))return;const ta=Ke(kr);ta.status="uploading",ta.percent=gr.percent;const Nr=Ne(ta,da);Wt(ta,Nr,gr)},_n=(gr,kr,ta)=>{if(!at(ta,da))return;const Nr=Ke(ta);Nr.error=gr,Nr.response=kr,Nr.status="error";const zr=Ne(Nr,da);Wt(Nr,zr)},Jn=gr=>{let kr;Promise.resolve(typeof en=="function"?en(gr):en).then(ta=>{var Nr;if(ta===!1)return;const zr=ht(gr,da);zr&&(kr=Object.assign(Object.assign({},gr),{status:"removed"}),da==null||da.forEach(ma=>{const na=kr.uid!==void 0?"uid":"name";ma[na]===kr[na]&&!Object.isFrozen(ma)&&(ma.status="removed")}),(Nr=zt.current)===null||Nr===void 0||Nr.abort(kr),Wt(kr,zr))})},Fr=gr=>{Mt(gr.type),gr.type==="drop"&&(kt==null||kt(gr))};he.useImperativeHandle(Ht,()=>({onBatchStart:mn,onSuccess:kn,onProgress:rn,onError:_n,fileList:da,upload:zt.current}));const{getPrefixCls:lr,direction:zn,upload:dr}=he.useContext(et.E_),fr=lr("upload",Kn),aa=Object.assign(Object.assign({onBatchStart:mn,onError:_n,onProgress:rn,onSuccess:kn},wt),{data:Oa,multiple:Na,action:Pa,accept:ka,supportServerRender:to,prefixCls:fr,disabled:Aa,beforeUpload:dn,onChange:void 0});delete aa.className,delete aa.style,(!br||Aa)&&delete aa.id;const[Dr,oa]=$t(fr),[va]=(0,it.Z)("Upload",Qe.Z.Upload),{showRemoveIcon:hn,showPreviewIcon:ln,showDownloadIcon:An,removeIcon:Mn,previewIcon:hr,downloadIcon:Gr}=typeof nn=="boolean"?{}:nn,ua=(gr,kr)=>nn?he.createElement(gn,{prefixCls:fr,listType:Xt,items:da,previewFile:pr,onPreview:Zt,onDownload:er,onRemove:Jn,showRemoveIcon:!Aa&&hn,showPreviewIcon:ln,showDownloadIcon:An,removeIcon:Mn,previewIcon:hr,downloadIcon:Gr,iconRender:sa,locale:Object.assign(Object.assign({},va),Zr),isImageUrl:an,progress:Cn,appendAction:gr,appendActionVisible:kr,itemRender:Ar,disabled:Aa}):gr,fa=Pe()(`${fr}-wrapper`,xn,Ka,oa,dr==null?void 0:dr.className,{[`${fr}-rtl`]:zn==="rtl",[`${fr}-picture-card-wrapper`]:Xt==="picture-card",[`${fr}-picture-circle-wrapper`]:Xt==="picture-circle"}),Ca=Object.assign(Object.assign({},dr==null?void 0:dr.style),rr);if(wr==="drag"){const gr=Pe()(oa,fr,`${fr}-drag`,{[`${fr}-drag-uploading`]:da.some(kr=>kr.status==="uploading"),[`${fr}-drag-hover`]:qr==="dragover",[`${fr}-disabled`]:Aa,[`${fr}-rtl`]:zn==="rtl"});return Dr(he.createElement("span",{className:fa},he.createElement("div",{className:gr,style:Ca,onDrop:Fr,onDragOver:Fr,onDragLeave:Fr},he.createElement(De,Object.assign({},aa,{ref:zt,className:`${fr}-btn`}),he.createElement("div",{className:`${fr}-drag-container`},br))),ua()))}const xa=Pe()(fr,`${fr}-select`,{[`${fr}-disabled`]:Aa}),Ta=(gr=>he.createElement("div",{className:xa,style:gr},he.createElement(De,Object.assign({},aa,{ref:zt}))))(br?void 0:{display:"none"});return Dr(Xt==="picture-card"||Xt==="picture-circle"?he.createElement("span",{className:fa},ua(Ta,!!br)):he.createElement("span",{className:fa},Ta,ua()))};var ra=he.forwardRef(Rn),Qt=function(wt,Ht){var Rt={};for(var Kt in wt)Object.prototype.hasOwnProperty.call(wt,Kt)&&Ht.indexOf(Kt)<0&&(Rt[Kt]=wt[Kt]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var en=0,Kt=Object.getOwnPropertySymbols(wt);en{var{style:Rt,height:Kt}=wt,en=Qt(wt,["style","height"]);return he.createElement(ra,Object.assign({ref:Ht},en,{type:"drag",style:Object.assign(Object.assign({},Rt),{height:Kt})}))});const Cr=ra;Cr.Dragger=Yr,Cr.LIST_IGNORE=Hn;var Or=Cr},39417:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return ge}});var he=Ae(54476),ot=Ae(20068),E=Ae(75931),Pe=Ae(33885),be=Ae(67732),oe=Ae(83652),te=Ae(31226),se=Ae(42403),de=Ae(158),le=Ae(92310),ue=Ae.n(le),ae=Ae(26112),ie=Ae(59301),ne=Ae(39378),a=function(fe){for(var ye=fe.prefixCls,Se=fe.level,Oe=fe.isStart,Ce=fe.isEnd,Le="".concat(ye,"-indent-unit"),De=[],ke=0;ke0&&arguments[0]!==void 0?arguments[0]:[],Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],He=Ie.length,je=Xe.length;if(Math.abs(He-je)!==1)return{add:!1,key:null};function Ee(xe,we){var Be=new Map;xe.forEach(function(Ke){Be.set(Ke,!0)});var Ze=we.filter(function(Ke){return!Be.has(Ke)});return Ze.length===1?Ze[0]:null}return He ").concat(Xe);return Xe}var ze=y.forwardRef(function(Ie,Xe){var He=Ie.prefixCls,je=Ie.data,Ee=Ie.selectable,xe=Ie.checkable,we=Ie.expandedKeys,Be=Ie.selectedKeys,Ze=Ie.checkedKeys,Ke=Ie.loadedKeys,Ne=Ie.loadingKeys,at=Ie.halfCheckedKeys,ht=Ie.keyEntities,ft=Ie.disabled,yt=Ie.dragging,st=Ie.dragOverNodeKey,pt=Ie.dropPosition,nt=Ie.motion,lt=Ie.height,dt=Ie.itemHeight,gt=Ie.virtual,Pt=Ie.focusable,At=Ie.activeItem,It=Ie.focused,Gt=Ie.tabIndex,tn=Ie.onKeyDown,pn=Ie.onFocus,gn=Ie.onBlur,sn=Ie.onActiveChange,En=Ie.onListChangeStart,Dn=Ie.onListChangeEnd,un=(0,re.Z)(Ie,ke),qn=y.useRef(null),Nn=y.useRef(null);y.useImperativeHandle(Xe,function(){return{scrollTo:function(Or){qn.current.scrollTo(Or)},getIndentWidth:function(){return Nn.current.offsetWidth}}});var bn=y.useState(we),Wn=(0,ee.Z)(bn,2),jn=Wn[0],Jt=Wn[1],ir=y.useState(je),Wr=(0,ee.Z)(ir,2),xr=Wr[0],sr=Wr[1],Rr=y.useState(je),Jr=(0,ee.Z)(Rr,2),Tt=Jr[0],xt=Jr[1],Et=y.useState([]),Vt=(0,ee.Z)(Et,2),Sn=Vt[0],$t=Vt[1],$n=y.useState(null),Hn=(0,ee.Z)($n,2),Rn=Hn[0],Er=Hn[1],ra=y.useRef(je);ra.current=je;function Qt(){var Cr=ra.current;sr(Cr),xt(Cr),$t([]),Er(null),Dn()}(0,ce.Z)(function(){Jt(we);var Cr=Le(jn,we);if(Cr.key!==null)if(Cr.add){var Or=xr.findIndex(function(nn){var Xt=nn.key;return Xt===Cr.key}),wt=Ve(De(xr,je,Cr.key),gt,lt,dt),Ht=xr.slice();Ht.splice(Or+1,0,Ye),xt(Ht),$t(wt),Er("show")}else{var Rt=je.findIndex(function(nn){var Xt=nn.key;return Xt===Cr.key}),Kt=Ve(De(je,xr,Cr.key),gt,lt,dt),en=je.slice();en.splice(Rt+1,0,Ye),xt(en),$t(Kt),Er("hide")}else xr!==je&&(sr(je),xt(je))},[we,je]),y.useEffect(function(){yt||Qt()},[yt]);var yr=nt?Tt:je,Yr={expandedKeys:we,selectedKeys:Be,loadedKeys:Ke,loadingKeys:Ne,checkedKeys:Ze,halfCheckedKeys:at,dragOverNodeKey:st,dropPosition:pt,keyEntities:ht};return y.createElement(y.Fragment,null,It&&At&&y.createElement("span",{style:Ue,"aria-live":"assertive"},Re(At)),y.createElement("div",null,y.createElement("input",{style:Ue,disabled:Pt===!1||ft,tabIndex:Pt!==!1?Gt:null,onKeyDown:tn,onFocus:pn,onBlur:gn,value:"",onChange:et,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(He,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(He,"-indent")},y.createElement("div",{ref:Nn,className:"".concat(He,"-indent-unit")}))),y.createElement(me.Z,(0,he.Z)({},un,{data:yr,itemKey:Me,height:lt,fullHeight:!1,virtual:gt,itemHeight:dt,prefixCls:"".concat(He,"-list"),ref:qn,onVisibleChange:function(Or,wt){var Ht=new Set(Or),Rt=wt.filter(function(Kt){return!Ht.has(Kt)});Rt.some(function(Kt){return Me(Kt)===Ge})&&Qt()}}),function(Cr){var Or=Cr.pos,wt=(0,he.Z)({},(z(Cr.data),Cr.data)),Ht=Cr.title,Rt=Cr.key,Kt=Cr.isStart,en=Cr.isEnd,nn=(0,fe.km)(Rt,Or);delete wt.key,delete wt.children;var Xt=(0,fe.H8)(nn,Yr);return y.createElement(Ce,(0,he.Z)({},wt,Xt,{title:Ht,active:!!At&&Rt===At.key,pos:Or,data:Cr.data,isStart:Kt,isEnd:en,motion:nt,motionNodes:Rt===Ge?Sn:null,motionType:Rn,onMotionStart:En,onMotionEnd:Qt,treeNodeRequiredProps:Yr,onMouseMove:function(){sn(null)}}))}))});ze.displayName="NodeList";var rt=ze,$e=Ae(35654),ut=Ae(90782),_e=Ae(67841),We=10,Te=function(Ie){(0,de.Z)(He,Ie);var Xe=(0,le.Z)(He);function He(){var je;(0,oe.Z)(this,He);for(var Ee=arguments.length,xe=new Array(Ee),we=0;we2&&arguments[2]!==void 0?arguments[2]:!1,at=je.state,ht=at.dragChildrenKeys,ft=at.dropPosition,yt=at.dropTargetKey,st=at.dropTargetPos,pt=at.dropAllowed;if(pt){var nt=je.props.onDrop;if(je.setState({dragOverNodeKey:null}),je.cleanDragState(),yt!==null){var lt=(0,Pe.Z)((0,Pe.Z)({},(0,fe.H8)(yt,je.getTreeNodeRequiredProps())),{},{active:((Ke=je.getActiveItem())===null||Ke===void 0?void 0:Ke.key)===yt,data:(0,_e.Z)(je.state.keyEntities,yt).node}),dt=ht.indexOf(yt)!==-1;(0,a.ZP)(!dt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var gt=(0,$e.yx)(st),Pt={event:Be,node:(0,fe.F)(lt),dragNode:je.dragNode?(0,fe.F)(je.dragNode.props):null,dragNodesKeys:[je.dragNode.props.eventKey].concat(ht),dropToGap:ft!==0,dropPosition:ft+Number(gt[gt.length-1])};Ne||nt==null||nt(Pt),je.dragNode=null}}},je.cleanDragState=function(){var Be=je.state.draggingNodeKey;Be!==null&&je.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),je.dragStartMousePosition=null,je.currentMouseOverDroppableNodeKey=null},je.triggerExpandActionExpand=function(Be,Ze){var Ke=je.state,Ne=Ke.expandedKeys,at=Ke.flattenNodes,ht=Ze.expanded,ft=Ze.key,yt=Ze.isLeaf;if(!(yt||Be.shiftKey||Be.metaKey||Be.ctrlKey)){var st=at.filter(function(nt){return nt.key===ft})[0],pt=(0,fe.F)((0,Pe.Z)((0,Pe.Z)({},(0,fe.H8)(ft,je.getTreeNodeRequiredProps())),{},{data:st.data}));je.setExpandedKeys(ht?(0,$e._5)(Ne,ft):(0,$e.L0)(Ne,ft)),je.onNodeExpand(Be,pt)}},je.onNodeClick=function(Be,Ze){var Ke=je.props,Ne=Ke.onClick,at=Ke.expandAction;at==="click"&&je.triggerExpandActionExpand(Be,Ze),Ne==null||Ne(Be,Ze)},je.onNodeDoubleClick=function(Be,Ze){var Ke=je.props,Ne=Ke.onDoubleClick,at=Ke.expandAction;at==="doubleClick"&&je.triggerExpandActionExpand(Be,Ze),Ne==null||Ne(Be,Ze)},je.onNodeSelect=function(Be,Ze){var Ke=je.state.selectedKeys,Ne=je.state,at=Ne.keyEntities,ht=Ne.fieldNames,ft=je.props,yt=ft.onSelect,st=ft.multiple,pt=Ze.selected,nt=Ze[ht.key],lt=!pt;lt?st?Ke=(0,$e.L0)(Ke,nt):Ke=[nt]:Ke=(0,$e._5)(Ke,nt);var dt=Ke.map(function(gt){var Pt=(0,_e.Z)(at,gt);return Pt?Pt.node:null}).filter(function(gt){return gt});je.setUncontrolledState({selectedKeys:Ke}),yt==null||yt(Ke,{event:"select",selected:lt,node:Ze,selectedNodes:dt,nativeEvent:Be.nativeEvent})},je.onNodeCheck=function(Be,Ze,Ke){var Ne=je.state,at=Ne.keyEntities,ht=Ne.checkedKeys,ft=Ne.halfCheckedKeys,yt=je.props,st=yt.checkStrictly,pt=yt.onCheck,nt=Ze.key,lt,dt={event:"check",node:Ze,checked:Ke,nativeEvent:Be.nativeEvent};if(st){var gt=Ke?(0,$e.L0)(ht,nt):(0,$e._5)(ht,nt),Pt=(0,$e._5)(ft,nt);lt={checked:gt,halfChecked:Pt},dt.checkedNodes=gt.map(function(gn){return(0,_e.Z)(at,gn)}).filter(function(gn){return gn}).map(function(gn){return gn.node}),je.setUncontrolledState({checkedKeys:gt})}else{var At=(0,ut.S)([].concat((0,be.Z)(ht),[nt]),!0,at),It=At.checkedKeys,Gt=At.halfCheckedKeys;if(!Ke){var tn=new Set(It);tn.delete(nt);var pn=(0,ut.S)(Array.from(tn),{checked:!1,halfCheckedKeys:Gt},at);It=pn.checkedKeys,Gt=pn.halfCheckedKeys}lt=It,dt.checkedNodes=[],dt.checkedNodesPositions=[],dt.halfCheckedKeys=Gt,It.forEach(function(gn){var sn=(0,_e.Z)(at,gn);if(sn){var En=sn.node,Dn=sn.pos;dt.checkedNodes.push(En),dt.checkedNodesPositions.push({node:En,pos:Dn})}}),je.setUncontrolledState({checkedKeys:It},!1,{halfCheckedKeys:Gt})}pt==null||pt(lt,dt)},je.onNodeLoad=function(Be){var Ze=Be.key,Ke=new Promise(function(Ne,at){je.setState(function(ht){var ft=ht.loadedKeys,yt=ft===void 0?[]:ft,st=ht.loadingKeys,pt=st===void 0?[]:st,nt=je.props,lt=nt.loadData,dt=nt.onLoad;if(!lt||yt.indexOf(Ze)!==-1||pt.indexOf(Ze)!==-1)return null;var gt=lt(Be);return gt.then(function(){var Pt=je.state.loadedKeys,At=(0,$e.L0)(Pt,Ze);dt==null||dt(At,{event:"load",node:Be}),je.setUncontrolledState({loadedKeys:At}),je.setState(function(It){return{loadingKeys:(0,$e._5)(It.loadingKeys,Ze)}}),Ne()}).catch(function(Pt){if(je.setState(function(It){return{loadingKeys:(0,$e._5)(It.loadingKeys,Ze)}}),je.loadingRetryTimes[Ze]=(je.loadingRetryTimes[Ze]||0)+1,je.loadingRetryTimes[Ze]>=We){var At=je.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),je.setUncontrolledState({loadedKeys:(0,$e.L0)(At,Ze)}),Ne()}at(Pt)}),{loadingKeys:(0,$e.L0)(pt,Ze)}})});return Ke.catch(function(){}),Ke},je.onNodeMouseEnter=function(Be,Ze){var Ke=je.props.onMouseEnter;Ke==null||Ke({event:Be,node:Ze})},je.onNodeMouseLeave=function(Be,Ze){var Ke=je.props.onMouseLeave;Ke==null||Ke({event:Be,node:Ze})},je.onNodeContextMenu=function(Be,Ze){var Ke=je.props.onRightClick;Ke&&(Be.preventDefault(),Ke({event:Be,node:Ze}))},je.onFocus=function(){var Be=je.props.onFocus;je.setState({focused:!0});for(var Ze=arguments.length,Ke=new Array(Ze),Ne=0;Ne1&&arguments[1]!==void 0?arguments[1]:!1,Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!je.destroyed){var Ne=!1,at=!0,ht={};Object.keys(Be).forEach(function(ft){if(ft in je.props){at=!1;return}Ne=!0,ht[ft]=Be[ft]}),Ne&&(!Ze||at)&&je.setState((0,Pe.Z)((0,Pe.Z)({},ht),Ke))}},je.scrollTo=function(Be){je.listRef.current.scrollTo(Be)},je}return(0,te.Z)(He,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ee=this.props.activeKey;Ee!==void 0&&Ee!==this.state.activeKey&&(this.setState({activeKey:Ee}),Ee!==null&&this.scrollTo({key:Ee}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ee,xe=this.state,we=xe.focused,Be=xe.flattenNodes,Ze=xe.keyEntities,Ke=xe.draggingNodeKey,Ne=xe.activeKey,at=xe.dropLevelOffset,ht=xe.dropContainerKey,ft=xe.dropTargetKey,yt=xe.dropPosition,st=xe.dragOverNodeKey,pt=xe.indent,nt=this.props,lt=nt.prefixCls,dt=nt.className,gt=nt.style,Pt=nt.showLine,At=nt.focusable,It=nt.tabIndex,Gt=It===void 0?0:It,tn=nt.selectable,pn=nt.showIcon,gn=nt.icon,sn=nt.switcherIcon,En=nt.draggable,Dn=nt.checkable,un=nt.checkStrictly,qn=nt.disabled,Nn=nt.motion,bn=nt.loadData,Wn=nt.filterTreeNode,jn=nt.height,Jt=nt.itemHeight,ir=nt.virtual,Wr=nt.titleRender,xr=nt.dropIndicatorRender,sr=nt.onContextMenu,Rr=nt.onScroll,Jr=nt.direction,Tt=nt.rootClassName,xt=nt.rootStyle,Et=(0,ne.Z)(this.props,{aria:!0,data:!0}),Vt;return En&&((0,E.Z)(En)==="object"?Vt=En:typeof En=="function"?Vt={nodeDraggable:En}:Vt={}),y.createElement(x.k.Provider,{value:{prefixCls:lt,selectable:tn,showIcon:pn,icon:gn,switcherIcon:sn,draggable:Vt,draggingNodeKey:Ke,checkable:Dn,checkStrictly:un,disabled:qn,keyEntities:Ze,dropLevelOffset:at,dropContainerKey:ht,dropTargetKey:ft,dropPosition:yt,dragOverNodeKey:st,indent:pt,direction:Jr,dropIndicatorRender:xr,loadData:bn,filterTreeNode:Wn,titleRender:Wr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:ae()(lt,dt,Tt,(Ee={},(0,ot.Z)(Ee,"".concat(lt,"-show-line"),Pt),(0,ot.Z)(Ee,"".concat(lt,"-focused"),we),(0,ot.Z)(Ee,"".concat(lt,"-active-focused"),Ne!==null),Ee)),style:xt},y.createElement(rt,(0,he.Z)({ref:this.listRef,prefixCls:lt,style:gt,data:Be,disabled:qn,selectable:tn,checkable:!!Dn,motion:Nn,dragging:Ke!==null,height:jn,itemHeight:Jt,virtual:ir,focusable:At,focused:we,tabIndex:Gt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:sr,onScroll:Rr},this.getTreeNodeRequiredProps(),Et))))}}],[{key:"getDerivedStateFromProps",value:function(Ee,xe){var we=xe.prevProps,Be={prevProps:Ee};function Ze(At){return!we&&At in Ee||we&&we[At]!==Ee[At]}var Ke,Ne=xe.fieldNames;if(Ze("fieldNames")&&(Ne=(0,fe.w$)(Ee.fieldNames),Be.fieldNames=Ne),Ze("treeData")?Ke=Ee.treeData:Ze("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ke=(0,fe.zn)(Ee.children)),Ke){Be.treeData=Ke;var at=(0,fe.I8)(Ke,{fieldNames:Ne});Be.keyEntities=(0,Pe.Z)((0,ot.Z)({},Ge,Qe),at.keyEntities)}var ht=Be.keyEntities||xe.keyEntities;if(Ze("expandedKeys")||we&&Ze("autoExpandParent"))Be.expandedKeys=Ee.autoExpandParent||!we&&Ee.defaultExpandParent?(0,$e.r7)(Ee.expandedKeys,ht):Ee.expandedKeys;else if(!we&&Ee.defaultExpandAll){var ft=(0,Pe.Z)({},ht);delete ft[Ge],Be.expandedKeys=Object.keys(ft).map(function(At){return ft[At].key})}else!we&&Ee.defaultExpandedKeys&&(Be.expandedKeys=Ee.autoExpandParent||Ee.defaultExpandParent?(0,$e.r7)(Ee.defaultExpandedKeys,ht):Ee.defaultExpandedKeys);if(Be.expandedKeys||delete Be.expandedKeys,Ke||Be.expandedKeys){var yt=(0,fe.oH)(Ke||xe.treeData,Be.expandedKeys||xe.expandedKeys,Ne);Be.flattenNodes=yt}if(Ee.selectable&&(Ze("selectedKeys")?Be.selectedKeys=(0,$e.BT)(Ee.selectedKeys,Ee):!we&&Ee.defaultSelectedKeys&&(Be.selectedKeys=(0,$e.BT)(Ee.defaultSelectedKeys,Ee))),Ee.checkable){var st;if(Ze("checkedKeys")?st=(0,$e.E6)(Ee.checkedKeys)||{}:!we&&Ee.defaultCheckedKeys?st=(0,$e.E6)(Ee.defaultCheckedKeys)||{}:Ke&&(st=(0,$e.E6)(Ee.checkedKeys)||{checkedKeys:xe.checkedKeys,halfCheckedKeys:xe.halfCheckedKeys}),st){var pt=st,nt=pt.checkedKeys,lt=nt===void 0?[]:nt,dt=pt.halfCheckedKeys,gt=dt===void 0?[]:dt;if(!Ee.checkStrictly){var Pt=(0,ut.S)(lt,!0,ht);lt=Pt.checkedKeys,gt=Pt.halfCheckedKeys}Be.checkedKeys=lt,Be.halfCheckedKeys=gt}}return Ze("loadedKeys")&&(Be.loadedKeys=Ee.loadedKeys),Be}}]),He}(y.Component);Te.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},Te.TreeNode=ge.Z;var Je=Te,Fe=Je},35654:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{BT:function(){return y},E6:function(){return z},L0:function(){return le},OM:function(){return a},_5:function(){return de},r7:function(){return ee},wA:function(){return ae},yx:function(){return ue}});var he=Ae(94480),ot=Ae(76190),E=Ae(48736),Pe=Ae(59301),be=Ae(39417),oe=Ae(67841),te=Ae(71430),se=null;function de(re,ce){if(!re)return[];var me=re.slice(),ve=me.indexOf(ce);return ve>=0&&me.splice(ve,1),me}function le(re,ce){var me=(re||[]).slice();return me.indexOf(ce)===-1&&me.push(ce),me}function ue(re){return re.split("-")}function ae(re,ce){var me=[],ve=(0,oe.Z)(ce,re);function ge(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pe.forEach(function(fe){var ye=fe.key,Se=fe.children;me.push(ye),ge(Se)})}return ge(ve.children),me}function ie(re){if(re.parent){var ce=ue(re.pos);return Number(ce[ce.length-1])===re.parent.children.length-1}return!1}function ne(re){var ce=ue(re.pos);return Number(ce[ce.length-1])===0}function a(re,ce,me,ve,ge,pe,fe,ye,Se,Oe){var Ce,Le=re.clientX,De=re.clientY,ke=re.target.getBoundingClientRect(),Ue=ke.top,et=ke.height,Ge=(Oe==="rtl"?-1:1)*(((ge==null?void 0:ge.x)||0)-Le),it=(Ge-12)/ve,Qe=(0,oe.Z)(ye,me.props.eventKey);if(De-1.5?pe({dragNode:We,dropNode:Te,dropPosition:1})?$e=1:Je=!1:pe({dragNode:We,dropNode:Te,dropPosition:0})?$e=0:pe({dragNode:We,dropNode:Te,dropPosition:1})?$e=1:Je=!1:pe({dragNode:We,dropNode:Te,dropPosition:1})?$e=1:Je=!1,{dropPosition:$e,dropLevelOffset:ut,dropTargetKey:Qe.key,dropTargetPos:Qe.pos,dragOverNodeKey:rt,dropContainerKey:$e===0?null:((Ce=Qe.parent)===null||Ce===void 0?void 0:Ce.key)||null,dropAllowed:Je}}function y(re,ce){if(re){var me=ce.multiple;return me?re.slice():re.length?[re[0]]:re}}var x=function(ce){return ce};function b(re,ce){if(!re)return[];var me=ce||{},ve=me.processProps,ge=ve===void 0?x:ve,pe=Array.isArray(re)?re:[re];return pe.map(function(fe){var ye=fe.children,Se=_objectWithoutProperties(fe,se),Oe=b(ye,ce);return React.createElement(TreeNode,_extends({key:Se.key},ge(Se)),Oe)})}function z(re){if(!re)return null;var ce;if(Array.isArray(re))ce={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ot.Z)(re)==="object")ce={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ce}function ee(re,ce){var me=new Set;function ve(ge){if(!me.has(ge)){var pe=(0,oe.Z)(ce,ge);if(pe){me.add(ge);var fe=pe.parent,ye=pe.node;ye.disabled||fe&&ve(fe.key)}}}return(re||[]).forEach(function(ge){ve(ge)}),(0,he.Z)(me)}},90782:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{S:function(){return te}});var he=Ae(48736),ot=Ae(67841);function E(se,de){var le=new Set;return se.forEach(function(ue){de.has(ue)||le.add(ue)}),le}function Pe(se){var de=se||{},le=de.disabled,ue=de.disableCheckbox,ae=de.checkable;return!!(le||ue)||ae===!1}function be(se,de,le,ue){for(var ae=new Set(se),ie=new Set,ne=0;ne<=le;ne+=1){var a=de.get(ne)||new Set;a.forEach(function(z){var ee=z.key,re=z.node,ce=z.children,me=ce===void 0?[]:ce;ae.has(ee)&&!ue(re)&&me.filter(function(ve){return!ue(ve.node)}).forEach(function(ve){ae.add(ve.key)})})}for(var y=new Set,x=le;x>=0;x-=1){var b=de.get(x)||new Set;b.forEach(function(z){var ee=z.parent,re=z.node;if(!(ue(re)||!z.parent||y.has(z.parent.key))){if(ue(z.parent.node)){y.add(ee.key);return}var ce=!0,me=!1;(ee.children||[]).filter(function(ve){return!ue(ve.node)}).forEach(function(ve){var ge=ve.key,pe=ae.has(ge);ce&&!pe&&(ce=!1),!me&&(pe||ie.has(ge))&&(me=!0)}),ce&&ae.add(ee.key),me&&ie.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(ae),halfCheckedKeys:Array.from(E(ie,ae))}}function oe(se,de,le,ue,ae){for(var ie=new Set(se),ne=new Set(de),a=0;a<=ue;a+=1){var y=le.get(a)||new Set;y.forEach(function(ee){var re=ee.key,ce=ee.node,me=ee.children,ve=me===void 0?[]:me;!ie.has(re)&&!ne.has(re)&&!ae(ce)&&ve.filter(function(ge){return!ae(ge.node)}).forEach(function(ge){ie.delete(ge.key)})})}ne=new Set;for(var x=new Set,b=ue;b>=0;b-=1){var z=le.get(b)||new Set;z.forEach(function(ee){var re=ee.parent,ce=ee.node;if(!(ae(ce)||!ee.parent||x.has(ee.parent.key))){if(ae(ee.parent.node)){x.add(re.key);return}var me=!0,ve=!1;(re.children||[]).filter(function(ge){return!ae(ge.node)}).forEach(function(ge){var pe=ge.key,fe=ie.has(pe);me&&!fe&&(me=!1),!ve&&(fe||ne.has(pe))&&(ve=!0)}),me||ie.delete(re.key),ve&&ne.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(ie),halfCheckedKeys:Array.from(E(ne,ie))}}function te(se,de,le,ue){var ae=[],ie;ue?ie=ue:ie=Pe;var ne=new Set(se.filter(function(b){var z=!!(0,ot.Z)(le,b);return z||ae.push(b),z})),a=new Map,y=0;Object.keys(le).forEach(function(b){var z=le[b],ee=z.level,re=a.get(ee);re||(re=new Set,a.set(ee,re)),re.add(z),y=Math.max(y,ee)}),(0,he.ZP)(!ae.length,"Tree missing follow keys: ".concat(ae.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return de===!0?x=be(ne,a,y,ie):x=oe(ne,de.halfCheckedKeys,a,y,ie),x}},67841:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return he}});function he(ot,E){return ot[E]}},71430:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{F:function(){return ee},H8:function(){return z},I8:function(){return b},km:function(){return ae},oH:function(){return y},w$:function(){return ie},zn:function(){return a}});var he=Ae(76190),ot=Ae(94480),E=Ae(33885),Pe=Ae(75931),be=Ae(11592),oe=Ae(2738),te=Ae(48736),se=Ae(67841),de=["children"];function le(re,ce){return"".concat(re,"-").concat(ce)}function ue(re){return re&&re.type&&re.type.isTreeNode}function ae(re,ce){return re!=null?re:ce}function ie(re){var ce=re||{},me=ce.title,ve=ce._title,ge=ce.key,pe=ce.children,fe=me||"title";return{title:fe,_title:ve||[fe],key:ge||"key",children:pe||"children"}}function ne(re,ce){var me=new Map;function ve(ge){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ge||[]).forEach(function(fe){var ye=fe[ce.key],Se=fe[ce.children];warning(ye!=null,"Tree node must have a certain key: [".concat(pe).concat(ye,"]"));var Oe=String(ye);warning(!me.has(Oe)||ye===null||ye===void 0,"Same 'key' exist in the Tree: ".concat(Oe)),me.set(Oe,!0),ve(Se,"".concat(pe).concat(Oe," > "))})}ve(re)}function a(re){function ce(me){var ve=(0,be.Z)(me);return ve.map(function(ge){if(!ue(ge))return(0,te.ZP)(!ge,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=ge.key,fe=ge.props,ye=fe.children,Se=(0,Pe.Z)(fe,de),Oe=(0,E.Z)({key:pe},Se),Ce=ce(ye);return Ce.length&&(Oe.children=Ce),Oe}).filter(function(ge){return ge})}return ce(re)}function y(re,ce,me){var ve=ie(me),ge=ve._title,pe=ve.key,fe=ve.children,ye=new Set(ce===!0?[]:ce),Se=[];function Oe(Ce){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ce.map(function(De,ke){for(var Ue=le(Le?Le.pos:"0",ke),et=ae(De[pe],Ue),Ge,it=0;it1&&arguments[1]!==void 0?arguments[1]:{},me=ce.initWrapper,ve=ce.processEntity,ge=ce.onProcessFinished,pe=ce.externalGetKey,fe=ce.childrenPropName,ye=ce.fieldNames,Se=arguments.length>2?arguments[2]:void 0,Oe=pe||Se,Ce={},Le={},De={posEntities:Ce,keyEntities:Le};return me&&(De=me(De)||De),x(re,function(ke){var Ue=ke.node,et=ke.index,Ge=ke.pos,it=ke.key,Qe=ke.parentPos,Ye=ke.level,Ve=ke.nodes,Me={node:Ue,nodes:Ve,index:et,key:it,pos:Ge,level:Ye},Re=ae(it,Ge);Ce[Ge]=Me,Le[Re]=Me,Me.parent=Ce[Qe],Me.parent&&(Me.parent.children=Me.parent.children||[],Me.parent.children.push(Me)),ve&&ve(Me,De)},{externalGetKey:Oe,childrenPropName:fe,fieldNames:ye}),ge&&ge(De),De}function z(re,ce){var me=ce.expandedKeys,ve=ce.selectedKeys,ge=ce.loadedKeys,pe=ce.loadingKeys,fe=ce.checkedKeys,ye=ce.halfCheckedKeys,Se=ce.dragOverNodeKey,Oe=ce.dropPosition,Ce=ce.keyEntities,Le=(0,se.Z)(Ce,re),De={eventKey:re,expanded:me.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:ge.indexOf(re)!==-1,loading:pe.indexOf(re)!==-1,checked:fe.indexOf(re)!==-1,halfChecked:ye.indexOf(re)!==-1,pos:String(Le?Le.pos:""),dragOver:Se===re&&Oe===0,dragOverGapTop:Se===re&&Oe===-1,dragOverGapBottom:Se===re&&Oe===1};return De}function ee(re){var ce=re.data,me=re.expanded,ve=re.selected,ge=re.checked,pe=re.loaded,fe=re.loading,ye=re.halfChecked,Se=re.dragOver,Oe=re.dragOverGapTop,Ce=re.dragOverGapBottom,Le=re.pos,De=re.active,ke=re.eventKey,Ue=(0,E.Z)((0,E.Z)({},ce),{},{expanded:me,selected:ve,checked:ge,loaded:pe,loading:fe,halfChecked:ye,dragOver:Se,dragOverGapTop:Oe,dragOverGapBottom:Ce,pos:Le,active:De,key:ke});return"props"in Ue||Object.defineProperty(Ue,"props",{get:function(){return(0,te.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),Ue}},8224:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{Z:function(){return ot}});var he=Ae(4676);function ot(E,Pe,be,oe){var te=he.unstable_batchedUpdates?function(de){he.unstable_batchedUpdates(be,de)}:be;return E!=null&&E.addEventListener&&E.addEventListener(Pe,te,oe),{remove:function(){E!=null&&E.removeEventListener&&E.removeEventListener(Pe,te,oe)}}}},55468:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{g1:function(){return ue},os:function(){return ie}});var he=/margin|padding|width|height|max|min|offset/,ot={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function Pe(ne){return ne.nodeType===1?ne.ownerDocument.defaultView.getComputedStyle(ne,null):{}}function be(ne,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return ne.offsetHeight;if(a==="width")return ne.offsetWidth}return a in ot||(ot[a]=he.test(a)),ot[a]?parseFloat(y)||0:y}function oe(ne,a){var y=arguments.length,x=Pe(ne);return a=E[a]?"cssFloat"in ne.style?"cssFloat":"styleFloat":a,y===1?x:be(ne,a,x[a]||ne.style[a])}function te(ne,a,y){var x=arguments.length;if(a=E[a]?"cssFloat"in ne.style?"cssFloat":"styleFloat":a,x===3)return typeof y=="number"&&he.test(a)&&(y="".concat(y,"px")),ne.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&te(ne,b,a[b]);return Pe(ne)}function se(ne){return ne===document.body?document.documentElement.clientWidth:ne.offsetWidth}function de(ne){return ne===document.body?window.innerHeight||document.documentElement.clientHeight:ne.offsetHeight}function le(){var ne=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ne,height:a}}function ue(){var ne=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:ne,height:a}}function ae(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ie(ne){var a=ne.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(Ct,Ft,Ae){"use strict";Ae.d(Ft,{G:function(){return Pe}});var he=Ae(47273),ot=function(oe){if((0,he.Z)()&&window.document.documentElement){var te=Array.isArray(oe)?oe:[oe],se=window.document.documentElement;return te.some(function(de){return de in se.style})}return!1},E=function(oe,te){if(!ot(oe))return!1;var se=document.createElement("div"),de=se.style[oe];return se.style[oe]=te,se.style[oe]!==de};function Pe(be,oe){return!Array.isArray(be)&&oe!==void 0?E(be,oe):ot(be)}},25365:function(Ct){"use strict";Ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdBoe0Tqggi5NgsLaWriWZFQEEvRHBxmL+iMo/KMg6KJSCy03mbapo1vXzCvJUstjZTM1bUzZZP6uF5M0Zwr1/nsHn/d93+/7QjBn3GhuZkm5scvRJIgODWX7sKCQT0oRGIAQorlnp+cIAAhnJghhhobvWRPjQ/rJ8eEVXIxGwcFsGBYWQUTFLrN6yCB9qpjdthA2BSG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BJc3f2cS5vMcnu7ryCpE0XeWv42UCicSovLQ3ZOneAalzZOiPNMIyq0uA0i0XEsebjZCNOHlMSk+RkqpLtzoafGowsYQhFMNZSivcHSdXyZPFVSpX7zNwxo0nhQHOkTO0JTO0xSax4VeS0mne2rqya0nHGEieT9DFkWbnmLk7ONoi6E9uWbqT+PmOZSaO/lsyWA/CWXKYyg8dolgUU38+P91HDI7wk5OjKMpBU61yyThtCUedwcGy/IVjozd2peQrmCrkroJyu1Ne/xSQxbOJo+CklKHMbFJcQZzRgaYxLAmnlXwokwSKYWG5ciZtZA8VmMmCGKaktjEQOyzZpKguYmtHVtI8OBuvK8u/eurJkeMd8gy0WCRXJwXGMIOuukmrNHAy9uEqnM3vKRVUKSiVPr4oSDw1oiHagPu/A2kmih6OXasidlejC7CBZfyVhB0nEpKwABDSlNcZAMtzuWaaJLtLdSTdlgWRnkZ0ZcrXrMYa3z+8Lkoox+jiXAEVNEwmGaX9VwRwSFzOlg/QgTCodJDnGZQfJXtS0/1XF/UCy/pRFMknLv4B0mO7tAcV+E4LavnLlX3lTS/GLYAyLAAAAAElFTkSuQmCC"},71979:function(Ct){"use strict";Ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAqCAYAAABfjB7GAAAAAXNSR0IArs4c6QAAEy5JREFUeF7tW2l0VFW2/m4FkhBmQ5iEJEwBMcgoElwMMoOg0q20ywkJQj/1MXTjoxVlkjm0QNs2AgIapNW2gRYRbGRMCDJGmWcIUxISyASBhITUfevsM9xzb91UgM567w8lrqq6de+puvs7397fHmJcPxJvGoYBGAYMw8Of2X/sGNhb+Rm9Ecedz/w8E4BpGPDQlYDpEWuYdCl9VtbD42WriOvZivwfYJrqmR0xTfo2fpxe8uvYcfpfXsuOm16Yppc+97JndqrXBPvFpleuJc6R14tntq5BX8Ov4+uz1/J7vfy+tfP572Hr8d8oP2N3T8e03yruzro/IN0D73bDCBjfYMDUy0be4S8IIA6ExwJEgsQOww4SHaHz2T9+Dfsp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OcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Ct){"use strict";Ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv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8OLd6gs4W+b8HWKzcQJ3Qmx5RMB4/4kTnueUhsGhU8ni6d8TEGURGRbere4Ij9K42m3d0kEdCeeVUX/bYIBpqqaGYO8QBJ1/fODX+U8Bi9SQqU8++LS5fgldPr8m9LHTGntaz3obr9HT79TTHVjrdanhYdiI+XDOuKjsmzyk7s4gR3Cck1k3g01eiWO4KCDjzqTBnTPO3OO4PnuDo4/O2PBjNdqrjkMJeXRCmRFLMcQEVOwgJONs7WMoRk/uRNH8p72je4x+xBEn2CjyIg2UsoN2kZ8yJsK6lIEYNv61Ol0AY0s40gKDRJ6PWhVbAfnokh/+f17oKelHNP2kwROsZoa+DDnL4JaDI+U/UejzbXSaxR/K5ygXVan6UasJJiI6AV8jKgQWdQh+P8NewCBXTkFh5dNNOoB4NwLLtSc05opxCA5sQ2qkzqjlkPGndvq4I2alefyPfrwQWLWvK26J+U4VPtymGNvr6jJCkpX+Gv4bASrciDcnqMQ62IDT82UnbIvbP3v2aDjMISHRqDvhU/jScZAIuZpF7urMIRHhxMtxaDVxkP5s6/PTemjld9JmqnoUAXdp76ZqangOGXnmbuSSwINlw66vnonq757l0gHwoTNt7cz8nd3Yz4f/0XK6vduVqt42shwKRVC5U58oEJnXL9FPjpcPhFGHaBhdxW4sOsYHZjZGul8dDeXg4eBKtw86VGhGVwicBOpT6OxwMMV/3EQg6AWKIUvH5RNolA29CDT3wmNspggFJXkNUkl1IuQKnQixEgIwkJ5MjBYF/fTCG7E6XWDeW06oJpdinfW8BEx7JYaHE0aM0JdIN1IOF8WgwFO5YnABqrkUiiFDCsnyPqU9PKWXmCwc5De9OC0XNdja1QysjHUcte17BFMJCEZ5K6RCDwN/tGnKlws/cKIg8Kj4vMASYVKjdqXExZzAh8op+/5zRwrdHv1HgGwW+UeAbBb5R4BsFvlGgpcA3YPFtR3yjwDcKfKPANwp8o8A3ClyMAv8DD8nJIGmcntAAAAAASUVORK5CYII="},96908:function(Ct){"use strict";Ct.exports="data:image/png;base64,iVBORw0KGgoAAAANS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Rmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(Ct){"use strict";Ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3Kd3e3KWfn3xKN7UhnMuq+VnGblNKz9N1evXpOin/R/o1Gpe09ae3KX26U5/Vqj/qu44vkmtpS8aIY/3965RePUmJvaZnfphF6kvRJBkL71L6539N6c0vh01UWm9vqw0UWuS/2zI+fZ7L1Xe5z0w4/ON5qv7c6KmCdF3tcfb3oq+itPrzKqXbTym9/puUXv+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru9397W2cKXl8EVLSaWhxBVYTIuYkQyjv9ucqxyLbmLkGJG3lGgYZ+i7RWhVfFrQxpjOXAeWs/HWgZORt+N2m/4SFYXmtGgQYxURVzhA/U6Lj8J75ZGRYaZzxNe1a+gUdbulsARulI/i8GrQFj7N1oQGKsWCZMlgL1Rr6xH1+V11xu4PhUV7g9B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DCAingSgQvU8otu9YEsL1zYFWOjW0SUjFiISapNUjDDKIWTY38AXuCALtYt/52lHR8VOC9WDnZ/XB6vTiA7UEB8QlNpHG30Ew3PIM8viGVa28CiSM16WskpraQnHMzInbKZmpmdlLr05dKxRw9sF71WH1Kx+UJRo6ofnxBe6O1tEjexMCk61P5me3GcFVsIa2cs1yar5EGzvG3FRopivTKxnuWGKOyDIdNe/+YbOM8CCLYRHqqpDMyd0p8Is4oC0STt4cZs628wWBbYnBECByU2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"}}]); + `]:{background:vn},[`&${tt}-row-selected`]:{"> th, > td":{background:un},"&:hover > th, &:hover > td":{background:yn}}}},[`${tt}-footer`]:{padding:`${pt}px ${bt}px`,color:cn,background:wn}})}};var Ps=(0,rs.Z)("Table",Je=>{const{colorTextHeading:tt,colorSplit:dt,colorIcon:pt,colorIconHover:bt,opacityLoading:St,colorBgContainer:jt,controlInteractiveSize:Ot,headerBg:Bt,headerColor:It,headerSortActiveBg:Ut,headerSortHoverBg:Nt,bodySortBg:Qt,rowHoverBg:Xt,rowSelectedBg:Yt,rowSelectedHoverBg:vn,rowExpandedBg:un,cellPaddingBlock:yn,cellPaddingInline:cn,cellPaddingBlockMD:wn,cellPaddingInlineMD:Vn,cellPaddingBlockSM:Yn,cellPaddingInlineSM:Gn,borderColor:ur,footerBg:wr,footerColor:jn,headerBorderRadius:zn,cellFontSize:On,cellFontSizeMD:Sn,cellFontSizeSM:Dn,headerSplitColor:lr,fixedHeaderSortActiveBg:Fr,headerFilterHoverBg:Sr,filterDropdownBg:tr,expandIconBg:jr,selectionColumnWidth:Tr,stickyScrollBarBg:ca}=Je,Kr=new To.C(pt),xa=new To.C(bt),Ca=2,Er=(0,as.TS)(Je,{tableFontSize:On,tableBg:jt,tableRadius:zn,tablePaddingVertical:yn,tablePaddingHorizontal:cn,tablePaddingVerticalMiddle:wn,tablePaddingHorizontalMiddle:Vn,tablePaddingVerticalSmall:Yn,tablePaddingHorizontalSmall:Gn,tableBorderColor:ur,tableHeaderTextColor:It,tableHeaderBg:Bt,tableFooterTextColor:jn,tableFooterBg:wr,tableHeaderCellSplitColor:lr,tableHeaderSortBg:Ut,tableHeaderSortHoverBg:Nt,tableHeaderIconColor:Kr.clone().setAlpha(Kr.getAlpha()*St).toRgbString(),tableHeaderIconColorHover:xa.clone().setAlpha(xa.getAlpha()*St).toRgbString(),tableBodySortBg:Qt,tableFixedHeaderSortActiveBg:Fr,tableHeaderFilterActiveBg:Sr,tableFilterDropdownBg:tr,tableRowHoverBg:Xt,tableSelectedRowBg:Yt,tableSelectedRowHoverBg:vn,zIndexTableFixed:Ca,zIndexTableSticky:Ca+1,tableFontSizeMiddle:Sn,tableFontSizeSmall:Dn,tableSelectionColumnWidth:Tr,tableExpandIconBg:jr,tableExpandColumnWidth:Ot+2*Je.padding,tableExpandedRowBg:un,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ca,tableScrollThumbBgHover:tt,tableScrollBg:dt});return[Ss(Er),fs(Er),Si(Er),vs(Er),cs(Er),os(Er),gs(Er),us(Er),Si(Er),ss(Er),ps(Er),ds(Er),ys(Er),is(Er),hs(Er),ms(Er),bs(Er)]},Je=>{const{colorFillAlter:tt,colorBgContainer:dt,colorTextHeading:pt,colorFillSecondary:bt,colorFillContent:St,controlItemBgActive:jt,controlItemBgActiveHover:Ot,padding:Bt,paddingSM:It,paddingXS:Ut,colorBorderSecondary:Nt,borderRadiusLG:Qt,fontSize:Xt,controlHeight:Yt,colorTextPlaceholder:vn}=Je,un=new To.C(bt).onBackground(dt).toHexShortString(),yn=new To.C(St).onBackground(dt).toHexShortString(),cn=new To.C(tt).onBackground(dt).toHexShortString();return{headerBg:cn,headerColor:pt,headerSortActiveBg:un,headerSortHoverBg:yn,bodySortBg:cn,rowHoverBg:cn,rowSelectedBg:jt,rowSelectedHoverBg:Ot,rowExpandedBg:tt,cellPaddingBlock:Bt,cellPaddingInline:Bt,cellPaddingBlockMD:It,cellPaddingInlineMD:Ut,cellPaddingBlockSM:Ut,cellPaddingInlineSM:Ut,borderColor:Nt,headerBorderRadius:Qt,footerBg:cn,footerColor:pt,cellFontSize:Xt,cellFontSizeMD:Xt,cellFontSizeSM:Xt,headerSplitColor:Nt,fixedHeaderSortActiveBg:un,headerFilterHoverBg:St,filterDropdownMenuBg:dt,filterDropdownBg:dt,expandIconBg:dt,selectionColumnWidth:Yt,stickyScrollBarBg:vn,stickyScrollBarBorderRadius:100}});const ws=[],Es=(Je,tt)=>{const{prefixCls:dt,className:pt,rootClassName:bt,style:St,size:jt,bordered:Ot,dropdownPrefixCls:Bt,dataSource:It,pagination:Ut,rowSelection:Nt,rowKey:Qt="key",rowClassName:Xt,columns:Yt,children:vn,childrenColumnName:un,onChange:yn,getPopupContainer:cn,loading:wn,expandIcon:Vn,expandable:Yn,expandedRowRender:Gn,expandIconColumnIndex:ur,indentSize:wr,scroll:jn,sortDirections:zn,locale:On,showSorterTooltip:Sn=!0,virtual:Dn}=Je,lr=te.useMemo(()=>Yt||Ct(vn),[Yt,vn]),Fr=te.useMemo(()=>lr.some(Ur=>Ur.responsive),[lr]),Sr=(0,kr.Z)(Fr),tr=te.useMemo(()=>{const Ur=new Set(Object.keys(Sr).filter(ga=>Sr[ga]));return lr.filter(ga=>!ga.responsive||ga.responsive.some(za=>Ur.has(za)))},[lr,Sr]),jr=(0,cr.Z)(Je,["className","style","columns"]),{locale:Tr=Qr.Z,direction:ca,table:Kr,renderEmpty:xa,getPrefixCls:Ca,getPopupContainer:Er}=te.useContext(mr.E_),Ta=(0,sa.Z)(jt),Vr=Object.assign(Object.assign({},Tr.Table),On),ya=It||ws,ha=Ca("table",dt),Ya=Ca("dropdown",Bt),sr=Object.assign({childrenColumnName:un,expandIconColumnIndex:ur},Yn),{childrenColumnName:ar="children"}=sr,nr=te.useMemo(()=>ya.some(Ur=>Ur==null?void 0:Ur[ar])?"nest":Gn||Yn&&Yn.expandedRowRender?"row":null,[ya]),Kn={body:te.useRef()},_r=te.useMemo(()=>typeof Qt=="function"?Qt:Ur=>Ur==null?void 0:Ur[Qt],[Qt]),[Zn]=Gi(ya,ar,_r),br={},Hr=function(Ur,ga){let za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ea,Ka,qa;const $a=Object.assign(Object.assign({},br),Ur);za&&((Ea=br.resetPagination)===null||Ea===void 0||Ea.call(br),!((Ka=$a.pagination)===null||Ka===void 0)&&Ka.current&&($a.pagination.current=1),Ut&&Ut.onChange&&Ut.onChange(1,(qa=$a.pagination)===null||qa===void 0?void 0:qa.pageSize)),jn&&jn.scrollToFirstRowOnChange!==!1&&Kn.body.current&&(0,Nn.Z)(0,{getContainer:()=>Kn.body.current}),yn==null||yn($a.pagination,$a.filters,$a.sorter,{currentDataSource:Xo(ti(ya,$a.sorterStates,ar),$a.filterStates),action:ga})},Rr=(Ur,ga)=>{Hr({sorter:Ur,sorterStates:ga},"sort",!1)},[Ua,Ga,lo,La]=$i({prefixCls:ha,mergedColumns:tr,onSorterChange:Rr,sortDirections:zn||["ascend","descend"],tableLocale:Vr,showSorterTooltip:Sn}),oo=te.useMemo(()=>ti(ya,Ga,ar),[ya,Ga]);br.sorter=La(),br.sorterStates=Ga;const Ia=(Ur,ga)=>{Hr({filters:Ur,filterStates:ga},"filter",!0)},[Qa,Co,Jr]=Do({prefixCls:ha,locale:Vr,dropdownPrefixCls:Ya,mergedColumns:tr,onFilterChange:Ia,getPopupContainer:cn||Er}),ea=Xo(oo,Co);br.filters=Jr,br.filterStates=Co;const Pa=te.useMemo(()=>{const Ur={};return Object.keys(Jr).forEach(ga=>{Jr[ga]!==null&&(Ur[ga]=Jr[ga])}),Object.assign(Object.assign({},lo),{filters:Ur})},[lo,Jr]),[Da]=es(Pa),Ra=(Ur,ga)=>{Hr({pagination:Object.assign(Object.assign({},br.pagination),{current:Ur,pageSize:ga})},"paginate")},[Lr,Va]=Ki(ea.length,Ra,Ut);br.pagination=Ut===!1?{}:Ui(Lr,Ut),br.resetPagination=Va;const Wa=te.useMemo(()=>{if(Ut===!1||!Lr.pageSize)return ea;const{current:Ur=1,total:ga,pageSize:za=di}=Lr;return ea.lengthza?ea.slice((Ur-1)*za,Ur*za):ea:ea.slice((Ur-1)*za,Ur*za)},[!!Ut,ea,Lr&&Lr.current,Lr&&Lr.pageSize,Lr&&Lr.total]),[no,co]=Xi({prefixCls:ha,data:ea,pageData:Wa,getRowKey:_r,getRecordByKey:Zn,expandType:nr,childrenColumnName:ar,locale:Vr,getPopupContainer:cn||Er},Nt),uo=(Ur,ga,za)=>{let Ea;return typeof Xt=="function"?Ea=Ce()(Xt(Ur,ga,za)):Ea=Ce()(Xt),Ce()({[`${ha}-row-selected`]:co.has(_r(Ur,ga))},Ea)};sr.__PARENT_RENDER_ICON__=sr.expandIcon,sr.expandIcon=sr.expandIcon||Vn||kn(Vr),nr==="nest"&&sr.expandIconColumnIndex===void 0?sr.expandIconColumnIndex=Nt?1:0:sr.expandIconColumnIndex>0&&Nt&&(sr.expandIconColumnIndex-=1),typeof sr.indentSize!="number"&&(sr.indentSize=typeof wr=="number"?wr:15);const Lo=te.useCallback(Ur=>Da(no(Qa(Ua(Ur)))),[Ua,Qa,no]);let ho,io;if(Ut!==!1&&(Lr!=null&&Lr.total)){let Ur;Lr.size?Ur=Lr.size:Ur=Ta==="small"||Ta==="middle"?"small":void 0;const ga=Ka=>te.createElement(Sa.Z,Object.assign({},Lr,{className:Ce()(`${ha}-pagination ${ha}-pagination-${Ka}`,Lr.className),size:Ur})),za=ca==="rtl"?"left":"right",{position:Ea}=Lr;if(Ea!==null&&Array.isArray(Ea)){const Ka=Ea.find(vo=>vo.includes("top")),qa=Ea.find(vo=>vo.includes("bottom")),$a=Ea.every(vo=>`${vo}`=="none");!Ka&&!qa&&!$a&&(io=ga(za)),Ka&&(ho=ga(Ka.toLowerCase().replace("top",""))),qa&&(io=ga(qa.toLowerCase().replace("bottom","")))}else io=ga(za)}let Ja;typeof wn=="boolean"?Ja={spinning:wn}:typeof wn=="object"&&(Ja=Object.assign({spinning:!0},wn));const[_a,ka]=Ps(ha),[,wa]=(0,ln.Z)(),fo=Ce()(`${ha}-wrapper`,Kr==null?void 0:Kr.className,{[`${ha}-wrapper-rtl`]:ca==="rtl"},pt,bt,ka),Ao=Object.assign(Object.assign({},Kr==null?void 0:Kr.style),St),So=On&&On.emptyText||(xa==null?void 0:xa("Table"))||te.createElement(pr.Z,{componentName:"Table"}),mo=Dn?ns:ts,Go={},ni=te.useMemo(()=>{const{fontSize:Ur,lineHeight:ga,padding:za,paddingXS:Ea,paddingSM:Ka}=wa,qa=Math.floor(Ur*ga);switch(Ta){case"large":return za*2+qa;case"small":return Ea*2+qa;default:return Ka*2+qa}},[wa,Ta]);return Dn&&(Go.listItemHeight=ni),_a(te.createElement("div",{ref:tt,className:fo,style:Ao},te.createElement(hn.Z,Object.assign({spinning:!1},Ja),ho,te.createElement(mo,Object.assign({},Go,jr,{columns:tr,direction:ca,expandable:sr,prefixCls:ha,className:Ce()({[`${ha}-middle`]:Ta==="middle",[`${ha}-small`]:Ta==="small",[`${ha}-bordered`]:Ot,[`${ha}-empty`]:ya.length===0}),data:Wa,rowKey:_r,rowClassName:uo,emptyText:So,internalHooks:it,internalRefs:Kn,transformColumns:Lo})),io)))};var xs=te.forwardRef(Es);const Cs=(Je,tt)=>{const dt=te.useRef(0);return dt.current+=1,te.createElement(xs,Object.assign({},Je,{ref:tt,_renderTimes:dt.current}))},po=te.forwardRef(Cs);po.SELECTION_COLUMN=bo,po.EXPAND_COLUMN=pe,po.SELECTION_ALL=Qo,po.SELECTION_INVERT=Jo,po.SELECTION_NONE=qo,po.Column=Jn,po.ColumnGroup=Cr,po.Summary=we;var As=po,Fs=As},17574:function(xt,At,Ae){"use strict";Ae.d(At,{default:function(){return Ge}});var pe=Ae(60091),it=Ae(94480),E=Ae(52671),Se=Ae(8657),ye=Ae(54476),oe=Ae(59301),te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},se=te,de=Ae(7657),ue=function(Ve,Xe){return oe.createElement(de.Z,(0,ye.Z)({},Ve,{ref:Xe,icon:se}))},ce=oe.forwardRef(ue),ae=ce,ie=Ae(92310),ne=Ae.n(ie),a=Ae(35654),y=Ae(71430),x=Ae(36355),b=Ae(56082),z=Ae(62892),ee=Ae(20648);const re=4;function le(ot){const{dropPosition:Ve,dropLevelOffset:Xe,prefixCls:Ze,indent:ze,direction:Re="ltr"}=ot,He=Re==="ltr"?"left":"right",rt=Re==="ltr"?"right":"left",qe={[He]:-Xe*ze+re,[rt]:0};switch(Ve){case-1:qe.top=-3;break;case 1:qe.bottom=-3;break;default:qe.bottom=-3,qe[He]=ze+re;break}return oe.createElement("div",{style:qe,className:`${Ze}-drop-indicator`})}var he=Ae(71997),fe=oe.forwardRef((ot,Ve)=>{const{getPrefixCls:Xe,direction:Ze,virtual:ze,tree:Re}=oe.useContext(x.E_),{prefixCls:He,className:rt,showIcon:qe=!1,showLine:ut,switcherIcon:_e,blockNode:We=!1,children:Oe,checkable:Ye=!1,selectable:Fe=!0,draggable:Ne,motion:et,style:De}=ot,je=Xe("tree",He),Ee=Xe(),xe=et!=null?et:Object.assign(Object.assign({},(0,z.Z)(Ee)),{motionAppear:!1}),we=Object.assign(Object.assign({},ot),{checkable:Ye,selectable:Fe,showIcon:qe,motion:xe,blockNode:We,showLine:!!ut,dropIndicatorRender:le}),[Be,Ke]=(0,ee.ZP)(je),nt=oe.useMemo(()=>{if(!Ne)return!1;let $e={};switch(typeof Ne){case"function":$e.nodeDraggable=Ne;break;case"object":$e=Object.assign({},Ne);break;default:break}return $e.icon!==!1&&($e.icon=$e.icon||oe.createElement(b.Z,null)),$e},[Ne]),ke=$e=>oe.createElement(he.Z,{prefixCls:je,switcherIcon:_e,treeNodeProps:$e,showLine:ut});return Be(oe.createElement(pe.Z,Object.assign({itemHeight:20,ref:Ve,virtual:ze},we,{style:Object.assign(Object.assign({},Re==null?void 0:Re.style),De),prefixCls:je,className:ne()({[`${je}-icon-hide`]:!qe,[`${je}-block-node`]:We,[`${je}-unselectable`]:!Fe,[`${je}-rtl`]:Ze==="rtl"},Re==null?void 0:Re.className,rt,Ke),direction:Ze,checkable:Ye&&oe.createElement("span",{className:`${je}-checkbox-inner`}),selectable:Fe,switcherIcon:ke,draggable:nt}),Oe))}),me;(function(ot){ot[ot.None=0]="None",ot[ot.Start=1]="Start",ot[ot.End=2]="End"})(me||(me={}));function ge(ot,Ve){function Xe(Ze){const{key:ze,children:Re}=Ze;Ve(ze,Ze)!==!1&&ge(Re||[],Ve)}ot.forEach(Xe)}function be(ot){let{treeData:Ve,expandedKeys:Xe,startKey:Ze,endKey:ze}=ot;const Re=[];let He=me.None;if(Ze&&Ze===ze)return[Ze];if(!Ze||!ze)return[];function rt(qe){return qe===Ze||qe===ze}return ge(Ve,qe=>{if(He===me.End)return!1;if(rt(qe)){if(Re.push(qe),He===me.None)He=me.Start;else if(He===me.Start)return He=me.End,!1}else He===me.Start&&Re.push(qe);return Xe.includes(qe)}),Re}function Pe(ot,Ve){const Xe=(0,it.Z)(Ve),Ze=[];return ge(ot,(ze,Re)=>{const He=Xe.indexOf(ze);return He!==-1&&(Ze.push(Re),Xe.splice(He,1)),!!Xe.length}),Ze}var Te=function(ot,Ve){var Xe={};for(var Ze in ot)Object.prototype.hasOwnProperty.call(ot,Ze)&&Ve.indexOf(Ze)<0&&(Xe[Ze]=ot[Ze]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ze=Object.getOwnPropertySymbols(ot);ze{var{defaultExpandAll:Xe,defaultExpandParent:Ze,defaultExpandedKeys:ze}=ot,Re=Te(ot,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const He=oe.useRef(),rt=oe.useRef(),qe=()=>{const{keyEntities:nt}=(0,y.I8)(Le(Re));let ke;return Xe?ke=Object.keys(nt):Ze?ke=(0,a.r7)(Re.expandedKeys||ze||[],nt):ke=Re.expandedKeys||ze,ke},[ut,_e]=oe.useState(Re.selectedKeys||Re.defaultSelectedKeys||[]),[We,Oe]=oe.useState(()=>qe());oe.useEffect(()=>{"selectedKeys"in Re&&_e(Re.selectedKeys)},[Re.selectedKeys]),oe.useEffect(()=>{"expandedKeys"in Re&&Oe(Re.expandedKeys)},[Re.expandedKeys]);const Ye=(nt,ke)=>{var $e;return"expandedKeys"in Re||Oe(nt),($e=Re.onExpand)===null||$e===void 0?void 0:$e.call(Re,nt,ke)},Fe=(nt,ke)=>{var $e;const{multiple:gt}=Re,{node:ct,nativeEvent:vt}=ke,{key:st=""}=ct,ht=Le(Re),at=Object.assign(Object.assign({},ke),{selected:!0}),lt=(vt==null?void 0:vt.ctrlKey)||(vt==null?void 0:vt.metaKey),ft=vt==null?void 0:vt.shiftKey;let mt;gt&<?(mt=nt,He.current=st,rt.current=mt,at.selectedNodes=Pe(ht,mt)):gt&&ft?(mt=Array.from(new Set([].concat((0,it.Z)(rt.current||[]),(0,it.Z)(be({treeData:ht,expandedKeys:We,startKey:st,endKey:He.current}))))),at.selectedNodes=Pe(ht,mt)):(mt=[st],He.current=st,rt.current=mt,at.selectedNodes=Pe(ht,mt)),($e=Re.onSelect)===null||$e===void 0||$e.call(Re,mt,at),"selectedKeys"in Re||_e(mt)},{getPrefixCls:Ne,direction:et}=oe.useContext(x.E_),{prefixCls:De,className:je,showIcon:Ee=!0,expandAction:xe="click"}=Re,we=Te(Re,["prefixCls","className","showIcon","expandAction"]),Be=Ne("tree",De),Ke=ne()(`${Be}-directory`,{[`${Be}-directory-rtl`]:et==="rtl"},je);return oe.createElement(fe,Object.assign({icon:Ce,ref:Ve,blockNode:!0},we,{showIcon:Ee,expandAction:xe,prefixCls:Be,className:Ke,expandedKeys:We,selectedKeys:ut,onSelect:Fe,onExpand:Ye}))};var Ue=oe.forwardRef(Ie);const Qe=fe;Qe.DirectoryTree=Ue,Qe.TreeNode=pe.O;var Ge=Qe},20648:function(xt,At,Ae){"use strict";Ae.d(At,{TM:function(){return ie},Yk:function(){return ae}});var pe=Ae(36237),it=Ae(98447),E=Ae(17313),Se=Ae(8378),ye=Ae(37613),oe=Ae(83116);const te=new pe.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),se=(ne,a)=>({[`.${ne}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),de=(ne,a)=>({[`.${ne}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:a.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${a.lineWidthBold}px solid ${a.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ue=(ne,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:ee,nodeHoverBg:re}=a,le=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,E.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,E.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:te,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},se(ne,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:a.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:le},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${y}-node-selected`]:{backgroundColor:ee},[`${y}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},de(ne,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ce=ne=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=ne;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ne.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ne.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${ne.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:z},[`${a}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},ae=(ne,a)=>{const y=`.${ne}`,x=`${y}-treenode`,b=a.paddingXS/2,z=(0,ye.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[ue(ne,z),ce(z)]},ie=ne=>{const{controlHeightSM:a}=ne;return{titleHeight:a,nodeHoverBg:ne.controlItemBgHover,nodeSelectedBg:ne.controlItemBgActive}};At.ZP=(0,oe.Z)("Tree",(ne,a)=>{let{prefixCls:y}=a;return[{[ne.componentCls]:(0,it.C2)(`${y}-checkbox`,ne)},ae(y,ne),(0,Se.Z)(ne)]},ne=>{const{colorTextLightSolid:a,colorPrimary:y}=ne;return Object.assign(Object.assign({},ie(ne)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return x}});var pe=Ae(54476),it=Ae(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Se=E,ye=Ae(7657),oe=function(z,ee){return it.createElement(ye.Z,(0,pe.Z)({},z,{ref:ee,icon:Se}))},te=it.forwardRef(oe),se=te,de=Ae(52671),ue=Ae(58617),ce=Ae(15075),ae=Ae(43531),ie=Ae(92310),ne=Ae.n(ie),a=Ae(92343),x=b=>{const{prefixCls:z,switcherIcon:ee,treeNodeProps:re,showLine:le}=b,{isLeaf:he,expanded:ve,loading:fe}=re;if(fe)return it.createElement(ue.Z,{className:`${z}-switcher-loading-icon`});let me;if(le&&typeof le=="object"&&(me=le.showLeafIcon),he){if(!le)return null;if(typeof me!="boolean"&&me){const Pe=typeof me=="function"?me(re):me,Te=`${z}-switcher-line-custom-icon`;return(0,a.l$)(Pe)?(0,a.Tm)(Pe,{className:ne()(Pe.props.className||"",Te)}):Pe}return me?it.createElement(de.Z,{className:`${z}-switcher-line-icon`}):it.createElement("span",{className:`${z}-switcher-leaf-line`})}const ge=`${z}-switcher-icon`,be=typeof ee=="function"?ee(re):ee;return(0,a.l$)(be)?(0,a.Tm)(be,{className:ne()(be.props.className||"",ge)}):be!==void 0?be:le?ve?it.createElement(ce.Z,{className:`${z}-switcher-line-icon`}):it.createElement(ae.Z,{className:`${z}-switcher-line-icon`}):it.createElement(se,{className:ge})}},54580:function(xt,At,Ae){"use strict";Ae.d(At,{default:function(){return vr}});var pe=Ae(59301),it=Ae(94480),E=Ae(92310),Se=Ae.n(E),ye=Ae(54476),oe=Ae(67732),te=Ae(83652),se=Ae(42403),de=Ae(158),ue=Ae(20068),ce=Ae(75931),ae=Ae(75044),ie=Ae(76190),ne=Ae(3202),a=Ae(26112);function y(wt,Gt){var Rt="cannot ".concat(wt.method," ").concat(wt.action," ").concat(Gt.status,"'"),Zt=new Error(Rt);return Zt.status=Gt.status,Zt.method=wt.method,Zt.url=wt.action,Zt}function x(wt){var Gt=wt.responseText||wt.response;if(!Gt)return Gt;try{return JSON.parse(Gt)}catch(Rt){return Gt}}function b(wt){var Gt=new XMLHttpRequest;wt.onProgress&&Gt.upload&&(Gt.upload.onprogress=function(en){en.total>0&&(en.percent=en.loaded/en.total*100),wt.onProgress(en)});var Rt=new FormData;wt.data&&Object.keys(wt.data).forEach(function(qt){var en=wt.data[qt];if(Array.isArray(en)){en.forEach(function(_t){Rt.append("".concat(qt,"[]"),_t)});return}Rt.append(qt,en)}),wt.file instanceof Blob?Rt.append(wt.filename,wt.file,wt.file.name):Rt.append(wt.filename,wt.file),Gt.onerror=function(en){wt.onError(en)},Gt.onload=function(){return Gt.status<200||Gt.status>=300?wt.onError(y(wt,Gt),x(Gt)):wt.onSuccess(x(Gt),Gt)},Gt.open(wt.method,wt.action,!0),wt.withCredentials&&"withCredentials"in Gt&&(Gt.withCredentials=!0);var Zt=wt.headers||{};return Zt["X-Requested-With"]!==null&&Gt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Zt).forEach(function(qt){Zt[qt]!==null&&Gt.setRequestHeader(qt,Zt[qt])}),Gt.send(Rt),{abort:function(){Gt.abort()}}}var z=+new Date,ee=0;function re(){return"rc-upload-".concat(z,"-").concat(++ee)}var le=Ae(48736),he=function(wt,Gt){if(wt&&Gt){var Rt=Array.isArray(Gt)?Gt:Gt.split(","),Zt=wt.name||"",qt=wt.type||"",en=qt.replace(/\/.*$/,"");return Rt.some(function(_t){var Vt=_t.trim();if(/^\*(\/\*)?$/.test(_t))return!0;if(Vt.charAt(0)==="."){var Xn=Zt.toLowerCase(),er=Vt.toLowerCase(),kt=[er];return(er===".jpg"||er===".jpeg")&&(kt=[".jpg",".jpeg"]),kt.some(function(Gr){return Xn.endsWith(Gr)})}return/\/\*$/.test(Vt)?en===Vt.replace(/\/.*$/,""):qt===Vt?!0:/^\w+$/.test(Vt)?((0,le.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Vt,"'.Skip for check.")),!0):!1})}return!0};function ve(wt,Gt){var Rt=wt.createReader(),Zt=[];function qt(){Rt.readEntries(function(en){var _t=Array.prototype.slice.apply(en);Zt=Zt.concat(_t);var Vt=!_t.length;Vt?Gt(Zt):qt()})}qt()}var fe=function(Gt,Rt,Zt){var qt=function en(_t,Vt){_t&&(_t.path=Vt||"",_t.isFile?_t.file(function(Xn){Zt(Xn)&&(_t.fullPath&&!Xn.webkitRelativePath&&(Object.defineProperties(Xn,{webkitRelativePath:{writable:!0}}),Xn.webkitRelativePath=_t.fullPath.replace(/^\//,""),Object.defineProperties(Xn,{webkitRelativePath:{writable:!1}})),Rt([Xn]))}):_t.isDirectory&&ve(_t,function(Xn){Xn.forEach(function(er){en(er,"".concat(Vt).concat(_t.name,"/"))})}))};Gt.forEach(function(en){qt(en.webkitGetAsEntry())})},me=fe,ge=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],be=function(wt){(0,se.Z)(Rt,wt);var Gt=(0,de.Z)(Rt);function Rt(){var Zt;(0,oe.Z)(this,Rt);for(var qt=arguments.length,en=new Array(qt),_t=0;_t{let{uid:en}=qt;return en===wt.uid});return Zt===-1?Rt.push(wt):Rt[Zt]=wt,Rt}function $e(wt,Gt){const Rt=wt.uid!==void 0?"uid":"name";return Gt.filter(Zt=>Zt[Rt]===wt[Rt])[0]}function gt(wt,Gt){const Rt=wt.uid!==void 0?"uid":"name",Zt=Gt.filter(qt=>qt[Rt]!==wt[Rt]);return Zt.length===Gt.length?null:Zt}const ct=function(){const Gt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Zt=Gt[Gt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Zt)||[""])[0]},vt=wt=>wt.indexOf("image/")===0,st=wt=>{if(wt.type&&!wt.thumbUrl)return vt(wt.type);const Gt=wt.thumbUrl||wt.url||"",Rt=ct(Gt);return/^data:image\//.test(Gt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Rt)?!0:!(/^data:/.test(Gt)||Rt)},ht=200;function at(wt){return new Promise(Gt=>{if(!wt.type||!vt(wt.type)){Gt("");return}const Rt=document.createElement("canvas");Rt.width=ht,Rt.height=ht,Rt.style.cssText=`position: fixed; left: 0; top: 0; width: ${ht}px; height: ${ht}px; z-index: 9999; display: none;`,document.body.appendChild(Rt);const Zt=Rt.getContext("2d"),qt=new Image;if(qt.onload=()=>{const{width:en,height:_t}=qt;let Vt=ht,Xn=ht,er=0,kt=0;en>_t?(Xn=_t*(ht/en),kt=-(Xn-Vt)/2):(Vt=en*(ht/_t),er=-(Vt-Xn)/2),Zt.drawImage(qt,er,kt,Vt,Xn);const Gr=Rt.toDataURL();document.body.removeChild(Rt),window.URL.revokeObjectURL(qt.src),Gt(Gr)},qt.crossOrigin="anonymous",wt.type.startsWith("image/svg+xml")){const en=new FileReader;en.onload=()=>{en.result&&(qt.src=en.result)},en.readAsDataURL(wt)}else if(wt.type.startsWith("image/gif")){const en=new FileReader;en.onload=()=>{en.result&&Gt(en.result)},en.readAsDataURL(wt)}else qt.src=window.URL.createObjectURL(wt)})}var lt=Ae(26227),ft=Ae(41464),mt=Ae(15277),Pt=Ae(93948),Et=Ae(6848),zt=pe.forwardRef((wt,Gt)=>{let{prefixCls:Rt,className:Zt,style:qt,locale:en,listType:_t,file:Vt,items:Xn,progress:er,iconRender:kt,actionIconRender:Gr,itemRender:Dr,isImgUrl:Xr,showPreviewIcon:la,showRemoveIcon:Jt,showDownloadIcon:Fn,previewIcon:Wn,removeIcon:An,downloadIcon:xr,onPreview:Pr,onDownload:rr,onClose:Yr}=wt;var zr,Ma;const{status:ja}=Vt,[na,Xa]=pe.useState(ja);pe.useEffect(()=>{ja!=="removed"&&Xa(ja)},[ja]);const[Ha,eo]=pe.useState(!1);pe.useEffect(()=>{const mr=setTimeout(()=>{eo(!0)},300);return()=>{clearTimeout(mr)}},[]);const da=kt(Vt);let ma=pe.createElement("div",{className:`${Rt}-icon`},da);if(_t==="picture"||_t==="picture-card"||_t==="picture-circle")if(na==="uploading"||!Vt.thumbUrl&&!Vt.url){const mr=Se()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:na!=="uploading"});ma=pe.createElement("div",{className:mr},da)}else{const mr=Xr!=null&&Xr(Vt)?pe.createElement("img",{src:Vt.thumbUrl||Vt.url,alt:Vt.name,className:`${Rt}-list-item-image`,crossOrigin:Vt.crossOrigin}):da,pr=Se()(`${Rt}-list-item-thumbnail`,{[`${Rt}-list-item-file`]:Xr&&!Xr(Vt)});ma=pe.createElement("a",{className:pr,onClick:sa=>Pr(Vt,sa),href:Vt.url||Vt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},mr)}const qr=Se()(`${Rt}-list-item`,`${Rt}-list-item-${na}`),Fa=typeof Vt.linkProps=="string"?JSON.parse(Vt.linkProps):Vt.linkProps,Za=Jt?Gr((typeof An=="function"?An(Vt):An)||pe.createElement(lt.Z,null),()=>Yr(Vt),Rt,en.removeFile):null,Ht=Fn&&na==="done"?Gr((typeof xr=="function"?xr(Vt):xr)||pe.createElement(ft.Z,null),()=>rr(Vt),Rt,en.downloadFile):null,Mt=_t!=="picture-card"&&_t!=="picture-circle"&&pe.createElement("span",{key:"download-delete",className:Se()(`${Rt}-list-item-actions`,{picture:_t==="picture"})},Ht,Za),Wt=Se()(`${Rt}-list-item-name`),pn=Vt.url?[pe.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Wt,title:Vt.name},Fa,{href:Vt.url,onClick:mr=>Pr(Vt,mr)}),Vt.name),Mt]:[pe.createElement("span",{key:"view",className:Wt,onClick:mr=>Pr(Vt,mr),title:Vt.name},Vt.name),Mt],mn={pointerEvents:"none",opacity:.5},Pn=la?pe.createElement("a",{href:Vt.url||Vt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Vt.url||Vt.thumbUrl?void 0:mn,onClick:mr=>Pr(Vt,mr),title:en.previewFile},typeof Wn=="function"?Wn(Vt):Wn||pe.createElement(mt.Z,null)):null,$t=(_t==="picture-card"||_t==="picture-circle")&&na!=="uploading"&&pe.createElement("span",{className:`${Rt}-list-item-actions`},Pn,na==="done"&&Ht,Za),{getPrefixCls:Jn}=pe.useContext(Qe.E_),qn=Jn(),Cr=pe.createElement("div",{className:qr},ma,pn,$t,Ha&&pe.createElement(Ee.default,{motionName:`${qn}-fade`,visible:na==="uploading",motionDeadline:2e3},mr=>{let{className:pr}=mr;const sa="percent"in Vt?pe.createElement(Pt.Z,Object.assign({},er,{type:"line",percent:Vt.percent,"aria-label":Vt["aria-label"],"aria-labelledby":Vt["aria-labelledby"]})):null;return pe.createElement("div",{className:Se()(`${Rt}-list-item-progress`,pr)},sa)})),cr=Vt.response&&typeof Vt.response=="string"?Vt.response:((zr=Vt.error)===null||zr===void 0?void 0:zr.statusText)||((Ma=Vt.error)===null||Ma===void 0?void 0:Ma.message)||en.uploadError,Nn=na==="error"?pe.createElement(Et.Z,{title:cr,getPopupContainer:mr=>mr.parentNode},Cr):Cr;return pe.createElement("div",{className:Se()(`${Rt}-list-item-container`,Zt),style:qt,ref:Gt},Dr?Dr(Nn,Vt,Xn,{download:rr.bind(null,Vt),preview:Pr.bind(null,Vt),remove:Yr.bind(null,Vt)}):Nn)});const tn=(wt,Gt)=>{const{listType:Rt="text",previewFile:Zt=at,onPreview:qt,onDownload:en,onRemove:_t,locale:Vt,iconRender:Xn,isImageUrl:er=st,prefixCls:kt,items:Gr=[],showPreviewIcon:Dr=!0,showRemoveIcon:Xr=!0,showDownloadIcon:la=!1,removeIcon:Jt,previewIcon:Fn,downloadIcon:Wn,progress:An={size:[-1,2],showInfo:!1},appendAction:xr,appendActionVisible:Pr=!0,itemRender:rr,disabled:Yr}=wt,zr=(0,xe.Z)(),[Ma,ja]=pe.useState(!1);pe.useEffect(()=>{Rt!=="picture"&&Rt!=="picture-card"&&Rt!=="picture-circle"||(Gr||[]).forEach(mn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(mn.originFileObj instanceof File||mn.originFileObj instanceof Blob)||mn.thumbUrl!==void 0||(mn.thumbUrl="",Zt&&Zt(mn.originFileObj).then(Pn=>{mn.thumbUrl=Pn||"",zr()}))})},[Rt,Gr,Zt]),pe.useEffect(()=>{ja(!0)},[]);const na=(mn,Pn)=>{if(qt)return Pn==null||Pn.preventDefault(),qt(mn)},Xa=mn=>{typeof en=="function"?en(mn):mn.url&&window.open(mn.url)},Ha=mn=>{_t==null||_t(mn)},eo=mn=>{if(Xn)return Xn(mn,Rt);const Pn=mn.status==="uploading",$t=er&&er(mn)?pe.createElement(je,null):pe.createElement(rt,null);let Jn=Pn?pe.createElement(qe.Z,null):pe.createElement(Ye,null);return Rt==="picture"?Jn=Pn?pe.createElement(qe.Z,null):$t:(Rt==="picture-card"||Rt==="picture-circle")&&(Jn=Pn?Vt.uploading:$t),Jn},da=(mn,Pn,$t,Jn)=>{const qn={type:"text",size:"small",title:Jn,onClick:Cr=>{Pn(),(0,Be.l$)(mn)&&mn.props.onClick&&mn.props.onClick(Cr)},className:`${$t}-list-item-action`,disabled:Yr};if((0,Be.l$)(mn)){const Cr=(0,Be.Tm)(mn,Object.assign(Object.assign({},mn.props),{onClick:()=>{}}));return pe.createElement(Ke.ZP,Object.assign({},qn,{icon:Cr}))}return pe.createElement(Ke.ZP,Object.assign({},qn),pe.createElement("span",null,mn))};pe.useImperativeHandle(Gt,()=>({handlePreview:na,handleDownload:Xa}));const{getPrefixCls:ma}=pe.useContext(Qe.E_),qr=ma("upload",kt),Fa=ma(),Za=Se()(`${qr}-list`,`${qr}-list-${Rt}`),Ht=(0,it.Z)(Gr.map(mn=>({key:mn.uid,file:mn})));let Wt={motionDeadline:2e3,motionName:`${qr}-${Rt==="picture-card"||Rt==="picture-circle"?"animate-inline":"animate"}`,keys:Ht,motionAppear:Ma};const pn=pe.useMemo(()=>{const mn=Object.assign({},(0,we.Z)(Fa));return delete mn.onAppearEnd,delete mn.onEnterEnd,delete mn.onLeaveEnd,mn},[Fa]);return Rt!=="picture-card"&&Rt!=="picture-circle"&&(Wt=Object.assign(Object.assign({},pn),Wt)),pe.createElement("div",{className:Za},pe.createElement(Ee.CSSMotionList,Object.assign({},Wt,{component:!1}),mn=>{let{key:Pn,file:$t,className:Jn,style:qn}=mn;return pe.createElement(zt,{key:Pn,locale:Vt,prefixCls:qr,className:Jn,style:qn,file:$t,items:Gr,progress:An,listType:Rt,isImgUrl:er,showPreviewIcon:Dr,showRemoveIcon:Xr,showDownloadIcon:la,removeIcon:Jt,previewIcon:Fn,downloadIcon:Wn,iconRender:eo,actionIconRender:da,itemRender:rr,onPreview:na,onDownload:Xa,onClose:Ha})}),xr&&pe.createElement(Ee.default,Object.assign({},Wt,{visible:Pr,forceRender:!0}),mn=>{let{className:Pn,style:$t}=mn;return(0,Be.Tm)(xr,Jn=>({className:Se()(Jn.className,Pn),style:Object.assign(Object.assign(Object.assign({},$t),{pointerEvents:Pn?"none":void 0}),Jn.style)}))}))};var dn=pe.forwardRef(tn),on=Ae(17313),En=Ae(8378),Rn=Ae(83116),sn=Ae(37613),_n=wt=>{const{componentCls:Gt,iconCls:Rt}=wt;return{[`${Gt}-wrapper`]:{[`${Gt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:wt.colorFillAlter,border:`${wt.lineWidth}px dashed ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${wt.motionDurationSlow}`,[Gt]:{padding:`${wt.padding}px 0`},[`${Gt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Gt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Gt}-disabled):hover`]:{borderColor:wt.colorPrimaryHover},[`p${Gt}-drag-icon`]:{marginBottom:wt.margin,[Rt]:{color:wt.colorPrimary,fontSize:wt.uploadThumbnailSize}},[`p${Gt}-text`]:{margin:`0 0 ${wt.marginXXS}px`,color:wt.colorTextHeading,fontSize:wt.fontSizeLG},[`p${Gt}-hint`]:{color:wt.colorTextDescription,fontSize:wt.fontSize},[`&${Gt}-disabled`]:{cursor:"not-allowed",[`p${Gt}-drag-icon ${Rt}, + p${Gt}-text, + p${Gt}-hint + `]:{color:wt.colorTextDisabled}}}}}},Qn=wt=>{const{componentCls:Gt,antCls:Rt,iconCls:Zt,fontSize:qt,lineHeight:en}=wt,_t=`${Gt}-list-item`,Vt=`${_t}-actions`,Xn=`${_t}-action`,er=Math.round(qt*en);return{[`${Gt}-wrapper`]:{[`${Gt}-list`]:Object.assign(Object.assign({},(0,on.dF)()),{lineHeight:wt.lineHeight,[_t]:{position:"relative",height:wt.lineHeight*qt,marginTop:wt.marginXS,fontSize:qt,display:"flex",alignItems:"center",transition:`background-color ${wt.motionDurationSlow}`,"&:hover":{backgroundColor:wt.controlItemBgHover},[`${_t}-name`]:Object.assign(Object.assign({},on.vS),{padding:`0 ${wt.paddingXS}px`,lineHeight:en,flex:"auto",transition:`all ${wt.motionDurationSlow}`}),[Vt]:{[Xn]:{opacity:0},[`${Xn}${Rt}-btn-sm`]:{height:er,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${Xn}:focus-visible, + &.picture ${Xn} + `]:{opacity:1},[Zt]:{color:wt.actionsColor,transition:`all ${wt.motionDurationSlow}`},[`&:hover ${Zt}`]:{color:wt.colorText}},[`${Gt}-icon ${Zt}`]:{color:wt.colorTextDescription,fontSize:qt},[`${_t}-progress`]:{position:"absolute",bottom:-wt.uploadProgressOffset,width:"100%",paddingInlineStart:qt+wt.paddingXS,fontSize:qt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${_t}:hover ${Xn}`]:{opacity:1,color:wt.colorText},[`${_t}-error`]:{color:wt.colorError,[`${_t}-name, ${Gt}-icon ${Zt}`]:{color:wt.colorError},[Vt]:{[`${Zt}, ${Zt}:hover`]:{color:wt.colorError},[Xn]:{opacity:1}}},[`${Gt}-list-item-container`]:{transition:`opacity ${wt.motionDurationSlow}, height ${wt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},dr=Ae(36237),ir=Ae(1950);const Cn=new dr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),fr=new dr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var fn=wt=>{const{componentCls:Gt}=wt,Rt=`${Gt}-animate-inline`;return[{[`${Gt}-wrapper`]:{[`${Rt}-appear, ${Rt}-enter, ${Rt}-leave`]:{animationDuration:wt.motionDurationSlow,animationTimingFunction:wt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Rt}-appear, ${Rt}-enter`]:{animationName:Cn},[`${Rt}-leave`]:{animationName:fr}}},{[`${Gt}-wrapper`]:(0,ir.J$)(wt)},Cn,fr]},Or=Ae(30071),ia=Ae(64993);const Tt=wt=>{const{componentCls:Gt,iconCls:Rt,uploadThumbnailSize:Zt,uploadProgressOffset:qt}=wt,en=`${Gt}-list`,_t=`${en}-item`;return{[`${Gt}-wrapper`]:{[` + ${en}${en}-picture, + ${en}${en}-picture-card, + ${en}${en}-picture-circle + `]:{[_t]:{position:"relative",height:Zt+wt.lineWidth*2+wt.paddingXS*2,padding:wt.paddingXS,border:`${wt.lineWidth}px ${wt.lineType} ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,"&:hover":{background:"transparent"},[`${_t}-thumbnail`]:Object.assign(Object.assign({},on.vS),{width:Zt,height:Zt,lineHeight:`${Zt+wt.paddingSM}px`,textAlign:"center",flex:"none",[Rt]:{fontSize:wt.fontSizeHeading2,color:wt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${_t}-progress`]:{bottom:qt,width:`calc(100% - ${wt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Zt+wt.paddingXS}},[`${_t}-error`]:{borderColor:wt.colorError,[`${_t}-thumbnail ${Rt}`]:{[`svg path[fill='${Or.blue[0]}']`]:{fill:wt.colorErrorBg},[`svg path[fill='${Or.blue.primary}']`]:{fill:wt.colorError}}},[`${_t}-uploading`]:{borderStyle:"dashed",[`${_t}-name`]:{marginBottom:qt}}},[`${en}${en}-picture-circle ${_t}`]:{[`&, &::before, ${_t}-thumbnail`]:{borderRadius:"50%"}}}}},Ft=wt=>{const{componentCls:Gt,iconCls:Rt,fontSizeLG:Zt,colorTextLightSolid:qt}=wt,en=`${Gt}-list`,_t=`${en}-item`,Vt=wt.uploadPicCardSize;return{[` + ${Gt}-wrapper${Gt}-picture-card-wrapper, + ${Gt}-wrapper${Gt}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,on.dF)()),{display:"inline-block",width:"100%",[`${Gt}${Gt}-select`]:{width:Vt,height:Vt,marginInlineEnd:wt.marginXS,marginBottom:wt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:wt.colorFillAlter,border:`${wt.lineWidth}px dashed ${wt.colorBorder}`,borderRadius:wt.borderRadiusLG,cursor:"pointer",transition:`border-color ${wt.motionDurationSlow}`,[`> ${Gt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Gt}-disabled):hover`]:{borderColor:wt.colorPrimary}},[`${en}${en}-picture-card, ${en}${en}-picture-circle`]:{[`${en}-item-container`]:{display:"inline-block",width:Vt,height:Vt,marginBlock:`0 ${wt.marginXS}px`,marginInline:`0 ${wt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[_t]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${wt.paddingXS*2}px)`,height:`calc(100% - ${wt.paddingXS*2}px)`,backgroundColor:wt.colorBgMask,opacity:0,transition:`all ${wt.motionDurationSlow}`,content:'" "'}},[`${_t}:hover`]:{[`&::before, ${_t}-actions`]:{opacity:1}},[`${_t}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${wt.motionDurationSlow}`,[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{zIndex:10,width:Zt,margin:`0 ${wt.marginXXS}px`,fontSize:Zt,cursor:"pointer",transition:`all ${wt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${_t}-actions, ${_t}-actions:hover`]:{[`${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{color:new ia.C(qt).setAlpha(.65).toRgbString(),"&:hover":{color:qt}}},[`${_t}-thumbnail, ${_t}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${_t}-name`]:{display:"none",textAlign:"center"},[`${_t}-file + ${_t}-name`]:{position:"absolute",bottom:wt.margin,display:"block",width:`calc(100% - ${wt.paddingXS*2}px)`},[`${_t}-uploading`]:{[`&${_t}`]:{backgroundColor:wt.colorFillAlter},[`&::before, ${Rt}-eye, ${Rt}-download, ${Rt}-delete`]:{display:"none"}},[`${_t}-progress`]:{bottom:wt.marginXL,width:`calc(100% - ${wt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Gt}-wrapper${Gt}-picture-circle-wrapper`]:{[`${Gt}${Gt}-select`]:{borderRadius:"50%"}}}};var nn=wt=>{const{componentCls:Gt}=wt;return{[`${Gt}-rtl`]:{direction:"rtl"}}};const xn=wt=>{const{componentCls:Gt,colorTextDisabled:Rt}=wt;return{[`${Gt}-wrapper`]:Object.assign(Object.assign({},(0,on.Wf)(wt)),{[Gt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Gt}-select`]:{display:"inline-block"},[`${Gt}-disabled`]:{color:Rt,cursor:"not-allowed"}})}};var Kt=(0,Rn.Z)("Upload",wt=>{const{fontSizeHeading3:Gt,fontSize:Rt,lineHeight:Zt,lineWidth:qt,controlHeightLG:en}=wt,_t=Math.round(Rt*Zt),Vt=(0,sn.TS)(wt,{uploadThumbnailSize:Gt*2,uploadProgressOffset:_t/2+qt,uploadPicCardSize:en*2.55});return[xn(Vt),_n(Vt),Tt(Vt),Ft(Vt),Qn(Vt),fn(Vt),nn(Vt),(0,En.Z)(Vt)]},wt=>({actionsColor:wt.colorTextDescription})),Hn=function(wt,Gt,Rt,Zt){function qt(en){return en instanceof Rt?en:new Rt(function(_t){_t(en)})}return new(Rt||(Rt=Promise))(function(en,_t){function Vt(kt){try{er(Zt.next(kt))}catch(Gr){_t(Gr)}}function Xn(kt){try{er(Zt.throw(kt))}catch(Gr){_t(Gr)}}function er(kt){kt.done?en(kt.value):qt(kt.value).then(Vt,Xn)}er((Zt=Zt.apply(wt,Gt||[])).next())})};const bn=`__LIST_IGNORE_${Date.now()}__`,Ln=(wt,Gt)=>{const{fileList:Rt,defaultFileList:Zt,onRemove:qt,showUploadList:en=!0,listType:_t="text",onPreview:Vt,onDownload:Xn,onChange:er,onDrop:kt,previewFile:Gr,disabled:Dr,locale:Xr,iconRender:la,isImageUrl:Jt,progress:Fn,prefixCls:Wn,className:An,type:xr="select",children:Pr,style:rr,itemRender:Yr,maxCount:zr,data:Ma={},multiple:ja=!1,action:na="",accept:Xa="",supportServerRender:Ha=!0,rootClassName:eo}=wt,da=pe.useContext(Ge.Z),ma=Dr!=null?Dr:da,[qr,Fa]=(0,Me.Z)(Zt||[],{value:Rt,postState:yr=>yr!=null?yr:[]}),[Za,Ht]=pe.useState("drop"),Mt=pe.useRef(null);pe.useMemo(()=>{const yr=Date.now();(Rt||[]).forEach((Ir,aa)=>{!Ir.uid&&!Object.isFrozen(Ir)&&(Ir.uid=`__AUTO__${yr}_${aa}__`)})},[Rt]);const Wt=(yr,Ir,aa)=>{let Nr=(0,it.Z)(Ir),Wr=!1;zr===1?Nr=Nr.slice(-1):zr&&(Wr=Nr.length>zr,Nr=Nr.slice(0,zr)),(0,Ue.flushSync)(()=>{Fa(Nr)});const pa={file:yr,fileList:Nr};aa&&(pa.event=aa),(!Wr||Nr.some(oa=>oa.uid===yr.uid))&&(0,Ue.flushSync)(()=>{er==null||er(pa)})},pn=(yr,Ir)=>Hn(void 0,void 0,void 0,function*(){const{beforeUpload:aa,transformFile:Nr}=wt;let Wr=yr;if(aa){const pa=yield aa(yr,Ir);if(pa===!1)return!1;if(delete yr[bn],pa===bn)return Object.defineProperty(yr,bn,{value:!0,configurable:!0}),!1;typeof pa=="object"&&pa&&(Wr=pa)}return Nr&&(Wr=yield Nr(Wr)),Wr}),mn=yr=>{const Ir=yr.filter(Wr=>!Wr.file[bn]);if(!Ir.length)return;const aa=Ir.map(Wr=>nt(Wr.file));let Nr=(0,it.Z)(qr);aa.forEach(Wr=>{Nr=ke(Wr,Nr)}),aa.forEach((Wr,pa)=>{let oa=Wr;if(Ir[pa].parsedFile)Wr.status="uploading";else{const{originFileObj:ro}=Wr;let ao;try{ao=new File([ro],ro.name,{type:ro.type})}catch(Eo){ao=new Blob([ro],{type:ro.type}),ao.name=ro.name,ao.lastModifiedDate=new Date,ao.lastModified=new Date().getTime()}ao.uid=Wr.uid,oa=ao}Wt(oa,Nr)})},Pn=(yr,Ir,aa)=>{try{typeof yr=="string"&&(yr=JSON.parse(yr))}catch(pa){}if(!$e(Ir,qr))return;const Nr=nt(Ir);Nr.status="done",Nr.percent=100,Nr.response=yr,Nr.xhr=aa;const Wr=ke(Nr,qr);Wt(Nr,Wr)},$t=(yr,Ir)=>{if(!$e(Ir,qr))return;const aa=nt(Ir);aa.status="uploading",aa.percent=yr.percent;const Nr=ke(aa,qr);Wt(aa,Nr,yr)},Jn=(yr,Ir,aa)=>{if(!$e(aa,qr))return;const Nr=nt(aa);Nr.error=yr,Nr.response=Ir,Nr.status="error";const Wr=ke(Nr,qr);Wt(Nr,Wr)},qn=yr=>{let Ir;Promise.resolve(typeof qt=="function"?qt(yr):qt).then(aa=>{var Nr;if(aa===!1)return;const Wr=gt(yr,qr);Wr&&(Ir=Object.assign(Object.assign({},yr),{status:"removed"}),qr==null||qr.forEach(pa=>{const oa=Ir.uid!==void 0?"uid":"name";pa[oa]===Ir[oa]&&!Object.isFrozen(pa)&&(pa.status="removed")}),(Nr=Mt.current)===null||Nr===void 0||Nr.abort(Ir),Wt(Ir,Wr))})},Cr=yr=>{Ht(yr.type),yr.type==="drop"&&(kt==null||kt(yr))};pe.useImperativeHandle(Gt,()=>({onBatchStart:mn,onSuccess:Pn,onProgress:$t,onError:Jn,fileList:qr,upload:Mt.current}));const{getPrefixCls:cr,direction:Nn,upload:mr}=pe.useContext(Qe.E_),pr=cr("upload",Wn),sa=Object.assign(Object.assign({onBatchStart:mn,onError:Jn,onProgress:$t,onSuccess:Pn},wt),{data:Ma,multiple:ja,action:na,accept:Xa,supportServerRender:Ha,prefixCls:pr,disabled:ma,beforeUpload:pn,onChange:void 0});delete sa.className,delete sa.style,(!Pr||ma)&&delete sa.id;const[kr,Qr]=Kt(pr),[Sa]=(0,ot.Z)("Upload",Ve.Z.Upload),{showRemoveIcon:hn,showPreviewIcon:ln,showDownloadIcon:Bn,removeIcon:kn,previewIcon:Br,downloadIcon:ra}=typeof en=="boolean"?{}:en,fa=(yr,Ir)=>en?pe.createElement(dn,{prefixCls:pr,listType:_t,items:qr,previewFile:Gr,onPreview:Vt,onDownload:Xn,onRemove:qn,showRemoveIcon:!ma&&hn,showPreviewIcon:ln,showDownloadIcon:Bn,removeIcon:kn,previewIcon:Br,downloadIcon:ra,iconRender:la,locale:Object.assign(Object.assign({},Sa),Xr),isImageUrl:Jt,progress:Fn,appendAction:yr,appendActionVisible:Ir,itemRender:Yr,disabled:ma}):yr,ua=Se()(`${pr}-wrapper`,An,eo,Qr,mr==null?void 0:mr.className,{[`${pr}-rtl`]:Nn==="rtl",[`${pr}-picture-card-wrapper`]:_t==="picture-card",[`${pr}-picture-circle-wrapper`]:_t==="picture-circle"}),Ba=Object.assign(Object.assign({},mr==null?void 0:mr.style),rr);if(xr==="drag"){const yr=Se()(Qr,pr,`${pr}-drag`,{[`${pr}-drag-uploading`]:qr.some(Ir=>Ir.status==="uploading"),[`${pr}-drag-hover`]:Za==="dragover",[`${pr}-disabled`]:ma,[`${pr}-rtl`]:Nn==="rtl"});return kr(pe.createElement("span",{className:ua},pe.createElement("div",{className:yr,style:Ba,onDrop:Cr,onDragOver:Cr,onDragLeave:Cr},pe.createElement(Ie,Object.assign({},sa,{ref:Mt,className:`${pr}-btn`}),pe.createElement("div",{className:`${pr}-drag-container`},Pr))),fa()))}const Aa=Se()(pr,`${pr}-select`,{[`${pr}-disabled`]:ma}),va=(yr=>pe.createElement("div",{className:Aa,style:yr},pe.createElement(Ie,Object.assign({},sa,{ref:Mt}))))(Pr?void 0:{display:"none"});return kr(_t==="picture-card"||_t==="picture-circle"?pe.createElement("span",{className:ua},fa(va,!!Pr)):pe.createElement("span",{className:ua},va,fa()))};var Mr=pe.forwardRef(Ln),rn=function(wt,Gt){var Rt={};for(var Zt in wt)Object.prototype.hasOwnProperty.call(wt,Zt)&&Gt.indexOf(Zt)<0&&(Rt[Zt]=wt[Zt]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Zt=Object.getOwnPropertySymbols(wt);qt{var{style:Rt,height:Zt}=wt,qt=rn(wt,["style","height"]);return pe.createElement(Mr,Object.assign({ref:Gt},qt,{type:"drag",style:Object.assign(Object.assign({},Rt),{height:Zt})}))});const Ar=Mr;Ar.Dragger=Zr,Ar.LIST_IGNORE=bn;var vr=Ar},39417:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return fe}});var pe=Ae(54476),it=Ae(20068),E=Ae(75931),Se=Ae(33885),ye=Ae(67732),oe=Ae(83652),te=Ae(31226),se=Ae(42403),de=Ae(158),ue=Ae(92310),ce=Ae.n(ue),ae=Ae(26112),ie=Ae(59301),ne=Ae(39378),a=function(ge){for(var be=ge.prefixCls,Pe=ge.level,Te=ge.isStart,Ce=ge.isEnd,Le="".concat(be,"-indent-unit"),Ie=[],Me=0;Me0&&arguments[0]!==void 0?arguments[0]:[],et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=Ne.length,je=et.length;if(Math.abs(De-je)!==1)return{add:!1,key:null};function Ee(xe,we){var Be=new Map;xe.forEach(function(nt){Be.set(nt,!0)});var Ke=we.filter(function(nt){return!Be.has(nt)});return Ke.length===1?Ke[0]:null}return De ").concat(et);return et}var He=y.forwardRef(function(Ne,et){var De=Ne.prefixCls,je=Ne.data,Ee=Ne.selectable,xe=Ne.checkable,we=Ne.expandedKeys,Be=Ne.selectedKeys,Ke=Ne.checkedKeys,nt=Ne.loadedKeys,ke=Ne.loadingKeys,$e=Ne.halfCheckedKeys,gt=Ne.keyEntities,ct=Ne.disabled,vt=Ne.dragging,st=Ne.dragOverNodeKey,ht=Ne.dropPosition,at=Ne.motion,lt=Ne.height,ft=Ne.itemHeight,mt=Ne.virtual,Pt=Ne.focusable,Et=Ne.activeItem,Lt=Ne.focused,zt=Ne.tabIndex,tn=Ne.onKeyDown,gn=Ne.onFocus,dn=Ne.onBlur,on=Ne.onActiveChange,En=Ne.onListChangeStart,Rn=Ne.onListChangeEnd,sn=(0,re.Z)(Ne,Me),$n=y.useRef(null),_n=y.useRef(null);y.useImperativeHandle(et,function(){return{scrollTo:function(vr){$n.current.scrollTo(vr)},getIndentWidth:function(){return _n.current.offsetWidth}}});var Mn=y.useState(we),Qn=(0,ee.Z)(Mn,2),dr=Qn[0],ir=Qn[1],Cn=y.useState(je),fr=(0,ee.Z)(Cn,2),or=fr[0],fn=fr[1],Or=y.useState(je),ia=(0,ee.Z)(Or,2),Tt=ia[0],Ft=ia[1],Ct=y.useState([]),nn=(0,ee.Z)(Ct,2),xn=nn[0],Kt=nn[1],Hn=y.useState(null),bn=(0,ee.Z)(Hn,2),Ln=bn[0],gr=bn[1],Mr=y.useRef(je);Mr.current=je;function rn(){var Ar=Mr.current;fn(Ar),Ft(Ar),Kt([]),gr(null),Rn()}(0,le.Z)(function(){ir(we);var Ar=Le(dr,we);if(Ar.key!==null)if(Ar.add){var vr=or.findIndex(function(en){var _t=en.key;return _t===Ar.key}),wt=Ze(Ie(or,je,Ar.key),mt,lt,ft),Gt=or.slice();Gt.splice(vr+1,0,Xe),Ft(Gt),Kt(wt),gr("show")}else{var Rt=je.findIndex(function(en){var _t=en.key;return _t===Ar.key}),Zt=Ze(Ie(je,or,Ar.key),mt,lt,ft),qt=je.slice();qt.splice(Rt+1,0,Xe),Ft(qt),Kt(Zt),gr("hide")}else or!==je&&(fn(je),Ft(je))},[we,je]),y.useEffect(function(){vt||rn()},[vt]);var hr=at?Tt:je,Zr={expandedKeys:we,selectedKeys:Be,loadedKeys:nt,loadingKeys:ke,checkedKeys:Ke,halfCheckedKeys:$e,dragOverNodeKey:st,dropPosition:ht,keyEntities:gt};return y.createElement(y.Fragment,null,Lt&&Et&&y.createElement("span",{style:Ue,"aria-live":"assertive"},Re(Et)),y.createElement("div",null,y.createElement("input",{style:Ue,disabled:Pt===!1||ct,tabIndex:Pt!==!1?zt:null,onKeyDown:tn,onFocus:gn,onBlur:dn,value:"",onChange:Qe,"aria-label":"for screen reader"})),y.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},y.createElement("div",{className:"".concat(De,"-indent")},y.createElement("div",{ref:_n,className:"".concat(De,"-indent-unit")}))),y.createElement(he.Z,(0,pe.Z)({},sn,{data:hr,itemKey:ze,height:lt,fullHeight:!1,virtual:mt,itemHeight:ft,prefixCls:"".concat(De,"-list"),ref:$n,onVisibleChange:function(vr,wt){var Gt=new Set(vr),Rt=wt.filter(function(Zt){return!Gt.has(Zt)});Rt.some(function(Zt){return ze(Zt)===Ge})&&rn()}}),function(Ar){var vr=Ar.pos,wt=(0,pe.Z)({},(z(Ar.data),Ar.data)),Gt=Ar.title,Rt=Ar.key,Zt=Ar.isStart,qt=Ar.isEnd,en=(0,ge.km)(Rt,vr);delete wt.key,delete wt.children;var _t=(0,ge.H8)(en,Zr);return y.createElement(Ce,(0,pe.Z)({},wt,_t,{title:Gt,active:!!Et&&Rt===Et.key,pos:vr,data:Ar.data,isStart:Zt,isEnd:qt,motion:at,motionNodes:Rt===Ge?xn:null,motionType:Ln,onMotionStart:En,onMotionEnd:rn,treeNodeRequiredProps:Zr,onMouseMove:function(){on(null)}}))}))});He.displayName="NodeList";var rt=He,qe=Ae(35654),ut=Ae(90782),_e=Ae(67841),We=10,Oe=function(Ne){(0,de.Z)(De,Ne);var et=(0,ue.Z)(De);function De(){var je;(0,oe.Z)(this,De);for(var Ee=arguments.length,xe=new Array(Ee),we=0;we2&&arguments[2]!==void 0?arguments[2]:!1,$e=je.state,gt=$e.dragChildrenKeys,ct=$e.dropPosition,vt=$e.dropTargetKey,st=$e.dropTargetPos,ht=$e.dropAllowed;if(ht){var at=je.props.onDrop;if(je.setState({dragOverNodeKey:null}),je.cleanDragState(),vt!==null){var lt=(0,Se.Z)((0,Se.Z)({},(0,ge.H8)(vt,je.getTreeNodeRequiredProps())),{},{active:((nt=je.getActiveItem())===null||nt===void 0?void 0:nt.key)===vt,data:(0,_e.Z)(je.state.keyEntities,vt).node}),ft=gt.indexOf(vt)!==-1;(0,a.ZP)(!ft,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var mt=(0,qe.yx)(st),Pt={event:Be,node:(0,ge.F)(lt),dragNode:je.dragNode?(0,ge.F)(je.dragNode.props):null,dragNodesKeys:[je.dragNode.props.eventKey].concat(gt),dropToGap:ct!==0,dropPosition:ct+Number(mt[mt.length-1])};ke||at==null||at(Pt),je.dragNode=null}}},je.cleanDragState=function(){var Be=je.state.draggingNodeKey;Be!==null&&je.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),je.dragStartMousePosition=null,je.currentMouseOverDroppableNodeKey=null},je.triggerExpandActionExpand=function(Be,Ke){var nt=je.state,ke=nt.expandedKeys,$e=nt.flattenNodes,gt=Ke.expanded,ct=Ke.key,vt=Ke.isLeaf;if(!(vt||Be.shiftKey||Be.metaKey||Be.ctrlKey)){var st=$e.filter(function(at){return at.key===ct})[0],ht=(0,ge.F)((0,Se.Z)((0,Se.Z)({},(0,ge.H8)(ct,je.getTreeNodeRequiredProps())),{},{data:st.data}));je.setExpandedKeys(gt?(0,qe._5)(ke,ct):(0,qe.L0)(ke,ct)),je.onNodeExpand(Be,ht)}},je.onNodeClick=function(Be,Ke){var nt=je.props,ke=nt.onClick,$e=nt.expandAction;$e==="click"&&je.triggerExpandActionExpand(Be,Ke),ke==null||ke(Be,Ke)},je.onNodeDoubleClick=function(Be,Ke){var nt=je.props,ke=nt.onDoubleClick,$e=nt.expandAction;$e==="doubleClick"&&je.triggerExpandActionExpand(Be,Ke),ke==null||ke(Be,Ke)},je.onNodeSelect=function(Be,Ke){var nt=je.state.selectedKeys,ke=je.state,$e=ke.keyEntities,gt=ke.fieldNames,ct=je.props,vt=ct.onSelect,st=ct.multiple,ht=Ke.selected,at=Ke[gt.key],lt=!ht;lt?st?nt=(0,qe.L0)(nt,at):nt=[at]:nt=(0,qe._5)(nt,at);var ft=nt.map(function(mt){var Pt=(0,_e.Z)($e,mt);return Pt?Pt.node:null}).filter(function(mt){return mt});je.setUncontrolledState({selectedKeys:nt}),vt==null||vt(nt,{event:"select",selected:lt,node:Ke,selectedNodes:ft,nativeEvent:Be.nativeEvent})},je.onNodeCheck=function(Be,Ke,nt){var ke=je.state,$e=ke.keyEntities,gt=ke.checkedKeys,ct=ke.halfCheckedKeys,vt=je.props,st=vt.checkStrictly,ht=vt.onCheck,at=Ke.key,lt,ft={event:"check",node:Ke,checked:nt,nativeEvent:Be.nativeEvent};if(st){var mt=nt?(0,qe.L0)(gt,at):(0,qe._5)(gt,at),Pt=(0,qe._5)(ct,at);lt={checked:mt,halfChecked:Pt},ft.checkedNodes=mt.map(function(dn){return(0,_e.Z)($e,dn)}).filter(function(dn){return dn}).map(function(dn){return dn.node}),je.setUncontrolledState({checkedKeys:mt})}else{var Et=(0,ut.S)([].concat((0,ye.Z)(gt),[at]),!0,$e),Lt=Et.checkedKeys,zt=Et.halfCheckedKeys;if(!nt){var tn=new Set(Lt);tn.delete(at);var gn=(0,ut.S)(Array.from(tn),{checked:!1,halfCheckedKeys:zt},$e);Lt=gn.checkedKeys,zt=gn.halfCheckedKeys}lt=Lt,ft.checkedNodes=[],ft.checkedNodesPositions=[],ft.halfCheckedKeys=zt,Lt.forEach(function(dn){var on=(0,_e.Z)($e,dn);if(on){var En=on.node,Rn=on.pos;ft.checkedNodes.push(En),ft.checkedNodesPositions.push({node:En,pos:Rn})}}),je.setUncontrolledState({checkedKeys:Lt},!1,{halfCheckedKeys:zt})}ht==null||ht(lt,ft)},je.onNodeLoad=function(Be){var Ke=Be.key,nt=new Promise(function(ke,$e){je.setState(function(gt){var ct=gt.loadedKeys,vt=ct===void 0?[]:ct,st=gt.loadingKeys,ht=st===void 0?[]:st,at=je.props,lt=at.loadData,ft=at.onLoad;if(!lt||vt.indexOf(Ke)!==-1||ht.indexOf(Ke)!==-1)return null;var mt=lt(Be);return mt.then(function(){var Pt=je.state.loadedKeys,Et=(0,qe.L0)(Pt,Ke);ft==null||ft(Et,{event:"load",node:Be}),je.setUncontrolledState({loadedKeys:Et}),je.setState(function(Lt){return{loadingKeys:(0,qe._5)(Lt.loadingKeys,Ke)}}),ke()}).catch(function(Pt){if(je.setState(function(Lt){return{loadingKeys:(0,qe._5)(Lt.loadingKeys,Ke)}}),je.loadingRetryTimes[Ke]=(je.loadingRetryTimes[Ke]||0)+1,je.loadingRetryTimes[Ke]>=We){var Et=je.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),je.setUncontrolledState({loadedKeys:(0,qe.L0)(Et,Ke)}),ke()}$e(Pt)}),{loadingKeys:(0,qe.L0)(ht,Ke)}})});return nt.catch(function(){}),nt},je.onNodeMouseEnter=function(Be,Ke){var nt=je.props.onMouseEnter;nt==null||nt({event:Be,node:Ke})},je.onNodeMouseLeave=function(Be,Ke){var nt=je.props.onMouseLeave;nt==null||nt({event:Be,node:Ke})},je.onNodeContextMenu=function(Be,Ke){var nt=je.props.onRightClick;nt&&(Be.preventDefault(),nt({event:Be,node:Ke}))},je.onFocus=function(){var Be=je.props.onFocus;je.setState({focused:!0});for(var Ke=arguments.length,nt=new Array(Ke),ke=0;ke1&&arguments[1]!==void 0?arguments[1]:!1,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!je.destroyed){var ke=!1,$e=!0,gt={};Object.keys(Be).forEach(function(ct){if(ct in je.props){$e=!1;return}ke=!0,gt[ct]=Be[ct]}),ke&&(!Ke||$e)&&je.setState((0,Se.Z)((0,Se.Z)({},gt),nt))}},je.scrollTo=function(Be){je.listRef.current.scrollTo(Be)},je}return(0,te.Z)(De,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ee=this.props.activeKey;Ee!==void 0&&Ee!==this.state.activeKey&&(this.setState({activeKey:Ee}),Ee!==null&&this.scrollTo({key:Ee}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ee,xe=this.state,we=xe.focused,Be=xe.flattenNodes,Ke=xe.keyEntities,nt=xe.draggingNodeKey,ke=xe.activeKey,$e=xe.dropLevelOffset,gt=xe.dropContainerKey,ct=xe.dropTargetKey,vt=xe.dropPosition,st=xe.dragOverNodeKey,ht=xe.indent,at=this.props,lt=at.prefixCls,ft=at.className,mt=at.style,Pt=at.showLine,Et=at.focusable,Lt=at.tabIndex,zt=Lt===void 0?0:Lt,tn=at.selectable,gn=at.showIcon,dn=at.icon,on=at.switcherIcon,En=at.draggable,Rn=at.checkable,sn=at.checkStrictly,$n=at.disabled,_n=at.motion,Mn=at.loadData,Qn=at.filterTreeNode,dr=at.height,ir=at.itemHeight,Cn=at.virtual,fr=at.titleRender,or=at.dropIndicatorRender,fn=at.onContextMenu,Or=at.onScroll,ia=at.direction,Tt=at.rootClassName,Ft=at.rootStyle,Ct=(0,ne.Z)(this.props,{aria:!0,data:!0}),nn;return En&&((0,E.Z)(En)==="object"?nn=En:typeof En=="function"?nn={nodeDraggable:En}:nn={}),y.createElement(x.k.Provider,{value:{prefixCls:lt,selectable:tn,showIcon:gn,icon:dn,switcherIcon:on,draggable:nn,draggingNodeKey:nt,checkable:Rn,checkStrictly:sn,disabled:$n,keyEntities:Ke,dropLevelOffset:$e,dropContainerKey:gt,dropTargetKey:ct,dropPosition:vt,dragOverNodeKey:st,indent:ht,direction:ia,dropIndicatorRender:or,loadData:Mn,filterTreeNode:Qn,titleRender:fr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},y.createElement("div",{role:"tree",className:ae()(lt,ft,Tt,(Ee={},(0,it.Z)(Ee,"".concat(lt,"-show-line"),Pt),(0,it.Z)(Ee,"".concat(lt,"-focused"),we),(0,it.Z)(Ee,"".concat(lt,"-active-focused"),ke!==null),Ee)),style:Ft},y.createElement(rt,(0,pe.Z)({ref:this.listRef,prefixCls:lt,style:mt,data:Be,disabled:$n,selectable:tn,checkable:!!Rn,motion:_n,dragging:nt!==null,height:dr,itemHeight:ir,virtual:Cn,focusable:Et,focused:we,tabIndex:zt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:fn,onScroll:Or},this.getTreeNodeRequiredProps(),Ct))))}}],[{key:"getDerivedStateFromProps",value:function(Ee,xe){var we=xe.prevProps,Be={prevProps:Ee};function Ke(Et){return!we&&Et in Ee||we&&we[Et]!==Ee[Et]}var nt,ke=xe.fieldNames;if(Ke("fieldNames")&&(ke=(0,ge.w$)(Ee.fieldNames),Be.fieldNames=ke),Ke("treeData")?nt=Ee.treeData:Ke("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),nt=(0,ge.zn)(Ee.children)),nt){Be.treeData=nt;var $e=(0,ge.I8)(nt,{fieldNames:ke});Be.keyEntities=(0,Se.Z)((0,it.Z)({},Ge,Ve),$e.keyEntities)}var gt=Be.keyEntities||xe.keyEntities;if(Ke("expandedKeys")||we&&Ke("autoExpandParent"))Be.expandedKeys=Ee.autoExpandParent||!we&&Ee.defaultExpandParent?(0,qe.r7)(Ee.expandedKeys,gt):Ee.expandedKeys;else if(!we&&Ee.defaultExpandAll){var ct=(0,Se.Z)({},gt);delete ct[Ge],Be.expandedKeys=Object.keys(ct).map(function(Et){return ct[Et].key})}else!we&&Ee.defaultExpandedKeys&&(Be.expandedKeys=Ee.autoExpandParent||Ee.defaultExpandParent?(0,qe.r7)(Ee.defaultExpandedKeys,gt):Ee.defaultExpandedKeys);if(Be.expandedKeys||delete Be.expandedKeys,nt||Be.expandedKeys){var vt=(0,ge.oH)(nt||xe.treeData,Be.expandedKeys||xe.expandedKeys,ke);Be.flattenNodes=vt}if(Ee.selectable&&(Ke("selectedKeys")?Be.selectedKeys=(0,qe.BT)(Ee.selectedKeys,Ee):!we&&Ee.defaultSelectedKeys&&(Be.selectedKeys=(0,qe.BT)(Ee.defaultSelectedKeys,Ee))),Ee.checkable){var st;if(Ke("checkedKeys")?st=(0,qe.E6)(Ee.checkedKeys)||{}:!we&&Ee.defaultCheckedKeys?st=(0,qe.E6)(Ee.defaultCheckedKeys)||{}:nt&&(st=(0,qe.E6)(Ee.checkedKeys)||{checkedKeys:xe.checkedKeys,halfCheckedKeys:xe.halfCheckedKeys}),st){var ht=st,at=ht.checkedKeys,lt=at===void 0?[]:at,ft=ht.halfCheckedKeys,mt=ft===void 0?[]:ft;if(!Ee.checkStrictly){var Pt=(0,ut.S)(lt,!0,gt);lt=Pt.checkedKeys,mt=Pt.halfCheckedKeys}Be.checkedKeys=lt,Be.halfCheckedKeys=mt}}return Ke("loadedKeys")&&(Be.loadedKeys=Ee.loadedKeys),Be}}]),De}(y.Component);Oe.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},Oe.TreeNode=fe.Z;var Ye=Oe,Fe=Ye},35654:function(xt,At,Ae){"use strict";Ae.d(At,{BT:function(){return y},E6:function(){return z},L0:function(){return ue},OM:function(){return a},_5:function(){return de},r7:function(){return ee},wA:function(){return ae},yx:function(){return ce}});var pe=Ae(94480),it=Ae(76190),E=Ae(48736),Se=Ae(59301),ye=Ae(39417),oe=Ae(67841),te=Ae(71430),se=null;function de(re,le){if(!re)return[];var he=re.slice(),ve=he.indexOf(le);return ve>=0&&he.splice(ve,1),he}function ue(re,le){var he=(re||[]).slice();return he.indexOf(le)===-1&&he.push(le),he}function ce(re){return re.split("-")}function ae(re,le){var he=[],ve=(0,oe.Z)(le,re);function fe(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];me.forEach(function(ge){var be=ge.key,Pe=ge.children;he.push(be),fe(Pe)})}return fe(ve.children),he}function ie(re){if(re.parent){var le=ce(re.pos);return Number(le[le.length-1])===re.parent.children.length-1}return!1}function ne(re){var le=ce(re.pos);return Number(le[le.length-1])===0}function a(re,le,he,ve,fe,me,ge,be,Pe,Te){var Ce,Le=re.clientX,Ie=re.clientY,Me=re.target.getBoundingClientRect(),Ue=Me.top,Qe=Me.height,Ge=(Te==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Le),ot=(Ge-12)/ve,Ve=(0,oe.Z)(be,he.props.eventKey);if(Ie-1.5?me({dragNode:We,dropNode:Oe,dropPosition:1})?qe=1:Ye=!1:me({dragNode:We,dropNode:Oe,dropPosition:0})?qe=0:me({dragNode:We,dropNode:Oe,dropPosition:1})?qe=1:Ye=!1:me({dragNode:We,dropNode:Oe,dropPosition:1})?qe=1:Ye=!1,{dropPosition:qe,dropLevelOffset:ut,dropTargetKey:Ve.key,dropTargetPos:Ve.pos,dragOverNodeKey:rt,dropContainerKey:qe===0?null:((Ce=Ve.parent)===null||Ce===void 0?void 0:Ce.key)||null,dropAllowed:Ye}}function y(re,le){if(re){var he=le.multiple;return he?re.slice():re.length?[re[0]]:re}}var x=function(le){return le};function b(re,le){if(!re)return[];var he=le||{},ve=he.processProps,fe=ve===void 0?x:ve,me=Array.isArray(re)?re:[re];return me.map(function(ge){var be=ge.children,Pe=_objectWithoutProperties(ge,se),Te=b(be,le);return React.createElement(TreeNode,_extends({key:Pe.key},fe(Pe)),Te)})}function z(re){if(!re)return null;var le;if(Array.isArray(re))le={checkedKeys:re,halfCheckedKeys:void 0};else if((0,it.Z)(re)==="object")le={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return le}function ee(re,le){var he=new Set;function ve(fe){if(!he.has(fe)){var me=(0,oe.Z)(le,fe);if(me){he.add(fe);var ge=me.parent,be=me.node;be.disabled||ge&&ve(ge.key)}}}return(re||[]).forEach(function(fe){ve(fe)}),(0,pe.Z)(he)}},90782:function(xt,At,Ae){"use strict";Ae.d(At,{S:function(){return te}});var pe=Ae(48736),it=Ae(67841);function E(se,de){var ue=new Set;return se.forEach(function(ce){de.has(ce)||ue.add(ce)}),ue}function Se(se){var de=se||{},ue=de.disabled,ce=de.disableCheckbox,ae=de.checkable;return!!(ue||ce)||ae===!1}function ye(se,de,ue,ce){for(var ae=new Set(se),ie=new Set,ne=0;ne<=ue;ne+=1){var a=de.get(ne)||new Set;a.forEach(function(z){var ee=z.key,re=z.node,le=z.children,he=le===void 0?[]:le;ae.has(ee)&&!ce(re)&&he.filter(function(ve){return!ce(ve.node)}).forEach(function(ve){ae.add(ve.key)})})}for(var y=new Set,x=ue;x>=0;x-=1){var b=de.get(x)||new Set;b.forEach(function(z){var ee=z.parent,re=z.node;if(!(ce(re)||!z.parent||y.has(z.parent.key))){if(ce(z.parent.node)){y.add(ee.key);return}var le=!0,he=!1;(ee.children||[]).filter(function(ve){return!ce(ve.node)}).forEach(function(ve){var fe=ve.key,me=ae.has(fe);le&&!me&&(le=!1),!he&&(me||ie.has(fe))&&(he=!0)}),le&&ae.add(ee.key),he&&ie.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(ae),halfCheckedKeys:Array.from(E(ie,ae))}}function oe(se,de,ue,ce,ae){for(var ie=new Set(se),ne=new Set(de),a=0;a<=ce;a+=1){var y=ue.get(a)||new Set;y.forEach(function(ee){var re=ee.key,le=ee.node,he=ee.children,ve=he===void 0?[]:he;!ie.has(re)&&!ne.has(re)&&!ae(le)&&ve.filter(function(fe){return!ae(fe.node)}).forEach(function(fe){ie.delete(fe.key)})})}ne=new Set;for(var x=new Set,b=ce;b>=0;b-=1){var z=ue.get(b)||new Set;z.forEach(function(ee){var re=ee.parent,le=ee.node;if(!(ae(le)||!ee.parent||x.has(ee.parent.key))){if(ae(ee.parent.node)){x.add(re.key);return}var he=!0,ve=!1;(re.children||[]).filter(function(fe){return!ae(fe.node)}).forEach(function(fe){var me=fe.key,ge=ie.has(me);he&&!ge&&(he=!1),!ve&&(ge||ne.has(me))&&(ve=!0)}),he||ie.delete(re.key),ve&&ne.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(ie),halfCheckedKeys:Array.from(E(ne,ie))}}function te(se,de,ue,ce){var ae=[],ie;ce?ie=ce:ie=Se;var ne=new Set(se.filter(function(b){var z=!!(0,it.Z)(ue,b);return z||ae.push(b),z})),a=new Map,y=0;Object.keys(ue).forEach(function(b){var z=ue[b],ee=z.level,re=a.get(ee);re||(re=new Set,a.set(ee,re)),re.add(z),y=Math.max(y,ee)}),(0,pe.ZP)(!ae.length,"Tree missing follow keys: ".concat(ae.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return de===!0?x=ye(ne,a,y,ie):x=oe(ne,de.halfCheckedKeys,a,y,ie),x}},67841:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return pe}});function pe(it,E){return it[E]}},71430:function(xt,At,Ae){"use strict";Ae.d(At,{F:function(){return ee},H8:function(){return z},I8:function(){return b},km:function(){return ae},oH:function(){return y},w$:function(){return ie},zn:function(){return a}});var pe=Ae(76190),it=Ae(94480),E=Ae(33885),Se=Ae(75931),ye=Ae(11592),oe=Ae(2738),te=Ae(48736),se=Ae(67841),de=["children"];function ue(re,le){return"".concat(re,"-").concat(le)}function ce(re){return re&&re.type&&re.type.isTreeNode}function ae(re,le){return re!=null?re:le}function ie(re){var le=re||{},he=le.title,ve=le._title,fe=le.key,me=le.children,ge=he||"title";return{title:ge,_title:ve||[ge],key:fe||"key",children:me||"children"}}function ne(re,le){var he=new Map;function ve(fe){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(ge){var be=ge[le.key],Pe=ge[le.children];warning(be!=null,"Tree node must have a certain key: [".concat(me).concat(be,"]"));var Te=String(be);warning(!he.has(Te)||be===null||be===void 0,"Same 'key' exist in the Tree: ".concat(Te)),he.set(Te,!0),ve(Pe,"".concat(me).concat(Te," > "))})}ve(re)}function a(re){function le(he){var ve=(0,ye.Z)(he);return ve.map(function(fe){if(!ce(fe))return(0,te.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var me=fe.key,ge=fe.props,be=ge.children,Pe=(0,Se.Z)(ge,de),Te=(0,E.Z)({key:me},Pe),Ce=le(be);return Ce.length&&(Te.children=Ce),Te}).filter(function(fe){return fe})}return le(re)}function y(re,le,he){var ve=ie(he),fe=ve._title,me=ve.key,ge=ve.children,be=new Set(le===!0?[]:le),Pe=[];function Te(Ce){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ce.map(function(Ie,Me){for(var Ue=ue(Le?Le.pos:"0",Me),Qe=ae(Ie[me],Ue),Ge,ot=0;ot1&&arguments[1]!==void 0?arguments[1]:{},he=le.initWrapper,ve=le.processEntity,fe=le.onProcessFinished,me=le.externalGetKey,ge=le.childrenPropName,be=le.fieldNames,Pe=arguments.length>2?arguments[2]:void 0,Te=me||Pe,Ce={},Le={},Ie={posEntities:Ce,keyEntities:Le};return he&&(Ie=he(Ie)||Ie),x(re,function(Me){var Ue=Me.node,Qe=Me.index,Ge=Me.pos,ot=Me.key,Ve=Me.parentPos,Xe=Me.level,Ze=Me.nodes,ze={node:Ue,nodes:Ze,index:Qe,key:ot,pos:Ge,level:Xe},Re=ae(ot,Ge);Ce[Ge]=ze,Le[Re]=ze,ze.parent=Ce[Ve],ze.parent&&(ze.parent.children=ze.parent.children||[],ze.parent.children.push(ze)),ve&&ve(ze,Ie)},{externalGetKey:Te,childrenPropName:ge,fieldNames:be}),fe&&fe(Ie),Ie}function z(re,le){var he=le.expandedKeys,ve=le.selectedKeys,fe=le.loadedKeys,me=le.loadingKeys,ge=le.checkedKeys,be=le.halfCheckedKeys,Pe=le.dragOverNodeKey,Te=le.dropPosition,Ce=le.keyEntities,Le=(0,se.Z)(Ce,re),Ie={eventKey:re,expanded:he.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:fe.indexOf(re)!==-1,loading:me.indexOf(re)!==-1,checked:ge.indexOf(re)!==-1,halfChecked:be.indexOf(re)!==-1,pos:String(Le?Le.pos:""),dragOver:Pe===re&&Te===0,dragOverGapTop:Pe===re&&Te===-1,dragOverGapBottom:Pe===re&&Te===1};return Ie}function ee(re){var le=re.data,he=re.expanded,ve=re.selected,fe=re.checked,me=re.loaded,ge=re.loading,be=re.halfChecked,Pe=re.dragOver,Te=re.dragOverGapTop,Ce=re.dragOverGapBottom,Le=re.pos,Ie=re.active,Me=re.eventKey,Ue=(0,E.Z)((0,E.Z)({},le),{},{expanded:he,selected:ve,checked:fe,loaded:me,loading:ge,halfChecked:be,dragOver:Pe,dragOverGapTop:Te,dragOverGapBottom:Ce,pos:Le,active:Ie,key:Me});return"props"in Ue||Object.defineProperty(Ue,"props",{get:function(){return(0,te.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),Ue}},8224:function(xt,At,Ae){"use strict";Ae.d(At,{Z:function(){return it}});var pe=Ae(4676);function it(E,Se,ye,oe){var te=pe.unstable_batchedUpdates?function(de){pe.unstable_batchedUpdates(ye,de)}:ye;return E!=null&&E.addEventListener&&E.addEventListener(Se,te,oe),{remove:function(){E!=null&&E.removeEventListener&&E.removeEventListener(Se,te,oe)}}}},55468:function(xt,At,Ae){"use strict";Ae.d(At,{g1:function(){return ce},os:function(){return ie}});var pe=/margin|padding|width|height|max|min|offset/,it={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function Se(ne){return ne.nodeType===1?ne.ownerDocument.defaultView.getComputedStyle(ne,null):{}}function ye(ne,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return ne.offsetHeight;if(a==="width")return ne.offsetWidth}return a in it||(it[a]=pe.test(a)),it[a]?parseFloat(y)||0:y}function oe(ne,a){var y=arguments.length,x=Se(ne);return a=E[a]?"cssFloat"in ne.style?"cssFloat":"styleFloat":a,y===1?x:ye(ne,a,x[a]||ne.style[a])}function te(ne,a,y){var x=arguments.length;if(a=E[a]?"cssFloat"in ne.style?"cssFloat":"styleFloat":a,x===3)return typeof y=="number"&&pe.test(a)&&(y="".concat(y,"px")),ne.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&te(ne,b,a[b]);return Se(ne)}function se(ne){return ne===document.body?document.documentElement.clientWidth:ne.offsetWidth}function de(ne){return ne===document.body?window.innerHeight||document.documentElement.clientHeight:ne.offsetHeight}function ue(){var ne=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ne,height:a}}function ce(){var ne=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:ne,height:a}}function ae(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ie(ne){var a=ne.getBoundingClientRect(),y=document.documentElement;return{left:a.left+(window.pageXOffset||y.scrollLeft)-(y.clientLeft||document.body.clientLeft||0),top:a.top+(window.pageYOffset||y.scrollTop)-(y.clientTop||document.body.clientTop||0)}}},24514:function(xt,At,Ae){"use strict";Ae.d(At,{G:function(){return Se}});var pe=Ae(47273),it=function(oe){if((0,pe.Z)()&&window.document.documentElement){var te=Array.isArray(oe)?oe:[oe],se=window.document.documentElement;return te.some(function(de){return de in se.style})}return!1},E=function(oe,te){if(!it(oe))return!1;var se=document.createElement("div"),de=se.style[oe];return se.style[oe]=te,se.style[oe]!==de};function Se(ye,oe){return!Array.isArray(ye)&&oe!==void 0?E(ye,oe):it(ye)}},25365:function(xt){"use strict";xt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0VJREFUOE+V03lI01EcAPD3fjucs4nmwrXNOY/VdBoe0Tqggi5NgsLaWriWZFQEEvRHBxmL+iMo/KMg6KJSCy03mbapo1vXzCvJUstjZTM1bUzZZP6uF5M0Zwr1/nsHn/d93+/7QjBn3GhuZkm5scvRJIgODWX7sKCQT0oRGIAQorlnp+cIAAhnJghhhobvWRPjQ/rJ8eEVXIxGwcFsGBYWQUTFLrN6yCB9qpjdthA2BSGEsEd1X08NOlrPSiM4P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CicSovLQ3ZOneAalzZOiPNMIyq0uA0i0XEsebjZCNOHlMSk+RkqpLtzoafGowsYQhFMNZSivcHSdXyZPFVSpX7zNwxo0nhQHOkTO0JTO0xSax4VeS0mne2rqya0nHGEieT9DFkWbnmLk7ONoi6E9uWbqT+PmOZSaO/lsyWA/CWXKYyg8dolgUU38+P91HDI7wk5OjKMpBU61yyThtCUedwcGy/IVjozd2peQrmCrkroJyu1Ne/xSQxbOJo+CklKHMbFJcQZzRgaYxLAmnlXwokwSKYWG5ciZtZA8VmMmCGKaktjEQOyzZpKguYmtHVtI8OBuvK8u/eurJkeMd8gy0WCRXJwXGMIOuukmrNHAy9uEqnM3vKRVUKSiVPr4oSDw1oiHagPu/A2kmih6OXasidlejC7CBZfyVhB0nEpKwABDSlNcZAMtzuWaaJLtLdSTdlgWRnkZ0ZcrXrMYa3z+8Lkoox+jiXAEVNEwmGaX9VwRwSFzOlg/QgTCodJDnGZQfJXtS0/1XF/UCy/pRFMknLv4B0mO7tAcV+E4LavnLlX3lTS/GLYAyLAAAAAElFTkSuQmCC"},71979:function(xt){"use strict";xt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAqCAYAAABfjB7GAAAAAXNSR0IArs4c6QAAEy5JREFUeF7tW2l0VFW2/m4FkhBmQ5iEJEwBMcgoElwMMoOg0q20ywkJQj/1MXTjoxVlkjm0QNs2AgIapNW2gRYRbGRMCDJGmWcIUxISyASBhITUfevsM9xzb91UgM567w8lrqq6de+puvs7397fHmJcPxJvGoYBGAYMw8Of2X/sGNhb+Rm9Ecedz/w8E4BpGPDQlYDpEWuYdCl9VtbD42WriOvZivwfYJrqmR0xTfo2fpxe8uvYcfpfXsuOm16Yppc+97JndqrXBPvFpleuJc6R14tntq5BX8Ov4+uz1/J7vfy+tfP572Hr8d8oP2N3T8e03yruzro/IN0D73bDCBjfYMDUy0be4S8IIA6ExwJEgsQOww4SHaHz2T9+DfspHA8DXjeQpNXLAMkQBiFjixuSsHLDSz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rGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(xt){"use strict";xt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LScG/9qv+FtxDc6GcdRm++ks7bGutH1pbt2amst21AxNv15Rj959hXFjFjPaNpmUbYwppVJozcK87l5npxf75JcsYdnEqca0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ni6d8TEGURGRbere4Ij9K42m3d0kEdCeeVUX/bYIBpqqaGYO8QBJ1/fODX+U8Bi9SQqU8++LS5fgldPr8m9LHTGntaz3obr9HT79TTHVjrdanhYdiI+XDOuKjsmzyk7s4gR3Cck1k3g01eiWO4KCDjzqTBnTPO3OO4PnuDo4/O2PBjNdqrjkMJeXRCmRFLMcQEVOwgJONs7WMoRk/uRNH8p72je4x+xBEn2CjyIg2UsoN2kZ8yJsK6lIEYNv61Ol0AY0s40gKDRJ6PWhVbAfnokh/+f17oKelHNP2kwROsZoa+DDnL4JaDI+U/UejzbXSaxR/K5ygXVan6UasJJiI6AV8jKgQWdQh+P8NewCBXTkFh5dNNOoB4NwLLtSc05opxCA5sQ2qkzqjlkPGndvq4I2alefyPfrwQWLWvK26J+U4VPtymGNvr6jJCkpX+Gv4bASrciDcnqMQ62IDT82UnbIvbP3v2aDjMISHRqDvhU/jScZAIuZpF7urMIRHhxMtxaDVxkP5s6/PTemjld9JmqnoUAXdp76ZqangOGXnmbuSSwINlw66vnonq757l0gHwoTNt7cz8nd3Yz4f/0XK6vduVqt42shwKRVC5U58oEJnXL9FPjpcPhFGHaBhdxW4sOsYHZjZGul8dDeXg4eBKtw86VGhGVwicBOpT6OxwMMV/3EQg6AWKIUvH5RNolA29CDT3wmNspggFJXkNUkl1IuQKnQixEgIwkJ5MjBYF/fTCG7E6XWDeW06oJpdinfW8BEx7JYaHE0aM0JdIN1IOF8WgwFO5YnABqrkUiiFDCsnyPqU9PKWXmCwc5De9OC0XNdja1QysjHUcte17BFMJCEZ5K6RCDwN/tGnKlws/cKIg8Kj4vMASYVKjdqXExZzAh8op+/5zRwrdHv1HgGwW+UeAbBb5R4BsFvlGgpcA3YPFtR3yjwDcKfKPANwp8o8A3ClyMAv8DD8nJIGmcntAAAAAASUVORK5CYII="},96908:function(xt){"use strict";xt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADz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nkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(xt){"use strict";xt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3Kd3e3KWfn3xKN7UhnMuq+VnGblNKz9N1evXpOin/R/o1Gpe09ae3KX26U5/Vqj/qu44vkmtpS8aIY/3965RePUmJvaZnfphF6kvRJBkL71L6539N6c0vh01UWm9vqw0UWuS/2zI+fZ7L1Xe5z0w4/ON5qv7c6KmCdF3tcfb3oq+itPrzKqXbTym9/puUXv+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru9397W2cKXl8EVLSaWhxBVYTIuYkQyjv9ucqxyLbmLkGJG3lGgYZ+i7RWhVfFrQxpjOXAeWs/HWgZORt+N2m/4SFYXmtGgQYxURVzhA/U6Lj8J75ZGRYaZzxNe1a+gUdbulsARulI/i8GrQFj7N1oQGKsWCZMlgL1Rr6xH1+V11xu4PhUV7g9BBaroCYb+5n5AD7Nis7GGDl8lje1cCv9rZRBX9CNt9oUKSNz/kQc0f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t/52lHR8VOC9WDnZ/XB6vTiA7UEB8QlNpHG30Ew3PIM8viGVa28CiSM16WskpraQnHMzInbKZmpmdlLr05dKxRw9sF71WH1Kx+UJRo6ofnxBe6O1tEjexMCk61P5me3GcFVsIa2cs1yar5EGzvG3FRopivTKxnuWGKOyDIdNe/+YbOM8CCLYRHqqpDMyd0p8Is4oC0STt4cZs628wWBbYnBECByU2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"}}]); diff --git a/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.d4e09321.chunk.css b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.d4e09321.chunk.css new file mode 100644 index 0000000000..b1f94558f9 --- /dev/null +++ b/p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index.d4e09321.chunk.css @@ -0,0 +1 @@ +.flex_box_center___MjMLk{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___PcWTa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Cq7f3{align-items:center;box-align:center}.flex_box_center_end___sMsFo{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___n6Hxq{flex-direction:column;box-orient:block-axis}.bg____Ic4Q{width:100%;margin-bottom:67px;padding-bottom:30px;overflow-y:auto;padding-top:40px}.bg____Ic4Q .radioStyle___kewjX{display:flex;height:50px;line-height:50px}.bg____Ic4Q .formWrap___jcehV{padding:0 40px}.bg____Ic4Q .formWrap___jcehV label{font-size:16px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp{margin-top:23px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .searchInput___UhEpw .ant-input{height:38px;background-color:#f5f5f5;padding:4px 0}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-form-item-label{margin-top:10px;margin-bottom:8px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-input{height:50px;background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-input>input,.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-select{width:100%;height:50px;background-color:#f5f5f5;padding:9px 20px 9px 8px;margin-right:9px;display:flex;align-items:center}.bg____Ic4Q .formWrap___jcehV .onePart___ECsrp .ant-radio-wrapper{margin-right:60px}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .title___RpX2E{padding:26px 0;font-size:16px;font-weight:700;color:#333}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-form-item-label{margin-top:10px;margin-bottom:10px}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-input{height:50px;background-color:#f5f5f5!important;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-input>input,.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .twoPart___WVIpx .ant-select{width:100%;height:50px;background-color:#f5f5f5;padding:9px 20px 9px 8px;margin-right:9px}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .title___RpX2E{padding:26px 0;font-size:16px;font-weight:700;color:#333}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .flexRowCenter___M7zUK{display:flex;flex-direction:row;align-items:center}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-form-item-label{margin-top:10px;margin-bottom:10px}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-form-item{flex-direction:row}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-input{height:50px;background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-input>input,.bg____Ic4Q .formWrap___jcehV .threePart___Tzme_ .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj [class^=monaco-editor] textarea{background:none!important;padding:auto;height:auto}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .title___RpX2E{padding:26px 0;font-size:16px;font-weight:700;color:#333}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .testJi___s6Skh{flex-direction:row}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .testJi___s6Skh .ant-form-item-control-input-content{margin-top:-10px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .upBtn___eKx0D{position:relative}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .upBtn___eKx0D button{position:absolute;z-index:10;top:-57px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .checkboxs___B4uNe span[class~=ant-checkbox]{top:0!important}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD{padding-left:73px;margin-top:-13px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x{width:278px;border-radius:8px;display:flex;align-items:center}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-form-item-label{margin-top:10px;margin-bottom:10px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-form-item{flex-direction:row}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-input{background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-input>input,.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .averageWarp___yXrlD .averageCustom___t5o4x .ant-input>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR{padding:20px 0}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR .customInput___pywUD{height:30px;background-color:#f5f5f5;padding:0 20px}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR .customInput___pywUD>input,.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj .groupWrap___eT0sR .customInput___pywUD>span{font-size:16px;background-color:#f5f5f5}.bg____Ic4Q .formWrap___jcehV .fourPart___HgBFj textarea{background-color:#f5f5f5;padding:20px;height:200px}.btns___lJQrt{display:flex;align-items:center;gap:20px;margin-bottom:20px}.btns___lJQrt>div{display:flex;align-items:center;justify-content:center}.btns___lJQrt .uploadBtn___bb8tt{width:110px;height:38px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 -1px 3px #ffffff80;border-radius:2px;cursor:pointer}.btns___lJQrt .uploadBtn___bb8tt>span{color:#fff}.btns___lJQrt .addBtn___KmPzc{width:110px;height:38px;background:linear-gradient(180deg,#fff,#f6f7f9),#d3e0fd;box-shadow:0 2px 4px #e0dfe1;border-radius:2px;border:1px solid #BACFFE;cursor:pointer}.btns___lJQrt .addBtn___KmPzc>span{color:#3061d0}.btns___lJQrt .deleteBtn___j15T3{width:96px;height:38px;background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e1dfdf;border-radius:2px;border:1px solid #FEBABA;cursor:pointer}.btns___lJQrt .deleteBtn___j15T3>span{color:#e30000}.uploadTips___ezbms{font-size:14px;font-weight:400;color:#000}.uploadTips___ezbms .uploadTipsIcon___ZWRlB{color:#3061d0;margin-left:6px;cursor:pointer}.downloadBtn____jf42{font-size:14px;font-weight:400;color:#3061d0;cursor:pointer}.uploadBtn___bb8tt{width:108px;height:38px;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #BACFFE;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#3061d0;font-size:14px}.uploadBtn___bb8tt i{font-size:12px;margin-right:6px}.fileItem___fJ0rs{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-left:20px}.fileItem___fJ0rs>span{height:14px;font-weight:400;font-size:14px;color:#3061d0;line-height:14px;text-decoration-line:underline}.multiSelect___Xb8b8 .ant-select-selector{height:40px!important;padding:0 11px!important}.multiple_select___HUup3 [class~=ant-select-selector]{min-height:40px!important;line-height:40px!important}.buttonFixed___vyq30{position:fixed;z-index:1000;bottom:0;left:0;width:100%;height:63px;background:#fff;box-shadow:0 -4px 4px #0000000d}.button___hxmYv{width:100px;height:38px!important;font-weight:400;padding:0;font-size:14px!important}.buttonWrap___uK8dl{display:flex;flex-direction:row;justify-content:center;align-items:center;height:100%}.flex_box_center___vvciu{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___WPxvw{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___YY9Br{align-items:center;box-align:center}.flex_box_center_end___FiVhK{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___FWnfq{flex-direction:column;box-orient:block-axis}.wrap___AEhcV{padding:0 20px 20px}.content___NDdD8{display:flex;flex-direction:column;height:200px;overflow-y:auto;background:#f5f5f5;padding:10px;font-size:14px}.content___NDdD8 a{color:#05101a}.content___NDdD8 a:hover{color:#40a9ff}.mainPathWrap___BNeQ2{display:flex;flex-direction:row}.colorBlue___UwyKz{color:#0152d9}.empty___aaM_9{width:100%;height:100%;display:box;display:flex;justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center;flex-direction:column;box-orient:block-axis;background:#fff;padding:100px}.wrap___MkYbQ [class~=ant-upload-drag]{background:#1890ff0a!important;border-radius:4px;border:1px dashed #0152d9}.wrap___MkYbQ .colorBlue___onjbP{color:#0152d9}.wrap___MkYbQ .repeatedName___nbqnE{color:red}.wrap___MkYbQ .text___xvutp{margin-top:20px;color:#464f66;line-height:24px}.wrap___MkYbQ .greyText___dihvZ{font-size:14px;font-weight:400;color:#5f6368}.wrap___MkYbQ .noData___LxOJA{height:180px;margin-bottom:30px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A{display:flex;align-items:center;justify-content:center}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A img{width:46px}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A span{font-size:14px;font-weight:400;color:#9096a3}.wrap___MkYbQ .noData___LxOJA .dragger___y7F4A .uploadText___Et3KS{color:#3061d0}.wrap___MkYbQ .btnS___k1e6j{height:32px;border-radius:4px;background:#3061d0}.wrap___MkYbQ .btnS___k1e6j i{margin-right:6px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]{width:60px;height:38px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:23px;border:none;display:inline-flex;align-items:center;justify-content:center;margin-right:20px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper]:before{background-color:transparent}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper] span{color:#464f66;font-size:14px}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]{background-color:#fff;box-shadow:0 2px 4px #e0dfe1;border:1px solid #BACFFE;background:#d3e0fd linear-gradient(180deg,#fff,#f6f7f9)}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:first-child{border-right-color:#bacffe}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked]:focus-within{box-shadow:0 2px 4px #e0dfe1}.wrap___MkYbQ .testCaseRadio___q1wXT label[class~=ant-radio-button-wrapper-checked] span{color:#165dff;font-size:14px}.head___s4Eix{display:flex;margin-bottom:36px}.head___s4Eix .operation___JCAVh{text-align:center}.head___s4Eix>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.headProgram___uWA_M{display:flex;height:40px;line-height:40px;background:#f6f7f8;box-shadow:0 2px 4px #eaeef4;padding-left:5px;padding-right:5px}.headProgram___uWA_M .operation___JCAVh{text-align:center}.headProgram___uWA_M>div{color:#5f6368;font-size:14px;text-align:left;display:inline-block}.listWrapper___xW3b4{max-height:214px;overflow:auto}.listWrapper___xW3b4::-webkit-scrollbar{display:none}.listWrapper___xW3b4 .list___dCbd6{display:flex;margin-bottom:36px;align-items:center}.listWrapper___xW3b4 .list___dCbd6 .del___abNho{color:#e53333;cursor:pointer}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px}.listWrapper___xW3b4 .list___dCbd6 .info___J1Wmf>span{color:#3061d0;cursor:pointer;text-decoration:underline}.listWrapper___xW3b4 .list___dCbd6>div{text-align:left;display:inline-block;background:#fff}.loading___lueiN{position:absolute;z-index:1000;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#ffffffbf}.challenge-nav{display:flex;padding:0;border-bottom:1px solid #f1f1f1;margin-bottom:16px}.challenge-nav>li{position:relative;height:40px;margin-right:60px;font-size:16px;line-height:17px}.challenge-nav>li>a{color:#05101a}.challenge-nav .active{color:#0152d9}.challenge-nav .active>a{color:#0152d9!important}.challenge-nav .active:after{position:absolute;content:"";width:100%;background-color:#0152d9;height:3px;border-radius:2px;left:0;bottom:0}.flex_box_center___NeSU8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ImTGl{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___BtRd9{align-items:center;box-align:center}.flex_box_center_end___qcLe3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Ze_3q{flex-direction:column;box-orient:block-axis}.banner___PoUBO{display:flex;align-items:center;justify-content:center}.banner___PoUBO .content___XoDjy{width:1200px;height:212px;display:flex;align-items:flex-start;justify-content:space-between}.banner___PoUBO .content___XoDjy aside{margin-top:56px}.banner___PoUBO .content___XoDjy aside p{display:flex;align-items:center}.banner___PoUBO .content___XoDjy aside p b{font-size:30px;font-weight:500;color:#000;letter-spacing:4px;margin-right:20px}.banner___PoUBO .content___XoDjy aside p span{font-size:16px;color:#000;letter-spacing:4px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j{margin-top:35px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div img{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___HDG9F{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___KhP6Z{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZlFcA{align-items:center;box-align:center}.flex_box_center_end___o7d_z{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___ULJgZ{flex-direction:column;box-orient:block-axis}.row___Skft7{background:#ffffffb3;border-radius:12px;border:1px solid #FFFFFF;backdrop-filter:blur(4px);padding:14px 20px;margin-bottom:10px}.row___Skft7 .title___KP2uZ{height:20px;font-weight:500;font-size:14px;color:#2c3a58;line-height:20px}.row___Skft7 .fenge___yM8ys{height:1px;border:1px dashed rgba(204,221,255,.5);margin:15px 0}.row___Skft7 .tagsWrap___XcmUd{flex:1 1;position:relative}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___Skft7 .tagsWrap___XcmUd .action___y7wAl i{display:inline-block;font-size:12px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz{max-height:245px;overflow:auto}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db{display:flex;flex-wrap:wrap;gap:20px 14px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span{display:inline-flex;align-items:center;font-size:14px;cursor:pointer;padding:2px 12px;background:#fff;border-radius:6px;border:1px solid #DAE3F3}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .name___gsqnj{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span .num___sRnLB{margin-left:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db>span:hover{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz .tag___PL8Db .active___yNnAU{color:#3875ff!important;background:#3573ff29;border:1px solid #3271FF}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___Skft7 .tagsWrap___XcmUd .bar___gdtOz::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___Skft7 .tagsBorderWrap___BKCHD .bar___gdtOz{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___KD0ZB{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___rMep5{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___jD3Po{align-items:center;box-align:center}.flex_box_center_end___RbohB{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GmzUj{flex-direction:column;box-orient:block-axis}.list___dlUtq{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___dlUtq .wrap___LYbIZ{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___dlUtq .wrap___LYbIZ:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___dlUtq .wrap___LYbIZ .lockWrap___U7Ajb{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .cover___KP0L8{width:100%;height:26vh;border-radius:10px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .bq___DtmL1{background:linear-gradient(180deg,#f09c1e,#bd6f1d);border-radius:6px;border:1px solid rgba(255,255,255,.6);position:absolute;padding:4px 8px;color:#fff;font-size:12px;line-height:12px;top:6px;left:6px;display:flex;align-items:center;justify-content:center}.list___dlUtq .wrap___LYbIZ .li___bsnqy .img___yQ3UM .sign___TZ9Wq{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .titleBg___tnX0O{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___dlUtq .wrap___LYbIZ .li___bsnqy .name___OGYeq .e___zxiB9{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___dlUtq .wrap___LYbIZ .li___bsnqy .text____ZmZX{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .value___WPLok{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E{display:flex;align-items:center;margin-left:auto}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]{font-size:13px}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___dlUtq .wrap___LYbIZ .li___bsnqy .rate___iOr7E [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:278px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 101px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.list___jb2Ay .wrapisCurrent___qIfQT{height:280px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrapisCurrent___qIfQT:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrapisCurrent___qIfQT .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 105px);border-radius:8px 8px 0 0}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ{font-size:16px;font-weight:600;color:#000;padding:10px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___vu9yi{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LwoH7{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pUG0J{align-items:center;box-align:center}.flex_box_center_end___xWI9t{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mr5rB{flex-direction:column;box-orient:block-axis}.list___zE1wj{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___zE1wj .wrap___5HG1h{background:#fff;border:2px solid #DEE8FF;border-radius:22px;position:relative;overflow:hidden}.list___zE1wj .wrap___5HG1h:hover{box-shadow:0 4px 8px #b0afff80;border:2px solid #3875FF}.list___zE1wj .wrap___5HG1h .lockWrap___zziwX{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp{border-radius:10px;position:relative;display:flex;justify-content:center;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .cover___G1cj9{width:100%;height:26vh;border-radius:10px}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .bq___hpdTt{width:64px;height:20px;background:#19b691b3;color:#fff;border-radius:13px;font-size:12px;line-height:20px;text-align:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .img___adfIp .sign___kHAha{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___zE1wj .wrap___5HG1h .li___aNI2z .titleBg___S1VlI{width:100%;height:57px;position:absolute;top:-1px;left:0}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM{height:57px;font-size:16px;font-weight:600;color:#000;padding:0 15px;width:100%;display:flex;align-items:center;position:relative}.list___zE1wj .wrap___5HG1h .li___aNI2z .name___zsjxM .e___fd1jW{font-weight:500;font-size:16px;color:#283f71;line-height:22px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .text___b9Tdy{height:20px;font-weight:400;font-size:12px;color:#727c95;line-height:20px;margin-right:6px}.list___zE1wj .wrap___5HG1h .li___aNI2z .value___ZASRv{height:20px;font-weight:400;font-size:12px;color:#262a46;line-height:20px}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___zE1wj .wrap___5HG1h .li___aNI2z .unit___sMNBQ i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div{display:flex;align-items:center}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div>span{margin-right:12px;font-size:12px}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d div i{color:#7d8592}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag1___c9ebE,.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___zE1wj .wrap___5HG1h .li___aNI2z .tags___KbL1d .tag2___bxczv{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___PuarE{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___q4lAa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___wsb8w{align-items:center;box-align:center}.flex_box_center_end___H781P{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___bHK1y{flex-direction:column;box-orient:block-axis}.list___e2XDo{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___e2XDo .wrap___cz7sh{height:234px;border-radius:12px;border:1px solid #DEE8FF;position:relative}.list___e2XDo .wrap___cz7sh:hover{cursor:pointer;box-shadow:0 4px 10px #a8c2ee80;border:1px solid #3875FF}.list___e2XDo .wrap___cz7sh:hover .lockWrap___EPuRr{display:flex}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___e2XDo .wrap___cz7sh .lockWrap___EPuRr div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp{position:absolute;left:50%;transform:translate(-50%,-50%);z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .img___kSEud{width:72px;height:72px;border-radius:50%;border:2px solid #FFFFFF;margin-top:14px}.list___e2XDo .wrap___cz7sh .creator___Y6Xjp .text___GIlhY{height:24px;background:linear-gradient(164deg,#526d958a,#2c4773c7);border-radius:8px;border:1px solid #FFFFFF;backdrop-filter:blur(2px);color:#fff;font-size:14px;line-height:14px;padding:5px 14px;display:flex;align-items:center;justify-content:center;position:relative;top:-15px}.list___e2XDo .wrap___cz7sh .top___K4GCD{margin-top:55px}.list___e2XDo .wrap___cz7sh .top___K4GCD .sign___KCjEP{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___e2XDo .wrap___cz7sh .top___K4GCD .name___z3U4d{height:16px;font-weight:600;font-size:16px;color:#262a46;line-height:16px;text-align:center;font-style:normal;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.list___e2XDo .wrap___cz7sh .top___K4GCD .text___GIlhY{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___e2XDo .wrap___cz7sh .middle___LeUM5{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAegAAACOCAYAAAD6ipv/AAAAAXNSR0IArs4c6QAACNtJREFUeF7t3TGLXAUXBuD3kDAj2WAnSLAUCws7wTJWioVg7S8wpa2YImJrZ/wF1oIg2CWlYCkIimUIgl2yIztrwvGb+XaXGDcmhWaPzrNFWLLD3Pc+58DLvTM7W3nCr+5erO7l9bqftzt5OZVLlVzqzsUnfAoPI0CAAAECOyNQlf1Obqdzu5Lv+1y+3DufG1V1+CQI9bgH7Xc/X+tc7cq76Tz7uMf7OQECBAgQIPAIgcqd6nzey1y7WPXzXzk9sqC7e/nrYT5I8n539mATIECAAAECf49AVVZJPrmwyMdVtT7tWU8t6O1V82G+6M5rf08Uz0KAAAECBAg8LFCVb3qRd067mv5TQa/X/cq9zledvICSAAECBAgQ+GcFKrl1vvLWclnfPXikPxT00evN3yrnf3YYnp0AAQIECDxUxrd6mVcfvJI+Keij15xvuq1taQgQIECAwNMX2NzuvrDI5ePXpE8KerXua9358OlHckQCBAgQIEBgI1CVj/aWdXX7/eafozeF/eTd2haEAAECBAicncDm3d29yIubW93bgl4d9PVO3ju7SI5MgAABAgQIHF05f7b3TF2p7SeEHeYXH0JiMQgQIECAwACByp29RZ6r/d/6jdz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BzbDKRIgQIDAmQlsbmv3Iu88eOX8yCvo4x8cvSb9QZL3vbv7zGbnwAQIECDwHxTYvFs7yScXFvn4+DXnh0/z1CvoBx+0/RWsda525V0fZvIf3BKnRIAAAQJPT6Bypzqf9zLXTrtqfuwt7tOSbj9x7F5er/t5u5OXU7lUySV/qvLpzdWRCBAgQODfI1CV/U5up3O7ku/7XL7cO58bVXX4JGfxOzmrxUcafXV8AAAAAElFTkSuQmCC) no-repeat center center;background-size:100% 100%;height:71px;margin:23px 15px 17px;padding:13px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ{display:flex;align-items:center;justify-content:space-between}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .row___VBzfJ>div{display:flex;align-items:center}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .text___GIlhY{height:20px;font-weight:400;font-size:14px;color:#727c95;line-height:20px;margin-right:10px}.list___e2XDo .wrap___cz7sh .middle___LeUM5 .value___qigWu{width:42px;height:20px;font-weight:400;font-size:14px;color:#262a46;line-height:20px}.list___e2XDo .wrap___cz7sh .btns___kGysm{display:flex;align-items:center;margin-top:12px;justify-content:center}.list___e2XDo .wrap___cz7sh .btns___kGysm div{width:76px;background:#11af8d26;height:26px;border-radius:12px;border:1px solid #11AF8D;font-size:12px;color:#11af8d;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .btns___kGysm aside{width:76px;background:#f4831e26;height:26px;border-radius:12px;border:1px solid #E08049;font-size:14px;color:#c05a0c;line-height:24px;text-align:center;margin:0 10px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>div{margin-left:auto}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___e2XDo .wrap___cz7sh .bottom___yPYd5>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.list___e2XDo .warpStyle___pH3uC:hover{border:2px solid #fff!important;box-shadow:none!important}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___itkVp{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___F4yZx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ko4cu{align-items:center;box-align:center}.flex_box_center_end___cCBYR{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Mpq6K{flex-direction:column;box-orient:block-axis}.tabs___qRAhL{display:flex;justify-content:space-between;align-items:center;height:40px}.tabs___qRAhL .tabsWrap___CGRvS{display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6{font-weight:500;color:#3875ff}.tabs___qRAhL .tabsWrap___CGRvS .tab___eYne_ .active___swSx6:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:none;border-radius:100px 100px 0 0}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio{color:#3061d0;background:#e5eeff;border-radius:999px;border:1px solid #C9DBFF;height:36px}button[class~=ant-btn-default]:not(:disabled).ThemeOne___iCQio:hover{border:1px solid #3061D0}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368}.ClassRoomItem___F4pL0{border:1px solid transparent}.ClassRoomItem___F4pL0:hover{border:1px solid #165DFF!important}.ClassRoomItem___F4pL0:hover .TitleDom___DB76T{color:#165dff}.ClassRoomItem___F4pL0 .TitleDom___DB76T{color:#333}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.markdown-editor-wrapper{position:relative;margin-bottom:12px}.markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center;overflow:hidden}.markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}.markdown-editor-body .CodeMirror-wrap{padding-bottom:15px}.markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px}.markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;font-size:16px}.markdown-editor-container.full-screen{position:fixed;inset:0;height:100vh!important;z-index:998}.markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}.markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}.markdown-editor-container.on-preview .codemirror-container,.markdown-editor-container.on-preview .preview-container{width:50%}.mini .markdown-editor-body{height:calc(100% - 28px)}.flex-end{justify-content:flex-end}.my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}.markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:0px}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}.CodeMirror-empty.CodeMirror-focused{outline:none}.CodeMirror pre.CodeMirror-placeholder{color:#999}.CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.audio-upload-container{display:flex;align-items:center}.audio-upload-container .upload-audio-btn{height:38px!important;padding:9px 27px!important}.audio-upload-container .audio-file-item{display:flex;align-items:center;justify-content:space-between;background:#f6f7f9;border-radius:16px;padding:9px 20px;margin-left:20px}.audio-upload-container .audio-file-item .audio-file-info{display:flex;align-items:center;flex:1 1}.audio-upload-container .audio-file-item .audio-file-info .file-name{font-size:14px;font-weight:400;color:#3061d0;margin-left:8px;margin-right:20px;flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-upload-container .audio-file-item .audio-file-info .file-size{font-size:14px;color:#c5c5c5;margin-right:40px;text-align:right}.audio-upload-container .audio-file-item i.icon-shanchu12:hover{color:#f65160!important} diff --git a/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.264e0a68.async.js b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.264e0a68.async.js new file mode 100644 index 0000000000..e5ea722b78 --- /dev/null +++ b/p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.264e0a68.async.js @@ -0,0 +1,243 @@ +(self.webpackChunk=self.webpackChunk||[]).push([[4498],{32050:function(ce,_e,oe){"use strict";oe.d(_e,{Z:function(){return Be}});var ee=oe(54476),Le=oe(59301),ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},we=ke,ve=oe(7657),Ce=function(Ae,Ie){return Le.createElement(ve.Z,(0,ee.Z)({},Ae,{ref:Ie,icon:we}))},se=Le.forwardRef(Ce),Be=se},32313:function(ce,_e){"use strict";_e.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},6404:function(){"use strict";function ce(ae,a,E,x){E===void 0&&(E=0),x===void 0&&(x=1/0),this._name=ae,this._defaultValue=a,this._minimum=E,this._maximum=x}Object.defineProperty(ce.prototype,"name",{get:function(){return this._name},set:function(ae){if(typeof ae!="string"||ae==="")throw new Error("Shape name must be a valid string.");this._name=ae}}),Object.defineProperty(ce.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("The default value must be a real number, not: "+ae);this._defaultValue=ae}}),Object.defineProperty(ce.prototype,"minimum",{get:function(){return this._minimum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Minimum must be a real number, not: "+ae);this._minimum=ae}}),Object.defineProperty(ce.prototype,"maximum",{get:function(){return this._maximum},set:function(ae){if(typeof ae!="number"||isNaN(ae))throw new Error("Maximum must be a real number, not: "+ae);this._maximum=ae}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ae,a){var E=go.Shape._FigureParameters[ae];return E?E[a]:null},go.Shape.setFigureParameter=function(ae,a,E){if(!(E instanceof ce))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+E);if(E.defaultValueE.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+E.defaultValue);var x=go.Shape._FigureParameters[ae];x||(x=[],go.Shape._FigureParameters[ae]=x),x[a]=E};var _e=[];function oe(ae,a){var E=_e.pop();return E===void 0?new go.Point(ae,a):(E.x=ae,E.y=a,E)}function ee(){var ae=_e.pop();return ae===void 0?new go.Point:ae}function Le(ae){_e.push(ae)}function ke(ae,a,E,x,y,b,z,te,ne){ne||(ne=new go.Point);var re=ae-E,ge=y-z,ie=NaN,me=NaN;if(re===0)if(ge===0)ae===E&&(ie=ae,me=a);else{var le=(b-te)/ge,ye=b-le*y;ie=ae,me=le*ie+ye}else if(ge===0){var be=(a-x)/re,ot=a-be*ae;ie=y,me=be*ie+ot}else{var be=(a-x)/re,le=(b-te)/ge,ot=a-be*ae,ye=b-le*y;ie=(ye-ot)/(be-le),me=be*ie+ot}return ne.x=ie,ne.y=me,ne}function we(ae,a,E,x,y,b,z,te,ne,re,ge,ie,me,le){var ye=1-ne,be=ne,ot=ae*ye+E*be,et=a*ye+x*be,ct=E*ye+y*be,lt=x*ye+b*be,Ft=y*ye+z*be,at=b*ye+te*be,mt=ot*ye+ct*be,Me=et*ye+lt*be,Ge=ct*ye+Ft*be,$e=lt*ye+at*be,Ye=mt*ye+Ge*be,Re=Me*ye+$e*be;re.x=ot,re.y=et,ge.x=mt,ge.y=Me,ie.x=Ye,ie.y=Re,me.x=Ge,me.y=$e,le.x=Ft,le.y=at}var ve=new go.Spot(.156,.156),Ce=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ce("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*se,b=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,E-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,E-y,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,x,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,y,E,0,E-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(b.spot1=new go.Spot(0,0,y,y),b.spot2=new go.Spot(1,1,-y,-y)),b}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,E).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=E/2,x.endX=a,x.endY=E/2,x}),go.Shape.defineFigureGenerator("LineV",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=E,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("XLine",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LineRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)))}),go.Shape.defineFigureGenerator("LineDown",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.25*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Line,a,.25*E)))}),go.Shape.defineFigureGenerator("LineLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,E)))}),go.Shape.defineFigureGenerator("LineUp",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.75*E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,a,.75*E)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ae,a,E){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*E,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Move,0,E/2)).add(new go.PathSegment(go.PathSegment.Line,a,E/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,E)))}),go.Shape.defineFigureGenerator("CircleLine",function(ae,a,E){var x=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=ve,y.spot2=Ce,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=E,x}),go.Shape.defineFigureGenerator("Line2",function(ae,a,E){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=E,x}),go.Shape.defineFigureGenerator("Curve1",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,se*a,0,a,(1-se)*E)))}),go.Shape.defineFigureGenerator("Curve2",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,E,0,se*E,(1-se)*a,E)))}),go.Shape.defineFigureGenerator("Curve3",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,se*E,se*a,E)))}),go.Shape.defineFigureGenerator("Curve4",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,E,(1-se)*a,0,0,(1-se)*E)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ce("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),y.5&&(x=.5);var y=Math.abs(x)*a;if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())):b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())),ya&&(x=a/2);var y=Math.abs(x);if(x===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=E,b}else{var b=new go.Geometry;return x>0?b.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,E)).add(new go.PathSegment(go.PathSegment.Line,y,E).close())):b.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close())),y0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+te,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,te,te).close())),b.spot1=ve,b.spot2=Ce,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Cloud",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*E,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*E,-.09239631*a,.07836421*E,.1406031*a,-.0542823*E)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*E,.2450511*a,-.00697547*E,.3776197*a,-.01112067*E)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*E,.4539471*a,0,.6066018*a,-.02526587*E)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*E,.6914277*a,-.01904177*E,.8921095*a,-.01220843*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*E,1.036446*a,.04105738*E,1.020377*a,.3022052*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*E,1.04448*a,.360238*E,.992256*a,.5219009*E)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*E,1.032337*a,.5771781*E,1.018411*a,.8120651*E)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*E,1.028411*a,.9571472*E,.8556702*a,1.052487*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*E,.7431877*a,1.009325*E,.5624123*a,1.021761*E)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*E,.4820677*a,1.031761*E,.3030112*a,1.002796*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*E,.2329994*a,1.01518*E,.03213784*a,1.01518*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*E,-.02812061*a,.9032597*E,-.01205169*a,.6835638*E)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*E,-.01812061*a,.6089503*E,-.00606892*a,.4555777*E)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*E,-.01606892*a,.3892545*E,-.01205169*a,.1944299*E))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ae,a,E){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,x*E).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ce("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ce("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ae,a,E){var x=ae?ae.parameter1:NaN,y=ae?ae.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var b=x%360;b<0&&(b+=360);var z=y%360,te=Math.min(a,E)/2;return new go.Geometry().add(new go.PathFigure(te,te).add(new go.PathSegment(go.PathSegment.Arc,b,z,te,te,te,te).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ae,a,E){var x=se/Math.SQRT2*.5,y=Math.SQRT2/2,b=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,b*E,a,(1-x)*E,(y+x)*a,(b+x)*E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ce("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ce("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,a)/2,b=a/2,z=E/2;return new go.Geometry().add(new go.PathFigure(b-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,b+y,0)).add(new go.PathSegment(go.PathSegment.Line,b+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,b+y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,E)).add(new go.PathSegment(go.PathSegment.Line,b-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,b-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new ce("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ae,a,E){var x=ae?ae.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||E===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=E,y}else{var b=a/2,z=E/2,te=Math.atan2(E,a),ne=x-Math.min(Math.cos(te)*x/2,b),re=x-Math.min(Math.sin(te)*x/2,z),y=new go.Geometry,ge=new go.PathFigure(ne,0,!0);return y.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,b,.2*E)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,a,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,a-ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,b,.8*E)),ge.add(new go.PathSegment(go.PathSegment.Line,ne,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E-re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new ce("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*E).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new ce("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new ce("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,b=new go.PathFigure(0,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,E,Math.abs(1-x)*a,.25*E,Math.abs(1-x)*a,.75*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,se*a,0,a,(.5-se/2)*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,(.5+se/2)*E,se*a,E).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,E,a,0,a,E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*E,.5*a,.25*E).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,.1*a,.8*E,0,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.5*E,.9*a,.8*E).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*E)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.6*a,.2*E,a,.25*E)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*E,a,.8*E,.6*a,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,.5*a,.75*E,.55*a,.95*E)).add(new go.PathSegment(go.PathSegment.Line,.25*a,E)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*E,.45*a,.95*E,.5*a,.75*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.4*a,.8*E,0,.8*E)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*E,0,.25*E,.4*a,.2*E).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.4*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,E,.5*a,.75*E,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*E,.55*a,.95*E,.5*a,.75*E));var b=.2,z=.3,te=0,ne=b*se;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z+.05)*a,(.5-ne+te-.02)*E)),b=.2,z=0,te=-.3,ne=b*se,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z)*a,(.5-ne+te)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ne+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),b=.2,z=-.3,te=0,ne=b*se,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*E,(1-.5+b+z-.05)*a,(.5-ne+te-.02)*E,(.5+ne+z)*a,(.5-b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*E,(.5-ne+z)*a,(.5-b+te)*E,(.5-b+z)*a,(.5-ne+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*E,(.5-b+z)*a,(.5+ne+te)*E,(.5-ne+z)*a,(.5+b+te)*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*E,(.5+ne+z)*a,(.5+b+te)*E,(.5+b+z)*a,(.5+ne+te)*E).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var b=.1,z=.5,te=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+b)*a,te*E)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,E*te,b*a,b*a).close()),y=new go.PathFigure(a*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),te=.75,y=new go.PathFigure((z+b)*a,te*E,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,E*te,b*a,b*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ae,a,E){var x=.8535533905932737,y=.5*a,b=.5*E;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,b,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*E)).add(new go.PathSegment(go.PathSegment.Move,y,b)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*E)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure(z*a,(te-b)*E);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),b=.4,y=se*.4;var re=ee(),ge=ee(),ie=ee(),me=ee();we(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.42,re,ge,ie,me,me);var le=ee(),ye=ee(),be=ee();we(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.58,me,me,be,le,ye);var ot=ee(),et=ee(),ct=ee();we(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.42,ot,et,ct,me,me);var lt=ee(),Ft=ee(),at=ee();return we(z,te+b,z-y,te+b,z-b,te+y,z-b,te,.58,me,me,at,lt,Ft),ne.add(new go.PathSegment(go.PathSegment.Move,at.x*a,at.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,lt.x*a,lt.y*E,Ft.x*a,Ft.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*a,ie.y*E,re.x*a,re.y*E,ge.x*a,ge.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,at.x*a,at.y*E).close()),ne.add(new go.PathSegment(go.PathSegment.Move,ct.x*a,ct.y*E)),ne.add(new go.PathSegment(go.PathSegment.Line,be.x*a,be.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,le.x*a,le.y*E,ye.x*a,ye.y*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ct.x*a,ct.y*E,ot.x*a,ot.y*E,et.x*a,et.y*E).close()),Le(re),Le(ge),Le(ie),Le(me),Le(le),Le(ye),Le(be),Le(ot),Le(et),Le(ct),Le(lt),Le(Ft),Le(at),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*E)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*E,a,.25*E,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,E)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*E,0,.25*E).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ce("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var y=(a-x)/2,b=y+x;return new go.Geometry().add(new go.PathFigure(b,.5*E).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Line,y,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,.55*E).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,a,.45*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*E).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ae,a,E){var x=new go.Geometry,y=se*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),ie=ee(),me=new go.PathFigure((z-b)*a,te*E,!1);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),we(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.44,ge,ie,re,ne,ne),me.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E));var le=oe(re.x,re.y);we(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.56,ne,ne,re,ge,ie);var ye=oe(re.x,re.y);me.add(new go.PathSegment(go.PathSegment.Line,(le.x*.1+.95*.9)*a,le.y*.1*E)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,le.y*.1*E)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),me.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,.15*E)),me.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.9)*a,(ye.y*.1+.05*.9)*E)),me.add(new go.PathSegment(go.PathSegment.Line,ye.x*a,ye.y*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),b=.35,y=se*.35;var be=new go.PathFigure(z*a,(te-b)*E,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E));var ot=new go.PathFigure((z-b)*a,te*E,!1);return x.add(ot),Le(ne),Le(re),Le(ge),Le(ie),Le(le),Le(ye),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(ae,a,E){var x=new go.Geometry,y=.375,b=0,z=-.125,te=y*se,ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E,(.5+te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.475+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.475*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E).close()),y=.325,b=0,z=-.125,te=y*se;var ne=new go.PathFigure((1-.5+y+b)*a,(.5+z)*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5+y+z)*E,(.5+y+b)*a,(.5+te+z)*E,(.5+te+b)*a,(.5+y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5+y+z)*E,(.5-y+b)*a,(.5+te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E,(.5-te+b)*a,(.5-y+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+b)*a,(.5+z)*E,(.5+te+b)*a,(.5-y+z)*E,(1-.5+y+b)*a,(.5-te+z)*E));var ne=new go.PathFigure((.525+b)*a,(.5+y+z)*E,!1);return x.add(ne),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(ae,a,E){var x=ae?ae.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ae,a,E){var x=ae?ae.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,x*a,E))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ae,a,E){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*E,.5*a,.5*E)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Move,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,0,.5*E)).add(new go.PathSegment(go.PathSegment.Move,a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,E)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*E)).add(new go.PathSegment(go.PathSegment.Line,a,.5*E)).add(new go.PathSegment(go.PathSegment.Move,0,E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(0,E,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*E)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,a,E))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ae,a,E){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*E)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*E,x*a,x*E)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ce("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ce("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=.3);var b=(1-x)*a,z=(.5-y/2)*E,te=(.5+y/2)*E,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=ke(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),Le(ge),ne}),go.Shape.setFigureParameter("Arrow2",0,new ce("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ce("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,E/2);var b=a-x,z=(E-y)/2,te=z+y,ne=new go.Geometry,re=new go.PathFigure(0,z,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b,z)),re.add(new go.PathSegment(go.PathSegment.Line,b,0)),re.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Line,b,E)),re.add(new go.PathSegment(go.PathSegment.Line,b,te)),re.add(new go.PathSegment(go.PathSegment.Line,0,te).close()),ne.spot1=new go.Spot(0,z/E);var ge=ke(0,te/E,1,te/E,b/a,1,1,.5,ee());return ne.spot2=new go.Spot(ge.x,ge.y),Le(ge),ne}),go.Shape.defineFigureGenerator("Chevron",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*E).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ce("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ne=ke(0,.5,.3,0,0,y/E,.1,y/E,ee());return z.spot1=new go.Spot(ne.x,ne.y),ne=ke(.7,1,1,.5,0,b/E,1,b/E,ne),z.spot2=new go.Spot(ne.x,ne.y),Le(ne),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ce("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ce("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close());var ie=ke(0,.5,.3,te/E,0,b/E,1,b/E,ee());return re.spot1=new go.Spot(ie.x,ie.y),ie=ke(.7,ne/E,1,.5,0,z/E,1,z/E,ie),re.spot2=new go.Spot(ie.x,ie.y),Le(ie),re}),go.Shape.setFigureParameter("IBeamArrow",0,new ce("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/E);var ne=ke(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Le(ne),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ce("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ce("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=40);var y=ae?ae.parameter2:NaN;isNaN(y)&&(y=100);var b=(E-x)/2,z=b+x,te=(E-y)/2,ne=te+y;(x>E||y>E)&&(y>x?(x=x*E/y,b=(E-x)/2,z=b+x,te=0,ne=E):(b=0,z=E,te=0,ne=E));var re=new go.Geometry,ge=new go.PathFigure(a,.5*E,!0);re.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,0,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*a,te).close()),re.spot1=new go.Spot(0,b/E);var ie=ke(.7,ne/E,1,.5,0,z/E,1,z/E,ee());return re.spot2=new go.Spot(ie.x,ie.y),Le(ie),re}),go.Shape.setFigureParameter("Pointer",0,new ce("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var z=ke(.2,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),Le(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new ce("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*E,x*a,.25*E).close()),y.spot1=new go.Spot(x,.35);var z=ke(0,.65,1,.65,0,1,1,.5,ee());return y.spot2=new go.Spot(z.x,z.y),Le(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new ce("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*E,b=(.5+x/2)*E,z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var ne=ke(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Le(ne),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ce("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=50);var y=(E-x)/2,b=y+x;x>E&&(y=0,b=E);var z=new go.Geometry,te=new go.PathFigure(a,.5*E,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/E);var ne=ke(.7,1,1,.5,0,b/E,1,b/E,ee());return z.spot2=new go.Spot(ne.x,ne.y),Le(ne),z}),go.Shape.setFigureParameter("SquareArrow",0,new ce("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,b=new go.PathFigure(a,.5*E,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,x*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=se*.1,z=new go.PathFigure(0,.9*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.9*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,E,.85/.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*E).close());var b=new go.PathFigure(0,.9*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*E,(1-.85/.9)*a,.8*E,.85/.9*a,.8*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.3*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var b=new go.PathFigure(0,.3*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=se*.5,z=new go.PathFigure(0,x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+b)*a,0,1*a,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*E,1*a,E-se*x,(.5+b)*a,1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,1*E,0,E-se*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var te=new go.PathFigure(a,x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-se*x,(.5+b)*a,2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-b)*a,2*x,0,2*x-se*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,b=se*.5,z=new go.PathFigure(0,E-x,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,se*x,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+b)*a,0,a,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,E-se*x,(.5+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,(.5-b)*a,E,0,E-se*x));var te=new go.PathFigure(0,E-x,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E-2*x,0,E-x-se*x,(.5-b)*a,E-2*x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,E-x,(.5+b)*a,E-2*x,a,E-x-se*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=se*.5,z=new go.PathFigure(x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-se*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-se*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,se*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,se*x,0));var te=new go.PathFigure(x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*E,x+se*x,0,2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,E,2*x,(.5+b)*E,x+se*x,E)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,b=se*.5,z=new go.PathFigure(a-x,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,a-se*x,0,a,(.5-b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a,(.5+b)*E,a-se*x,E)),z.add(new go.PathSegment(go.PathSegment.Line,x,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,se*x,E,0,(.5+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-b)*E,se*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var te=new go.PathFigure(a-x,0,!1);return y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*E,a-x-se*x,0,a-2*x,(.5-b)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,E,a-2*x,(.5+b)*E,a-x-se*x,E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.25*a,.25*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*E)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*E).close());var b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*E)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ae,a,E){var x=new go.Geometry,y=.2,b=.1,z=se*y,te=se*b,ne=.5,re=.1,ge=new go.PathFigure(ne*a,(re+b)*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*a,re*E,(ne-z)*a,(re+b)*E,(ne-y)*a,(re+te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-b)*E,(ne-y)*a,(re-te)*E,(ne-z)*a,(re-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*a,re*E,(ne+z)*a,(re-b)*E,(ne+y)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+b)*E,(ne+y)*a,(re+te)*E,(ne+z)*a,(re+b)*E));var ie=.05,me=se*ie;ne=.05,re=.25;var le=new go.PathFigure(.5*a,.2*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*E)),ne=.95,re=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+ie)*a,re*E,(ne+me)*a,(re-ie)*E,(ne+ie)*a,(re-me)*E)),le.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*E)),ie=.025,me=se*ie,ne=.825,re=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne+ie)*a,(re-me)*E,(ne+me)*a,(re-ie)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,re*E,(ne-me)*a,(re-ie)*E,(ne-ie)*a,(re-me)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E)),ie=.05,me=se*ie,ne=.5,re=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne+ie)*a,(re-me)*E,(ne+me)*a,(re-ie)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,re*E,(ne-me)*a,(re-ie)*E,(ne-ie)*a,(re-me)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*E)),ie=.025,me=se*ie,ne=.175,re=.35,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne+ie)*a,(re-me)*E,(ne+me)*a,(re-ie)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-ie)*a,re*E,(ne-me)*a,(re-ie)*E,(ne-ie)*a,(re-me)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),le.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),le.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),ie=.05,me=se*ie,ne=.05,re=.25,le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-ie)*E,(ne-ie)*a,(re-me)*E,(ne-me)*a,(re-ie)*E)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ce("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ae,a,E){var x=ae?ae.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,b=new go.PathFigure(a,0,!0);return y.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,x*E)),b.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E));var b=new go.PathFigure(.5*a,.5*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("Database",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=se*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*E,a,(.3+b)*E,(.5+y)*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*E,(.5-y)*a,.4*E,0,(.3+b)*E)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*E,.25*a,.1*E).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=se*.1,z=new go.PathFigure(a,.1*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.9+b)*E,(.5+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,(.5-y)*a,E,0,(.9+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-b)*E,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,(.5+y)*a,0,a,(.1-b)*E));var te=new go.PathFigure(a,.1*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,a,(.1+b)*E,(.5+y)*a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*E,(.5-y)*a,.2*E,0,(.1+b)*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,.2*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*E,a,(.2+b)*E,(.5+y)*a,.3*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*E,(.5-y)*a,.3*E,0,(.2+b)*E)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,E,a,0,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var b=se*.2,z=new go.PathFigure(0,.2*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-b)*E,(.2-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*E,(.8+b)*a,0,a,(.2-b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,E,a,(.8+b)*E,(.8+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*E,(.2-b)*a,E,0,(.8+b)*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*E));var te=new go.PathFigure(0,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(0,y*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*E)),x}),go.Shape.defineFigureGenerator("Document",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*E)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*E)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*E)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(.1*a,.4*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(.75*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E));var b=new go.PathFigure(a,.5*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,E));var z=new go.PathFigure(a,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Move,0,b*E)),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E)),x}),go.Shape.defineFigureGenerator("Junction",function(ae,a,E){var x=new go.Geometry,y=1/Math.SQRT2,b=(1-1/Math.SQRT2)/2,z=se*.5,te=.5,ne=new go.PathFigure(a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,E,a,(te+z)*E,(te+z)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*E,(te-z)*a,E,0,(te+z)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-z)*E,(te-z)*a,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,te*E,(te+z)*a,0,a,(te-z)*E));var re=new go.PathFigure((b+y)*a,(b+y)*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*a,b*E)),re.add(new go.PathSegment(go.PathSegment.Move,b*a,(b+y)*E)),re.add(new go.PathSegment(go.PathSegment.Line,(b+y)*a,b*E)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close());var b=new go.PathFigure(.1*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*E)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=.5,z=new go.PathFigure(.5*a,E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,(b+.1)*a,.9*E,a,(b+y)*E,(b+y)*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.7);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*E,.96*a,.47*E,.93*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*E,.86*a,.57*E,.83*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.4*a,.4*E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var b=new go.PathFigure(.1*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.1*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close());var b=new go.PathFigure(.2*a,.1*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*E)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*E)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=1-y,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close());var te=new go.PathFigure(.5*y*a,y*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*E)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ae,a,E){var x=new go.Geometry;E=E/.8;var y=new go.PathFigure(0,.7*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*E,.5*a,.6*E,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*E,.5*a,.4*E,.5*a,E).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN,b=ae?ae.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(b)&&(b=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure((1-y)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x}),go.Shape.defineFigureGenerator("Process",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E).close());var b=new go.PathFigure(0,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.25);var b=new go.PathFigure(y*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E));var z=new go.PathFigure(y*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,E)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,E)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*E,.25*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*E,.25*a,.5*E)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ae,a,E){var x=new go.Geometry,y=ae?ae.parameter1:NaN;isNaN(y)&&(y=.1);var b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*E).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(.5+y)*a,0,a,(.5-y)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,(.5+y)*E,(.5+y)*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=.5,z=new go.PathFigure(a,b*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,E,a,(b+y)*E,(b+y)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*E,(b-y)*a,E,0,(b+y)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-y)*E,(b-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*E,(b+y)*a,0,a,(b-y)*E));var te=new go.PathFigure(a,b*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*E));var ne=new go.PathFigure(.8*a,.75*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*E)),x}),go.Shape.defineFigureGenerator("Ground",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),x}),go.Shape.defineFigureGenerator("Inverter",function(ae,a,E){var x=new go.Geometry,y=se*.1,b=.1,z=.9,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E));var re=new go.PathFigure((z+b)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=se*.4,z=se*.1,te=.1,ne=.9,re=.5,ge=new go.PathFigure(.8*a,.5*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,.8*a,(.5+b)*E,(.4+y)*a,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,E)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(.4+y)*a,0,.8*a,(.5-b)*E));var ie=new go.PathFigure((ne+te)*a,re*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+te)*E,(ne+te)*a,(re+z)*E,(ne+z)*a,(re+te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a,re*E,(ne-z)*a,(re+te)*E,(ne-te)*a,(re+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-te)*E,(ne-te)*a,(re-z)*E,(ne-z)*a,(re-te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a,re*E,(ne+z)*a,(re-te)*E,(ne+te)*a,(re-z)*E)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=se*y,z=0,te=.5,ne=new go.PathFigure(.8*a,.5*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=se*.1,z=.9,te=.5;var re=new go.PathFigure((z-y)*a,te*E,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=se*y,z=0,te=.5,ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b+b)*a,(te-y)*E,.8*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.8*a,(te+b)*E,(z+b+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*E,.25*a,.25*E).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=se*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.8*a,.5*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.7*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*E,(z+b)*a,(te-y)*E,.7*a,(te-b)*E)),y=.1,b=se*.1,z=.9,te=.5;var ge=new go.PathFigure((z-y)*a,te*E,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ae,a,E){var x=new go.Geometry,y=.5,b=se*y,z=.2,te=.5,ne=new go.PathFigure(.1*a,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,E,.35*a,.25*E,.35*a,.75*E));var re=new go.PathFigure(.2*a,0,!0);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,(z+b)*a,(te-y)*E,.9*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,E,.9*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*E,.45*a,.25*E).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Resistor",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),x}),go.Shape.defineFigureGenerator("Inductor",function(ae,a,E){var x=new go.Geometry,y=se*.1,b=.1,z=.1,te=.5,ne=new go.PathFigure((z-y*.5)*a,E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.3,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.5,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.7,ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,E,(z+b)*a,0,(z+y)*a,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,0,(z-y)*a,E,(z-b)*a,0)),z=.9,ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,E,(z+b)*a,0,(z+y)*a,E)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ae,a,E){var x=new go.Geometry,y=se*.5,b=.5,z=.5,te=.5,ne=new go.PathFigure((z-b)*a,te*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-b)*E,(z-b)*a,(te-y)*E,(z-y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te-b)*E,(z+b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Move,(z-b+.1)*a,te*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b-.1)*a,te*E,z*a,(te-b)*E,z*a,(te+b)*E)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("Diode",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ae,a,E){var x=new go.Geometry,y=a,b=E;a=a*.38,E=E*.6;var z=se*.8,te=.8,ne=0,re=.5,ge=(y-a)/2,ie=(b-E)/2,me=new go.PathFigure(ne*a+ge,(re+te)*E+ie,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+ie,(ne-z)*a+ge,(re+te)*E+ie,(ne-te)*a+ge,(re+z)*E+ie)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne-te)*a+ge,(re-z)*E+ie,(ne-z)*a+ge,(re-te)*E+ie)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+ie,ne*a+ge,(re-te)*E+ie,(ne-te+z*.5)*a+ge,(re-z)*E+ie)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne-te+z*.5)*a+ge,(re+z)*E+ie,ne*a+ge,(re+te)*E+ie).close()),z=se*.4,te=.4,ne=.2,re=.5;var le=new go.PathFigure(ne*a+ge,(re+te)*E+ie,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+ie,(ne-z)*a+ge,(re+te)*E+ie,(ne-te)*a+ge,(re+z)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne-te)*a+ge,(re-z)*E+ie,(ne-z)*a+ge,(re-te)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te+z*.5)*a+ge,re*E+ie,ne*a+ge,(re-te)*E+ie,(ne-te+z*.5)*a+ge,(re-z)*E+ie)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne-te+z*.5)*a+ge,(re+z)*E+ie,ne*a+ge,(re+te)*E+ie).close()),z=se*.2,te=.2,ne=.5,re=.5;var ye=new go.PathFigure((ne-te)*a+ge,re*E+ie,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne-te)*a+ge,(re-z)*E+ie,(ne-z)*a+ge,(re-te)*E+ie)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+ie,(ne+z)*a+ge,(re-te)*E+ie,(ne+te)*a+ge,(re-z)*E+ie)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne+te)*a+ge,(re+z)*E+ie,(ne+z)*a+ge,(re+te)*E+ie)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*a+ge,re*E+ie,(ne-z)*a+ge,(re+te)*E+ie,(ne-te)*a+ge,(re+z)*E+ie)),z=se*.4,te=.4,ne=.8,re=.5;var be=new go.PathFigure(ne*a+ge,(re-te)*E+ie,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+ie,(ne+z)*a+ge,(re-te)*E+ie,(ne+te)*a+ge,(re-z)*E+ie)),be.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne+te)*a+ge,(re+z)*E+ie,(ne+z)*a+ge,(re+te)*E+ie)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+ie,ne*a+ge,(re+te)*E+ie,(ne+te-z*.5)*a+ge,(re+z)*E+ie)),be.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne+te-z*.5)*a+ge,(re-z)*E+ie,ne*a+ge,(re-te)*E+ie).close()),z=se*.8,te=.8,ne=1,re=.5;var ot=new go.PathFigure(ne*a+ge,(re-te)*E+ie,!0);return x.add(ot),ot.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*a+ge,re*E+ie,(ne+z)*a+ge,(re-te)*E+ie,(ne+te)*a+ge,(re-z)*E+ie)),ot.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re+te)*E+ie,(ne+te)*a+ge,(re+z)*E+ie,(ne+z)*a+ge,(re+te)*E+ie)),ot.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-z*.5)*a+ge,re*E+ie,ne*a+ge,(re+te)*E+ie,(ne+te-z*.5)*a+ge,(re+z)*E+ie)),ot.add(new go.PathSegment(go.PathSegment.Bezier,ne*a+ge,(re-te)*E+ie,(ne+te-z*.5)*a+ge,(re-z)*E+ie,ne*a+ge,(re-te)*E+ie).close()),x}),go.Shape.defineFigureGenerator("Email",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Move,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*E)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var b=new go.PathFigure(.1*a,E,!0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var z=new go.PathFigure(.6*a,E,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,E).close());var te=new go.PathFigure(0,.5*E,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*E)),te.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*E)),te.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*E)),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*E)),x}),go.Shape.defineFigureGenerator("Power",function(ae,a,E){var x=new go.Geometry,y=se*.4,b=.4,z=.5,te=.5,ne=ee(),re=ee(),ge=ee(),ie=ee();we(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,ie);var me=oe(re.x,re.y),le=new go.PathFigure(re.x*a,re.y*E,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z+b)*a,(te+y)*E,(z+y)*a,(te+b)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,(z-y)*a,(te+b)*E,(z-b)*a,(te+y)*E)),we(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,ie,re,ne,ne),le.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ge.x*a,ge.y*E,ie.x*a,ie.y*E)),y=se*.3,b=.3,we(z-b,te,z-b,te-y,z-y,te-b,z,te-b,.5,ge,ie,re,ne,ne),le.add(new go.PathSegment(go.PathSegment.Line,re.x*a,re.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,te*E,ie.x*a,ie.y*E,ge.x*a,ge.y*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+b)*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,te*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),we(z,te-b,z+y,te-b,z+b,te-y,z+b,te,.5,ne,ne,re,ge,ie),le.add(new go.PathSegment(go.PathSegment.Bezier,re.x*a,re.y*E,ie.x*a,ie.y*E,ge.x*a,ge.y*E).close());var le=new go.PathFigure(.45*a,0,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*E)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*E)),le.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Le(ne),Le(re),Le(ge),Le(ie),Le(me),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,E/2,a/2,E/2));function b(z,te,ne){z.add(new go.PathSegment(go.PathSegment.Move,(.3+te)*a,(.8+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+te)*a,(.5+ne)*E)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+te)*a,(.8+ne)*E).close())}return b(y,0,0),b(y,.4,0),b(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*E)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*E)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*E)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*E).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*E,.45*a,.44*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*E,.48*a,.17*E,.54*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*E,.59*a,.29*E,.58*a,.28*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*E,.8*a,.34*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*E,.87*a,.48*E,.88*a,.43*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,1.17*a,.76*E,.82*a,.8*E).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ae,a,E){var x=new go.Geometry,y=.5,b=0,z=0,te=y*se,ne=.4*Math.SQRT2/2+.5,re=.5-.5*Math.SQRT2/2,ge=1,ie=.5,me=.5,le=0,ye=new go.PathFigure(ne*a,(1-re)*E,!1);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,ie*E,ge*a,.7*E,ge*a,ie*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+b)*a,(le+b)*E,(.5+y+b)*a,(.5-te+b)*E,(.5+te+b)*a,(.5-y+b)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+b)*a,(.5+z)*E,(.5-te+b)*a,(.5-y+z)*E,(.5-y+b)*a,(.5-te+z)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(.35+b)*a,.9*E,(.5-y+b)*a,(.5+te+z)*E,(.5-te+b)*a,.9*E)),ye.add(new go.PathSegment(go.PathSegment.Move,(.25+b)*a,.8*E)),ye.add(new go.PathSegment(go.PathSegment.Line,(.35+b)*a,.9*E)),ye.add(new go.PathSegment(go.PathSegment.Line,(.2+b)*a,.95*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.2*a,.35*E,.3*a,.35*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.7*a,.65*E,.8*a,.65*E)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E).close());var y=new go.PathFigure(0,.2*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.7*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,E,.4*a,.5*E,a,.5*E).close());var b=new go.PathFigure(.45*a,.73*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*E)),b.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*E)),b.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*E)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(.335*a,(1-.555)*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*E,(1-.12)*a,.46*E,(1-.02)*a,.54*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*E,.02*a,.54*E,.12*a,.46*E)),b.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*E));var z=.5-.285,te=.5,ne=z,re=Math.PI/4,ge=4*(1-Math.cos(re))/(3*Math.sin(re)),ie=ge*.5,me=z,le=z,ye=ge*me,be=ge*le;b.add(new go.PathSegment(go.PathSegment.Bezier,(te-me)*a,ne*E,(te-(ye+me)/2)*a,(ne+(le+be)/2)*E,(te-me)*a,(ne+be)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ne-le)*E,(te-me)*a,(ne-be)*E,(te-ye)*a,(ne-le)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(te+me)*a,ne*E,(te+ye)*a,(ne-le)*E,(te+me)*a,(ne-be)*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*E,(te+me)*a,(ne+be)*E,(te+(ye+me)/2)*a,(ne+(le+be)/2)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*E)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*E)),b.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*E));var ot=new go.PathFigure(.2*a,E,!1);x.add(ot),ot.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*E));var et=new go.PathFigure(.8*a,E,!1);return x.add(et),et.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,E).close());var b=new go.PathFigure(.2*a,.2*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*E)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var b=new go.PathFigure(a,E,!1);x.add(b);var z=new go.PathFigure(.1*a,E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.05*a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*E,0,E,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*E,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,E,a,E,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,E));var b=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-b)*a,.875*E)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*E,b*a,b*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*E,.575*a,.725*E,.625*a,.375*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*E,.375*a,.375*E,.425*a,.725*E)),x}),go.Shape.defineFigureGenerator("Recycle",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.45*a,.95*E,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*E,.17*a,.95*E,.15*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*E,0,.675*E,0,.7*E)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*E)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*E));var b=new go.PathFigure(.475*a,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*E)),b.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*E,.35*a,0,.375*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*E)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*E)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*E)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*E,.625*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*E));var z=new go.PathFigure(.675*a,.575*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*E,a,.8*E,a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*E)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*E)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*E)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*E)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ae,a,E){var x=new go.Geometry,y=.5,b=se*.5,z=new go.PathFigure(a,y*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,E,a,(y+b)*E,(y+b)*a,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*E,(y-b)*a,E,0,(y+b)*E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-b)*E,(y-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*E,(y+b)*a,0,a,(y-b)*E));var te=new go.PathFigure(y*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,E)),te.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*E)),te.add(new go.PathSegment(go.PathSegment.Move,0,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*E)),te.add(new go.PathSegment(go.PathSegment.Move,y*a,y*E)),te.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*E)),x}),go.Shape.defineFigureGenerator("Package",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.15*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close());var b=new go.PathFigure(0,.15*E,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*E).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(0,.5*E,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*E).close()),x}),go.Shape.defineFigureGenerator("Component",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close());var b=new go.PathFigure(0,.2*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*E)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*E).close());var z=new go.PathFigure(0,.6*E,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*E)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*E).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.15*a,.6*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*E));var b=new go.PathFigure(.15*a,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*E)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*E)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(a,.8*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*E).close());var z=.1,te=se*.1,ne=.2,re=.9,ge=new go.PathFigure((ne-z)*a,re*E,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),z=.1,te=se*.1,ne=.8,re=.9;var ie=new go.PathFigure((ne-z)*a,re*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re-z)*E,(ne-z)*a,(re-te)*E,(ne-te)*a,(re-z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*a,re*E,(ne+te)*a,(re-z)*E,(ne+z)*a,(re-te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*a,(re+z)*E,(ne+z)*a,(re+te)*E,(ne+te)*a,(re+z)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*a,re*E,(ne-te)*a,(re+z)*E,(ne-z)*a,(re+te)*E).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,E)),x}),go.Shape.defineFigureGenerator("Forklift",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var b=new go.PathFigure(0,.5*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var z=new go.PathFigure(.5*a,.8*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*E)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*E));var te=new go.PathFigure(.5*a,.7*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.7*E));var ne=.1,re=se*.1,ge=.1,ie=.9,me=new go.PathFigure((ge-ne)*a,ie*E,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie-ne)*E,(ge-ne)*a,(ie-re)*E,(ge-re)*a,(ie-ne)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,ie*E,(ge+re)*a,(ie-ne)*E,(ge+ne)*a,(ie-re)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie+ne)*E,(ge+ne)*a,(ie+re)*E,(ge+re)*a,(ie+ne)*E)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,ie*E,(ge-re)*a,(ie+ne)*E,(ge-ne)*a,(ie+re)*E)),ne=.1,re=se*.1,ge=.4,ie=.9;var le=new go.PathFigure((ge-ne)*a,ie*E,!0);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie-ne)*E,(ge-ne)*a,(ie-re)*E,(ge-re)*a,(ie-ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*a,ie*E,(ge+re)*a,(ie-ne)*E,(ge+ne)*a,(ie-re)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(ie+ne)*E,(ge+ne)*a,(ie+re)*E,(ge+re)*a,(ie+ne)*E)),le.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*a,ie*E,(ge-re)*a,(ie+ne)*E,(ge-ne)*a,(ie+re)*E)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.1*a,.4*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*E).close());var b=new go.PathFigure(.45*a,.7*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*E));var z=new go.PathFigure(.55*a,.4*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*E)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*E).close());var ge=.05,ie=se*.05,me=.175,le=.95,te=new go.PathFigure((me-ge)*a,le*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le-ge)*E,(me-ge)*a,(le-ie)*E,(me-ie)*a,(le-ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(me+ge)*a,le*E,(me+ie)*a,(le-ge)*E,(me+ge)*a,(le-ie)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le+ge)*E,(me+ge)*a,(le+ie)*E,(me+ie)*a,(le+ge)*E)),te.add(new go.PathSegment(go.PathSegment.Bezier,(me-ge)*a,le*E,(me-ie)*a,(le+ge)*E,(me-ge)*a,(le+ie)*E));var ge=.05,ie=se*.05,me=.375,le=.95,ne=new go.PathFigure((me-ge)*a,le*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le-ge)*E,(me-ge)*a,(le-ie)*E,(me-ie)*a,(le-ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(me+ge)*a,le*E,(me+ie)*a,(le-ge)*E,(me+ge)*a,(le-ie)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le+ge)*E,(me+ge)*a,(le+ie)*E,(me+ie)*a,(le+ge)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(me-ge)*a,le*E,(me-ie)*a,(le+ge)*E,(me-ge)*a,(le+ie)*E));var ge=.05,ie=se*.05,me=.625,le=.95,re=new go.PathFigure((me-ge)*a,le*E,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le-ge)*E,(me-ge)*a,(le-ie)*E,(me-ie)*a,(le-ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(me+ge)*a,le*E,(me+ie)*a,(le-ge)*E,(me+ge)*a,(le-ie)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le+ge)*E,(me+ge)*a,(le+ie)*E,(me+ie)*a,(le+ge)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(me-ge)*a,le*E,(me-ie)*a,(le+ge)*E,(me-ge)*a,(le+ie)*E));var ge=.05,ie=se*.05,me=.825,le=.95,ye=new go.PathFigure((me-ge)*a,le*E,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le-ge)*E,(me-ge)*a,(le-ie)*E,(me-ie)*a,(le-ge)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+ge)*a,le*E,(me+ie)*a,(le-ge)*E,(me+ge)*a,(le-ie)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(le+ge)*E,(me+ge)*a,(le+ie)*E,(me+ie)*a,(le+ge)*E)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-ge)*a,le*E,(me-ie)*a,(le+ge)*E,(me-ge)*a,(le+ie)*E).close());var be=new go.PathFigure(0,E,!1);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,a,E).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var b=new go.PathFigure(0,.2*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*E).close());var z=new go.PathFigure(.15*a,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*E)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,E)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,E).close());var te=.05,ne=se*.05,re=.35,ge=.775,ie=new go.PathFigure((re-te)*a,ge*E,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge-te)*E,(re-te)*a,(ge-ne)*E,(re-ne)*a,(ge-te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(re+te)*a,ge*E,(re+ne)*a,(ge-te)*E,(re+te)*a,(ge-ne)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*a,(ge+te)*E,(re+te)*a,(ge+ne)*E,(re+ne)*a,(ge+te)*E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(re-te)*a,ge*E,(re-ne)*a,(ge+te)*E,(re-te)*a,(ge+ne)*E).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.75*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*E)),x}),go.Shape.defineFigureGenerator("Globe",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*E,.75*a,0,a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,a,.75*E,.75*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.25*a,E,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*E,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,E,.15*a,.25*E,.15*a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*E,.85*a,.25*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*E,.35*a,.3*E,.65*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*E,.35*a,.7*E,.65*a,.7*E)),x}),go.Shape.defineFigureGenerator("Wave",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.25*E,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*E,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*E,.425*a,.5*E,.575*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*E,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*E,.1*a,.5*E,.2*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*E,.425*a,E,.575*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*E,.8*a,.5*E,.9*a,.5*E)),x}),go.Shape.defineFigureGenerator("Operator",function(ae,a,E){var x=new go.Geometry,y=.3,b=se*.3,z=.5,te=.7,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(0,.7*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*E,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.65*a,.3*E,.65*a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*E,.35*a,.3*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,E,.3*a,.6*E,.1*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.2*a,E,.35*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,E,.7*a,.6*E,.9*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*E,.8*a,E,.65*a,.95*E)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,0,.075*E,0,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,E,0,E,.4*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*E,.8*a,E,.85*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*E));var b=new go.PathFigure(0,.6*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,0,.4*E)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*E)),x}),go.Shape.defineFigureGenerator("Delete",function(ae,a,E){var x=new go.Geometry,y=.5,b=se*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E));var re=new go.PathFigure(.15*a,.5*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*E)),x}),go.Shape.defineFigureGenerator("Flag",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.1*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*E,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*E,.65*a,.2*E,.85*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*E,.85*a,.6*E,.65*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*E,.35*a,.4*E,.15*a,.4*E).close()),x}),go.Shape.defineFigureGenerator("Help",function(ae,a,E){var x=new go.Geometry,y=.5,b=se*.5,z=.5,te=.5,ne=new go.PathFigure((z-y)*a,te*E,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),y=.05,b=se*.05,z=.5,te=.8;var re=new go.PathFigure((z-y)*a,te*E,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te-y)*E,(z-y)*a,(te-b)*E,(z-b)*a,(te-y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,te*E,(z+b)*a,(te-y)*E,(z+y)*a,(te-b)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(te+y)*E,(z+y)*a,(te+b)*E,(z+b)*a,(te+y)*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,te*E,(z-b)*a,(te+y)*E,(z-y)*a,(te+b)*E).close()),re.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*E)),re.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*E,.75*a,.475*E,.75*a,.225*E)),re.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*E,.4*a,.2*E,.3*a,.25*E)),x}),go.Shape.defineFigureGenerator("Location",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.5*a,E,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*E,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*E,.5*a,0,.025*a,.025*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Lock",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*E)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*E));var b=new go.PathFigure(.2*a,.5*E,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*E)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*E)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*E,.25*a,0,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*E)),x}),go.Shape.defineFigureGenerator("Gear",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*E,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*E,.79840625*a,.39915625*E,.7834375*a,.3635*E)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*E)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*E)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*E,.64228125*a,.2188125*E,.603875*a,.2021875*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*E)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*E,.39759375*a,.20190625*E,.36053125*a,.2176875*E)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*E)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*E)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*E)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*E,.21765625*a,.36059375*E,.201875*a,.397625*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*E)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*E)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*E,.20221875*a,.603875*E,.21884375*a,.64228125*E)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*E,.36353125*a,.78340625*E,.3991875*a,.79840625*E)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*E)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*E,.602375*a,.79809375*E,.63946875*a,.78234375*E)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*E)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*E)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*E)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*E,.78234375*a,.63940625*E,.798125*a,.602375*E)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*E).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*E)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*E,.1*a,.1*E).close()))}),go.Shape.defineFigureGenerator("Hand",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.5*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*E,0,.375*E,.05*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*E,.3*a,.225*E,.4*a,.175*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*E,.46*a,.05*E,.525*a,.05*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*E,.525*a,.275*E,.475*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*E,a,.4*E,a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*E,.675*a,.55*E,.675*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*E,.65*a,.7*E,.65*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,E,.61*a,.85*E,.61*a,E)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*E,.435*a,E,0,E).close()),x}),go.Shape.defineFigureGenerator("Map",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,.2*E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*E)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*E)),x}),go.Shape.defineFigureGenerator("Eject",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,E)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.7).close());var b=new go.PathFigure(0,E*.6,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*E)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*E).close()))}),go.Shape.defineFigureGenerator("Building",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,E*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,E*.85).close());var b=new go.PathFigure(.126*a,.85*E,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*E)),b.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*E).close());var z=new go.PathFigure(.402*a,.85*E,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*E)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*E).close());var te=new go.PathFigure(.678*a,.85*E,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*E)),te.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*E).close());var ne=new go.PathFigure(.5*a,.1*E,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*E)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*E).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,E*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,E*(1-.184)).close());var b=new go.PathFigure(a*.204,E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.204,E*(1-.184))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*(1-.184*2))),b.add(new go.PathSegment(go.PathSegment.Line,a*.388,E*1).close());var z=new go.PathFigure(a*.408,E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,E*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,E*1).close());var te=new go.PathFigure(a*.612,E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.612,E*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*.796,E*1).close());var ne=new go.PathFigure(a*.816,E,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.816,E*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-.184*5))),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var b=new go.PathFigure(a*.055,.07*E,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.07)),b.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.1).close());var z=new go.PathFigure(a*.055,.13*E,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.16).close());var te=new go.PathFigure(a*.055,.18*E,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.18)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,E*.21)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,E*.21).close());var ne=new go.PathFigure(a*1,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.65)),ne.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(.55*a,E,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*E)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*E,0,.4*E,.225*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*E)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*E)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*E)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*E,.975*a,0,a,.08*E)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*E)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*E)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,E).close()),x}),go.Shape.defineFigureGenerator("Key",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*1,E*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*E)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*E)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*E).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*E)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*E,.075*a,.075*E).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*0)),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1));var z=new go.PathFigure(a*.11,E*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),E*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,E*.8).close());var te=new go.PathFigure(a*(.11+.24133333*1+.028*1),E*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),E*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),E*.8).close());var ne=new go.PathFigure(a*(.11+.24133333*2+.028*2),E*.1,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),E*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),E*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ae,a,E){var x=new go.Geometry,y=8,b=y*se,z=new go.PathFigure(y,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,b,b,0).close());var te=new go.PathFigure(a*.83,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.3)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*0).close());var ne=new go.PathFigure(a*.83,E*1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,a*.83,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*.5)),ne.add(new go.PathSegment(go.PathSegment.Line,a*.17,E*1).close());var re=new go.PathFigure(a*.78,E*.05,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.05)),re.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.25)),re.add(new go.PathSegment(go.PathSegment.Line,a*.78,E*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ae,a,E){var x=ae?ae.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,E/3);var y=x*se,b=E*.8,z=new go.Geometry,te=new go.PathFigure(x,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-y,0,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,b-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,b,a,b-y,a-y,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,b)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,E)),te.add(new go.PathSegment(go.PathSegment.Line,a*.55,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b-x,y,b,0,b-y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,E*.45).close());var b=new go.PathFigure(a*1,E*.55,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ae,a,E){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E)).add(new go.PathSegment(go.PathSegment.Line,0,E).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*E)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*E)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*E).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*E)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*E).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*E)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*E)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*E).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.9).close());var b=new go.PathFigure(a*.1,E*.2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.22,E*.285)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.1,E*.37)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.32)),b.add(new go.PathSegment(go.PathSegment.Line,a*.275,E*.25).close());var z=new go.PathFigure(a*.28,E*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,E*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ae,a,E){var x=new go.Geometry,y=15,b=y*se,z=new go.PathFigure(a*.62,E*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,E-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,E,a,E-b,a-b,E)),z.add(new go.PathSegment(go.PathSegment.Line,y,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E-y,b,E,0,E-b)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,E*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,E*.03).close()),b>1?(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.4,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*0,E*1,!0);x.add(y);var b=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,E*(1-b))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*(1-b)).close());var z=new go.PathFigure(a*.5,E*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,E*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,E*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.15,E*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,E*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,E*1).close());var b=new go.PathFigure(a*.235,E*.28,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.765,E*.28)),b.add(new go.PathSegment(go.PathSegment.Line,a*.655,E*.97)),b.add(new go.PathSegment(go.PathSegment.Line,a*.345,E*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ae,a,E){var x=new go.Geometry,y=new go.PathFigure(a*.5,E*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,E*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,E*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,E*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,E*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93127:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ce={},_e="5.0",oe={},ee=null,Le=!1,ke=!1,we=null,ve=!1,Ce=null,se=null,Be=0;Be4?parseFloat(Pe):5};ce.setHTML5Codebase=function(Pe,fe){se=Pe,$e(Pe,fe)},ce.setJavaCodebase=ce.setJavaCodebaseVersion=ce.isCompiledInstalled=ce.setPreCompiledScriptPath=ce.setPreCompiledResourcePath=function(){},ce.setHTML5CodebaseVersion=function(Pe,fe){var Ne=parseFloat(Pe);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}Ce=Pe,Ge(Pe,fe)},ce.getHTML5CodebaseVersion=function(){return ae},ce.getParameters=function(){return oe},ce.setFontsCSSURL=function(Pe){z=Pe},ce.setGiacJSURL=function(Pe){},ce.setJNLPFile=function(Pe){Ae=Pe},ce.setJNLPBaseDir=function(Pe){},ce.inject=function(){function Pe(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var fe="auto",Ne=oe.id,rt,Te=!1,Ze=0;Ze=5)return!0;var Pe=ce.getAppletObject();return Pe&&typeof Pe.recalculateEnvironments=="function"?(Pe.recalculateEnvironments(),!0):!1},ce.startAnimation=function(){var Pe=ce.getAppletObject();return Pe&&typeof Pe.startAnimation=="function"?(Pe.startAnimation(),!0):!1},ce.stopAnimation=function(){var Pe=ce.getAppletObject();return Pe&&typeof Pe.stopAnimation=="function"?(Pe.stopAnimation(),!0):!1},ce.getAppletObject=function(){var Pe=oe.id!==void 0?oe.id:"ggbApplet";return window[Pe]},ce.resize=function(){};var ye=function(Pe,fe,Ne){var rt=document.createElement("param");rt.setAttribute("name",fe),rt.setAttribute("value",Ne),Pe.appendChild(rt)},be=function(Pe){return Pe&&Pe!=="false"},ot=function(Pe,fe,Ne){ne(ae)<=4.2&&(Ne=!0);var rt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ae||ggbHTML5LoadedCodebaseIsWebSimple&&!E)&&(rt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Te=document.createElement("div");Te.classList.add("appletParameters","notranslate");var Ze=fe.width,de=fe.height;if(fe.disableAutoScale=fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():fe.disableAutoScale,fe.width!==void 0)if(ne(ae)<=4.4)be(fe.showToolBar)&&(fe.height-=7),be(fe.showAlgebraInput)&&(fe.height-=37),fe.width<605&&be(fe.showToolBar)&&(fe.width=605,Ze=605);else{var Qe=100;(be(fe.showToolBar)||be(fe.showMenuBar))&&(fe.hasOwnProperty("customToolBar")&&(fe.customToolbar=fe.customToolBar),Qe=be(fe.showMenuBar)?245:155),Ze=5?(fe.appletOnLoad=function(Tt){var un=Pe.querySelector(".ggb_preview");un&&un.parentNode.removeChild(un),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(We),window.GGBT_wsf_view&&$(window).trigger("resize"),Ue(Tt)},st||We.appendChild(xt)):Te.appendChild(xt),We.appendChild(Te),st||Pe.appendChild(We),setTimeout(function(){ce.resize()},1)}else{var Bt=document.createElement("div");Bt.className="applet_scaler",Bt.style.position="relative",Bt.style.display="block",Bt.appendChild(Te),Pe.appendChild(Bt),fe.appletOnLoad=function(Tt){ce.resize(),Ue(Tt)}}function Ot(Tt,un){un&&typeof un.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Tt,un.appletOnLoad):renderGGBElement(Tt),Ye("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",un)}function jt(Tt,un){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Tt,params:un}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(it){Ot(it.article,it.params)}),html5AppletsToProcess=null)},ne(ae)<5&&(Tt.className+=" geogebraweb")):Ot(Tt,un)}if(rt){scriptLoadStarted=!0;for(var Rt=0;Rt0?(je.remove(),We.attr("id","fullscreencontent").show(),jQuery(Ue).append(We),window.dispatchEvent(new Event("resize"))):ot(je,fe,!1),window.GGBT_wsf_view.launchFullScreen(Ue)}else Fe=rt,ot(Pe,fe,!1);if(!window.GGBT_wsf_view)for(de=0;dePe/4*3&&(je=Pe/4*3),Ue=je/5.8,Qe.setAttribute("src",y),Qe.setAttribute("width",je),Qe.setAttribute("height",Ue);var We=(Pe-je)/2,st=(fe-Ue)/2;Qe.style.left=We+"px",Qe.style.top=st+"px",Te.appendChild(Qe)}}return Te.appendChild(de),Te},mt=function(Pe){return Pe=Pe.toLowerCase(),Pe==="html5"||Pe==="screenshot"?Pe:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],Ge=function(Pe,fe){if(ae=Pe,fe){$e(ae,!0);return}var Ne=!Le;if(Ne){var rt=ne(ae);!isNaN(rt)&&rt<4.4&&(Ne=!1)}var Te,Ze;window.location.protocol.substr(0,4)==="http"?Te=window.location.protocol:Te="http:";var de=ae.indexOf("//");de>0?Ze=ae:de===0?Ze=Te+ae:Ze="https://www.geogebra.org/apps/5.2.814.0/";for(var Qe in Me)if(ae.slice(Me[Qe].length*-1)===Me[Qe]||ae.slice((Me[Qe].length+1)*-1)===Me[Qe]+"/"){$e(Ze,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!be(oe.showToolBar)&&!be(oe.showMenuBar)&&!be(oe.showAlgebraInput)&&!be(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?Ze+="webSimple/":Ze+="web3d/",$e(Ze,!1)},$e=function(Pe,fe){if(Pe.requirejs){Ie=Pe;return}Pe.slice(-1)!=="/"&&(Pe+="/"),Ie=Pe,fe===null&&(fe=Pe.indexOf("http")===-1),Oe=fe,a="web.nocache.js",E=!1;var Ne=Ie.split("/");Ne.length>1&&(!fe&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",E=!0):Me.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=Pe.split("/"),ae=Ne[Ne.length-3],ae.substr(0,4)==="test"?ae=ae.substr(4,1)+"."+ae.substr(5,1):(ae.substr(0,3)==="war"||ae.substr(0,4)==="beta")&&(ae="5.0");var rt=parseFloat(ae);rt!==NaN&&rt<5&&Pe.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+rt+" is deprecated. Using version latest instead."),Ge("5.0",fe))},Ye=function(Pe,fe){window.console&&window.console.log&&(!fe||typeof fe.showLogging=="undefined"||fe.showLogging&&fe.showLogging!=="false")&&console.log(Pe)};oe.material_id!==void 0?ie(Re):Re();function Re(){var Pe=_e;Ce!==null?Pe=Ce:parseFloat(Pe)<5&&(Pe="5.0"),Ge(Pe,!1),se!==null&&$e(se,Oe),ve=!0}return ce},GGBAppletUtils=function(){"use strict";function ce(){return window.GGBT_wsf_edit!==void 0}function _e(ve,Ce){Ce!=1?(ve.style.transformOrigin="0% 0% 0px",ve.style.webkitTransformOrigin="0% 0% 0px",ve.style.transform="scale("+Ce+","+Ce+")",ve.style.webkitTransform="scale("+Ce+","+Ce+")",ve.style.maxWidth="initial",ve.querySelector(".ggb_preview")!==null&&(ve.querySelector(".ggb_preview").style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ve.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ve.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ve.style.transform="none",ve.style.webkitTransform="none")}function oe(ve,Ce,se,Be,Ee,Ae){var Ie=null;if(Ae!=null&&Ae!="")for(var Oe=ve.parentNode;Oe!=null;)if((" "+Oe.className+" ").indexOf(" "+Ae+" ")>-1){Ie=Oe;break}else Oe=Oe.parentNode;var Fe=0,ae=0,a=0,E=0,x=0,y=0,b=0;if(Ie)Fe=Ie.offsetWidth,ae=Math.max(Be?Ie.offsetWidth:0,Ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Fe=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Fe):(Fe=window.innerWidth,ae=window.innerHeight,a=window.innerWidth),ve){var z=ve.getBoundingClientRect();z.left>0&&z.left<=Fe&&(Ee===void 0||!Ee)&&(document.dir==="rtl"?(x=Fe-z.width-z.left,y=a<=480?10:30):(y=z.left,x=a<=480?10:30),E=y+x)}if(ve&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var te=ve.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(E=40,b=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(E=0,b=40)}}return ve&&((se===void 0||!se)&&Ce>0&&Ce+E1&&(Ae=!0)),Ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ae=!0),!(ve.hasOwnProperty("disableAutoScale")&&ve.disableAutoScale))Ee=ee(ve,Ce,Ae,se,ve.scaleContainerClass);else return Be;return Ae&&(!ve.hasOwnProperty("scale")||Be===1)?Ee:Math.min(Be,Ee)}function ke(ve){var Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Be=ve.getBoundingClientRect(),Ee=(Ce-Be.width)/2,Ae=(se-Be.height)/2;Ae<0&&(Ae=0),ve.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee<40?ve.style.left="40px":ve.style.left=Ee+"px",ve.style.top=Ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ae<40?ve.style.top="40px":ve.style.top=Ae+"px",ve.style.left=Ee+"px")}function we(ve,Ce){var se=ve.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ce.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ve)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Be=Le(Ce,ve);ce()&&se.setAttribute("data-param-scale",Be);for(var Ee=null,Ae=0;Ae=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(ce){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ce){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ce){var _e=c[ce];return _e==null?null:_e},r=d,webModule.__errFn=e}function B(){function ce(ve){var Ce=ve.lastIndexOf(rb);Ce==-1&&(Ce=ve.length);var se=ve.indexOf(sb);se==-1&&(se=ve.length);var Be=ve.lastIndexOf(tb,Math.min(se,Ce));return Be>=O?ve.substring(O,Be+P):W}function _e(ve){if(!ve.match(/^\w+:\/\//)){var Ce=o.createElement(ub);Ce.src=ve+vb,ve=ce(Ce.src)}return ve}function oe(){var ve=__gwt_getMetaProperty(wb);return ve!=null?ve:W}function ee(){for(var ve=o.getElementsByTagName(_),Ce=O;CeO?ve[ve.length-P].href:W}function ke(){var ve=o.location;return ve.href==ve.protocol+zb+ve.host+ve.pathname+ve.search+ve.hash}var we=oe();return we==W&&(we=ee()),we==W&&(we=Le()),we==W&&ke()&&(we=ce(o.location.href)),we=_e(we),we}function C(ce){return ce.match(/^\//)||ce.match(/^[a-zA-Z]+:\/\//)?ce:webModule.__moduleBase+ce}function D(){var ce=[],_e=O,oe=[],ee=[];function Le(ve){var Ce=ee[ve](),se=oe[ve];if(Ce in se)return Ce;var Be=[];for(var Ee in se)Be[se[Ee]]=Ee;throw r&&r(ve,Be,Ce),null}if(__gwt_isKnownPropertyValue=function(ve,Ce){return Ce in oe[ve]},webModule.__getPropMap=function(){var ve={};for(var Ce in oe)oe.hasOwnProperty(Ce)&&(ve[Ce]=Le(Ce));return ve},webModule.__computePropValue=Le,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ke;try{ke=Cb;var we=ke.indexOf(Db);we!=-1&&(_e=parseInt(ke.substring(we+P),$),ke=ke.substring(O,we))}catch(ve){}return webModule.__softPermutationId=_e,C(ke+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},8396:function(ce,_e,oe){"use strict";oe.d(_e,{Ax:function(){return we},Ds:function(){return ve},KI:function(){return se},SI:function(){return ke},f1:function(){return Le}});var ee=oe(85386);function Le(Be){let Ee=!0;if(Be.length>0){for(let Ae=0;AeE in a?ke(a,E,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[E]=x,Ae=(a,E)=>{for(var x in E||(E={}))se.call(E,x)&&Ee(a,x,E[x]);if(Ce)for(var x of Ce(E))Be.call(E,x)&&Ee(a,x,E[x]);return a},Ie=(a,E)=>we(a,ve(E)),Oe=(a,E)=>{var x={};for(var y in a)se.call(a,y)&&E.indexOf(y)<0&&(x[y]=a[y]);if(a!=null&&Ce)for(var y of Ce(a))E.indexOf(y)<0&&Be.call(a,y)&&(x[y]=a[y]);return x},Fe=(a,E,x)=>new Promise((y,b)=>{var z=re=>{try{ne(x.next(re))}catch(ge){b(ge)}},te=re=>{try{ne(x.throw(re))}catch(ge){b(ge)}},ne=re=>re.done?y(re.value):Promise.resolve(re.value).then(z,te);ne((x=x.apply(a,E)).next())});const ae=a=>{var E=a,{children:x}=E,y=Oe(E,["children"]);const[b,z]=(0,Le.useState)(!1);return Le.createElement(ee.ZP,Ie(Ae({},y),{loading:b,onClick:te=>Fe(void 0,null,function*(){try{z(!0),yield y.onClick(te),z(!1)}catch(ne){console.error(ne),z(!1)}})}),x)}},91604:function(ce,_e,oe){"use strict";var ee=oe(86204),Le=oe.n(ee),ke=Object.defineProperty,we=(Be,Ee,Ae)=>Ee in Be?ke(Be,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Be[Ee]=Ae,ve=(Be,Ee,Ae)=>we(Be,typeof Ee!="symbol"?Ee+"":Ee,Ae),Ce=(Be,Ee,Ae)=>new Promise((Ie,Oe)=>{var Fe=E=>{try{a(Ae.next(E))}catch(x){Oe(x)}},ae=E=>{try{a(Ae.throw(E))}catch(x){Oe(x)}},a=E=>E.done?Ie(E.value):Promise.resolve(E.value).then(Fe,ae);a((Ae=Ae.apply(Be,Ee)).next())});class se extends ee.EventEmitter{constructor(Ee,Ae){super(),ve(this,"url"),ve(this,"body"),ve(this,"fullContent",""),ve(this,"controller",null),ve(this,"buffer",""),this.url=Ee,this.body=Ae}startStream(){return Ce(this,null,function*(){this.controller=new AbortController;const{signal:Ee}=this.controller;try{const Ae=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ee});if(!Ae.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Ae.status}`);const Ie=Ae.headers.get("content-type");if(!Ie)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ie.includes("application/json")){const ae=yield Ae.json();this.emit("error",ae);return}if(!Ie.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Oe=Ae.body.getReader(),Fe=new TextDecoder("utf-8");for(;;){const{done:ae,value:a}=yield Oe.read();if(ae)break;const E=Fe.decode(a,{stream:!0});this.buffer+=E;const x=this.buffer.split(` +`);this.buffer=x.pop()||"";for(const y of x)if(y.startsWith("data:")){const b=y.slice(5).trim();if(b==="[DONE]")break;try{const z=JSON.parse(b);z.data&&this.handleData(z.data)}catch(z){this.buffer=y+` +`+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(Ae){Ae.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Ae.message)}})}handleData(Ee){Ee.content&&(this.fullContent+=Ee.content,this.emit("data",{chunk:Ee,full:this.fullContent}))}cancelRequest(){var Ee;(Ee=this.controller)==null||Ee.abort()}}_e.Z=se},72755:function(ce,_e,oe){"use strict";oe.d(_e,{Z:function(){return Me}});var ee=oe(59301),Le=oe(97831),ke=oe(66328),we=oe(3977),ve=oe(18369),Ce=oe(56102),se={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},Be=oe(8591),Ee=oe(11611),Ae=oe(13058),Ie=oe(30084),Oe=oe(10787),Fe=oe(73958),ae=oe(43428),a=oe(95237),E=oe(43604),x={smartWrp:"smartWrp___NjRcB"},y=oe(71775),b=oe(15817),z=oe(41742),te=oe(59301),ne=(Ge,$e,Ye)=>new Promise((Re,Pe)=>{var fe=Te=>{try{rt(Ye.next(Te))}catch(Ze){Pe(Ze)}},Ne=Te=>{try{rt(Ye.throw(Te))}catch(Ze){Pe(Ze)}},rt=Te=>Te.done?Re(Te.value):Promise.resolve(Te.value).then(fe,Ne);rt((Ye=Ye.apply(Ge,$e)).next())});const re=` + + + + + \u5FEB\u901F\u6392\u5E8F\u6F14\u793A + + + +

\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A

+ +
+ +